RigsofRods
Soft-body Physics Simulation
Data Structures | Functions | Variables
Particle

Customizations of OGRE particle system: visuals + game logic. More...

+ Collaboration diagram for Particle:

Data Structures

class  Ogre::ExtinguishableFireAffector::CmdMiddlePoint
 Command object for middle point (see ParamCommand). More...
 
class  Ogre::ExtinguishableFireAffector::CmdIntensity
 Command object for intensity (see ParamCommand). More...
 
class  Ogre::ExtinguishableFireAffector::CmdMaxIntensity
 Command object for maximum intensity (see ParamCommand). More...
 
class  Ogre::ExtinguishableFireAffector::CmdIntensityGrowth
 Command object for intensity growth (see ParamCommand). More...
 
class  Ogre::ExtinguishableFireAffector::CmdRadius
 Command object for radius (see ParamCommand). More...
 
class  Ogre::ExtinguishableFireAffector
 This class defines a ParticleAffector which deflects particles. More...
 
class  Ogre::ExtinguishableFireAffectorFactory
 Factory class for DeflectorPlaneAffector. More...
 
class  Ogre::FireExtinguisherAffector
 This class defines a ParticleAffector which deflects particles. More...
 
class  Ogre::FireExtinguisherAffectorFactory
 Factory class for DeflectorPlaneAffector. More...
 
class  Ogre::ParticleCustomParam
 custom visual data for shader renderer More...
 
class  Ogre::ShaderParticleRenderer
 Specialisation of ParticleSystemRenderer to render particles using a custom shaders. More...
 
class  Ogre::ShaderParticleRendererFactory
 Factory class for ShaderParticleRenderer. More...
 

Functions

String Ogre::ExtinguishableFireAffector::CmdMiddlePoint::doGet (const void *target) const
 
void Ogre::ExtinguishableFireAffector::CmdMiddlePoint::doSet (void *target, const String &val)
 
String Ogre::ExtinguishableFireAffector::CmdIntensity::doGet (const void *target) const
 
void Ogre::ExtinguishableFireAffector::CmdIntensity::doSet (void *target, const String &val)
 
String Ogre::ExtinguishableFireAffector::CmdMaxIntensity::doGet (const void *target) const
 
void Ogre::ExtinguishableFireAffector::CmdMaxIntensity::doSet (void *target, const String &val)
 
String Ogre::ExtinguishableFireAffector::CmdIntensityGrowth::doGet (const void *target) const
 
void Ogre::ExtinguishableFireAffector::CmdIntensityGrowth::doSet (void *target, const String &val)
 
String Ogre::ExtinguishableFireAffector::CmdRadius::doGet (const void *target) const
 
void Ogre::ExtinguishableFireAffector::CmdRadius::doSet (void *target, const String &val)
 
 Ogre::ExtinguishableFireAffector::ExtinguishableFireAffector (ParticleSystem *psys)
 Default constructor. More...
 
 Ogre::ExtinguishableFireAffector::~ExtinguishableFireAffector ()
 Destructor. More...
 
void Ogre::ExtinguishableFireAffector::_affectParticles (ParticleSystem *pSystem, Real timeElapsed)
 See ParticleAffector. More...
 
void Ogre::ExtinguishableFireAffector::setMiddlePoint (const Vector3 &pos)
 Sets the sphere middle point. More...
 
Vector3 Ogre::ExtinguishableFireAffector::getMiddlePoint (void) const
 Gets the sphere middle point. More...
 
void Ogre::ExtinguishableFireAffector::setIntensity (Real intensity)
 Sets the intensity. More...
 
Real Ogre::ExtinguishableFireAffector::getIntensity (void) const
 Gets the intensity. More...
 
void Ogre::ExtinguishableFireAffector::setMaxIntensity (Real intensity)
 Sets the maximum intensity. More...
 
Real Ogre::ExtinguishableFireAffector::getMaxIntensity (void) const
 Gets the maximum intensity. More...
 
void Ogre::ExtinguishableFireAffector::setIntensityGrowth (Real intensity)
 Sets the intensity growth rate. More...
 
Real Ogre::ExtinguishableFireAffector::getIntensityGrowth (void) const
 Gets the intensity growth rate. More...
 
void Ogre::ExtinguishableFireAffector::setRadius (Real radius)
 Sets the radius for the interaction with the FireExtiniguisher affector. More...
 
Real Ogre::ExtinguishableFireAffector::getRadius (void) const
 Gets the radius for the interaction with the FireExtiniguisher affector. More...
 
bool Ogre::ExtinguishableFireAffector::isTemplate () const
 
Vector3 Ogre::ExtinguishableFireAffector::getAbsoluteMiddlePoint (void) const
 
Real Ogre::ExtinguishableFireAffector::reduceIntensity (Real amount)
 
ParticleSystem * Ogre::ExtinguishableFireAffector::getParticleSystem ()
 
void Ogre::ExtinguishableFireAffector::setInstanceName (String iname)
 Sets the instance name of the parent object for this particle system. More...
 
