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

Public Member Functions | |
| DtOsgParticleSystemModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOsgParticleSystemModel () |
| virtual void | setModelDefinition (const std::string &str) override |
| virtual const std::string & | modelDefinition () |
| virtual const std::string & | className () const |
| virtual void | setIntensity (float intensity) |
| virtual void | setScale (float scale) |
| virtual void | setDuration (double seconds) |
| virtual void | setWindDirection (const DtVector &direction) |
| virtual void | setMaxParticlesToEmit (int max) |
| virtual void | stop () |
| virtual void | start () |
| virtual void | pause () |
| virtual void | resume () |
| virtual void | setVisible (bool isVisible) |
| virtual void | setIsSupportModel (bool isSupport) |
| virtual void | backgroundLoad (DtBackgroundLoadContext &context) override |
| virtual void | foregroundLoad () override |
Set spatial data | |
| virtual void | setPosition (int vtx, const DtVector &position) |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| virtual void | setOffset (const DtVector &offset) |
| virtual void | setArtPart (int artPart) |
Public Member Functions inherited from makVrv::DtParticleSystemModel | |
| DtParticleSystemModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtParticleSystemModel () |
| virtual bool | supportsMultithreadedLoad () |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| virtual DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize) |
| virtual DtModelInstance * | createModelInstance (const DtModelDefinition &definition, bool realize) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| virtual DtUniqueID | uniqueId () const |
| 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 | setColor (float r, float g, float b, float a) |
| virtual void | enableLighting (bool l) |
| virtual DtModelSetId | 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 | setModelInstance (DtModelInstance *modelInstance) |
| virtual void | promoteBackgroundModelInstance (const DtModelDefinition &defintion) |
| virtual bool | visible () const |
| virtual void | setSensorMask (unsigned int sensorMask) |
| virtual unsigned int | getSensorMask () const |
| DtUniqueID | sceneObjectId () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, DtModelSetId modelSet, int visualizerType) |
| virtual void | setElementId (DtElementID 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 | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
Protected Member Functions | |
| virtual void | addToScene (const DtUniqueID &id, DtModelSetId modelSet, int visualizerType) |
| virtual void | addToSceneAsProp (const DtUniqueID &sceneObjectId) |
| virtual void | removeFromScene () |
| virtual void | slot_coordinateSystemChanged () |
| virtual void | slot_handleWindDirectionChanged (float dir) |
| virtual void | slot_handleWindSpeedChanged (float speed) |
| virtual void | updateWind () |
Protected Member Functions inherited from makVrv::DtModel | |
| virtual void | initializeModelInstance () |
| void | slot_modelInstanceChanged (DtModelInstance *instance) |
| virtual void | waitAndClearLoadHandle () |
| virtual void | removedFromLoadQueue () |
| virtual void | setDoneBackgroundLoading () |
| virtual void | setActivelyBackgroundLoading () |
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 |
Static Protected Attributes inherited from makVrv::DtModel | |
| static bool | theInittedState |
| makVrv::DtOsgParticleSystemModel::DtOsgParticleSystemModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
overridevirtual |
Override the default model definition function.
Implements makVrv::DtParticleSystemModel.
|
inlinevirtual |
|
virtual |
Get the class name of the model instance owner. This is used to control how model instances are created.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Set the intensity.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Set the intensity.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Set the duration of the effect.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Set the position of a control vertex in the model.
Reimplemented from makVrv::DtModel.
|
virtual |
Set the orientation of a vertex in the model.
Reimplemented from makVrv::DtModel.
|
virtual |
offset for particle system
Implements makVrv::DtParticleSystemModel.
|
virtual |
sets the articulated part number to attach to.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Set the wind direction.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Set the maximum number of particles to emit.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Tell the model to stop emitting particles.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Tell the model to start emitting particles.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Freeze the particle emitters.
Implements makVrv::DtParticleSystemModel.
|
virtual |
Resume the animation.
Implements makVrv::DtParticleSystemModel.
|
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.
|
overridevirtual |
multi-threaded loading functions
The chunk of loading that can safely happen in the background. The context provides the DtModelDefinition lease and modelLoadingMutex, both of which are set up by the caller (DtBackgroundLoadAsyncTask or DtBackgroundLoader::timedForegroundLoad) before this is called.
Reimplemented from makVrv::DtModel.
|
overridevirtual |
the chunk of loading that must happen happen in the foreground, adding to scene graph etc.
Reimplemented from makVrv::DtModel.
|
protectedvirtual |
Virtual Functions to be implemented, add this model to the scene.
Implements makVrv::DtModel.
|
protectedvirtual |
Add this model to the scene as a prop. All models are not required to re-implement this.
Reimplemented from makVrv::DtModel.
|
protectedvirtual |
Virtual Functions to be implemented, remove this model from the scene.
Implements makVrv::DtModel.
|
protectedvirtual |
slot for when the coordinate system changes
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
local clone of the system wide coordinate system. for thread safety.