Particle Universe  1.2
ParticleUniverse::PhysicsExtern Class Referenceabstract

#include <ParticleUniversePhysicsExtern.h>

Inheritance diagram for ParticleUniverse::PhysicsExtern:

Public Member Functions

 PhysicsExtern (void)
 
virtual ~PhysicsExtern (void)
 
virtual void _initParticleForEmission (Particle *particle)=0
 
virtual void _initParticleForExpiration (Particle *particle)=0
 
- Public Member Functions inherited from ParticleUniverse::Extern
 Extern (void)
 
virtual ~Extern (void)
 
const StringgetName (void) const
 
void setName (const String &name)
 
const StringgetExternType (void) const
 
void setExternType (const String &externType)
 
ParticleTechniquegetParentTechnique (void) const
 
void setParentTechnique (ParticleTechnique *parentTechnique)
 
virtual void _notifyRescaled (const Vector3 &scale)
 
virtual void copyAttributesTo (Extern *externObject)
 
virtual void copyParentAttributesTo (Extern *externObject)
 
virtual void _prepare (ParticleTechnique *technique)=0
 
virtual void _unprepare (ParticleTechnique *particleTechnique)
 
virtual void _notifyStart (void)
 
virtual void _notifyPause (void)
 
virtual void _notifyResume (void)
 
virtual void _notifyStop (void)
 
virtual void _preProcessParticles (ParticleTechnique *technique, Real timeElapsed)
 
virtual void _firstParticle (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed)
 
virtual void _processParticle (ParticleTechnique *technique, Particle *particle, Real timeElapsed, bool firstParticle)
 
virtual void _interface (ParticleTechnique *technique, Particle *particle, Real timeElapsed)=0
 
virtual void _postProcessParticles (ParticleTechnique *technique, Real timeElapsed)
 
- Public Member Functions inherited from ParticleUniverse::IAlias
 IAlias (void)
 
virtual ~IAlias (void)
 
const StringgetAliasName (void) const
 
void setAliasName (String aliasName)
 
const AliasType getAliasType (void) const
 
void setAliasType (AliasType aliasType)
 
- Public Member Functions inherited from ParticleUniverse::IElement
 IElement (void)
 
virtual ~IElement (void)
 

Additional Inherited Members

- Public Types inherited from ParticleUniverse::IAlias
enum  AliasType {
  AT_UNDEFINED, AT_TECHNIQUE, AT_RENDERER, AT_EMITTER,
  AT_AFFECTOR, AT_OBSERVER, AT_EXTERN, AT_HANDLER,
  AT_BEHAVIOUR
}
 
- Protected Attributes inherited from ParticleUniverse::Extern
String mExternType
 
String mName
 
ParticleTechniquemParentTechnique
 
Vector3 _mExternScale
 
- Protected Attributes inherited from ParticleUniverse::IAlias
String mAliasName
 
AliasType mAliasType
 

Detailed Description

PhysicsExtern is a pure virtual class that must be subclassed. The child class forms the connection between Particle Universe and the physics engine.

Constructor & Destructor Documentation

ParticleUniverse::PhysicsExtern::PhysicsExtern ( void  )
inline
virtual ParticleUniverse::PhysicsExtern::~PhysicsExtern ( void  )
inlinevirtual

Member Function Documentation

virtual void ParticleUniverse::PhysicsExtern::_initParticleForEmission ( Particle particle)
pure virtual

As soon as a particle is emitted it can be processed by the PhysicsExtern. One of the actions is to assign a PhysicsActor and shape to the particle.

Reimplemented from ParticleUniverse::Extern.

virtual void ParticleUniverse::PhysicsExtern::_initParticleForExpiration ( Particle particle)
pure virtual

As soon as a particle is expired it can be processed by the PhysicsExtern. One of the actions is to remove a PhysicsActor from the particle.

Reimplemented from ParticleUniverse::Extern.


The documentation for this class was generated from the following file: