VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtCopyableParticleEffect Class Reference

A particle affect which is copied. More...

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

Public Member Functions

 DtCopyableParticleEffect (const osg::Node *loadedNode, bool useOriginalOsgFluidFrictionOperator=false)
 DtCopyableParticleEffect (const DtCopyableParticleEffect &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
virtual void setUpEmittersAndPrograms ()
 Set the emitter group and program group appropriately.
virtual void setUseLocalParticleSystem (bool useLocal)
 Included for possible future use.
- Public Member Functions inherited from makVrv::DtParticleEffect
 DtParticleEffect ()
 CTOR.
virtual const char * libraryName () const
 Get the name of the object's class.
virtual const char * className () const
 Get the name of the object's class.
virtual bool isSameKindAs (const osg::Object *obj) const
 Test for type sameness.
virtual void accept (osg::NodeVisitor &v)
 Get the name of the object's class.
virtual osg::Group * emitterGroup ()
 Get an osg Group containing the emitters for this effect.
virtual osg::Group * programGroup ()
 Get an osg Group containing the programs for this effect.
virtual osg::Group * proxyGroup ()
 Get an osg Group containing the effect's proxy nodes.
virtual osg::Group * transformGroup ()
 Get an osg Group containing transforms placed at the top of the effect.
virtual void buildEffect ()
 Build the effect up from its current state.
virtual bool useLocalParticleSystem ()
 Get a previously set useLocalParticleSystem flag.
virtual float scale ()
 Get the current particle system scale factor.
virtual void setScale (float scale)
 Scale the particle system by the specified value.
virtual float intensity ()
 Get a previously set intensity.
virtual void setIntensity (float intensity)
 Included for possible future use.
virtual double startTime ()
 Get the start time of the particle effect.
virtual void setStartTime (double startTime)
 Set the start time of the particle effect.
virtual double emitterDuration ()
 Get the emitter duration previously set.
virtual void setEmitterDuration (double emitterDuration)
 Set the emitter duration.
virtual double particleLifetime ()
 Find the maximum lifetime of any future particle in any of the particle systems that make up this effect.
virtual osg::Vec3 wind ()
 Get a previously set wind value.
virtual void setWind (const osg::Vec3 wind)
 Included for possible future use.
virtual void stop ()
 Stop the particle effect.
virtual void start ()
 start the particle effect
virtual void pause ()
 Pause the particle effect.
virtual void resume ()
 resume the particle effect
virtual void setLoopMode (bool loopOn)
 Set whether or not looping is on.
virtual void setReverseAnimation (bool reverse)
 Animations to reverse.
virtual void traverse (osg::NodeVisitor &nv)
 Interrupt CullVisitors to update the transforms.
virtual osg::Node * particleSystemNode ()
 Get the node containing the particle system geometry.
virtual osg::Geode * particleSystemGeode ()
 Get an osg Geode containing drawables for this effect's particle systems.
virtual void setMatrix (const osg::Matrix &mat)
 Set the matrix transform that this particle effect is currently beneath.
void getSizeRange (osgParticle::ParticleSystem *particleSystem, float &min, float &max) const
 The the minimum and maximum particle sizes cached for a particular particle system.

Protected Member Functions

virtual ~DtCopyableParticleEffect ()
- Protected Member Functions inherited from makVrv::DtParticleEffect
virtual void addParent (osg::Group *parent)
 Specify a group that has this effect as a child node.
virtual void setupParticleScalingDefaults (osgParticle::ParticleSystem *ps)
 Grab the mininum and maximum particle sizes from the particle system.
virtual void scaleDefaultParticleSizes (float scale)
 Scale the size of new particles.
virtual ~DtParticleEffect ()
 DTOR.
 DtParticleEffect (const DtParticleEffect &copy, const osg::CopyOp &copyop)
 Copy CTOR - not implemented.

Protected Attributes

osg::ref_ptr< osg::Node > myLoadedNode
bool myUseOriginalOsgFluidFrictionOperator
- Protected Attributes inherited from makVrv::DtParticleEffect
osg::ref_ptr< osg::Group > myEmitterGroup
 Get the name of the object's class.
osg::ref_ptr< osg::Group > myProgramGroup
 Get the name of the object's class.
osg::ref_ptr< osg::Geode > myParticleSystemGeode
 Get the name of the object's class.
osg::ref_ptr< osg::Group > myProxyGroup
 Get the name of the object's class.
osg::ref_ptr< osg::Group > myTransformGroup
 Get the name of the object's class.
std::vector< osg::ref_ptr
< osg::Sequence > > 
mySequences
 Get the name of the object's class.
bool mySequencesLooping
 Get the name of the object's class.
bool mySequencesReverse
 Get the name of the object's class.
osg::ref_ptr
< osg::MatrixTransform > 
myParticleSystemTransform
 Get the name of the object's class.
bool myTransformsSet
 Get the name of the object's class.
bool myUseLocalParticleSystem
 Get the name of the object's class.
osg::Vec3 myPosition
 Get the name of the object's class.
float myScale
 Get the name of the object's class.
float myIntensity
 Get the name of the object's class.
double myStartTime
 Get the name of the object's class.
double myEmitterDuration
 Get the name of the object's class.
osg::Vec3 myWind
 Get the name of the object's class.
ParticleParametersMap myDefaultParticleParameters
 Get the name of the object's class.

Additional Inherited Members

- Protected Types inherited from makVrv::DtParticleEffect
typedef boost::unordered_map
< osgParticle::ParticleSystem
*, DefaultParticleParameters
ParticleParametersMap
 Get the name of the object's class.

Detailed Description

A particle affect which is copied.

Constructor & Destructor Documentation

makVrv::DtCopyableParticleEffect::DtCopyableParticleEffect ( const osg::Node *  loadedNode,
bool  useOriginalOsgFluidFrictionOperator = false 
)
makVrv::DtCopyableParticleEffect::DtCopyableParticleEffect ( const DtCopyableParticleEffect copy,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)
virtual makVrv::DtCopyableParticleEffect::~DtCopyableParticleEffect ( )
protectedvirtual

Member Function Documentation

virtual void makVrv::DtCopyableParticleEffect::setUpEmittersAndPrograms ( )
virtual

Set the emitter group and program group appropriately.

Implements makVrv::DtParticleEffect.

virtual void makVrv::DtCopyableParticleEffect::setUseLocalParticleSystem ( bool  b)
virtual

Included for possible future use.

This method currently has no effect.

Reimplemented from makVrv::DtParticleEffect.

Member Data Documentation

osg::ref_ptr<osg::Node> makVrv::DtCopyableParticleEffect::myLoadedNode
protected
bool makVrv::DtCopyableParticleEffect::myUseOriginalOsgFluidFrictionOperator
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)