Inheritance diagram for osgParticle::ParticleSystemUpdater:
Public Member Functions | |
ParticleSystemUpdater () | |
ParticleSystemUpdater (const ParticleSystemUpdater ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Node (osgParticle, ParticleSystemUpdater) | |
bool | addParticleSystem (ParticleSystem *ps) |
Add a particle system to the list. | |
bool | removeParticleSystem (ParticleSystem *ps) |
Remove a particle system from the list (by pointer). | |
bool | removeParticleSystem (unsigned int i, unsigned int numParticleSystemsToRemove=1) |
Remove a particle system(s) from the list (by index). | |
bool | replaceParticleSystem (ParticleSystem *origPS, ParticleSystem *newPS) |
Replace ParticleSystem with another ParticleSystem. | |
bool | setParticleSystem (unsigned int i, ParticleSystem *ps) |
set a particle system by index. | |
unsigned int | getNumParticleSystems () const |
Return the number of particle systems on the list. | |
ParticleSystem * | getParticleSystem (unsigned int i) |
Get a particle system from the list. | |
const ParticleSystem * | getParticleSystem (unsigned int i) const |
Get a particle system from the list. | |
bool | containsParticleSystem (const ParticleSystem *ps) const |
return true if ParticleSystem is contained within ParticlsSystemUpdater. | |
unsigned int | getParticleSystemIndex (const ParticleSystem *ps) const |
get index number of ParticleSystem. | |
virtual void | traverse (osg::NodeVisitor &nv) |
Traverse downwards : calls children's accept method with NodeVisitor. | |
virtual osg::BoundingSphere | computeBound () const |
Compute the bounding sphere around Node's geometry or children. | |
Protected Member Functions | |
virtual | ~ParticleSystemUpdater () |
ParticleSystemUpdater & | operator= (const ParticleSystemUpdater &) |
When a ParticleSystemUpdater is traversed by a cull visitor, it calls the update() method on the specified particle systems. You should place this updater AFTER other nodes like emitters and programs.
|
|
|
|
|
|
|
Add a particle system to the list.
|
|
Compute the bounding sphere around Node's geometry or children. This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). Reimplemented from osg::Node. |
|
return true if ParticleSystem is contained within ParticlsSystemUpdater.
|
|
Return the number of particle systems on the list.
|
|
Get a particle system from the list.
|
|
Get a particle system from the list.
|
|
get index number of ParticleSystem.
|
|
|
|
|
|
Remove a particle system(s) from the list (by index).
|
|
Remove a particle system from the list (by pointer).
|
|
Replace ParticleSystem with another ParticleSystem.
|
|
set a particle system by index.
|
|
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Node. |