Particle Universe  1.2
ParticleUniverse::DynamicAttribute Class Referenceabstract

#include <ParticleUniverseDynamicAttribute.h>

Inheritance diagram for ParticleUniverse::DynamicAttribute:

Public Types

enum  DynamicAttributeType { DAT_FIXED, DAT_RANDOM, DAT_CURVED, DAT_OSCILLATE }
 

Public Member Functions

 DynamicAttribute (void)
 
virtual ~DynamicAttribute (void)
 
virtual Real getValue (Real x=0)=0
 
DynamicAttributeType getType (void) const
 
void setType (DynamicAttributeType type)
 
virtual void copyAttributesTo (DynamicAttribute *dynamicAttribute)=0
 
bool isValueChangedExternally (void) const
 
- Public Member Functions inherited from ParticleUniverse::IElement
 IElement (void)
 
virtual ~IElement (void)
 

Protected Attributes

DynamicAttributeType mType
 
bool mValueChangedExternally
 

Member Enumeration Documentation

Enumerator
DAT_FIXED 
DAT_RANDOM 
DAT_CURVED 
DAT_OSCILLATE 

Constructor & Destructor Documentation

ParticleUniverse::DynamicAttribute::DynamicAttribute ( void  )

Constructor

virtual ParticleUniverse::DynamicAttribute::~DynamicAttribute ( void  )
virtual

Destructor

Member Function Documentation

virtual void ParticleUniverse::DynamicAttribute::copyAttributesTo ( DynamicAttribute dynamicAttribute)
pure virtual
DynamicAttributeType ParticleUniverse::DynamicAttribute::getType ( void  ) const

Todo

virtual Real ParticleUniverse::DynamicAttribute::getValue ( Real  x = 0)
pure virtual
bool ParticleUniverse::DynamicAttribute::isValueChangedExternally ( void  ) const

Returns true if one of the attributes was changed by an external source.

void ParticleUniverse::DynamicAttribute::setType ( DynamicAttributeType  type)

Todo

Member Data Documentation

DynamicAttributeType ParticleUniverse::DynamicAttribute::mType
protected
bool ParticleUniverse::DynamicAttribute::mValueChangedExternally
protected

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