![]() |
VR-Forces 4.0.4 Class Documentation
|
This is a realization of DtDrawModel. More...

Public Member Functions | |
| DtOsgDrawModel (DtDe &de, DtUniqueID &id) | |
| virtual | ~DtOsgDrawModel () |
| virtual void | drawLine (const DtVector &color, double lineWidth) |
| Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth) | |
| virtual void | setVisible (bool visible) |
| Set the model visible or invisible. | |
| virtual void | setPosition (int vtx, const DtVector &position) |
| Set the position of a control vertex in the model. | |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| Set the orientation of a vertex in the model. | |
| virtual void | setSolid (bool isSolid) |
| Set whether or not other scene objects can ground clamp to this model Default implementation does nothing. | |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType) |
| Removes the model from the scene. | |
| virtual void | removeFromScene () |
| Removes the model from the scene. | |
Protected Member Functions | |
| void | initializeModelInstance () |
| Push any state maintained by the model to the model instance. | |
Protected Attributes | |
| DtOsgSceneConnector * | mySceneConnector |
This is a realization of DtDrawModel.
It is a model class that is used to create attachable line objects. It creates its own model instance. Renaming (when the Attachable- is removed from the class name) is recommended
| makVrv::DtOsgDrawModel::DtOsgDrawModel | ( | DtDe & | de, |
| DtUniqueID & | id | ||
| ) |
| virtual makVrv::DtOsgDrawModel::~DtOsgDrawModel | ( | ) | [virtual] |
| virtual void makVrv::DtOsgDrawModel::drawLine | ( | const DtVector & | rgbColor, |
| double | lineWidth | ||
| ) | [virtual] |
Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth)
Implements makVrv::DtDrawModel.
| virtual void makVrv::DtOsgDrawModel::setVisible | ( | bool | isVisible | ) | [virtual] |
Set the model visible or invisible.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgDrawModel::setPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
Set the position of a control vertex in the model.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgDrawModel::setOrientation | ( | int | vtx, |
| const DtTaitBryan & | orientation | ||
| ) | [virtual] |
Set the orientation of a vertex in the model.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgDrawModel::setSolid | ( | bool | isSolid | ) | [virtual] |
Set whether or not other scene objects can ground clamp to this model Default implementation does nothing.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgDrawModel::addToScene | ( | const DtUniqueID & | sceneObjectId, |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [virtual] |
Removes the model from the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgDrawModel::removeFromScene | ( | ) | [virtual] |
Removes the model from the scene.
Implements makVrv::DtModel.
| void makVrv::DtOsgDrawModel::initializeModelInstance | ( | ) | [protected, virtual] |
Push any state maintained by the model to the model instance.
Reimplemented from makVrv::DtModel.