Open CASCADE Technology
6.5.4
|
Graphic attributes management
Qualifies how the presentation algorithms compute
the presentation of a specific kind of object.
This includes for example color, width and type
of lines...
#include <Prs2d_Drawer.hxx>
Public Member Functions | |
Prs2d_Drawer () | |
Initializes graphic attribute manager | |
virtual Handle_Prs2d_AspectRoot | FindAspect (const Prs2d_AspectName anAspectName) const |
Returns a link with Prs2d_Drawer AspectName, which provides settings for object "anAspectName" used to display "anAspectName" | |
void | SetAspect (const Handle< Prs2d_AspectRoot > &anAspectRoot, const Prs2d_AspectName anAspectName) |
Sets the Aspect <anAspectRoot> of the Drawer | |
virtual void | SetMaxParameterValue (const Standard_Real Value) |
defines the maximum value allowed for the first and last parameters of an infinite line. Default value: 500000. | |
virtual Standard_Real | MaxParameterValue () const |
Indicates the maximum value allowed for the first and last parameters of an infinite line. | |
Protected Attributes | |
Prs2d_DataMapOfAspectRoot | myDataMapAspectRoot |
Standard_Real | myMaxParameterValue |
virtual Handle_Prs2d_AspectRoot Prs2d_Drawer::FindAspect | ( | const Prs2d_AspectName | anAspectName | ) | const [virtual] |
virtual Standard_Real Prs2d_Drawer::MaxParameterValue | ( | ) | const [virtual] |
void Prs2d_Drawer::SetAspect | ( | const Handle< Prs2d_AspectRoot > & | anAspectRoot, |
const Prs2d_AspectName | anAspectName | ||
) |
virtual void Prs2d_Drawer::SetMaxParameterValue | ( | const Standard_Real | Value | ) | [virtual] |
Standard_Real Prs2d_Drawer::myMaxParameterValue [protected] |