![]() |
VR-Forces 4.0.4 Class Documentation
|
Instance of an OSG-specific attachable draw model. More...

Public Member Functions | |
| DtDrawModelInstance (DtDe &de) | |
| CTOR. | |
| ~DtDrawModelInstance () | |
| DTOR. | |
| virtual void | addToConnector (DtOsgSceneConnector *connector) |
| Implementation of model instance function Add the draw model instance to a node in the scene graph. | |
| virtual bool | removeFromConnector (DtOsgSceneConnector *connector) |
| Implementation of model instance function Remove the draw model instance from a node in the scene graph. | |
| virtual void | drawLine (const osg::Vec4 &color, const double lineWidth) |
| Draw a line ... | |
| virtual void | setPosition (int vtx, const DtVector &position) |
| virtual void | setVisible (bool isVisible) |
| no-op | |
Protected Member Functions | |
| void | createText (const std::string &fontName, const osg::Vec4 &color, double size) |
| create the text object for the height above terrain line height indicator | |
| virtual void | resetGeode () |
| Reset the geode to empty, creating it if necessary. | |
Protected Attributes | |
| osg::ref_ptr< osg::Group > | myGroup |
| osg::ref_ptr< osg::Geode > | myShapeGeode |
| osg::ref_ptr< osg::Geometry > | myGeometry |
| osg::ref_ptr< osg::Vec3Array > | myPoints |
Instance of an OSG-specific attachable draw model.
CTOR.
| virtual void makVrv::DtDrawModelInstance::addToConnector | ( | DtOsgSceneConnector * | connector | ) | [virtual] |
Implementation of model instance function Add the draw model instance to a node in the scene graph.
Reimplemented from makVrv::DtOsgModelInstance.
| virtual bool makVrv::DtDrawModelInstance::removeFromConnector | ( | DtOsgSceneConnector * | connector | ) | [virtual] |
Implementation of model instance function Remove the draw model instance from a node in the scene graph.
Reimplemented from makVrv::DtOsgModelInstance.
| virtual void makVrv::DtDrawModelInstance::drawLine | ( | const osg::Vec4 & | color, |
| const double | lineWidth | ||
| ) | [virtual] |
Draw a line ...
| virtual void makVrv::DtDrawModelInstance::setPosition | ( | int | vtx, |
| const DtVector & | position | ||
| ) | [virtual] |
| virtual void makVrv::DtDrawModelInstance::setVisible | ( | bool | isVisible | ) | [inline, virtual] |
no-op
Implements makVrv::DtModelInstance.
| void makVrv::DtDrawModelInstance::createText | ( | const std::string & | fontName, |
| const osg::Vec4 & | color, | ||
| double | size | ||
| ) | [protected] |
create the text object for the height above terrain line height indicator
| virtual void makVrv::DtDrawModelInstance::resetGeode | ( | ) | [protected, virtual] |
Reset the geode to empty, creating it if necessary.
osg::ref_ptr<osg::Group> makVrv::DtDrawModelInstance::myGroup [protected] |
osg::ref_ptr<osg::Geode> makVrv::DtDrawModelInstance::myShapeGeode [protected] |
osg::ref_ptr<osg::Geometry> makVrv::DtDrawModelInstance::myGeometry [protected] |
osg::ref_ptr<osg::Vec3Array> makVrv::DtDrawModelInstance::myPoints [protected] |