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

Public Member Functions | |
| DtOsgArticulatingCylinderModel (DtDe &de, DtUniqueID &id) | |
| virtual | ~DtOsgArticulatingCylinderModel () |
| 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 solid) |
| 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.
| makVrv::DtOsgArticulatingCylinderModel::DtOsgArticulatingCylinderModel | ( | DtDe & | de, |
| DtUniqueID & | id | ||
| ) |
| virtual makVrv::DtOsgArticulatingCylinderModel::~DtOsgArticulatingCylinderModel | ( | ) | [virtual] |
| virtual void makVrv::DtOsgArticulatingCylinderModel::setDimensions | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) | [virtual] |
Set the dimensions of the cuboid.
Implements makVrv::DtArticulatingCylinderModel.
| virtual void makVrv::DtOsgArticulatingCylinderModel::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [virtual] |
Set the color of the cuboid.
Implements makVrv::DtArticulatingCylinderModel.
| virtual void makVrv::DtOsgArticulatingCylinderModel::setVisible | ( | bool | visible | ) | [virtual] |
Set whether the cuboid is visible.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgArticulatingCylinderModel::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::DtOsgArticulatingCylinderModel::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::DtOsgArticulatingCylinderModel::setLightingEnabled | ( | bool | enabled | ) | [virtual] |
Set lighting enabled or disabled (default disabled)
Implements makVrv::DtArticulatingCylinderModel.
| virtual void makVrv::DtOsgArticulatingCylinderModel::setSolid | ( | bool | solid | ) | [virtual] |
Set the geometry to be solid.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgArticulatingCylinderModel::addToScene | ( | const DtUniqueID & | sceneObjectID, |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [virtual] |
Add the cuboid to the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgArticulatingCylinderModel::removeFromScene | ( | ) | [virtual] |
Remove the cuboid from the scene.
Implements makVrv::DtModel.