
|
Inheritance:
Public Methods-
Paragraph()
-
Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
-
Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
-
META_Node (osgText, Paragraph)(osgText::Font* font)
-
osgText::Font* getFont()
-
const osgText::Font* getFont() const
-
void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)
-
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 bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)
Protected Fields-
osg::Vec3 _position
-
std::string _text
-
osg::ref_ptr<osgText::Font> _font
-
int _alignment
-
unsigned int _maxCharsPerLine
Protected Methods-
virtual ~Paragraph()
-
void createDrawables()
Documentation
Paragraph()
Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
META_Node (osgText, Paragraph)(osgText::Font* font)
osgText::Font* getFont()
const osgText::Font* getFont() const
void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)
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 bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)
virtual ~Paragraph()
void createDrawables()
osg::Vec3 _position
std::string _text
osg::ref_ptr<osgText::Font> _font
int _alignment
unsigned int _maxCharsPerLine
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.
|