#include <OgreParticleSystemRenderer.h>
Public Member Functions | |
| ParticleSystemRenderer () | |
| Constructor. | |
| virtual | ~ParticleSystemRenderer () |
| Destructor. | |
| virtual const String & | getType (void) const =0 |
| Gets the type of this renderer - must be implemented by subclasses. | |
| virtual void | _updateRenderQueue (RenderQueue *queue, std::list< Particle * > ¤tParticles, bool cullIndividually)=0 |
| Delegated to by ParticleSystem::_updateRenderQueue. | |
| virtual void | _setMaterial (MaterialPtr &mat)=0 |
| Sets the material this renderer must use; called by ParticleSystem. | |
| virtual void | _notifyCurrentCamera (Camera *cam)=0 |
| Delegated to by ParticleSystem::_notifyCurrentCamera. | |
| virtual void | _notifyAttached (Node *parent, bool isTagPoint=false)=0 |
| Delegated to by ParticleSystem::_notifyAttached. | |
| virtual void | _notifyParticleRotated (void) |
| Optional callback notified when particles are rotated. | |
| virtual void | _notifyParticleResized (void) |
| Optional callback notified when particles are resized individually. | |
| virtual void | _notifyParticleQuota (size_t quota)=0 |
| Tells the renderer that the particle quota has changed. | |
| virtual void | _notifyDefaultDimensions (Real width, Real height)=0 |
| Tells the renderer that the particle default size has changed. | |
| virtual void | _notifyParticleEmitted (Particle *particle) |
| Optional callback notified when particle emitted. | |
| virtual void | _notifyParticleExpired (Particle *particle) |
| Optional callback notified when particle expired. | |
| virtual void | _notifyParticleMoved (std::list< Particle * > ¤tParticles) |
| Optional callback notified when particles moved. | |
| virtual void | _notifyParticleCleared (std::list< Particle * > ¤tParticles) |
| Optional callback notified when particles cleared. | |
| virtual ParticleVisualData * | _createVisualData (void) |
| Create a new ParticleVisualData instance for attachment to a particle. | |
| virtual void | _destroyVisualData (ParticleVisualData *vis) |
| Destroy a ParticleVisualData instance. | |
| virtual void | setRenderQueueGroup (uint8 queueID)=0 |
| Sets which render queue group this renderer should target with it's output. | |
| virtual void | setKeepParticlesInLocalSpace (bool keepLocal)=0 |
| Setting carried over from ParticleSystem. | |
| virtual SortMode | _getSortMode (void) const =0 |
| Gets the desired particles sort mode of this renderer. | |
| ParamDictionary * | getParamDictionary (void) |
| Retrieves the parameter dictionary for this class. | |
| const ParamDictionary * | getParamDictionary (void) const |
| const ParameterList & | getParameters (void) const |
| Retrieves a list of parameters valid for this object. | |
| virtual bool | setParameter (const String &name, const String &value) |
| Generic parameter setting method. | |
| virtual void | setParameterList (const NameValuePairList ¶mList) |
| Generic multiple parameter setting method. | |
| virtual String | getParameter (const String &name) const |
| Generic parameter retrieval method. | |
| virtual void | copyParametersTo (StringInterface *dest) const |
| Method for copying this object's parameters to another object. | |
Static Public Member Functions | |
| static void | cleanupDictionary () |
| Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g. | |
Protected Member Functions | |
| bool | createParamDictionary (const String &className) |
| Internal method for creating a parameter dictionary for the class, if it does not already exist. | |
Protected Attributes | |
| String | mParamDictName |
| Class name for this instance to be used as a lookup (must be initialised by subclasses). | |
Static Protected Attributes | |
| static ParamDictionaryMap | msDictionary |
| Dictionary of parameters. | |
Definition at line 43 of file OgreParticleSystemRenderer.h.
| Ogre::ParticleSystemRenderer::ParticleSystemRenderer | ( | ) |
| virtual Ogre::ParticleSystemRenderer::~ParticleSystemRenderer | ( | ) | [virtual] |
| virtual const String& Ogre::ParticleSystemRenderer::getType | ( | void | ) | const [pure virtual] |
Gets the type of this renderer - must be implemented by subclasses.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::_updateRenderQueue | ( | RenderQueue * | queue, | |
| std::list< Particle * > & | currentParticles, | |||
| bool | cullIndividually | |||
| ) | [pure virtual] |
Delegated to by ParticleSystem::_updateRenderQueue.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::_setMaterial | ( | MaterialPtr & | mat | ) | [pure virtual] |
Sets the material this renderer must use; called by ParticleSystem.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::_notifyCurrentCamera | ( | Camera * | cam | ) | [pure virtual] |
Delegated to by ParticleSystem::_notifyCurrentCamera.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::_notifyAttached | ( | Node * | parent, | |
| bool | isTagPoint = false | |||
| ) | [pure virtual] |
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleRotated | ( | void | ) | [virtual] |
Optional callback notified when particles are rotated.
Reimplemented in Ogre::BillboardParticleRenderer.
Definition at line 69 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleResized | ( | void | ) | [virtual] |
Optional callback notified when particles are resized individually.
Reimplemented in Ogre::BillboardParticleRenderer.
Definition at line 71 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleQuota | ( | size_t | quota | ) | [pure virtual] |
Tells the renderer that the particle quota has changed.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::_notifyDefaultDimensions | ( | Real | width, | |
| Real | height | |||
| ) | [pure virtual] |
Tells the renderer that the particle default size has changed.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleEmitted | ( | Particle * | particle | ) | [virtual] |
Optional callback notified when particle emitted.
Definition at line 77 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleExpired | ( | Particle * | particle | ) | [virtual] |
Optional callback notified when particle expired.
Definition at line 79 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleMoved | ( | std::list< Particle * > & | currentParticles | ) | [virtual] |
Optional callback notified when particles moved.
Definition at line 81 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::_notifyParticleCleared | ( | std::list< Particle * > & | currentParticles | ) | [virtual] |
Optional callback notified when particles cleared.
Definition at line 83 of file OgreParticleSystemRenderer.h.
| virtual ParticleVisualData* Ogre::ParticleSystemRenderer::_createVisualData | ( | void | ) | [virtual] |
Create a new ParticleVisualData instance for attachment to a particle.
Definition at line 91 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::_destroyVisualData | ( | ParticleVisualData * | vis | ) | [virtual] |
Destroy a ParticleVisualData instance.
Definition at line 99 of file OgreParticleSystemRenderer.h.
| virtual void Ogre::ParticleSystemRenderer::setRenderQueueGroup | ( | uint8 | queueID | ) | [pure virtual] |
Sets which render queue group this renderer should target with it's output.
Implemented in Ogre::BillboardParticleRenderer.
| virtual void Ogre::ParticleSystemRenderer::setKeepParticlesInLocalSpace | ( | bool | keepLocal | ) | [pure virtual] |
| virtual SortMode Ogre::ParticleSystemRenderer::_getSortMode | ( | void | ) | const [pure virtual] |
Gets the desired particles sort mode of this renderer.
Implemented in Ogre::BillboardParticleRenderer.
| bool Ogre::StringInterface::createParamDictionary | ( | const String & | className | ) | [protected, inherited] |
Internal method for creating a parameter dictionary for the class, if it does not already exist.
| className | the name of the class using the dictionary |
Definition at line 176 of file OgreStringInterface.h.
| ParamDictionary* Ogre::StringInterface::getParamDictionary | ( | void | ) | [inherited] |
Retrieves the parameter dictionary for this class.
Definition at line 200 of file OgreStringInterface.h.
| const ParamDictionary* Ogre::StringInterface::getParamDictionary | ( | void | ) | const [inherited] |
Definition at line 213 of file OgreStringInterface.h.
| const ParameterList& Ogre::StringInterface::getParameters | ( | void | ) | const [inherited] |
Retrieves a list of parameters valid for this object.
| virtual bool Ogre::StringInterface::setParameter | ( | const String & | name, | |
| const String & | value | |||
| ) | [virtual, inherited] |
Generic parameter setting method.
| name | The name of the parameter to set | |
| value | String value. Must be in the right format for the type specified in the parameter definition. See the StringConverter class for more information. |
Referenced by Ogre::StringInterface::copyParametersTo().
| virtual void Ogre::StringInterface::setParameterList | ( | const NameValuePairList & | paramList | ) | [virtual, inherited] |
Generic multiple parameter setting method.
| paramList | Name/value pair list |
| virtual String Ogre::StringInterface::getParameter | ( | const String & | name | ) | const [virtual, inherited] |
Generic parameter retrieval method.
| name | The name of the parameter to get |
Definition at line 269 of file OgreStringInterface.h.
References Ogre::ParamCommand::doGet(), and Ogre::ParamDictionary::getParamCommand().
| virtual void Ogre::StringInterface::copyParametersTo | ( | StringInterface * | dest | ) | const [virtual, inherited] |
Method for copying this object's parameters to another object.
| dest | Pointer to object to have it's parameters set the same as this object. |
Definition at line 300 of file OgreStringInterface.h.
References Ogre::ParamDictionary::mParamDefs, and Ogre::StringInterface::setParameter().
| static void Ogre::StringInterface::cleanupDictionary | ( | ) | [static, inherited] |
Cleans up the static 'msDictionary' required to reset Ogre, otherwise the containers are left with invalid pointers, which will lead to a crash as soon as one of the ResourceManager implementers (e.g.
MaterialManager) initializes.
ParamDictionaryMap Ogre::StringInterface::msDictionary [static, protected, inherited] |
String Ogre::StringInterface::mParamDictName [protected, inherited] |
Class name for this instance to be used as a lookup (must be initialised by subclasses).
Definition at line 164 of file OgreStringInterface.h.
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:51:33 2008