orxonox::ParticleEmitter Class Reference

#include <src/orxonox/objects/worldentities/ParticleEmitter.h>

Inheritance diagram for orxonox::ParticleEmitter:

orxonox::StaticEntity orxonox::WorldEntity orxonox::BaseObject orxonox::Synchronisable orxonox::OrxonoxClass orxonox::OrxonoxClass orxonox::ParticleSpawner

List of all members.

Public Member Functions

virtual void changedActivity ()
 This function gets called if the activity of the object changes.
virtual void changedVisibility ()
 This function gets called if the visibility of the object changes.
LODParticle::Value getLOD () const
ParticleInterfacegetParticleInterface () const
const std::stringgetSource () const
 ParticleEmitter (BaseObject *creator)
void registerVariables ()
void setLOD (LODParticle::Value level)
void setSource (const std::string &source)
virtual void XMLPort (Element &xmlelement, XMLPort::Mode mode)
 XML loading and saving.
 ~ParticleEmitter ()

Protected Member Functions

unsigned int getLODxml () const
void LODchanged ()
void setLODxml (unsigned int level)
void sourceChanged ()

Protected Attributes

LODParticle::Value LOD_
ParticleInterfaceparticles_
std::string source_


Constructor & Destructor Documentation

orxonox::ParticleEmitter::ParticleEmitter ( BaseObject creator  ) 

orxonox::ParticleEmitter::~ParticleEmitter (  ) 


Member Function Documentation

void orxonox::ParticleEmitter::changedActivity (  )  [virtual]

This function gets called if the activity of the object changes.

Reimplemented from orxonox::BaseObject.

References orxonox::BaseObject::isActive(), particles_, orxonox::ParticleInterface::setEnabled(), and SUPER.

void orxonox::ParticleEmitter::changedVisibility (  )  [virtual]

This function gets called if the visibility of the object changes.

Reimplemented from orxonox::BaseObject.

References orxonox::BaseObject::isVisible(), particles_, orxonox::ParticleInterface::setVisible(), and SUPER.

LODParticle::Value orxonox::ParticleEmitter::getLOD (  )  const [inline]

unsigned int orxonox::ParticleEmitter::getLODxml (  )  const [inline, protected]

Referenced by XMLPort().

ParticleInterface* orxonox::ParticleEmitter::getParticleInterface (  )  const [inline]

const std::string& orxonox::ParticleEmitter::getSource (  )  const [inline]

Referenced by XMLPort().

void orxonox::ParticleEmitter::LODchanged (  )  [protected]

void orxonox::ParticleEmitter::registerVariables (  ) 

void orxonox::ParticleEmitter::setLOD ( LODParticle::Value  level  )  [inline]

void orxonox::ParticleEmitter::setLODxml ( unsigned int  level  )  [inline, protected]

Referenced by XMLPort().

void orxonox::ParticleEmitter::setSource ( const std::string source  )  [inline]

void orxonox::ParticleEmitter::sourceChanged (  )  [protected]

void orxonox::ParticleEmitter::XMLPort ( Element &  xmlelement,
XMLPort::Mode  mode 
) [virtual]

XML loading and saving.

Parameters:
xmlelement The XML-element
loading Loading (true) or saving (false)
Returns:
The XML-element

Reimplemented from orxonox::WorldEntity.

Reimplemented in orxonox::ParticleSpawner.

References getLODxml(), getSource(), orxonox::LODParticle::Normal, setLODxml(), setSource(), SUPER, and XMLPortParam.


Member Data Documentation

Referenced by registerVariables(), and sourceChanged().


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

Generated on Tue Jul 28 16:22:52 2009 for Orxonox by  doxygen 1.5.6