VEE_Damping Class Reference

An abstract particle that slows other particles down inside the defined area. More...

#include <vee_damping.h>

Inheritance diagram for VEE_Damping:

Inheritance graph
[legend]
Collaboration diagram for VEE_Damping:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Static Public Member Functions

Protected Attributes


Detailed Description

An abstract particle that slows other particles down inside the defined area.

Can be used as friction.


Constructor & Destructor Documentation

VEE_Damping::VEE_Damping  ) 
 

VEE_Damping::VEE_Damping VEE_Volume sourceArea,
float  m,
float  ageLimit
 

VEE_Damping::~VEE_Damping  ) 
 


Member Function Documentation

bool VEE_Damping::setValue const char *  id,
VEE_Value msg
[virtual]
 

Receive and process a value.

Parameters:

  • "magnitude", float, range: -1 to 1

Reimplemented from VEE_ForceObject.

VEE_Object * VEE_Damping::clone  )  const [virtual]
 

Reimplemented from VEE_Particle2.

float VEE_Damping::magnitude  )  [inline]
 

VEE_Volume* VEE_Damping::volumeArea  )  [inline]
 

virtual void VEE_Damping::setMagnitude const float  m  )  [inline, virtual]
 

void VEE_Damping::setVolume VEE_Volume volumeArea  )  [inline]
 

void VEE_Damping::getForce VEE_Vector3 force,
const VEE_Vector3 velocity,
const VEE_Vector3 location
[virtual]
 

Implements VEE_ForceObject.

void VEE_Damping::boundingBoxOfForce VEE_BoundingBox box  )  [virtual]
 

Get the bounding box of this force object.

Outside the bounding box the force must be zero. This method is needed since the scene boxes need to be able to determine where in the scene hierarchy the force object should be registered (VEE_SceneBox::m_forceObjects).

Implements VEE_ForceObject.

VEE_Object * VEE_Damping::factory  )  [static]
 

Reimplemented from VEE_Particle.


Member Data Documentation

VEE_ClonablePointer<VEE_Volume> VEE_Damping::m_volumeArea [protected]
 

float VEE_Damping::m_magnitude [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 12 21:09:21 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6