Open CASCADE Technology
6.5.4
|
defines the attributes when drawing a Length Presentation.
#include <Prs3d_LengthAspect.hxx>
Public Member Functions | |
Prs3d_LengthAspect () | |
Constructs an empty framework to define the display of lengths. | |
Handle_Prs3d_LineAspect | LineAspect () const |
Returns the settings for the display of lines used in presentation of lengths. | |
void | SetLineAspect (const Handle< Prs3d_LineAspect > &anAspect) |
Sets the display attributes of lines used in presentation of lengths. | |
Handle_Prs3d_ArrowAspect | Arrow1Aspect () const |
Returns the settings for displaying a right-pointing arrow. | |
void | SetArrow1Aspect (const Handle< Prs3d_ArrowAspect > &anAspect) |
Sets the display attributes of the first arrow used in presentation of lengths. | |
Handle_Prs3d_ArrowAspect | Arrow2Aspect () const |
Returns the settings for displaying a left-pointing arrow. | |
void | SetArrow2Aspect (const Handle< Prs3d_ArrowAspect > &anAspect) |
Sets the display attributes of the second arrow used in presentation of lengths. | |
Handle_Prs3d_TextAspect | TextAspect () const |
Returns the settings for the display of text used in presentation of lengths. | |
void | SetTextAspect (const Handle< Prs3d_TextAspect > &anAspect) |
Sets the display attributes of text used in presentation of lengths. | |
void | SetDrawFirstArrow (const Standard_Boolean draw) |
Sets the DrawFirstArrow attributes to active. | |
Standard_Boolean | DrawFirstArrow () const |
Returns true if the first arrow can be drawn. | |
void | SetDrawSecondArrow (const Standard_Boolean draw) |
Sets the DrawSecondArrow attributes to active. | |
Standard_Boolean | DrawSecondArrow () const |
Returns true if the second arrow can be drawn. |
Handle_Prs3d_ArrowAspect Prs3d_LengthAspect::Arrow1Aspect | ( | ) | const |
Handle_Prs3d_ArrowAspect Prs3d_LengthAspect::Arrow2Aspect | ( | ) | const |
Handle_Prs3d_LineAspect Prs3d_LengthAspect::LineAspect | ( | ) | const |
void Prs3d_LengthAspect::SetArrow1Aspect | ( | const Handle< Prs3d_ArrowAspect > & | anAspect | ) |
void Prs3d_LengthAspect::SetArrow2Aspect | ( | const Handle< Prs3d_ArrowAspect > & | anAspect | ) |
void Prs3d_LengthAspect::SetLineAspect | ( | const Handle< Prs3d_LineAspect > & | anAspect | ) |
void Prs3d_LengthAspect::SetTextAspect | ( | const Handle< Prs3d_TextAspect > & | anAspect | ) |
Handle_Prs3d_TextAspect Prs3d_LengthAspect::TextAspect | ( | ) | const |