class OSGTEXT_EXPORT osgText::Paragraph


Inheritance:


Public Methods

[more] Paragraph()
[more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
[more]META_Node (Paragraph)(osgText::Font* font)
[more]osgText::Font* getFont()
[more]const osgText::Font* getFont() const
[more]void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)
[more]const unsigned int getMaximumNoCharactersPerLine() const
[more]void setText(const std::string& text)
[more]std::string& getText()
[more]const std::string& getText() const
[more]void setPosition(const osg::Vec3& position)
[more]const osg::Vec3& getPosition() const
[more]void setAlignment(int alignment)
[more]int getAlignment()
[more]float getHeight() const
[more]static bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)

Protected Fields

[more]osg::Vec3 _position
[more]std::string _text
[more]osg::ref_ptr<osgText::Font> _font
[more]int _alignment
[more]unsigned int _maxCharsPerLine

Protected Methods

[more]virtual ~Paragraph()
[more]void createDrawables()


Documentation

o Paragraph()

o Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)

oMETA_Node (Paragraph)(osgText::Font* font)

oosgText::Font* getFont()

oconst osgText::Font* getFont() const

ovoid setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)

oconst unsigned int getMaximumNoCharactersPerLine() const

ovoid setText(const std::string& text)

ostd::string& getText()

oconst std::string& getText() const

ovoid setPosition(const osg::Vec3& position)

oconst osg::Vec3& getPosition() const

ovoid setAlignment(int alignment)

oint getAlignment()

ofloat getHeight() const

ostatic bool createFormatedText(unsigned int noCharsPerLine, const std::string& str, std::vector<std::string>& formatedText)

ovirtual ~Paragraph()

ovoid createDrawables()

oosg::Vec3 _position

ostd::string _text

oosg::ref_ptr<osgText::Font> _font

oint _alignment

ounsigned 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++.