AGX Dynamics  2.37.2.0
agxOSG::TextGeometry Class Reference

Class for drawing simple/fast 2D text onto screen. More...

#include <RenderText.h>

+ Inheritance diagram for agxOSG::TextGeometry:

Classes

class  TextDrawCallback
 

Public Member Functions

 TextGeometry ()
 
void setPosition (const agx::Vec2 &pos)
 Set the position of the text. More...
 
void setText (const std::string &text)
 Set the text string. More...
 

Protected Member Functions

virtual ~TextGeometry ()
 

Protected Attributes

TextDrawCallback * m_textDrawCallback
 

Detailed Description

Class for drawing simple/fast 2D text onto screen.

Definition at line 38 of file RenderText.h.

Constructor & Destructor Documentation

◆ TextGeometry()

agxOSG::TextGeometry::TextGeometry ( )

◆ ~TextGeometry()

virtual agxOSG::TextGeometry::~TextGeometry ( )
inlineprotectedvirtual

Definition at line 52 of file RenderText.h.

Member Function Documentation

◆ setPosition()

void agxOSG::TextGeometry::setPosition ( const agx::Vec2 &  pos)

Set the position of the text.

◆ setText()

void agxOSG::TextGeometry::setText ( const std::string &  text)

Set the text string.

Member Data Documentation

◆ m_textDrawCallback

TextDrawCallback* agxOSG::TextGeometry::m_textDrawCallback
protected

Definition at line 72 of file RenderText.h.


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