Open CASCADE Technology  6.9.1
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< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_Drawer > &aDrawer, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint)
 Defines the display of the text aText at the point AttachmentPoint. The drawer aDrawer specifies the display attributes which texts will have. The presentation object aPresentation stores the information defined in this framework. static void Draw (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_TextAspect)& anAspect, const TCollection_ExtendedString& aText, const gp_Pnt& AttachmentPoint);. More...
 
static void Draw (const Handle< Prs3d_Presentation > &aPresentation, const Handle< Prs3d_TextAspect > &anAspect, const TCollection_ExtendedString &aText, const gp_Pnt &AttachmentPoint)
 Defines the display of the text aText at the point AttachmentPoint. The text aspect object anAspect specifies the display attributes which texts will have. The presentation object aPresentation stores the information defined in this framework. This syntax could be used if you had not already defined text display attributes in a drawer or if you wanted to exceptionally overide the definition provided in your drawer. More...
 
- Static Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &Prs3d)
 Returns the current 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 > &Prs3d)
 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

static void Prs3d_Text::Draw ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_Drawer > &  aDrawer,
const TCollection_ExtendedString aText,
const gp_Pnt AttachmentPoint 
)
static

Defines the display of the text aText at the point AttachmentPoint. The drawer aDrawer specifies the display attributes which texts will have. The presentation object aPresentation stores the information defined in this framework. static void Draw (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_TextAspect)& anAspect, const TCollection_ExtendedString& aText, const gp_Pnt& AttachmentPoint);.

static void Prs3d_Text::Draw ( const Handle< Prs3d_Presentation > &  aPresentation,
const Handle< Prs3d_TextAspect > &  anAspect,
const TCollection_ExtendedString aText,
const gp_Pnt AttachmentPoint 
)
static

Defines the display of the text aText at the point AttachmentPoint. The text aspect object anAspect specifies the display attributes which texts will have. The presentation object aPresentation stores the information defined in this framework. This syntax could be used if you had not already defined text display attributes in a drawer or if you wanted to exceptionally overide the definition provided in your drawer.


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