OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Prs3d_Text Class Reference

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

    #include <Prs3d_Text.hxx>

    Static Public Member Functions

    static occ::handle< Graphic3d_Text > Draw (const occ::handle< Graphic3d_Group > &theGroup, const occ::handle< Prs3d_TextAspect > &theAspect, const TCollection_ExtendedString &theText, const gp_Pnt &theAttachmentPoint)
     Defines the display of the text.
    static occ::handle< Graphic3d_Text > Draw (const occ::handle< Graphic3d_Group > &theGroup, const occ::handle< Prs3d_TextAspect > &theAspect, const TCollection_ExtendedString &theText, const gp_Ax2 &theOrientation, const bool theHasOwnAnchor=true)
     Draws the text label.

    Detailed Description

    A framework to define the display of texts.

    Member Function Documentation

    ◆ Draw() [1/2]

    occ::handle< Graphic3d_Text > Prs3d_Text::Draw ( const occ::handle< Graphic3d_Group > & theGroup,
    const occ::handle< Prs3d_TextAspect > & theAspect,
    const TCollection_ExtendedString & theText,
    const gp_Ax2 & theOrientation,
    const bool theHasOwnAnchor = 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
    Returns
    text to draw

    ◆ Draw() [2/2]

    occ::handle< Graphic3d_Text > Prs3d_Text::Draw ( const occ::handle< Graphic3d_Group > & theGroup,
    const occ::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
    Returns
    text to draw

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