![]() |
VR-Forces Developer's Guide
|
Instance of an OSG-specific attachable draw model.

Public Member Functions | |
| DtScribeBoxModelInstance (DtDe &de, const std::string &uniqueName) | |
| ~DtScribeBoxModelInstance () | |
| virtual void | addToConnector (DtOsgSceneConnector *connector) |
| virtual bool | removeFromConnector (DtOsgSceneConnector *connector) |
| virtual void | drawBox () |
| virtual void | setColor (const osg::Vec4 &color) |
| virtual void | setLineWidth (double lineWidth) |
| virtual void | setParentSceneObject (const DtUniqueID &sceneObj) |
| virtual void | setVisible (bool isVisible) |
| virtual void | setOccluded (bool) |
| virtual void | setLineSmoothing (bool) |
| virtual void | slot_atcGlobalModelEnableChanged () |
Public Member Functions inherited from makVrv::DtOsgModelInstance | |
| virtual | ~DtOsgModelInstance () |
| virtual bool | realize (const DtModelDefinition &definition) |
| virtual bool | cloneInstance (const DtModelDefinition &definition) |
| virtual bool | saveModelToFile (const std::string &filename) const |
| virtual void | enableColorBlending (bool b) |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| virtual void | enableTexture (bool onOff) |
| virtual osg::Node * | rootNode () |
| virtual const osg::Node * | rootNode () const |
| virtual osg::Node * | sensorNode () |
| virtual const osg::Node * | sensorNode () const |
| virtual void | setDynamicSensorRegion (const std::string ®ion, bool state) |
| virtual bool | dynamicSensorRegion (const std::string ®ion) |
| virtual const SensorRegionStateMap & | dynamicSensorRegionMap () const |
| virtual bool | alphaToCoverageEnabled () |
Public Member Functions inherited from makVrv::DtModelInstance | |
| DtModelInstance (DtDe &de) | |
| virtual | ~DtModelInstance () |
| const std::string & | realizedDefinitionName () const |
| const DtVector & | boundingBoxExtents () const |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | boundingBoxCenter () const |
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| const DtVector & | allGeometryboundingBoxExtents () const |
| void | getAllGeometryBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | allGeometryboundingBoxCenter () const |
| void | getAllGeometryBoundingBoxCenter (double &x, double &y, double &z) const |
| void | getAllGeometryBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| virtual void | setContributesToBound (bool trueOrFalse) |
| bool | contributesToBound () const |
Protected Member Functions | |
| void | setNodeCullAndBin (osg::Node *n, bool isTransparent) |
| void | updateScribeBoxSize () |
| void | updateLineSmoothing () |
| void | updateScribeBoxLineWidth () |
| void | updateScribeBoxColor () |
| DtSceneObject * | parentSceneObject () |
| osg::Geometry * | scribeBox (const osg::Vec3 ¢er, float lengthX, float lengthY, float lengthZ) |
| virtual void | resetGeode () |
Protected Member Functions inherited from makVrv::DtOsgModelInstance | |
| DtOsgModelInstance (DtDe &de) | |
| virtual void | updateColorBlending () |
| virtual void | updateColorBlending (osg::Node *node) |
| virtual void | enableTexture (osg::Node *root, bool onOff) |
| virtual void | updateBoundingBoxViaContents () |
| virtual void | setRootNode (osg::Node *node) |
| virtual void | setUpDepthTest (osg::StateSet *stateSet) |
Additional Inherited Members | |
Public Types inherited from makVrv::DtOsgModelInstance | |
| enum | AlphaToCoverageState { USE_GLOBAL, FORCE_OFF, FORCE_ON } |
| typedef std::unordered_map < std::string, bool > | SensorRegionStateMap |
Static Public Member Functions inherited from makVrv::DtModelInstance | |
| static float | readFloat (const std::string ¶mName, const DtModelDefinition &definition) |
| static DtVector | readVector (const std::string ¶mName, const DtModelDefinition &definition) |
| static DtVector4< float > | readVector4 (const std::string ¶mName, const DtModelDefinition &definition) |
Public Attributes inherited from makVrv::DtOsgModelInstance | |
| boost::signalslib::signal < void(const std::string &, bool) > | signal_dynamicSensorRegionAdded |
| boost::signalslib::signal < void(const std::string &, bool) > | signal_dynamicSensorRegionChanged |
| boost::signalslib::signal < void(bool)> | signal_atcModeEnableChanged |
Public Attributes inherited from makVrv::DtModelInstance | |
| boost::signalslib::signal < void(DtModelInstance *)> | signal_modelInstanceChanged |
| makVrv::DtScribeBoxModelInstance::DtScribeBoxModelInstance | ( | DtDe & | de, |
| const std::string & | uniqueName | ||
| ) |
CTOR.
| makVrv::DtScribeBoxModelInstance::~DtScribeBoxModelInstance | ( | ) |
DTOR.
|
virtual |
Implementation of model instance function Add the draw model instance to a node in the scene graph.
Reimplemented from makVrv::DtOsgModelInstance.
|
virtual |
Implementation of model instance function Remove the draw model instance from a node in the scene graph.
Reimplemented from makVrv::DtOsgModelInstance.
|
virtual |
Draw a box ...
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
no-op
Implements makVrv::DtModelInstance.
|
virtual |
Sets whether or not scribe can be occluded (default is false)
|
virtual |
Sets whether or not smooth lines are used. Default is false.
|
virtual |
override for the atc slot so that scribe boxes are not affected.
Reimplemented from makVrv::DtOsgModelInstance.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
Reset the geode to empty, creating it if necessary.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |