Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osgText::Paragraph Class Reference

Inheritance diagram for osgText::Paragraph:

Inheritance graph
[legend]
List of all members.

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) 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

Constructor & Destructor Documentation

osgText::Paragraph::Paragraph (    ) 
 

osgText::Paragraph::Paragraph (  const Paragraph &    paragraph,
const osg::CopyOp &    copyop = osg::CopyOp::SHALLOW_COPY
) 
 

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

virtual osgText::Paragraph::~Paragraph (    )  [inline, protected, virtual]
 


Member Function Documentation

void osgText::Paragraph::createDrawables (    )  [protected]
 

bool osgText::Paragraph::createFormatedText (  unsigned int    noCharsPerLine,
const std::string &    str,
std::vector< std::string > &    formatedText
)  [static]
 

int osgText::Paragraph::getAlignment (    )  const [inline]
 

const osgText::Font* osgText::Paragraph::getFont (    )  const [inline]
 

float osgText::Paragraph::getHeight (    )  const
 

const unsigned int osgText::Paragraph::getMaximumNoCharactersPerLine (    )  const [inline]
 

const osg::Vec3& osgText::Paragraph::getPosition (    )  const [inline]
 

const std::string& osgText::Paragraph::getText (    )  const [inline]
 

std::string& osgText::Paragraph::getText (    )  [inline]
 

osgText::Paragraph::META_Node (  osgText   ,
Paragraph   
)  [inline]
 

void osgText::Paragraph::setAlignment (  int    alignment ) 
 

void osgText::Paragraph::setMaximumNoCharactersPerLine (  unsigned int    maxCharsPerLine ) 
 

void osgText::Paragraph::setPosition (  const osg::Vec3 &    position ) 
 

void osgText::Paragraph::setText (  const std::string &    text ) 
 


Member Data Documentation

int osgText::Paragraph::_alignment [protected]
 

osg::ref_ptr<osgText::Font> osgText::Paragraph::_font [protected]
 

unsigned int osgText::Paragraph::_maxCharsPerLine [protected]
 

osg::Vec3 osgText::Paragraph::_position [protected]
 

std::string osgText::Paragraph::_text [protected]
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:55 2002 for the Open Scene Graph by doxygen 1.2.16.