OCC Main Page | Visualization | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

Visualization
TKService
Aspect


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

Standard_EXPORT void SetColor (const Quantity_Color &AColor)
 Modifies the colour of <me>.
.
Standard_EXPORT 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.
.
Standard_EXPORT void SetType (const Aspect_TypeOfMarker AType)
 Modifies the type of marker <me>.
.
Standard_EXPORT void Values (Quantity_Color &AColor, Aspect_TypeOfMarker &AType, Standard_Real &AScale) const
 Returns the current values of the group <me>.
.
Standard_EXPORT const Handle (Standard_Type)&DynamicType() const

Protected Member Functions

Standard_EXPORT Aspect_AspectMarker ()
 Initialise the constructor for Graphic3d_AspectMarker3d.
.
Standard_EXPORT 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.
.

Private Attributes

Quantity_Color MyColor
Aspect_TypeOfMarker MyType
Standard_Real MyScale

Constructor & Destructor Documentation

Standard_EXPORT Aspect_AspectMarker::Aspect_AspectMarker  )  [protected]
 

Standard_EXPORT Aspect_AspectMarker::Aspect_AspectMarker const Quantity_Color &  AColor,
const Aspect_TypeOfMarker  AType,
const Standard_Real  AScale
[protected]
 


Member Function Documentation

Standard_EXPORT const Aspect_AspectMarker::Handle Standard_Type   )  const
 

Reimplemented in Graphic3d_AspectMarker3d.

Standard_EXPORT void Aspect_AspectMarker::SetColor const Quantity_Color &  AColor  ) 
 

Standard_EXPORT void Aspect_AspectMarker::SetScale const Standard_Real  AScale  ) 
 

Standard_EXPORT void Aspect_AspectMarker::SetType const Aspect_TypeOfMarker  AType  ) 
 

Standard_EXPORT void Aspect_AspectMarker::Values Quantity_Color &  AColor,
Aspect_TypeOfMarker AType,
Standard_Real &  AScale
const
 


Field Documentation

Quantity_Color Aspect_AspectMarker::MyColor [private]
 

Standard_Real Aspect_AspectMarker::MyScale [private]
 

Aspect_TypeOfMarker Aspect_AspectMarker::MyType [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:55:24 2008 for OpenCASCADE by  doxygen 1.4.1