org.ogre4j
Interface IParticleSystemManager

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, INativeObject, ISceneObjAllocatedObject, IScriptLoader, ISingleton<IParticleSystemManager>
All Known Implementing Classes:
ParticleSystemManager

public interface IParticleSystemManager
extends INativeObject, IScriptLoader, ISceneObjAllocatedObject, ISingleton<IParticleSystemManager>


Nested Class Summary
static interface IParticleSystemManager.IParticleAffectorFactoryIterator
           
static interface IParticleSystemManager.IParticleAffectorFactoryMap
           
static interface IParticleSystemManager.IParticleEmitterFactoryIterator
           
static interface IParticleSystemManager.IParticleEmitterFactoryMap
           
static interface IParticleSystemManager.IParticleRendererFactoryIterator
           
static interface IParticleSystemManager.IParticleSystemRendererFactoryMap
           
static interface IParticleSystemManager.IParticleSystemTemplateIterator
           
static interface IParticleSystemManager.IParticleTemplateMap
           
 
Method Summary
 IParticleAffector _createAffector(java.lang.String affectorType, IParticleSystem psys)
          Internal method for creating a new affector from a factory.
 IParticleEmitter _createEmitter(java.lang.String emitterType, IParticleSystem psys)
          Internal method for creating a new emitter from a factory.
 IParticleSystemRenderer _createRenderer(java.lang.String rendererType)
          Internal method for creating a new renderer from a factory.
 void _destroyAffector(IParticleAffector affector)
          Internal method for destroying an affector.
 void _destroyEmitter(IParticleEmitter emitter)
          Internal method for destroying an emitter.
 void _destroyRenderer(IParticleSystemRenderer renderer)
          Internal method for destroying a renderer.
 IParticleSystemFactory _getFactory()
          Get an instance of (internal use).
 void _initialise()
          Init method to be called by OGRE system.
 void addAffectorFactory(IParticleAffectorFactory factory)
          Adds a new 'factory' object for affectors to the list of available affector types.
 void addEmitterFactory(IParticleEmitterFactory factory)
          Adds a new 'factory' object for emitters to the list of available emitter types.
 void addRendererFactory(IParticleSystemRendererFactory factory)
          Registers a factory class for creating instances.
 void addTemplate(java.lang.String name, IParticleSystem sysTemplate)
          Adds a new particle system template to the list of available templates.
 IParticleSystem createTemplate(java.lang.String name, java.lang.String resourceGroup)
          Create a new particle system template.
 void getAffectorFactoryIterator(IParticleSystemManager.IParticleAffectorFactoryIterator returnValue)
          Return an iterator over the affector factories currently registered
 void getEmitterFactoryIterator(IParticleSystemManager.IParticleEmitterFactoryIterator returnValue)
          Return an iterator over the emitter factories currently registered
 float getLoadingOrder()
          Gets the relative loading order of scripts of this type.
 void getRendererFactoryIterator(IParticleSystemManager.IParticleRendererFactoryIterator returnValue)
          Return an iterator over the renderer factories currently registered
 IStringVector getScriptPatterns()
          Gets the file patterns which should be used to find scripts for this class.
 IParticleSystem getTemplate(java.lang.String name)
          Retrieves a particle system template for possible modification.
 void getTemplateIterator(IParticleSystemManager.IParticleSystemTemplateIterator returnValue)
          Gets an iterator over the list of particle system templates.
 void parseScript(IDataStreamPtr stream, java.lang.String groupName)
          Parse a script file.
 void removeAllTemplates(boolean deleteTemplate)
          Removes a specified template from the .
 void removeTemplate(java.lang.String name, boolean deleteTemplate)
          Removes a specified template from the .
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

addEmitterFactory

void addEmitterFactory(IParticleEmitterFactory factory)
Adds a new 'factory' object for emitters to the list of available emitter types.


addAffectorFactory

void addAffectorFactory(IParticleAffectorFactory factory)
Adds a new 'factory' object for affectors to the list of available affector types.


addRendererFactory

void addRendererFactory(IParticleSystemRendererFactory factory)
Registers a factory class for creating instances.


addTemplate

void addTemplate(java.lang.String name,
                 IParticleSystem sysTemplate)
Adds a new particle system template to the list of available templates.


removeTemplate

void removeTemplate(java.lang.String name,
                    boolean deleteTemplate)
Removes a specified template from the .


removeAllTemplates

void removeAllTemplates(boolean deleteTemplate)
Removes a specified template from the .


createTemplate

IParticleSystem createTemplate(java.lang.String name,
                               java.lang.String resourceGroup)
Create a new particle system template.


getTemplate

IParticleSystem getTemplate(java.lang.String name)
Retrieves a particle system template for possible modification.


_createEmitter

IParticleEmitter _createEmitter(java.lang.String emitterType,
                                IParticleSystem psys)
Internal method for creating a new emitter from a factory.


_destroyEmitter

void _destroyEmitter(IParticleEmitter emitter)
Internal method for destroying an emitter.


_createAffector

IParticleAffector _createAffector(java.lang.String affectorType,
                                  IParticleSystem psys)
Internal method for creating a new affector from a factory.


_destroyAffector

void _destroyAffector(IParticleAffector affector)
Internal method for destroying an affector.


_createRenderer

IParticleSystemRenderer _createRenderer(java.lang.String rendererType)
Internal method for creating a new renderer from a factory.


_destroyRenderer

void _destroyRenderer(IParticleSystemRenderer renderer)
Internal method for destroying a renderer.


_initialise

void _initialise()
Init method to be called by OGRE system.


getScriptPatterns

IStringVector getScriptPatterns()
Description copied from interface: IScriptLoader
Gets the file patterns which should be used to find scripts for this class.

Specified by:
getScriptPatterns in interface IScriptLoader

parseScript

void parseScript(IDataStreamPtr stream,
                 java.lang.String groupName)
Description copied from interface: IScriptLoader
Parse a script file.

Specified by:
parseScript in interface IScriptLoader

getLoadingOrder

float getLoadingOrder()
Description copied from interface: IScriptLoader
Gets the relative loading order of scripts of this type.

Specified by:
getLoadingOrder in interface IScriptLoader

getAffectorFactoryIterator

void getAffectorFactoryIterator(IParticleSystemManager.IParticleAffectorFactoryIterator returnValue)
Return an iterator over the affector factories currently registered


getEmitterFactoryIterator

void getEmitterFactoryIterator(IParticleSystemManager.IParticleEmitterFactoryIterator returnValue)
Return an iterator over the emitter factories currently registered


getRendererFactoryIterator

void getRendererFactoryIterator(IParticleSystemManager.IParticleRendererFactoryIterator returnValue)
Return an iterator over the renderer factories currently registered


getTemplateIterator

void getTemplateIterator(IParticleSystemManager.IParticleSystemTemplateIterator returnValue)
Gets an iterator over the list of particle system templates.


_getFactory

IParticleSystemFactory _getFactory()
Get an instance of (internal use).



Copyright © 2007 netAllied GmbH. All Rights Reserved.