![]() |
VR-Forces 4.0.4 Class Documentation
|
DtOsgProjectedTextModel is a model class for creating attachable projected text. More...

Public Member Functions | |
| DtOsgProjectedTextModel (DtDe &de, DtUniqueID &id) | |
| virtual | ~DtOsgProjectedTextModel () |
| 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 | setColor (const DtVector &rgbColor) |
| Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth) | |
| virtual void | setFontName (const std::string &fontName) |
| virtual void | setFontSize (double size) |
| virtual void | setText (const std::string &text) |
| virtual void | setVisible (bool isVisible) |
| Set the model visible or invisible. | |
| virtual void | setSolid (bool solid) |
| Set whether or not other scene objects can ground clamp to this model Default implementation does nothing. | |
Protected Member Functions | |
| virtual void | createModelInstance () |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType) |
| Virtual Functions to be implemented, add this model to the scene. | |
| virtual void | removeFromScene () |
| Virtual Functions to be implemented, remove this model from the scene. | |
Protected Attributes | |
| DtProjectedTextModelInstance * | myTextInstance |
| DtOsgSceneConnector * | mySceneConnector |
DtOsgProjectedTextModel is a model class for creating attachable projected text.
It creates its own model instance.
| virtual makVrv::DtOsgProjectedTextModel::~DtOsgProjectedTextModel | ( | ) | [virtual] |
| virtual void makVrv::DtOsgProjectedTextModel::setPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
Set the position of a control vertex in the model.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedTextModel::setOrientation | ( | int | vtx, |
| const DtTaitBryan & | orientation | ||
| ) | [virtual] |
Set the orientation of a vertex in the model.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedTextModel::setColor | ( | const DtVector & | rgbColor | ) | [virtual] |
Draw a line segment from (x1,y1,z1) to (x2,y2,z2) using color (r,g,b,a) and thickness (lineWidth)
Implements makVrv::DtProjectedTextModel.
| virtual void makVrv::DtOsgProjectedTextModel::setFontName | ( | const std::string & | fontName | ) | [virtual] |
Implements makVrv::DtProjectedTextModel.
| virtual void makVrv::DtOsgProjectedTextModel::setFontSize | ( | double | size | ) | [virtual] |
Implements makVrv::DtProjectedTextModel.
| virtual void makVrv::DtOsgProjectedTextModel::setText | ( | const std::string & | text | ) | [virtual] |
Implements makVrv::DtProjectedTextModel.
| virtual void makVrv::DtOsgProjectedTextModel::setVisible | ( | bool | isVisible | ) | [virtual] |
Set the model visible or invisible.
Reimplemented from makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedTextModel::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::DtOsgProjectedTextModel::addToScene | ( | const DtUniqueID & | sceneObjectId, |
| int | modelSet, | ||
| int | visualizerType | ||
| ) | [protected, virtual] |
Virtual Functions to be implemented, add this model to the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedTextModel::removeFromScene | ( | ) | [protected, virtual] |
Virtual Functions to be implemented, remove this model from the scene.
Implements makVrv::DtModel.
| virtual void makVrv::DtOsgProjectedTextModel::createModelInstance | ( | ) | [protected, virtual] |