![]() |
VR-Forces 4.0.4 Class Documentation
|
The osg implementation of the widget layout. More...

Public Member Functions | |
| DtOsgProjectedWidgetModel (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtOsgProjectedWidgetModel () |
| DTOR. | |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType) |
| Add to the scene. | |
| virtual void | removeFromScene () |
| Remove from the scene. | |
| virtual void | addWidget (DtWidget *aWidget) |
| Add a widget to the layout. | |
| virtual void | removeWidget (DtWidget *aWidget) |
| Remove a widget from the layout. | |
| virtual void | setModelDefinition (const std::string &str) |
| Set the model definition. | |
| virtual void | setPosition (int vtx, const DtVector &position) |
| Set the model's 3D Position. | |
| DtOsgWidgetUpdater & | widgetUpdater () |
| virtual std::vector< DtWidget * > & | widgets () |
| virtual void | setVisible (bool visible) |
| Set the model visible or invisible. | |
| virtual void | setSolid (bool solid) |
| Set whether the model is solid. | |
Protected Attributes | |
| DtUniqueID | myParentId |
The osg implementation of the widget layout.
CTOR.
| virtual makVrv::DtOsgProjectedWidgetModel::~DtOsgProjectedWidgetModel | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtOsgProjectedWidgetModel::addToScene | ( | const DtUniqueID & | sceneObjectId, |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [virtual] |
Add to the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::removeFromScene | ( | ) | [virtual] |
Remove from the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::addWidget | ( | DtWidget * | aWidget | ) | [virtual] |
Add a widget to the layout.
if the layout type is not Absolute the offsets are ignored.
Implements makVrv::DtProjectedWidgetModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::removeWidget | ( | DtWidget * | aWidget | ) | [virtual] |
Remove a widget from the layout.
Implements makVrv::DtProjectedWidgetModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::setModelDefinition | ( | const std::string & | str | ) | [virtual] |
Set the model definition.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::setPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
Set the model's 3D Position.
Reimplemented from makVrv::DtModel.
| virtual std::vector<DtWidget*>& makVrv::DtOsgProjectedWidgetModel::widgets | ( | ) | [virtual] |
Implements makVrv::DtProjectedWidgetModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::setVisible | ( | bool | isVisible | ) | [virtual] |
Set the model visible or invisible.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedWidgetModel::setSolid | ( | bool | solid | ) | [virtual] |
Set whether the model is solid.
Implements makVrv::DtModel.