Public Methods | |
Paragraph () | |
Paragraph (const Paragraph ¶graph, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Paragraph (const osg::Vec3 &position, const std::string &text, osgText::Font *font) | |
META_Node (osgText, Paragraph) void setFont(osgText | |
const osgText::Font * | getFont () const |
void | setMaximumNoCharactersPerLine (unsigned int maxCharsPerLine) |
const unsigned int | getMaximumNoCharactersPerLine () const |
void | setText (const std::string &text) |
std::string & | getText () |
const std::string & | getText () const |
void | setPosition (const osg::Vec3 &position) |
const osg::Vec3 & | getPosition () const |
void | setAlignment (int alignment) |
int | getAlignment () const |
float | getHeight () const |
Static Public Methods | |
bool | createFormatedText (unsigned int noCharsPerLine, const std::string &str, std::vector< std::string > &formatedText) |
Protected Methods | |
virtual | ~Paragraph () |
void | createDrawables () |
Protected Attributes | |
osg::Vec3 | _position |
std::string | _text |
osg::ref_ptr< osgText::Font > | _font |
int | _alignment |
unsigned int | _maxCharsPerLine |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|