AGX Dynamics  2.35.0.1
agxOSG::TextGeometry::TextDrawCallback Class Reference

#include <RenderText.h>

+ Inheritance diagram for agxOSG::TextGeometry::TextDrawCallback:

Public Member Functions

 TextDrawCallback ()
 
void drawImplementation (osg::RenderInfo &, const osg::Drawable *) const
 
void setPosition (const agx::Vec2 &pos)
 
void setText (const std::string &text)
 

Public Attributes

agx::Vec2 m_pos
 
std::string m_text
 

Detailed Description

Definition at line 54 of file RenderText.h.

Constructor & Destructor Documentation

◆ TextDrawCallback()

agxOSG::TextGeometry::TextDrawCallback::TextDrawCallback ( )
inline

Definition at line 57 of file RenderText.h.

Member Function Documentation

◆ drawImplementation()

void agxOSG::TextGeometry::TextDrawCallback::drawImplementation ( osg::RenderInfo &  ,
const osg::Drawable *   
) const
inline

Definition at line 59 of file RenderText.h.

References agxOSG::renderText().

◆ setPosition()

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

Definition at line 64 of file RenderText.h.

◆ setText()

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

Definition at line 65 of file RenderText.h.

Member Data Documentation

◆ m_pos

agx::Vec2 agxOSG::TextGeometry::TextDrawCallback::m_pos

Definition at line 67 of file RenderText.h.

◆ m_text

std::string agxOSG::TextGeometry::TextDrawCallback::m_text

Definition at line 68 of file RenderText.h.


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