#include <PointEmitter.h>
Inheritance diagram for ParticleSystems::PointEmitter:

Public Member Functions | |
| PointEmitter (int SYSID, Solver *s, PARTICLETYPE type, GraphicsLib::Vector initVel, GraphicsLib::Colour initialColor, GLfloat pSize, GraphicsLib::Point3 initPos, GLfloat sweep) | |
| The Constructor. | |
| PointEmitter (int SYSID, Solver *s, PARTICLETYPE type, GraphicsLib::Vector initVel, GraphicsLib::Colour initialColor, GLfloat pSize, char *TexName, GraphicsLib::Point3 initPos, GLfloat sweep) | |
| The Constructor. | |
| ~PointEmitter () | |
| The Destructor. | |
| virtual Particle * | emittParticles (void) |
| An virtual Function. | |
| virtual void | reBirth (Particle *p) |
| An virtual Function. | |
| GraphicsLib::Vector | withSweep () |
| A member Function. | |
Public Attributes | |
| GraphicsLib::Point3 | initPosition |
| A public variable. | |
| GLfloat | sweep |
| A public variable. | |
The PointEmitter is a sub class of the Emitter. It emits Particles form a specified Point in 3D space. It also has a sweep angle so a spherical shape can be accieved.
Definition at line 32 of file PointEmitter.h.
|
||||||||||||||||||||||||||||||||||||
|
The Constructor. Constructs a new Emitter
Definition at line 13 of file PointEmitter.cpp. References initPosition, and sweep. |
|
||||||||||||||||||||||||||||||||||||||||
|
The Constructor. Constructs a new Emitter with a Texture
Definition at line 25 of file PointEmitter.cpp. References initPosition, and sweep. |
|
|
The Destructor. Destructs this Emitter Definition at line 38 of file PointEmitter.cpp. |
|
|
An virtual Function. Emitts a new Particle according to the values
Implements ParticleSystems::Emitter. Definition at line 42 of file PointEmitter.cpp. References initPosition, and withSweep(). |
|
|
An virtual Function. Reinitialises the given Particle as it would be newly created
Implements ParticleSystems::Emitter. Definition at line 103 of file PointEmitter.cpp. References ParticleSystems::Particle::colour, ParticleSystems::Particle::dead, ParticleSystems::Particle::faded_colour, initPosition, ParticleSystems::Particle::life, ParticleSystems::Particle::position, ParticleSystems::Particle::size, ParticleSystems::Particle::velocity, and withSweep(). |
|
|
A member Function. Returns a vector with the emition angle added
Definition at line 90 of file PointEmitter.cpp. References sweep. Referenced by emittParticles(), and reBirth(). |
|
|
A public variable. The emittion position Definition at line 108 of file PointEmitter.h. Referenced by emittParticles(), PointEmitter(), and reBirth(). |
|
|
A public variable. The sweep emition angle Definition at line 114 of file PointEmitter.h. Referenced by PointEmitter(), and withSweep(). |
1.4.1