osg::Group contract functions |
Get the name of the object's library/namespace
|
typedef boost::unordered_map
< osgParticle::ParticleSystem
*, DefaultParticleParameters > | ParticleParametersMap |
| | Get the name of the object's class.
|
| 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.
|
| 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 | setUpEmittersAndPrograms ()=0 |
| | Set the emitter group and program group appropriately.
|
| virtual void | buildEffect () |
| | Build the effect up from its current state.
|
| virtual bool | useLocalParticleSystem () |
| | Get a previously set useLocalParticleSystem flag.
|
| virtual void | setUseLocalParticleSystem (bool b) |
| | Included for possible future use.
|
| 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.
|
| 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 ©, const osg::CopyOp ©op) |
| | Copy CTOR - not implemented.
|
This class provides a facade around the osgParticle class hierarchy.
It is comparable with osgParticle::ParticleEffect, but with support for multiple particle systems and designed for inheritance.