Open CASCADE Technology
7.2.0
|
A framework to define the display of texts. More...
#include <Prs3d_Text.hxx>
Public Member Functions | |
Standard_DEPRECATED ("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead") static void Draw(const Handle< Prs3d_Presentation > &thePrs | |
Alias to another method Draw() for backward compatibility. More... | |
Standard_DEPRECATED ("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead") static void Draw(const Handle< Prs3d_Presentation > &thePrs | |
Alias to another method Draw() for backward compatibility. More... | |
Static Public Member Functions | |
static void | Draw (const Handle< Graphic3d_Group > &theGroup, const Handle< Prs3d_TextAspect > &theAspect, const TCollection_ExtendedString &theText, const gp_Pnt &theAttachmentPoint) |
Defines the display of the text. More... | |
static void | Draw (const Handle< Graphic3d_Group > &theGroup, const Handle< Prs3d_TextAspect > &theAspect, const TCollection_ExtendedString &theText, const gp_Ax2 &theOrientation, const Standard_Boolean theHasOwnAnchor=Standard_True) |
Draws the text label. More... | |
Static Public Member Functions inherited from Prs3d_Root | |
static Handle< Graphic3d_Group > | CurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d) |
Returns the current (last created) group of primititves inside graphic objects in the display. A group also contains the attributes whose ranges are limited to the primitives in it. More... | |
static Handle< Graphic3d_Group > | NewGroup (const Handle< Prs3d_Presentation > &thePrs3d) |
Returns the new group of primitives inside graphic objects in the display. A group also contains the attributes whose ranges are limited to the primitives in it. More... | |
Data Fields | |
const Handle< Prs3d_Drawer > & | theDrawer |
const Handle< Prs3d_Drawer > const TCollection_ExtendedString & | theText |
const Handle< Prs3d_Drawer > const TCollection_ExtendedString const gp_Pnt & | theAttachmentPoint |
const Handle< Prs3d_TextAspect > & | theAspect |
const Handle< Prs3d_TextAspect > const TCollection_ExtendedString & | theText |
const Handle< Prs3d_TextAspect > const TCollection_ExtendedString const gp_Ax2 & | theOrientation |
A framework to define the display of texts.
|
static |
Defines the display of the text.
theGroup | group to add primitives |
theAspect | presentation attributes |
theText | text to draw |
theAttachmentPoint | attachment point |
|
static |
Draws the text label.
theGroup | group to add primitives |
theAspect | presentation attributes |
theText | text to draw |
theOrientation | location and orientation specified in the model 3D space |
theHasOwnAnchor |
Prs3d_Text::Standard_DEPRECATED | ( | "Prs3d_Text::Draw() taking Graphic3d_Group should be used instead" | ) | const & |
Alias to another method Draw() for backward compatibility.
Prs3d_Text::Standard_DEPRECATED | ( | "Prs3d_Text::Draw() taking Graphic3d_Group should be used instead" | ) | const & |
Alias to another method Draw() for backward compatibility.
const Handle< Prs3d_TextAspect >& Prs3d_Text::theAspect |
const Handle< Prs3d_Drawer > const TCollection_ExtendedString const gp_Pnt& Prs3d_Text::theAttachmentPoint |
const Handle< Prs3d_Drawer >& Prs3d_Text::theDrawer |
const Handle< Prs3d_TextAspect > const TCollection_ExtendedString const gp_Ax2& Prs3d_Text::theOrientation |
const Handle< Prs3d_Drawer > const TCollection_ExtendedString& Prs3d_Text::theText |
const Handle< Prs3d_TextAspect > const TCollection_ExtendedString& Prs3d_Text::theText |