|
Open CASCADE Technology 6.5.2
|
This class allows the definition of a group
of attributes for the LINE primitive
The attributes are:
* Colour
* Type
* Thickness
When any value of the group is modified
all graphic objects using the group are modified.
#include <Aspect_AspectLine.hxx>

Public Member Functions | |
| void | SetColor (const Quantity_Color &AColor) |
| Modifies the colour of <me>. | |
| void | SetType (const Aspect_TypeOfLine AType) |
| Modifies the type of <me>. | |
| void | SetWidth (const Standard_Real AWidth) |
| Modifies the thickness of <me>. Category: Methods to modify the class definition Warning: Raises AspectLineDefinitionError if the width is a negative value. | |
| void | Values (Quantity_Color &AColor, Aspect_TypeOfLine &AType, Standard_Real &AWidth) const |
| Returns the current values of the group <me>. | |
Protected Member Functions | |
| Aspect_AspectLine () | |
| Initialise the constructor for Graphic3d_AspectLine3d. | |
| Aspect_AspectLine (const Quantity_Color &AColor, const Aspect_TypeOfLine AType, const Standard_Real AWidth) | |
| Initialise the values for the constructor of Graphic3d_AspectLine3d. | |
| Aspect_AspectLine::Aspect_AspectLine | ( | ) | [protected] |
| Aspect_AspectLine::Aspect_AspectLine | ( | const Quantity_Color & | AColor, |
| const Aspect_TypeOfLine | AType, | ||
| const Standard_Real | AWidth | ||
| ) | [protected] |
| void Aspect_AspectLine::SetColor | ( | const Quantity_Color & | AColor | ) |
| void Aspect_AspectLine::SetType | ( | const Aspect_TypeOfLine | AType | ) |
| void Aspect_AspectLine::SetWidth | ( | const Standard_Real | AWidth | ) |
| void Aspect_AspectLine::Values | ( | Quantity_Color & | AColor, |
| Aspect_TypeOfLine & | AType, | ||
| Standard_Real & | AWidth | ||
| ) | const |
1.7.4