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

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