OpenSceneGraph 2.8.3

osgWidget::Label Class Reference

Inheritance diagram for osgWidget::Label:

List of all members.

Public Member Functions

 META_Object (osgWidget, Label)
 Label (const std::string &="", const std::string &="")
 Label (const Label &, const osg::CopyOp &)
virtual void parented (Window *)
virtual void unparented (Window *)
virtual void positioned ()
void setLabel (const std::string &)
void setFont (const std::string &)
void setFontSize (unsigned int)
void setFontColor (const Color &)
void setShadow (point_type)
XYCoord getTextSize () const
std::string getLabel () const
void setFontColor (point_type r, point_type g, point_type b, point_type a)
osgText::TextgetText ()
const osgText::TextgetText () const

Protected Member Functions

virtual void _calculateSize (const XYCoord &)

Protected Attributes

osg::ref_ptr< osgText::Text_text
unsigned int _textIndex

Constructor & Destructor Documentation

osgWidget::Label::Label ( const std::string &  = "",
const std::string &  = "" 
)
osgWidget::Label::Label ( const Label ,
const osg::CopyOp  
)

Member Function Documentation

virtual void osgWidget::Label::_calculateSize ( const XYCoord ) [protected, virtual]

Reimplemented in osgWidget::Input.

std::string osgWidget::Label::getLabel ( ) const [inline]
const osgText::Text* osgWidget::Label::getText ( ) const [inline]
osgText::Text* osgWidget::Label::getText ( ) [inline]
XYCoord osgWidget::Label::getTextSize ( ) const
osgWidget::Label::META_Object ( osgWidget  ,
Label   
)
virtual void osgWidget::Label::parented ( Window ) [virtual]

Reimplemented from osgWidget::Widget.

Reimplemented in osgWidget::Input.

virtual void osgWidget::Label::positioned ( ) [virtual]

Reimplemented from osgWidget::Widget.

Reimplemented in osgWidget::Input.

void osgWidget::Label::setFont ( const std::string &  )
void osgWidget::Label::setFontColor ( const Color )
void osgWidget::Label::setFontColor ( point_type  r,
point_type  g,
point_type  b,
point_type  a 
) [inline]

References setFontColor().

Referenced by setFontColor().

void osgWidget::Label::setFontSize ( unsigned  int)
void osgWidget::Label::setLabel ( const std::string &  )
void osgWidget::Label::setShadow ( point_type  )
virtual void osgWidget::Label::unparented ( Window ) [virtual]

Reimplemented from osgWidget::Widget.


Member Data Documentation

unsigned int osgWidget::Label::_textIndex [protected]

The documentation for this class was generated from the following file:

osg logo
Generated at Tue Mar 22 2011 13:20:32 for the OpenSceneGraph by doxygen 1.7.3.