#include <ParticleHub.h>

Public Member Functions | |
| void | addParticle (struct Particle *particle) |
| registers a new particle | |
| void | removeParticle (struct Particle *particle) |
| unregisteres a particle | |
| void | clear () |
| destroy all particles | |
| void | renderGl (Camera *camera) |
| Renders object to OpenGL. | |
| void | selectGl () |
| Renders object to OpenGL. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Static Public Member Functions | |
| static ParticleHub * | getInstance () |
| Getter for singleton instance. | |
Private Member Functions | |
| ParticleHub () | |
| ParticleHub (const ParticleHub &source) | |
| ~ParticleHub () | |
Private Attributes | |
| BspTree | particles |
Static Private Attributes | |
| static ParticleHub * | instance = 0 |
Renders all the scenes Particles
| ParticleHub::ParticleHub | ( | ) | [private] |
| ParticleHub::ParticleHub | ( | const ParticleHub & | source | ) | [private] |
| ParticleHub::~ParticleHub | ( | ) | [private] |
| ParticleHub * ParticleHub::getInstance | ( | ) | [static] |
Getter for singleton instance.
| void ParticleHub::addParticle | ( | struct Particle * | particle | ) |
registers a new particle
| void ParticleHub::removeParticle | ( | struct Particle * | particle | ) |
unregisteres a particle
| void ParticleHub::clear | ( | ) |
destroy all particles
| void ParticleHub::renderGl | ( | Camera * | camera | ) |
Renders object to OpenGL.
| void ParticleHub::selectGl | ( | ) |
Renders object to OpenGL.
| string ParticleHub::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Object.
| string ParticleHub::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Object.
| enum classId ParticleHub::classId | ( | ) | const [virtual] |
ParticleHub * ParticleHub::instance = 0 [static, private] |
BspTree ParticleHub::particles [private] |
1.5.6