VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtOsgParticleSystemModel Class Reference

A model of a particle system. More...

Inheritance diagram for makVrv::DtOsgParticleSystemModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtOsgParticleSystemModel (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtOsgParticleSystemModel ()
 DTOR.
virtual void setModelDefinition (const std::string &str)
 Override the default model definition function.
virtual std::string className () const
 Get the class name of the model instance owner.
virtual void setIntensity (float intensity)
 Set the intensity.
virtual void setScale (float scale)
 Set the intensity.
virtual void setDuration (double seconds)
 Set the duration of the effect.
virtual void setPosition (int vtx, const DtVector &position)
 Set the position of a control vertex in the model.
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 Set the orientation of a vertex in the model.
virtual void setWindDirection (const DtVector &direction)
 Set the wind direction.
virtual void stop ()
 Tell the model to stop emitting particles.
virtual void start ()
 Tell the model to start emitting particles.
virtual void pause ()
 Freeze the particle emitters.
virtual void resume ()
 Resume the animation.
virtual void setVisible (bool isVisible)
 Override to call setVisible on the scene connector.
virtual void setSolid (bool solid)
 Set the geometry to be solid.

Protected Member Functions

virtual void addToScene (const DtUniqueID &id, int modelSet, int visualizerType)
 Virtual Functions to be implemented, add this model to the scene.
virtual void removeFromScene ()
 Virtual Functions to be implemented, remove this model from the scene.

Protected Attributes

DtOsgSceneConnectormySceneConnector
double myIntensity
bool myIntensitySet
double myScale
bool myScaleSet
double myDuration
bool myDurationSet

Detailed Description

A model of a particle system.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtOsgParticleSystemModel::setModelDefinition ( const std::string &  str) [virtual]

Override the default model definition function.

Implements makVrv::DtParticleSystemModel.

virtual std::string makVrv::DtOsgParticleSystemModel::className ( ) const [virtual]

Get the class name of the model instance owner.

This is used to control how model instances are created.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::setIntensity ( float  intensity) [virtual]

Set the intensity.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::setScale ( float  scale) [virtual]

Set the intensity.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::setDuration ( double  seconds) [virtual]

Set the duration of the effect.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::setPosition ( int  vtx,
const DtVector position 
) [virtual]

Set the position of a control vertex in the model.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgParticleSystemModel::setOrientation ( int  vtx,
const DtTaitBryan &  orientation 
) [virtual]

Set the orientation of a vertex in the model.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgParticleSystemModel::setWindDirection ( const DtVector direction) [virtual]

Set the wind direction.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::stop ( ) [virtual]

Tell the model to stop emitting particles.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::start ( ) [virtual]

Tell the model to start emitting particles.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::pause ( ) [virtual]

Freeze the particle emitters.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::resume ( ) [virtual]

Resume the animation.

Implements makVrv::DtParticleSystemModel.

virtual void makVrv::DtOsgParticleSystemModel::setVisible ( bool  isVisible) [virtual]

Override to call setVisible on the scene connector.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgParticleSystemModel::setSolid ( bool  solid) [virtual]

Set the geometry to be solid.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgParticleSystemModel::addToScene ( const DtUniqueID sceneObjectId,
int  modelSet,
int  visualizerType 
) [protected, virtual]

Virtual Functions to be implemented, add this model to the scene.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgParticleSystemModel::removeFromScene ( ) [protected, virtual]

Virtual Functions to be implemented, remove this model from the scene.

Implements makVrv::DtModel.


Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)