Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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:
More...

#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.


Detailed Description

* Colour <br>
* Type <br>
* Scale factor <br>

When any value of the group is modified
all graphic objects using the group are modified


Constructor & Destructor Documentation


Member Function Documentation

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: