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

Public Member Functions | |
| DtOsgCylinderModel (DtDe &de, DtUniqueID &id) | |
| virtual | ~DtOsgCylinderModel () |
| virtual void | setUseTwoPositions (bool twoPoints) |
| Set the whether to use two positions to control the cylinder location. | |
| virtual void | setDimensions (float length, float width, float height) |
| Set the dimensions of the cylinder. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Set the color of the cylinder. | |
| virtual void | setPosition (int vtx, const DtVector &position) |
| Set the position of the cylinder. | |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| Set the orientation of the cylinder. | |
| virtual void | setLightingEnabled (bool enabled) |
| Set lighting enabled or disabled (default disabled) | |
| virtual void | setVisible (bool isVisible) |
| Override setVisible to call to the scene connector. | |
| virtual void | setSolid (bool solid) |
| Set whether the geometry is solid. | |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType) |
| Add the cylinder to the scene. | |
| virtual void | removeFromScene () |
| Remove the cylinder from the scene. | |
Protected Attributes | |
| DtOsgSceneConnector * | mySceneConnector |
| bool | myUseTwoPositions |
OSG implementation of distributed cylinder model.
| makVrv::DtOsgCylinderModel::DtOsgCylinderModel | ( | DtDe & | de, |
| DtUniqueID & | id | ||
| ) |
| virtual makVrv::DtOsgCylinderModel::~DtOsgCylinderModel | ( | ) | [virtual] |
| virtual void makVrv::DtOsgCylinderModel::setUseTwoPositions | ( | bool | twoPoints | ) | [virtual] |
Set the whether to use two positions to control the cylinder location.
Implements makVrv::DtCylinderModel.
| virtual void makVrv::DtOsgCylinderModel::setDimensions | ( | float | length, |
| float | width, | ||
| float | height | ||
| ) | [virtual] |
Set the dimensions of the cylinder.
Implements makVrv::DtCylinderModel.
| virtual void makVrv::DtOsgCylinderModel::setColor | ( | float | r, |
| float | g, | ||
| float | b, | ||
| float | a | ||
| ) | [virtual] |
Set the color of the cylinder.
Implements makVrv::DtCylinderModel.
| virtual void makVrv::DtOsgCylinderModel::setPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
Set the position of the cylinder.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgCylinderModel::setOrientation | ( | int | vtx, |
| const DtTaitBryan & | orientation | ||
| ) | [virtual] |
Set the orientation of the cylinder.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgCylinderModel::setLightingEnabled | ( | bool | enabled | ) | [virtual] |
Set lighting enabled or disabled (default disabled)
Implements makVrv::DtCylinderModel.
| virtual void makVrv::DtOsgCylinderModel::setVisible | ( | bool | isVisible | ) | [virtual] |
Override setVisible to call to the scene connector.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgCylinderModel::setSolid | ( | bool | solid | ) | [virtual] |
Set whether the geometry is solid.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgCylinderModel::addToScene | ( | const DtUniqueID & | sceneObjectId, |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [virtual] |
Add the cylinder to the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgCylinderModel::removeFromScene | ( | ) | [virtual] |
Remove the cylinder from the scene.
Implements makVrv::DtModel.
bool makVrv::DtOsgCylinderModel::myUseTwoPositions [protected] |