Google

class OSGTEXT_EXPORT osgText::Paragraph


Inheritance:


Public Methods

[more] Paragraph()
[more] Paragraph(const Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)
[more] Paragraph(const osg::Vec3& position, const std::string& text, osgText::Font* font)
[more]META_Node (osgText, Paragraph)(osgText::Font* font)
[more]osgText::Font* getFont()
[more]const osgText::Font* getFont() const
[more]void setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)
[more]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() const
[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 Paragraph& paragraph, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY)

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

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

oosgText::Font* getFont()

oconst osgText::Font* getFont() const

ovoid setMaximumNoCharactersPerLine(unsigned int maxCharsPerLine)

ounsigned 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() const

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