Tinman  1.0
Public Types | Public Member Functions | Protected Attributes | List of all members
ObjectTextDisplay Class Reference

#include <objecttextdisplay.h>

Public Types

typedef std::shared_ptr< ObjectTextDisplayshared
 

Public Member Functions

 ObjectTextDisplay (const Ogre::MovableObject *p, const Ogre::Camera *c)
 
virtual ~ObjectTextDisplay ()
 
void enable (bool enable)
 
void setText (const Ogre::String &text)
 
void update ()
 

Protected Attributes

const Ogre::MovableObject * m_p
 
const Ogre::Camera * m_c
 
bool m_enabled
 
Ogre::Overlay * m_pOverlay
 
Ogre::OverlayElement * m_pText
 
Ogre::OverlayContainer * m_pContainer
 
Ogre::String m_text
 

Member Typedef Documentation

typedef std::shared_ptr<ObjectTextDisplay> ObjectTextDisplay::shared

Constructor & Destructor Documentation

ObjectTextDisplay::ObjectTextDisplay ( const Ogre::MovableObject *  p,
const Ogre::Camera *  c 
)
ObjectTextDisplay::~ObjectTextDisplay ( )
virtual

Member Function Documentation

void ObjectTextDisplay::enable ( bool  enable)
void ObjectTextDisplay::setText ( const Ogre::String &  text)
void ObjectTextDisplay::update ( )

Member Data Documentation

const Ogre::Camera* ObjectTextDisplay::m_c
protected
bool ObjectTextDisplay::m_enabled
protected
const Ogre::MovableObject* ObjectTextDisplay::m_p
protected
Ogre::OverlayContainer* ObjectTextDisplay::m_pContainer
protected
Ogre::Overlay* ObjectTextDisplay::m_pOverlay
protected
Ogre::OverlayElement* ObjectTextDisplay::m_pText
protected
Ogre::String ObjectTextDisplay::m_text
protected

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