String Ogre::ExtinguishableFireAffector::getInstanceName ()
 

Variables

static CmdMiddlePoint Ogre::ExtinguishableFireAffector::msMiddlePointCmd
 Command objects. More...
 
static CmdIntensity Ogre::ExtinguishableFireAffector::msIntensityCmd
 
static CmdMaxIntensity Ogre::ExtinguishableFireAffector::msMaxIntensityCmd
 
static CmdIntensityGrowth Ogre::ExtinguishableFireAffector::msIntensityGrowthCmd
 
static CmdRadius Ogre::ExtinguishableFireAffector::msRadiusCmd
 
Vector3 Ogre::ExtinguishableFireAffector::mMiddlePoint
 sphere middle point More...
 
Real Ogre::ExtinguishableFireAffector::mRadius
 radius of the sphere More...
 
Real Ogre::ExtinguishableFireAffector::mIntensity
 Intensity of the fire. More...
 
ParticleSystem * Ogre::ExtinguishableFireAffector::mPsys
 
Real Ogre::ExtinguishableFireAffector::originalIntensity
 
bool Ogre::ExtinguishableFireAffector::updateIntensityRequired
 
Vector2 Ogre::ExtinguishableFireAffector::originalDimensions
 
bool Ogre::ExtinguishableFireAffector::firstFrame
 
Real Ogre::ExtinguishableFireAffector::mIntensityGrowth
 
Real Ogre::ExtinguishableFireAffector::mMaxIntensity
 
String Ogre::ExtinguishableFireAffector::objectInstanceName
 The instance name of the parent object. More...
 

Detailed Description

Customizations of OGRE particle system: visuals + game logic.

Function Documentation

◆ _affectParticles()

void Ogre::ExtinguishableFireAffector::_affectParticles ( ParticleSystem *  pSystem,
Real  timeElapsed 
)

See ParticleAffector.

Definition at line 94 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doGet() [1/5]

String Ogre::ExtinguishableFireAffector::CmdMiddlePoint::doGet ( const void *  target) const

Definition at line 189 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doGet() [2/5]

String Ogre::ExtinguishableFireAffector::CmdIntensity::doGet ( const void *  target) const

Definition at line 200 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doGet() [3/5]

String Ogre::ExtinguishableFireAffector::CmdMaxIntensity::doGet ( const void *  target) const

Definition at line 212 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doGet() [4/5]

String Ogre::ExtinguishableFireAffector::CmdIntensityGrowth::doGet ( const void *  target) const

Definition at line 224 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doGet() [5/5]

String Ogre::ExtinguishableFireAffector::CmdRadius::doGet ( const void *  target) const

Definition at line 236 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doSet() [1/5]

void Ogre::ExtinguishableFireAffector::CmdMiddlePoint::doSet ( void *  target,
const String &  val 
)

Definition at line 194 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doSet() [2/5]

void Ogre::ExtinguishableFireAffector::CmdIntensity::doSet ( void *  target,
const String &  val 
)

Definition at line 206 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doSet() [3/5]

void Ogre::ExtinguishableFireAffector::CmdMaxIntensity::doSet ( void *  target,
const String &  val 
)

Definition at line 218 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doSet() [4/5]

void Ogre::ExtinguishableFireAffector::CmdIntensityGrowth::doSet ( void *  target,
const String &  val 
)

Definition at line 230 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ doSet() [5/5]

void Ogre::ExtinguishableFireAffector::CmdRadius::doSet ( void *  target,
const String &  val 
)

Definition at line 242 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ ExtinguishableFireAffector()

Ogre::ExtinguishableFireAffector::ExtinguishableFireAffector ( ParticleSystem *  psys)

Default constructor.

Definition at line 45 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

◆ getAbsoluteMiddlePoint()

Vector3 Ogre::ExtinguishableFireAffector::getAbsoluteMiddlePoint ( void  ) const

Definition at line 157 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ getInstanceName()

String Ogre::ExtinguishableFireAffector::getInstanceName ( )
inline

Definition at line 134 of file ExtinguishableFireAffector.h.

◆ getIntensity()

Real Ogre::ExtinguishableFireAffector::getIntensity ( void  ) const

Gets the intensity.

Definition at line 164 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ getIntensityGrowth()

Real Ogre::ExtinguishableFireAffector::getIntensityGrowth ( void  ) const

Gets the intensity growth rate.

Definition at line 174 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ getMaxIntensity()

Real Ogre::ExtinguishableFireAffector::getMaxIntensity ( void  ) const

Gets the maximum intensity.

Definition at line 169 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ getMiddlePoint()

Vector3 Ogre::ExtinguishableFireAffector::getMiddlePoint ( void  ) const

Gets the sphere middle point.

Definition at line 152 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ getParticleSystem()

ParticleSystem* Ogre::ExtinguishableFireAffector::getParticleSystem ( )
inline

Definition at line 130 of file ExtinguishableFireAffector.h.

+ Here is the caller graph for this function:

◆ getRadius()

