#include <OgreParticleSystemManager.h>
Inheritance diagram for Ogre::ParticleSystemManager:

Public Types | |||||
| typedef std::map< String, ParticleSystem * > | ParticleTemplateMap | ||||
| typedef std::map< String, ParticleAffectorFactory * > | ParticleAffectorFactoryMap | ||||
| typedef std::map< String, ParticleEmitterFactory * > | ParticleEmitterFactoryMap | ||||
| typedef std::map< String, ParticleSystemRendererFactory * > | ParticleSystemRendererFactoryMap | ||||
| typedef MapIterator< ParticleAffectorFactoryMap > | ParticleAffectorFactoryIterator | ||||
| typedef MapIterator< ParticleEmitterFactoryMap > | ParticleEmitterFactoryIterator | ||||
| typedef MapIterator< ParticleSystemRendererFactoryMap > | ParticleRendererFactoryIterator | ||||
| typedef MapIterator< ParticleTemplateMap > | ParticleSystemTemplateIterator | ||||
Public Member Functions | |||||
| ParticleSystemManager () | |||||
| virtual | ~ParticleSystemManager () | ||||
| void | addEmitterFactory (ParticleEmitterFactory *factory) | ||||
| Adds a new 'factory' object for emitters to the list of available emitter types. | |||||
| void | addAffectorFactory (ParticleAffectorFactory *factory) | ||||
| Adds a new 'factory' object for affectors to the list of available affector types. | |||||
| void | addRendererFactory (ParticleSystemRendererFactory *factory) | ||||
| Registers a factory class for creating ParticleSystemRenderer instances. | |||||
| void | addTemplate (const String &name, ParticleSystem *sysTemplate) | ||||
| Adds a new particle system template to the list of available templates. | |||||
| ParticleSystem * | createTemplate (const String &name, const String &resourceGroup) | ||||
| Create a new particle system template. | |||||
| ParticleSystem * | getTemplate (const String &name) | ||||
| Retrieves a particle system template for possible modification. | |||||
| ParticleSystem * | createSystem (const String &name, size_t quota=500, const String &resourceGroup=ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME) | ||||
| Basic method for creating a blank particle system. | |||||
| ParticleSystem * | createSystem (const String &name, const String &templateName) | ||||
| Creates a particle system based on a template. | |||||
| void | destroySystem (const String &name) | ||||
| Destroys a particle system, freeing it's memory and removing references to it in this class. | |||||
| void | destroySystem (ParticleSystem *sys) | ||||
| Destroys a particle system, freeing it's memory and removing references to it in this class. | |||||
| ParticleSystem * | getSystem (const String &name) | ||||
| Retrieves a pointer to a system already created. | |||||
| ParticleEmitter * | _createEmitter (const String &emitterType, ParticleSystem *psys) | ||||
| Internal method for creating a new emitter from a factory. | |||||
| void | _destroyEmitter (ParticleEmitter *emitter) | ||||
| Internal method for destroying an emitter. | |||||
| ParticleAffector * | _createAffector (const String &affectorType, ParticleSystem *psys) | ||||
| Internal method for creating a new affector from a factory. | |||||
| void | _destroyAffector (ParticleAffector *affector) | ||||
| Internal method for destroying an affector. | |||||
| ParticleSystemRenderer * | _createRenderer (const String &rendererType) | ||||
| Internal method for creating a new renderer from a factory. | |||||
| void | _destroyRenderer (ParticleSystemRenderer *renderer) | ||||
| Internal method for destroying a renderer. | |||||
| bool | frameStarted (const FrameEvent &evt) | ||||
| Frame event. | |||||
| bool | frameEnded (const FrameEvent &evt) | ||||
| Frame event. | |||||
| void | _initialise (void) | ||||
| Init method to be called by OGRE system. | |||||
| const StringVector & | getScriptPatterns (void) const | ||||
| |||||
| void | parseScript (DataStreamPtr &stream, const String &groupName) | ||||
| |||||
| Real | getLoadingOrder (void) const | ||||
| |||||
| ParticleAffectorFactoryIterator | getAffectorFactoryIterator (void) | ||||
| Return an iterator over the affector factories currently registered. | |||||
| ParticleEmitterFactoryIterator | getEmitterFactoryIterator (void) | ||||
| Return an iterator over the emitter factories currently registered. | |||||
| ParticleRendererFactoryIterator | getRendererFactoryIterator (void) | ||||
| Return an iterator over the renderer factories currently registered. | |||||
| Real | getTimeFactor (void) const | ||||
| Return relative speed of time as perceived by particle systems. | |||||
| void | setTimeFactor (Real tf) | ||||
| Set the relative speed of time as perceived by particle systems. | |||||
| ParticleSystemTemplateIterator | getTemplateIterator (void) | ||||
| Gets an iterator over the list of particle system templates. | |||||
Static Public Member Functions | |||||
| ParticleSystemManager & | getSingleton (void) | ||||
| Override standard Singleton retrieval. | |||||
| ParticleSystemManager * | getSingletonPtr (void) | ||||
| Override standard Singleton retrieval. | |||||
Protected Types | |||||
| typedef std::map< String, ParticleSystem * > | ParticleSystemMap | ||||
Protected Member Functions | |||||
| void | parseNewEmitter (const String &type, DataStreamPtr &chunk, ParticleSystem *sys) | ||||
| Internal script parsing method. | |||||
| void | parseNewAffector (const String &type, DataStreamPtr &chunk, ParticleSystem *sys) | ||||
| Internal script parsing method. | |||||
| void | parseAttrib (const String &line, ParticleSystem *sys) | ||||
| Internal script parsing method. | |||||
| void | parseEmitterAttrib (const String &line, ParticleEmitter *sys) | ||||
| Internal script parsing method. | |||||
| void | parseAffectorAttrib (const String &line, ParticleAffector *sys) | ||||
| Internal script parsing method. | |||||
| void | skipToNextCloseBrace (DataStreamPtr &chunk) | ||||
| Internal script parsing method. | |||||
| void | skipToNextOpenBrace (DataStreamPtr &chunk) | ||||
| Internal script parsing method. | |||||
Protected Attributes | |||||
| ParticleTemplateMap | mSystemTemplates | ||||
| Templates based on scripts. | |||||
| ParticleSystemMap | mSystems | ||||
| Actual instantiated particle systems (may be based on template, may be manual). | |||||
| ParticleEmitterFactoryMap | mEmitterFactories | ||||
| Factories for named emitter types (can be extended using plugins). | |||||
| ParticleAffectorFactoryMap | mAffectorFactories | ||||
| Factories for named affector types (can be extended using plugins). | |||||
| ParticleSystemRendererFactoryMap | mRendererFactories | ||||
| Map of renderer types to factories. | |||||
| StringVector | mScriptPatterns | ||||
| Real | mTimeFactor | ||||
| Controls time. | |||||
Static Protected Attributes | |||||
| ParticleSystemManager * | ms_Singleton | ||||
Definition at line 57 of file OgreParticleSystemManager.h.
|
|
Definition at line 342 of file OgreParticleSystemManager.h. |
|
|
Definition at line 62 of file OgreParticleSystemManager.h. |
|
|
Definition at line 343 of file OgreParticleSystemManager.h. |
|
|
Definition at line 63 of file OgreParticleSystemManager.h. |
|
|
Definition at line 344 of file OgreParticleSystemManager.h. |
|
|
Definition at line 69 of file OgreParticleSystemManager.h. |
|
|
Definition at line 64 of file OgreParticleSystemManager.h. |
|
|
Definition at line 369 of file OgreParticleSystemManager.h. Referenced by getTemplateIterator(). |
|
|
Definition at line 61 of file OgreParticleSystemManager.h. |
|
|
|
|
|
|
|
||||||||||||
|
Internal method for creating a new affector from a factory.
|
|
||||||||||||
|
Internal method for creating a new emitter from a factory.
|
|
|
Internal method for creating a new renderer from a factory.
|
|
|
Internal method for destroying an affector.
|
|
|
Internal method for destroying an emitter.
|
|
|
Internal method for destroying a renderer.
|
|
|
Init method to be called by OGRE system.
|
|
|
Adds a new 'factory' object for affectors to the list of available affector types.
|
|
|
Adds a new 'factory' object for emitters to the list of available emitter types.
|
|
|
Registers a factory class for creating ParticleSystemRenderer instances.
|
|
||||||||||||
|
Adds a new particle system template to the list of available templates.
|
|
||||||||||||
|
Creates a particle system based on a template.
|
|
||||||||||||||||
|
Basic method for creating a blank particle system.
|
|
||||||||||||
|
Create a new particle system template.
|
|
|
Destroys a particle system, freeing it's memory and removing references to it in this class.
|
|
|
Destroys a particle system, freeing it's memory and removing references to it in this class.
|
|
|
Frame event.
Reimplemented from Ogre::FrameListener. |
|
|
Frame event.
Reimplemented from Ogre::FrameListener. |
|
|
Return an iterator over the affector factories currently registered.
|
|
|
Return an iterator over the emitter factories currently registered.
|
|
|
Implements Ogre::ScriptLoader. |
|
|
Return an iterator over the renderer factories currently registered.
|
|
|
Implements Ogre::ScriptLoader. |
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ParticleSystemManager >. |
|
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< ParticleSystemManager >. |
|
|
Retrieves a pointer to a system already created.
|
|
|
Retrieves a particle system template for possible modification.
|
|
|
Gets an iterator over the list of particle system templates.
Definition at line 371 of file OgreParticleSystemManager.h. References ParticleSystemTemplateIterator. |
|
|
Return relative speed of time as perceived by particle systems.
|
|
||||||||||||
|
Internal script parsing method.
|
|
||||||||||||
|
Internal script parsing method.
|
|
||||||||||||
|
Internal script parsing method.
|
|
||||||||||||||||
|
Internal script parsing method.
|
|
||||||||||||||||
|
Internal script parsing method.
|
|
||||||||||||
|
Implements Ogre::ScriptLoader. |
|
|
Set the relative speed of time as perceived by particle systems.
|
|
|
Internal script parsing method.
|
|
|
Internal script parsing method.
|
|
|
Factories for named affector types (can be extended using plugins).
Definition at line 77 of file OgreParticleSystemManager.h. |
|
|
Factories for named emitter types (can be extended using plugins).
Definition at line 74 of file OgreParticleSystemManager.h. |
|
|
Map of renderer types to factories.
Definition at line 80 of file OgreParticleSystemManager.h. |
|
|
Definition at line 54 of file OgreSingleton.h. |
|
|
Definition at line 82 of file OgreParticleSystemManager.h. |
|
|
Actual instantiated particle systems (may be based on template, may be manual).
Definition at line 71 of file OgreParticleSystemManager.h. |
|
|
Templates based on scripts.
Definition at line 67 of file OgreParticleSystemManager.h. |
|
|
Controls time.
Definition at line 85 of file OgreParticleSystemManager.h. |
Copyright © 2000-2005 by The OGRE Team
Last modified Sun Nov 20 12:38:08 2005