|
AGX Dynamics
2.37.3.2
|
#include <ParticleSystemDrawable.h>
Inheritance diagram for agxOSG::ParticleSystemDrawable:Public Types | |
| enum | ParticleRenderingMode { SPRITES, QUAD_SPRITES, TRIANGLES } |
| enum | ParticleShaderMode { SIMPLE_SPRITES, ROTATION_SPRITES, ALPHA_SPRITES } |
Public Member Functions | |
| ParticleSystemDrawable (agx::ParticleSystem *particleSystem, ParticleRenderingMode renderMode=DEFAULT_PARTICLE_RENDERING_MODE, ParticleShaderMode particleShaderMode=ROTATION_SPRITES) | |
| virtual const char * | className () const |
| virtual osg::Object * | clone (const osg::CopyOp &) const |
| virtual osg::Object * | cloneType () const |
| virtual osg::BoundingBox | computeBound () const |
| Compute the bounding box around Drawables's geometry. More... | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| The actual draw method for the particle system. More... | |
| bool | getEnable () const |
| ParticleShaderMode | getParticleShaderMode () const |
| agx::ParticleSystem * | getParticleSystem () |
| virtual bool | isSameKindAs (const osg::Object *obj) const |
| virtual const char * | libraryName () const |
| void | setEnable (bool enable) |
| void | setParticleShaderMode (ParticleShaderMode flag) |
Static Public Member Functions | |
| static ParticleRenderingMode | getAllowedRenderMode () |
| Get the minimum allowed ParticleRenderingMode for the particles. More... | |
| static void | setAllowedRenderMode (ParticleRenderingMode mode) |
| Set the minimum allowed ParticleRenderingMode for the particles. More... | |
Protected Member Functions | |
| virtual | ~ParticleSystemDrawable () |
Protected Attributes | |
| bool | m_enable |
| ParticleShaderMode | m_particleShaderMode |
| agx::ParticleSystemObserver | m_particleSystem |
| ParticleRenderingMode | m_renderMode |
| agx::TaskGroupRef | m_renderTask |
Definition at line 44 of file ParticleSystemDrawable.h.
| Enumerator | |
|---|---|
| SPRITES | |
| QUAD_SPRITES | |
| TRIANGLES | |
Definition at line 47 of file ParticleSystemDrawable.h.
| Enumerator | |
|---|---|
| SIMPLE_SPRITES | |
| ROTATION_SPRITES | |
| ALPHA_SPRITES | |
Definition at line 56 of file ParticleSystemDrawable.h.
| agxOSG::ParticleSystemDrawable::ParticleSystemDrawable | ( | agx::ParticleSystem * | particleSystem, |
| ParticleRenderingMode | renderMode = DEFAULT_PARTICLE_RENDERING_MODE, |
||
| ParticleShaderMode | particleShaderMode = ROTATION_SPRITES |
||
| ) |
|
protectedvirtual |
|
inlinevirtual |
Definition at line 77 of file ParticleSystemDrawable.h.
|
inlinevirtual |
Definition at line 74 of file ParticleSystemDrawable.h.
|
inlinevirtual |
Definition at line 73 of file ParticleSystemDrawable.h.
|
virtual |
Compute the bounding box around Drawables's geometry.
|
virtual |
The actual draw method for the particle system.
|
static |
Get the minimum allowed ParticleRenderingMode for the particles.
| bool agxOSG::ParticleSystemDrawable::getEnable | ( | ) | const |
Definition at line 115 of file ParticleSystemDrawable.h.
| ParticleShaderMode agxOSG::ParticleSystemDrawable::getParticleShaderMode | ( | ) | const |
| agx::ParticleSystem* agxOSG::ParticleSystemDrawable::getParticleSystem | ( | ) |
|
inlinevirtual |
Definition at line 75 of file ParticleSystemDrawable.h.
|
inlinevirtual |
Definition at line 76 of file ParticleSystemDrawable.h.
|
static |
Set the minimum allowed ParticleRenderingMode for the particles.
| void agxOSG::ParticleSystemDrawable::setEnable | ( | bool | enable | ) |
Definition at line 117 of file ParticleSystemDrawable.h.
| void agxOSG::ParticleSystemDrawable::setParticleShaderMode | ( | ParticleShaderMode | flag | ) |
|
protected |
Definition at line 110 of file ParticleSystemDrawable.h.
|
protected |
Definition at line 108 of file ParticleSystemDrawable.h.
|
mutableprotected |
Definition at line 106 of file ParticleSystemDrawable.h.
|
protected |
Definition at line 109 of file ParticleSystemDrawable.h.
|
protected |
Definition at line 107 of file ParticleSystemDrawable.h.