#include <mrpt/opengl/CText.h>

Public Member Functions | |
| void | setString (const std::string &s) |
| Sets the text to display. | |
| std::string | getString () const |
| Return the current text associated to this label. | |
| void | setFont (const std::string &s, int height) |
| Sets the font (It has no effect yet!). | |
| std::string | getFont () const |
| void | render () const |
| Render. | |
Protected Attributes | |
| std::string | m_str |
| std::string | m_fontName |
| int | m_fontHeight |
| int | m_fontWidth |
Private Member Functions | |
| CText (const std::string &str=std::string("")) | |
| Constructor. | |
| virtual | ~CText () |
| Private, virtual destructor: only can be deleted from smart pointers. | |
Use setString and setFont to change the text displayed by this object.
Definition at line 49 of file CText.h.
| mrpt::opengl::CText::CText | ( | const std::string & | str = std::string("") |
) | [private] |
Constructor.
| virtual mrpt::opengl::CText::~CText | ( | ) | [private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
| std::string mrpt::opengl::CText::getString | ( | ) | const [inline] |
| void mrpt::opengl::CText::render | ( | ) | const [virtual] |
| void mrpt::opengl::CText::setFont | ( | const std::string & | s, | |
| int | height | |||
| ) | [inline] |
| void mrpt::opengl::CText::setString | ( | const std::string & | s | ) | [inline] |
int mrpt::opengl::CText::m_fontHeight [protected] |
std::string mrpt::opengl::CText::m_fontName [protected] |
int mrpt::opengl::CText::m_fontWidth [protected] |
std::string mrpt::opengl::CText::m_str [protected] |
| Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009 |