Public Member Functions | |
void | add (osgView::Entity *entity) |
adds an Entity | |
bool | contains (const osg::NodePath &) |
returns true if there is an Entity associated with the nodepath. | |
bool | replace (const osg::NodePath &, osgView::Entity *entity) |
replaces the Entity with the associated NamePath | |
osgView::Entity * | get (unsigned int pos) |
get the Entity at the specified position | |
osgView::Entity * | get (const osg::NodePath &) |
get the Entity with the provided path | |
osgView::Entity * | get (const std::string &) |
get the Entity with the specified name | |
osgView::Entity * | get (char *) |
get the Entity with the given name | |
void | display (osgProducer::Viewer *) |
Displays all visible Entities to the HUD. Should be called by the application. | |
void | createHUD (osg::Group *root) |
attach the HUD to the root | |
osgView::HUD * | getHud (void) |
|
returns true if there is a Entity with NodePath path
|
|
calls _hud->setRoot(root) to set the root for the HUD.
|
|
Addes the geodes that represents the Entities as children to HUD, positions the unanchored Label on the proper place and resets every entry in the EntityList to not visible.
|
|
returns the Entity with Name name
|
|
returns the Entity with Name name
|
|
returns the Entity with NodePath path
|
|
returns the Entity at position pos
|
|
replaces the Entity with NodePath path
|