![]() |
VR-Forces 4.0.4 Class Documentation
|
OSG implementation of distributed cuboid model. More...

Public Member Functions | |
| DtOsgAttachableCuboidModel (DtDe &de, DtUniqueID &id) | |
| virtual | ~DtOsgAttachableCuboidModel () |
| virtual void | setDimensions (double x, double y, double z) |
| Set the dimensions of the cuboid. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the color of the cuboid. | |
| virtual void | setVisible (bool visible) |
| Set whether the cuboid is visible. | |
| virtual void | setPosition (int vtx, const DtVector &position) |
| Set the position of the cuboid; only vtx == 0 has an effect. | |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| Set the orientation of the cuboid; only vtx == 0 has an effect. | |
| virtual void | setLightingEnabled (bool enabled) |
| Set lighting enabled or disabled (default disabled) | |
| virtual void | setSolid (bool isSolid) |
| Set the geometry to be solid. | |
| virtual void | addToScene (const DtUniqueID &sceneObjectID, int modelSet, int visualizerType) |
| Add the cuboid to the scene. | |
| virtual void | removeFromScene () |
| Remove the cuboid from the scene. | |
Protected Attributes | |
| DtOsgSceneConnector * | mySceneConnector |
OSG implementation of distributed cuboid model.
| virtual makVrv::DtOsgAttachableCuboidModel::~DtOsgAttachableCuboidModel | ( | ) | [virtual] |
| virtual void makVrv::DtOsgAttachableCuboidModel::setDimensions | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) | [virtual] |
Set the dimensions of the cuboid.
Implements makVrv::DtAttachableCuboidModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [virtual] |
Set the color of the cuboid.
Implements makVrv::DtAttachableCuboidModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::setVisible | ( | bool | visible | ) | [virtual] |
Set whether the cuboid is visible.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::setPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
Set the position of the cuboid; only vtx == 0 has an effect.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::setOrientation | ( | int | vtx, |
| const DtTaitBryan & | orientation | ||
| ) | [virtual] |
Set the orientation of the cuboid; only vtx == 0 has an effect.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::setLightingEnabled | ( | bool | enabled | ) | [virtual] |
Set lighting enabled or disabled (default disabled)
Implements makVrv::DtAttachableCuboidModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::setSolid | ( | bool | isSolid | ) | [virtual] |
Set the geometry to be solid.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::addToScene | ( | const DtUniqueID & | sceneObjectID, |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [virtual] |
Add the cuboid to the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgAttachableCuboidModel::removeFromScene | ( | ) | [virtual] |
Remove the cuboid from the scene.
Implements makVrv::DtModel.