Inheritance diagram for osgParticle::Emitter:

Public Member Functions | |
| Emitter () | |
| Emitter (const Emitter ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| virtual const char * | libraryName () const |
| return the name of the node's library. | |
| virtual const char * | className () const |
| return the name of the node's class type. | |
| virtual bool | isSameKindAs (const osg::Object *obj) const |
| virtual void | accept (osg::NodeVisitor &nv) |
| Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. | |
| const Particle & | getParticleTemplate () const |
| Get the particle template. | |
| void | setParticleTemplate (const Particle &p) |
| Set the particle template (particle is copied). | |
| bool | getUseDefaultTemplate () const |
| Return whether the particle system's default template should be used. | |
| void | setUseDefaultTemplate (bool v) |
| Set whether the default particle template should be used. | |
Protected Member Functions | |
| virtual | ~Emitter () |
| Emitter & | operator= (const Emitter &) |
| void | process (double dt) |
| virtual void | emit (double dt)=0 |
Protected Attributes | |
| bool | _usedeftemp |
| Particle | _ptemp |
Descendant classes must override the emit() method to generate new particles by calling the ParticleSystem::createParticle() method on the particle system associated to the emitter.
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
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. |
|
|
Implemented in osgParticle::ModularEmitter. |
|
|
Get the particle template.
|
|
|
Return whether the particle system's default template should be used.
|
|
|
Reimplemented from osgParticle::ParticleProcessor. |
|
|
return the name of the node's library.
Reimplemented from osgParticle::ParticleProcessor. |
|
|
|
|
|
Implements osgParticle::ParticleProcessor. |
|
|
Set the particle template (particle is copied).
|
|
|
Set whether the default particle template should be used. When this flag is true, the particle template is ignored, and the particle system's default template is used instead. |
|
|
|
|
|
|