Real Ogre::ExtinguishableFireAffector::getRadius ( void  ) const

Gets the radius for the interaction with the FireExtiniguisher affector.

Definition at line 179 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ isTemplate()

bool Ogre::ExtinguishableFireAffector::isTemplate ( ) const

Definition at line 248 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ reduceIntensity()

Real Ogre::ExtinguishableFireAffector::reduceIntensity ( Real  amount)

Definition at line 252 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ setInstanceName()

void Ogre::ExtinguishableFireAffector::setInstanceName ( String  iname)
inline

Sets the instance name of the parent object for this particle system.

Definition at line 133 of file ExtinguishableFireAffector.h.

◆ setIntensity()

void Ogre::ExtinguishableFireAffector::setIntensity ( Real  intensity)

Sets the intensity.

Definition at line 131 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ setIntensityGrowth()

void Ogre::ExtinguishableFireAffector::setIntensityGrowth ( Real  intensity)

Sets the intensity growth rate.

Definition at line 141 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ setMaxIntensity()

void Ogre::ExtinguishableFireAffector::setMaxIntensity ( Real  intensity)

Sets the maximum intensity.

Definition at line 136 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ setMiddlePoint()

void Ogre::ExtinguishableFireAffector::setMiddlePoint ( const Vector3 &  pos)

Sets the sphere middle point.

Definition at line 126 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ setRadius()

void Ogre::ExtinguishableFireAffector::setRadius ( Real  radius)

Sets the radius for the interaction with the FireExtiniguisher affector.

Definition at line 146 of file ExtinguishableFireAffector.cpp.

+ Here is the caller graph for this function:

◆ ~ExtinguishableFireAffector()

Ogre::ExtinguishableFireAffector::~ExtinguishableFireAffector ( )

Destructor.

Definition at line 89 of file ExtinguishableFireAffector.cpp.

+ Here is the call graph for this function:

Variable Documentation

◆ firstFrame

bool Ogre::ExtinguishableFireAffector::firstFrame
protected

Definition at line 158 of file ExtinguishableFireAffector.h.

◆ mIntensity

Real Ogre::ExtinguishableFireAffector::mIntensity
protected

Intensity of the fire.

Definition at line 151 of file ExtinguishableFireAffector.h.

◆ mIntensityGrowth

Real Ogre::ExtinguishableFireAffector::mIntensityGrowth
protected

Definition at line 159 of file ExtinguishableFireAffector.h.

◆ mMaxIntensity

Real Ogre::ExtinguishableFireAffector::mMaxIntensity
protected

Definition at line 160 of file ExtinguishableFireAffector.h.

◆ mMiddlePoint

Vector3 Ogre::ExtinguishableFireAffector::mMiddlePoint
protected

sphere middle point

Definition at line 145 of file ExtinguishableFireAffector.h.

◆ mPsys

ParticleSystem* Ogre::ExtinguishableFireAffector::mPsys
protected

Definition at line 153 of file ExtinguishableFireAffector.h.

◆ mRadius

Real Ogre::ExtinguishableFireAffector::mRadius
protected

radius of the sphere

Definition at line 148 of file ExtinguishableFireAffector.h.

◆ msIntensityCmd

ExtinguishableFireAffector::CmdIntensity Ogre::ExtinguishableFireAffector::msIntensityCmd
static

Definition at line 138 of file ExtinguishableFireAffector.h.

◆ msIntensityGrowthCmd

ExtinguishableFireAffector::CmdIntensityGrowth Ogre::ExtinguishableFireAffector::msIntensityGrowthCmd
static

Definition at line 140 of file ExtinguishableFireAffector.h.

◆ msMaxIntensityCmd

ExtinguishableFireAffector::CmdMaxIntensity Ogre::ExtinguishableFireAffector::msMaxIntensityCmd
static

Definition at line 139 of file ExtinguishableFireAffector.h.

◆ msMiddlePointCmd

ExtinguishableFireAffector::CmdMiddlePoint Ogre::ExtinguishableFireAffector::msMiddlePointCmd
static

Command objects.

Definition at line 134 of file ExtinguishableFireAffector.h.

◆ msRadiusCmd

ExtinguishableFireAffector::CmdRadius Ogre::ExtinguishableFireAffector::msRadiusCmd
static

Definition at line 141 of file ExtinguishableFireAffector.h.

◆ objectInstanceName

String Ogre::ExtinguishableFireAffector::objectInstanceName
protected

The instance name of the parent object.

Definition at line 163 of file ExtinguishableFireAffector.h.

◆ originalDimensions

Vector2 Ogre::ExtinguishableFireAffector::originalDimensions
protected

Definition at line 157 of file ExtinguishableFireAffector.h.

◆ originalIntensity

Real Ogre::ExtinguishableFireAffector::originalIntensity
protected

Definition at line 155 of file ExtinguishableFireAffector.h.

◆ updateIntensityRequired

bool Ogre::ExtinguishableFireAffector::updateIntensityRequired
protected

Definition at line 156 of file ExtinguishableFireAffector.h.