![]() |
VR-Forces Developer's Guide
|
A virtual base class for a particle effect from a model definition.

Public Member Functions | |
| virtual void | setIntensity (float intensity)=0 |
| virtual void | setScale (float scale)=0 |
| virtual void | setIgnoreModelScaling (bool ignoreModelScaling)=0 |
| virtual bool | ignoreModelScaling () const =0 |
| virtual void | setDuration (double seconds)=0 |
| virtual void | setWind (const DtVector &windVector, const DtVector &up)=0 |
| virtual void | setMaxParticlesToEmit (int max)=0 |
| virtual bool | realize (const DtModelDefinition &definition)=0 |
| virtual osg::Node * | getOrLoadFromDefinition (const DtModelDefinition &definition)=0 |
| virtual void | addToConnector (DtOsgSceneConnector *connector)=0 |
| virtual bool | removeFromConnector (DtOsgSceneConnector *connector)=0 |
| virtual void | stop ()=0 |
| virtual void | start ()=0 |
| virtual void | pause ()=0 |
| virtual void | resume ()=0 |
| virtual void | setVisible (bool isVisible)=0 |
| virtual void | setOffset (const DtVector &offset)=0 |
| virtual void | setArtPart (int artPart)=0 |
| virtual void | setPosition (double x, double y, double z)=0 |
| virtual void | setPosition (int index, double x, double y, double z)=0 |
Public Member Functions inherited from makVrv::DtOsgModelInstance | |
| virtual | ~DtOsgModelInstance () |
| 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 void | slot_atcGlobalModelEnableChanged () |
| 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 | |
| DtParticleSystemModelInstance (DtDe &de) | |
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) |
|
inlineprotected |
Create the effect, no op constructor.
|
pure virtual |
Set the effect intensity.
Implemented in makVrv::DtParticleRotorWashModelInstance, and makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Set the effect scale.
Implemented in makVrv::DtParticleRotorWashModelInstance, and makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Sets Whether ignore scaling the particle by distance when you enable the "XR" mode. This can be configured from "ignoreModelScaling" in the model definition. Default is true.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Get whether model scaling is disabled for this model instance.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Set the effect duration.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Set the effect wind.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Set the maximum number of particles to emit.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Attempt to realize a definition. If the model instance can't realize the definition it should return false.
Reimplemented from makVrv::DtOsgModelInstance.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Load a node from a file, or from the cache if possible.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Tell the model instance to add itself to the provided node.
Reimplemented from makVrv::DtOsgModelInstance.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Tell the model instance to remove itself from the provided node.
Reimplemented from makVrv::DtOsgModelInstance.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
Tell the model to stop emitting particles.
Implemented in makVrv::DtFxParticleSystemModelInstance, and makVrv::DtParticleRotorWashModelInstance.
|
pure virtual |
Tell the model to start emitting particles.
Implemented in makVrv::DtFxParticleSystemModelInstance, and makVrv::DtParticleRotorWashModelInstance.
|
pure virtual |
Freeze the particle emitters.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
resume the particle emitters.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
stops the emission of particles
Implements makVrv::DtModelInstance.
Implemented in makVrv::DtFxParticleSystemModelInstance, and makVrv::DtParticleRotorWashModelInstance.
|
pure virtual |
sets the offset of the particles system rel to model origin or articulated part
Implemented in makVrv::DtFxParticleSystemModelInstance, and makVrv::DtParticleRotorWashModelInstance.
|
pure virtual |
sets the articulated articulated part to attach system to.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
sets the position of the system explicitly.
Implemented in makVrv::DtFxParticleSystemModelInstance.
|
pure virtual |
sets the position of a sub emitter .
Implemented in makVrv::DtFxParticleSystemModelInstance.