Inheritance diagram for osgParticle::Program:
Public Member Functions | |
Program () | |
Program (const Program ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
virtual const char * | libraryName () const |
virtual const char * | className () const |
virtual bool | isSameKindAs (const osg::Object *obj) const |
virtual void | accept (osg::NodeVisitor &nv) |
Protected Member Functions | |
virtual | ~Program () |
Program & | operator= (const Program &) |
void | process (double dt) |
Implementation of ParticleProcessor::process() . Do not call this method by yourself. | |
virtual void | execute (double dt)=0 |
Execute the program on the particle system. Must be overriden in descendant classes. |
ParticleProcessor
descendant for modifying particles "on the fly" during the cull traversal. Descendants of this class must implement the execute()
method, which should iterate through all particles in the linked particle system and modify them somehow (usually updating their velocity vector).
|
|
|
|
|
|
|
Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. Reimplemented from osgParticle::ParticleProcessor. |
|
return the name of the node's class type. Reimplemented from osgParticle::ParticleProcessor. |
|
Execute the program on the particle system. Must be overriden in descendant classes.
Implemented in osgParticle::ModularProgram. |
|
return true if this and obj are of the same kind of object. Reimplemented from osgParticle::ParticleProcessor. |
|
return the name of the node's library. Reimplemented from osgParticle::ParticleProcessor. |
|
|
|
Implementation of
Implements osgParticle::ParticleProcessor. |