osgWidget::Label Class Reference

Inheritance diagram for osgWidget::Label:

osgWidget::Widget osg::Geometry osgWidget::EventInterface osgWidget::StyleInterface osg::Drawable osg::Object osg::Referenced osgWidget::Input

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 setLabel (const osgText::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

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::unparented ( Window  )  [virtual]

Reimplemented from osgWidget::Widget.

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

Reimplemented from osgWidget::Widget.

Reimplemented in osgWidget::Input.

void osgWidget::Label::setLabel ( const std::string &   ) 

void osgWidget::Label::setLabel ( const osgText::String  ) 

void osgWidget::Label::setFont ( const std::string &   ) 

void osgWidget::Label::setFontSize ( unsigned  int  ) 

void osgWidget::Label::setFontColor ( const Color  ) 

void osgWidget::Label::setShadow ( point_type   ) 

XYCoord osgWidget::Label::getTextSize (  )  const

std::string osgWidget::Label::getLabel (  )  const [inline]

void osgWidget::Label::setFontColor ( point_type  r,
point_type  g,
point_type  b,
point_type  a 
) [inline]

osgText::Text* osgWidget::Label::getText (  )  [inline]

const osgText::Text* osgWidget::Label::getText (  )  const [inline]

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

Reimplemented in osgWidget::Input.


Member Data Documentation

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


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

Generated on Fri Mar 19 19:53:01 2010 for openscenegraph by  doxygen 1.5.6