Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields

osgView::Label Class Reference

represents Labels. Used by the SpaceManager.

Inherits osgView::Entity.


Public Member Functions

 Label ()
 Label (osg::NodePath &path, osgText::Text *text, osg::Geode *, bool val)
 Label (osg::NodePath &path, osgText::Text *text, osg::Geode *)
 Label (osg::NodePath &path, osgText::Text *text, bool val)
 Label (osg::NodePath &path, osgText::Text *text)
void setOsgText (osgText::Text *newText)
osgText::Text * getOsgText ()
void setPosition (osg::Vec3 pos)
osg::Vec3 getPosition ()
void setAnchored (bool val)
bool isAnchored (void)
void set (osgText::Text *text, bool val=true)
void setDrawableID (int drawableID)
 store the DrawableID

const int getDrawableID (void)
 return the DrawableID


Constructor & Destructor Documentation

Label::Label  ) 
 

Constructor

Label::Label osg::NodePath &  path,
osgText::Text *  text,
osg::Geode *  geode,
bool  val
 

Constructor

Parameters:
path the NodePath for the corresponding object in the scene graph
text a reference to an osgText::Text
geode a geode (specifically, a call-out line)
val true if anchored, false otherwise

Label::Label osg::NodePath &  path,
osgText::Text *  text,
osg::Geode *  geode
 

Constructor

Parameters:
path the NodePath for the corresponding object in the scene graph
text a reference to an osgText::Text
geode a geode (specifically, a call-out line)

Label::Label osg::NodePath &  path,
osgText::Text *  text,
bool  val
 

Constructor

Parameters:
path the NodePath for the corresponding object in the scene graph
text a reference to an osgText::Text
val true if anchored, false otherwise

Label::Label osg::NodePath &  path,
osgText::Text *  text
 

Constructor

Parameters:
path the NodePath for the corresponding object in the scene graph
text a reference to an osgText::Text


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 12:22:39 2004 for osgAR by doxygen 1.3.7