Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions
Aspect_AspectMarker Class Reference

This class allows the definition of a group
of attributes for the primitive MARKER.
the attributes are:
* Colour
* Type
* Scale factor
When any value of the group is modified
all graphic objects using the group are modified

#include <Aspect_AspectMarker.hxx>

Inheritance diagram for Aspect_AspectMarker:
Inheritance graph
[legend]

Public Member Functions

void SetColor (const Quantity_Color &AColor)
 Modifies the colour of <me>.

void SetScale (const Standard_Real AScale)
 Modifies the scale factor of <me>.
Marker type Aspect_TOM_POINT is not affected
by the marker size scale factor. It is always
the smallest displayable dot.
Warning: Raises AspectMarkerDefinitionError if the
scale is a negative value.

void SetType (const Aspect_TypeOfMarker AType)
 Modifies the type of marker <me>.

void Values (Quantity_Color &AColor, Aspect_TypeOfMarker &AType, Standard_Real &AScale) const
 Returns the current values of the group <me>.

Protected Member Functions

 Aspect_AspectMarker ()
 Initialise the constructor for Graphic3d_AspectMarker3d.

defaults values :

Color = Quantity_NOC_YELLOW;
Type = Aspect_TOM_X;
Scale = 1.0;

 Aspect_AspectMarker (const Quantity_Color &AColor, const Aspect_TypeOfMarker AType, const Standard_Real AScale)
 Initialise the values for the
constructor of Graphic3d_AspectMarker3d.
Warning: Raises AspectMarkerDefinitionError if the
scale is a negative value.


Constructor & Destructor Documentation

Aspect_AspectMarker::Aspect_AspectMarker ( ) [protected]
Aspect_AspectMarker::Aspect_AspectMarker ( const Quantity_Color AColor,
const Aspect_TypeOfMarker  AType,
const Standard_Real  AScale 
) [protected]

Member Function Documentation

void Aspect_AspectMarker::SetColor ( const Quantity_Color AColor)
void Aspect_AspectMarker::SetScale ( const Standard_Real  AScale)
void Aspect_AspectMarker::SetType ( const Aspect_TypeOfMarker  AType)
void Aspect_AspectMarker::Values ( Quantity_Color AColor,
Aspect_TypeOfMarker AType,
Standard_Real AScale 
) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines