Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Attributes
Prs2d_Drawer Class Reference

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>

Inheritance diagram for Prs2d_Drawer:
Inheritance graph
[legend]

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

Constructor & Destructor Documentation


Member Function Documentation

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 
)

Field Documentation


The documentation for this class was generated from the following file: