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::Text * | getText () |
const osgText::Text * | getText () const |
Protected Member Functions | |
virtual void | _calculateSize (const XYCoord &) |
Protected Attributes | |
osg::ref_ptr< osgText::Text > | _text |
unsigned int | _textIndex |
osgWidget::Label::Label | ( | const std::string & | = "" , |
|
const std::string & | = "" | |||
) |
osgWidget::Label::Label | ( | const Label & | , | |
const osg::CopyOp & | ||||
) |
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.
osg::ref_ptr<osgText::Text> osgWidget::Label::_text [protected] |
unsigned int osgWidget::Label::_textIndex [protected] |
![]() | Generated at Wed Dec 15 2010 00:58:54 for the OpenSceneGraph by doxygen 1.7.1. |