|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CParticleSystemProcess Class ReferenceA system particle process; A process is anything that can be called at each update of the system.
More...
#include <particle_system_process.h>
Inheritance diagram for NL3D::CParticleSystemProcess:
List of all members.
Public Methods |
virtual void | step (TPSProcessPass pass, TAnimationTime ellapsedTime, TAnimationTime realEt)=0 |
| execute this process, telling how much time ellapsed must be used for motion, and the real time ellapsed (for lifetime managment). More...
|
virtual bool | computeBBox (NLMISC::CAABBox &aabbox) const=0 |
| Compute the aabbox of this process, (expressed in world basis). More...
|
void | setOwner (CParticleSystem *ps) |
| Set the process owner. Called by the particle system during attachment. More...
|
CParticleSystem * | getOwner (void) |
| Retrieve the particle system that owns this process. More...
|
const CParticleSystem * | getOwner (void) const |
| retrieve the particle system that owns this process (const version). More...
|
virtual void | releaseRefTo (const CParticleSystemProcess *other)=0 |
| Release any reference this process may have on the given process. More...
|
virtual void | releaseAllRef ()=0 |
| Release any reference this process may have to other process of the system For example, this is used when detaching a process of a system. More...
|
bool | isInSystemBasis (void) const |
| Return true if the process is in the particle system basis, false if it's in the world basis. More...
|
virtual void | setSystemBasis (bool sysBasis=true) |
| Choose the basis for this process. More...
|
virtual bool | hasParticles (void) const |
| tells wether there are alive entities / particles in the system. More...
|
virtual bool | hasEmitters (void) const |
| tells wether there are alive emitters / particles in the system. More...
|
virtual uint | querryMaxWantedNumFaces (void)=0 |
| max number of faces wanted by this process (for load balancing). More...
|
virtual bool | isParametricMotionEnabled (void) const |
| test wether parametric motion is enabled. More...
|
virtual void | performParametricMotion (TAnimationTime date, TAnimationTime ellapsedTime, TAnimationTime realEllapsedTime) |
| perform parametric motion if enabled. More...
|
virtual void | updateLife (TAnimationTime ellapsedTime)=0 |
| Update the life of objects.. More...
|
|
| CParticleSystemProcess () |
| ctor. More...
|
virtual | ~CParticleSystemProcess () |
| dtor. More...
|
virtual void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
| Serialize this object. More...
|
|
CFontGenerator * | getFontGenerator (void) |
| Shortcut to get a font generator if one was set (edition mode). More...
|
const CFontGenerator * | getFontGenerator (void) const |
| Shortcut to get a font generator if one was set, const version (edition mode). More...
|
CFontManager * | getFontManager (void) |
| Shortcut to get a font Manager if one was set (edition mode). More...
|
const CFontManager * | getFontManager (void) const |
| Shortcut to get a font Manager if one was set, const version (edition mode). More...
|
Protected Attributes |
CParticleSystem * | _Owner |
bool | _SystemBasisEnabled |
Detailed Description
A system particle process; A process is anything that can be called at each update of the system.
Definition at line 62 of file particle_system_process.h.
Constructor & Destructor Documentation
NL3D::CParticleSystemProcess::CParticleSystemProcess |
( |
|
) |
[inline] |
|
virtual NL3D::CParticleSystemProcess::~CParticleSystemProcess |
( |
|
) |
[inline, virtual] |
|
Member Function Documentation
virtual bool NL3D::CParticleSystemProcess::computeBBox |
( |
NLMISC::CAABBox & |
aabbox |
) |
const [pure virtual] |
|
|
Compute the aabbox of this process, (expressed in world basis).
-
Returns:
-
true if there is any aabbox
-
Parameters:
-
aabbox |
a ref to the result box |
Implemented in NL3D::CPSLocated. |
const CFontGenerator * NL3D::CParticleSystemProcess::getFontGenerator |
( |
void |
|
) |
const |
|
CFontGenerator * NL3D::CParticleSystemProcess::getFontGenerator |
( |
void |
|
) |
|
|
const CFontManager * NL3D::CParticleSystemProcess::getFontManager |
( |
void |
|
) |
const |
|
CFontManager * NL3D::CParticleSystemProcess::getFontManager |
( |
void |
|
) |
|
|
const CParticleSystem* NL3D::CParticleSystemProcess::getOwner |
( |
void |
|
) |
const [inline] |
|
virtual bool NL3D::CParticleSystemProcess::hasEmitters |
( |
void |
|
) |
const [inline, virtual] |
|
virtual bool NL3D::CParticleSystemProcess::hasParticles |
( |
void |
|
) |
const [inline, virtual] |
|
bool NL3D::CParticleSystemProcess::isInSystemBasis |
( |
void |
|
) |
const [inline] |
|
virtual bool NL3D::CParticleSystemProcess::isParametricMotionEnabled |
( |
void |
|
) |
const [inline, virtual] |
|
virtual uint NL3D::CParticleSystemProcess::querryMaxWantedNumFaces |
( |
void |
|
) |
[pure virtual] |
|
|
max number of faces wanted by this process (for load balancing).
Implemented in NL3D::CPSLocated. |
virtual void NL3D::CParticleSystemProcess::releaseAllRef |
( |
|
) |
[pure virtual] |
|
|
Release any reference this process may have to other process of the system For example, this is used when detaching a process of a system.
Implemented in NL3D::CPSLocated.
Referenced by setOwner. |
virtual void NL3D::CParticleSystemProcess::releaseRefTo |
( |
const CParticleSystemProcess * |
other |
) |
[pure virtual] |
|
|
Release any reference this process may have on the given process.
Force example, this may be used to remove a target from a force. For example, this is used when detaching a process of a system.
Implemented in NL3D::CPSLocated. |
void NL3D::CParticleSystemProcess::setOwner |
( |
CParticleSystem * |
ps |
) |
[inline] |
|
virtual void NL3D::CParticleSystemProcess::setSystemBasis |
( |
bool |
sysBasis = true |
) |
[inline, virtual] |
|
|
Choose the basis for this process.
Warning : This won't change any existing coordinate By default, all process are expressed in the world basis -
Parameters:
-
sysBasis |
truer if particles are in the system basis |
Reimplemented in NL3D::CPSLocated.
Definition at line 149 of file particle_system_process.h.
References _SystemBasisEnabled. |
|
execute this process, telling how much time ellapsed must be used for motion, and the real time ellapsed (for lifetime managment).
Implemented in NL3D::CPSLocated. |
virtual void NL3D::CParticleSystemProcess::updateLife |
( |
TAnimationTime |
ellapsedTime |
) |
[pure virtual] |
|
Member Data Documentation
|
Definition at line 175 of file particle_system_process.h.
Referenced by NL3D::CPSLocated::allocateParametricInfos, NL3D::CPSLocated::computeI, NL3D::CPSLocated::computeJ, NL3D::CPSLocated::computeK, CParticleSystemProcess, NL3D::CPSLocated::deleteElement, NL3D::CPSLocated::getDriver, getFontGenerator, getFontManager, NL3D::CPSLocated::getLODVect, getOwner, NL3D::CPSLocated::getScene, NL3D::CPSLocated::getUserParam, NL3D::CPSLocated::newElement, NL3D::CPSLocated::notifyMaxNumFacesChanged, setOwner, NL3D::CPSLocated::setupDriverModelMatrix, NL3D::CPSLocated::step, and NL3D::CPSLocated::updateLife. |
bool NL3D::CParticleSystemProcess::_SystemBasisEnabled [protected]
|
|
The documentation for this class was generated from the following files:
|
|