Open CASCADE Technology  7.4.0
Static Public Member Functions

Prs3d_Text Class Reference

A framework to define the display of texts. More...

#include <Prs3d_Text.hxx>

Inheritance diagram for Prs3d_Text:
Inheritance graph
[legend]

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 void Draw (const Handle< Prs3d_Presentation > &thePrs, const Handle< Prs3d_Drawer > &theDrawer, const TCollection_ExtendedString &theText, const gp_Pnt &theAttachmentPoint)
 Alias to another method Draw() for backward compatibility. More...
 
static void Draw (const Handle< Prs3d_Presentation > &thePrs, const Handle< Prs3d_TextAspect > &theAspect, const TCollection_ExtendedString &theText, const gp_Ax2 &theOrientation, const Standard_Boolean theHasOwnAnchor=Standard_True)
 Alias to another method Draw() for backward compatibility. More...
 
static void Draw (const Handle< Prs3d_Presentation > &thePrs, const Handle< Prs3d_TextAspect > &theAspect, const TCollection_ExtendedString &theText, const gp_Pnt &theAttachmentPoint)
 Alias to another method Draw() for backward compatibility. More...
 
- Static Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (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_GroupNewGroup (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...
 

Detailed Description

A framework to define the display of texts.

Member Function Documentation

◆ Draw() [1/5]

static void Prs3d_Text::Draw ( const Handle< Graphic3d_Group > &  theGroup,
const Handle< Prs3d_TextAspect > &  theAspect,
const TCollection_ExtendedString theText,
const gp_Pnt theAttachmentPoint 
)
static

Defines the display of the text.

Parameters
theGroupgroup to add primitives
theAspectpresentation attributes
theTexttext to draw
theAttachmentPointattachment point

◆ Draw() [2/5]

static void Prs3d_Text::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 
)
static

Draws the text label.

Parameters
theGroupgroup to add primitives
theAspectpresentation attributes
theTexttext to draw
theOrientationlocation and orientation specified in the model 3D space
theHasOwnAnchor

◆ Draw() [3/5]

static void Prs3d_Text::Draw ( const Handle< Prs3d_Presentation > &  thePrs,
const Handle< Prs3d_Drawer > &  theDrawer,
const TCollection_ExtendedString theText,
const gp_Pnt theAttachmentPoint 
)
inlinestatic

Alias to another method Draw() for backward compatibility.

Deprecated:
("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead")

◆ Draw() [4/5]

static void Prs3d_Text::Draw ( const Handle< Prs3d_Presentation > &  thePrs,
const Handle< Prs3d_TextAspect > &  theAspect,
const TCollection_ExtendedString theText,
const gp_Ax2 theOrientation,
const Standard_Boolean  theHasOwnAnchor = Standard_True 
)
inlinestatic

Alias to another method Draw() for backward compatibility.

Deprecated:
("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead")

◆ Draw() [5/5]

static void Prs3d_Text::Draw ( const Handle< Prs3d_Presentation > &  thePrs,
const Handle< Prs3d_TextAspect > &  theAspect,
const TCollection_ExtendedString theText,
const gp_Pnt theAttachmentPoint 
)
inlinestatic

Alias to another method Draw() for backward compatibility.

Deprecated:
("Prs3d_Text::Draw() taking Graphic3d_Group should be used instead")

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