![]() |
VR-Forces 5.0.2 Developer's Guide
|
A model of a ribbon.

Public Member Functions | |
| DtOsgRibbonModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOsgRibbonModel () |
| virtual void | setModelDefinition (const std::string &str) |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| virtual const std::string & | className () const |
| virtual void | setOrientation (int vtx, const DtTaitBryan &ori) |
| virtual void | setPosition (int vtx, const DtVector &pos) |
| virtual void | addToScene (const DtUniqueID &id, int modelSet, int visualizerType) |
| virtual void | removeFromScene () |
| virtual void | setOcclusionEnabled (bool enabled) |
| virtual void | setRibbonSpacing (float sampleSpacing) |
| virtual void | setRibbonLength (int maxSamples) |
| virtual void | setRibbonTimeout (float duration) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | initializeModelInstance () |
| virtual void | setVisible (bool isVisible) |
| virtual void | setIsSupportModel (bool isSupport) |
| virtual void | update () |
Public Member Functions inherited from makVrv::DtRibbonModel | |
| DtRibbonModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtRibbonModel () |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| unsigned int | transformSize () const |
| virtual const DtVector & | position (int vtx=0) const |
| virtual void | removePosition (int vtx) |
| virtual void | setPositionOffset (const DtVector &positionOffset) |
| virtual const DtVector & | positionOffset () const |
| virtual void | setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation) |
| virtual const DtTaitBryan & | orientation (int vtx=0) const |
| virtual void | setOrientationOffset (const DtTaitBryan &orientationOffset) |
| virtual const DtTaitBryan & | orientationOffset () const |
| virtual void | enableColorBlending (bool b) |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| virtual void | getBlendColor (float &r, float &g, float &b, float &a) |
| virtual bool | colorBlendingEnabled () const |
| virtual void | enableLighting (bool l) |
| virtual int | modelSet () const |
| const DtVector & | boundingBoxExtents () const |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | boundingBoxCenter () const |
| virtual void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| virtual void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| void | setContributesToBound (bool trueOrFalse) |
| bool | contributesToBound () const |
| DtDe & | de () |
| virtual void | promoteBackgroundModelInstance (DtModelDefinition &defintion) |
| virtual bool | visible () const |
| DtUniqueID | parentSceneObjectID () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, int modelSet, int visualizerType) |
| virtual void | setElementId (DtUniqueID id) |
| virtual void | removedFromSceneObject () |
| virtual void | setSolid (bool isSolid) |
| virtual bool | isProp () |
| virtual void | updateMinLastFrameDistance (float distance) |
| virtual void | resetLastFrameDistance () |
| virtual float | minLastFrameDistance () const |
| virtual DtModelInstance * | modelInstance () |
| virtual const DtModelInstance * | modelInstance () const |
| int | visualizerType () const |
| virtual bool | supportsMultithreadedLoad () |
| virtual void | backgroundLoad () |
| virtual void | foregroundLoad () |
| virtual bool | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
Protected Attributes | |
| DtOsgSceneConnector * | mySceneConnector |
| DtRibbonModelInstance * | myRibbonModelCast |
| bool | myOcclusionEnabled |
| float | myRibbonSpacing |
| int | myRibbonLength |
| float | myRibbonTimeout |
| bool | myColorSet |
| osg::Vec4 | myColor |
Protected Attributes inherited from makVrv::DtModel | |
| DtLoaderHandle * | myInLoadQueueHandle |
| DtDe & | myDe |
| const DtUniqueID | myUniqueId |
| bool | myColorBlendingEnabled |
| DtModelInstance * | myBackgroundModelInstance |
| float | myMinLastFrameDistance |
| TransformList | myTransforms |
| DtModelInstance * | myModelInstance |
| int | myModelSet |
| int | myVisualizerType |
| bool | myContributesToBound |
| DtUniqueID | myParentSceneObjectID |
| bool | myIsPropFlag |
| float | myBlendColor [4] |
| bool | myVisibleFlag |
| DtVector | myPositionOffset |
| DtTaitBryan | myOrientationOffset |
| std::string | myModelDefinitionName |
Private Member Functions | |
| DtOsgRibbonModel () | |
| DtOsgRibbonModel (const DtOsgRibbonModel &) | |
| DtOsgRibbonModel & | operator= (const DtOsgRibbonModel &) |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtModel | |
| boost::signalslib::signal < void(DtModel *)> | signal_modelToBeDestroyed |
| boost::signalslib::signal < void(DtModel *)> | signal_modelChanged |
| boost::signalslib::signal < bool(DtModel *, bool), SlotReturnOR > | signal_visibilityChangeRequested |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceCreated |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceToBeDestroyed |
Protected Types inherited from makVrv::DtModel | |
| typedef std::vector < ObjectTransform > | TransformList |
Protected Member Functions inherited from makVrv::DtModel | |
| virtual void | addToSceneAsProp (const DtUniqueID &sceneObjectId) |
| void | slot_modelInstanceChanged (DtModelInstance *instance) |
| virtual void | waitAndClearLoadHandle () |
| virtual void | removedFromLoadQueue () |
| virtual void | setDoneBackgroundLoading () |
| virtual void | setActivelyBackgroundLoading () |
Static Protected Attributes inherited from makVrv::DtModel | |
| static bool | theInittedState |
| makVrv::DtOsgRibbonModel::DtOsgRibbonModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
unimplemented private default constructor
|
private |
Copy Constructor not implemented – Copy not allowed.
|
private |
Assignment Operator not implemented – Copy not allowed.
|
virtual |
Override the default model definition function.
Implements makVrv::DtRibbonModel.
|
virtual |
Override to provide casted pointer.
Reimplemented from makVrv::DtModel.
|
virtual |
Get the class name of the model instance owner. This is used to control how model instances are created.
Implements makVrv::DtRibbonModel.
|
virtual |
Set the orientation of the model.
Reimplemented from makVrv::DtModel.
Set the position of the model.
Reimplemented from makVrv::DtModel.
|
virtual |
Add the animation to the scene, as part of the scene object with the specified unique ID.
Implements makVrv::DtModel.
|
virtual |
Remove the animation from the scene.
Implements makVrv::DtModel.
|
virtual |
Enable or disable occlusion of the ribbon by other objects in the scene.
Implements makVrv::DtRibbonModel.
|
virtual |
Sets the spacing between sample points along the ribbon (in meters).
Implements makVrv::DtRibbonModel.
|
virtual |
Sets the maximum length of the ribbon (in samples). If the given value (max number of samples in the ribbon), is negative or zero, the ribbon is unbounded and can be infinitely (or at least maximally) long.
Implements makVrv::DtRibbonModel.
|
virtual |
Sets the timeout of a ribbon segment (in seconds). If the given value, is negative or zero, the ribbon is unbounded and will not timeout.
Implements makVrv::DtRibbonModel.
|
virtual |
Sets the color of the ribbon.
Reimplemented from makVrv::DtModel.
|
virtual |
Initializes the ribbon model instance with the current settings. Applies the ribbon length, spacing, and color to the model instance.
Reimplemented from makVrv::DtModel.
|
virtual |
Override to call setVisible on the scene connector.
Reimplemented from makVrv::DtModel.
|
virtual |
Set whether the model is part of the support group (whether or not other scene objects can ground clamp to this model)
Implements makVrv::DtModel.
|
virtual |
Update the position of the ribbon.
Implements makVrv::DtRibbonModel.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |