Particle Universe  1.2
ParticleUniverse::SceneDecoratorExtern Class Reference

#include <ParticleUniverseSceneDecoratorExtern.h>

Inheritance diagram for ParticleUniverse::SceneDecoratorExtern:

Public Member Functions

 SceneDecoratorExtern (void)
 
virtual ~SceneDecoratorExtern (void)
 
virtual void _prepare (ParticleTechnique *technique)
 
virtual void _unprepare (ParticleTechnique *technique)
 
virtual void _interface (ParticleTechnique *technique, Particle *particle, Real timeElapsed)
 
void createEntity (void)
 
void destroyEntity (void)
 
const StringgetMeshName (void) const
 
void setMeshName (const String &meshName)
 
const StringgetMaterialName (void) const
 
void setMaterialName (const String &materialName)
 
const Vector3getScale (void) const
 
void setScale (Vector3 &scale)
 
const Vector3getPosition (void) const
 
void setPosition (Vector3 &position)
 
virtual void _notifyStart (void)
 
virtual void _notifyStop (void)
 
virtual void copyAttributesTo (Extern *externObject)
 
- 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 copyParentAttributesTo (Extern *externObject)
 
virtual void _notifyPause (void)
 
virtual void _notifyResume (void)
 
virtual void _preProcessParticles (ParticleTechnique *technique, Real timeElapsed)
 
virtual void _initParticleForEmission (Particle *particle)
 
virtual void _initParticleForExpiration (Particle *particle)
 
virtual void _firstParticle (ParticleTechnique *particleTechnique, Particle *particle, Real timeElapsed)
 
virtual void _processParticle (ParticleTechnique *technique, Particle *particle, Real timeElapsed, bool firstParticle)
 
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)
 

Protected Attributes

bool mEntitySet
 
Ogre::EntitymEntity
 
String mMeshName
 
String mEntityName
 
String mMaterialName
 
bool mMaterialNameSet
 
Vector3 mScale
 
Vector3 mPosition
 
Ogre::SceneNodemSubnode
 
unsigned int mCount
 
- Protected Attributes inherited from ParticleUniverse::Extern
String mExternType
 
String mName
 
ParticleTechniquemParentTechnique
 
Vector3 _mExternScale
 
- Protected Attributes inherited from ParticleUniverse::IAlias
String mAliasName
 
AliasType mAliasType
 

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
}
 

Detailed Description

The SceneDecoratorExtern is a test class that can be used to add additional objects to the scene. This allows quick prototyping, but it it not really usable in a real situation.

Constructor & Destructor Documentation

ParticleUniverse::SceneDecoratorExtern::SceneDecoratorExtern ( void  )
virtual ParticleUniverse::SceneDecoratorExtern::~SceneDecoratorExtern ( void  )
inlinevirtual

Member Function Documentation

virtual void ParticleUniverse::SceneDecoratorExtern::_interface ( ParticleTechnique technique,
Particle particle,
Real  timeElapsed 
)
virtual
virtual void ParticleUniverse::SceneDecoratorExtern::_notifyStart ( void  )
virtual
virtual void ParticleUniverse::SceneDecoratorExtern::_notifyStop ( void  )
virtual
virtual void ParticleUniverse::SceneDecoratorExtern::_prepare ( ParticleTechnique technique)
virtual
virtual void ParticleUniverse::SceneDecoratorExtern::_unprepare ( ParticleTechnique technique)
virtual
virtual void ParticleUniverse::SceneDecoratorExtern::copyAttributesTo ( Extern externObject)
virtual

See Extern:copyAttributesTo

Reimplemented from ParticleUniverse::Extern.

void ParticleUniverse::SceneDecoratorExtern::createEntity ( void  )

Create the desired entity

void ParticleUniverse::SceneDecoratorExtern::destroyEntity ( void  )

Destroy the entity again

const String& ParticleUniverse::SceneDecoratorExtern::getMaterialName ( void  ) const

Return the name of the material used for the entity.

const String& ParticleUniverse::SceneDecoratorExtern::getMeshName ( void  ) const

Return the name of the mesh

const Vector3& ParticleUniverse::SceneDecoratorExtern::getPosition ( void  ) const

Returns the position value to which the node must be set.

const Vector3& ParticleUniverse::SceneDecoratorExtern::getScale ( void  ) const

Returns the scale value to which the node must be set.

void ParticleUniverse::SceneDecoratorExtern::setMaterialName ( const String materialName)

Set the name of the material used for the entity.

void ParticleUniverse::SceneDecoratorExtern::setMeshName ( const String meshName)

Set the name of the mesh

void ParticleUniverse::SceneDecoratorExtern::setPosition ( Vector3 position)

Sets the position value to which the node must be set.

void ParticleUniverse::SceneDecoratorExtern::setScale ( Vector3 scale)

Sets the scale value to which the node must be set.

Member Data Documentation

unsigned int ParticleUniverse::SceneDecoratorExtern::mCount
protected
Ogre::Entity* ParticleUniverse::SceneDecoratorExtern::mEntity
protected
String ParticleUniverse::SceneDecoratorExtern::mEntityName
protected
bool ParticleUniverse::SceneDecoratorExtern::mEntitySet
protected
String ParticleUniverse::SceneDecoratorExtern::mMaterialName
protected
bool ParticleUniverse::SceneDecoratorExtern::mMaterialNameSet
protected
String ParticleUniverse::SceneDecoratorExtern::mMeshName
protected
Vector3 ParticleUniverse::SceneDecoratorExtern::mPosition
protected
Vector3 ParticleUniverse::SceneDecoratorExtern::mScale
protected
Ogre::SceneNode* ParticleUniverse::SceneDecoratorExtern::mSubnode
protected

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