VEE_ForceObject Class Reference

Base class for force objects. More...

#include <vee_force_object.h>

Inheritance diagram for VEE_ForceObject:

Inheritance graph
[legend]
Collaboration diagram for VEE_ForceObject:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Protected Attributes


Detailed Description

Base class for force objects.

Author:
Tommi Ilmonen


Member Typedef Documentation

typedef VEE_PointerStoreSet<VEE_SceneBox> VEE_ForceObject::boxStore
 


Constructor & Destructor Documentation

VEE_ForceObject::VEE_ForceObject  )  [inline]
 

Default force type is gravity.

VEE_ForceObject::VEE_ForceObject const VEE_Vector3 location,
const VEE_Vector3 velocity,
float  ageLimit = 1e+10
[inline]
 

VEE_ForceObject::VEE_ForceObject const VEE_Vector3 location,
float  ageLimit = 1e+10
[inline]
 

VEE_ForceObject::~VEE_ForceObject  )  [virtual]
 


Member Function Documentation

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

Receive and process a value.

Parameters:

  • "forcetype", int (VEE_ForceType)

Reimplemented from VEE_Particle2.

Reimplemented in VEE_Blow, VEE_Damping, VEE_Explosion, VEE_ForcePlane, VEE_Gravitate, VEE_Gravity, VEE_RandomForce, VEE_Tube, VEE_Vortex, VEE_Wind, and VEE_GridForceBase.

VEE_Variable VEE_ForceObject::getVariable const char *   )  const [virtual]
 

This method needs to be overridden if the child class wants to return its values.

Reimplemented from VEE_Particle.

Reimplemented in VEE_Explosion, VEE_ForcePlane, VEE_Gravitate, VEE_Gravity, VEE_RandomForce, VEE_Tube, VEE_Vortex, VEE_Wind, and VEE_GridForceBase.

virtual VEE_Vector3* VEE_ForceObject::centralLocation  )  [inline, virtual]
 

virtual void VEE_ForceObject::setForceType VEE_ForceType  t  )  [inline, virtual]
 

virtual VEE_ForceType VEE_ForceObject::getForceType  )  [inline, virtual]
 

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

Implemented in VEE_Blow, VEE_Damping, VEE_Explosion, VEE_ForcePlane, VEE_Gravitate, VEE_Gravity, VEE_RandomForce, VEE_Tube, VEE_Vortex, VEE_Wind, VEE_GridForceBase, VEE_GridForce, and VEE_GridForce2.

virtual void VEE_ForceObject::boundingBoxOfForce VEE_BoundingBox box  )  [pure 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).

Implemented in VEE_Blow, VEE_Damping, VEE_Explosion, VEE_ForcePlane, VEE_Gravitate, VEE_Gravity, VEE_RandomForce, VEE_Tube, VEE_Vortex, VEE_Wind, VEE_GridForceBase, VEE_GridForce, and VEE_GridForce2.

void VEE_ForceObject::render VEE_Renderer  )  [virtual]
 

Reimplemented from VEE_Particle.

void VEE_ForceObject::update float  dt  )  [virtual]
 

Update the location of this object.

Reimplemented from VEE_Particle2.

Reimplemented in VEE_Blow, VEE_Explosion, VEE_Gravity, VEE_Vortex, VEE_Wind, VEE_GridForce, and VEE_GridForce2.

void VEE_ForceObject::linkBox VEE_SceneBox  ) 
 

void VEE_ForceObject::unlinkBox VEE_SceneBox  ) 
 

void VEE_ForceObject::unlinkBoxes  ) 
 

void VEE_ForceObject::forgetLinks  )  [inline]
 

bool VEE_ForceObject::isLinked VEE_SceneBox b  )  [inline]
 

void VEE_ForceObject::updateSceneLocation int  frame  ) 
 

boxStore& VEE_ForceObject::boxes  )  [inline]
 

bool VEE_ForceObject::renderAsForce  )  const [inline]
 


Member Data Documentation

VEE_ForceType VEE_ForceObject::m_forceType [protected]
 

boxStore VEE_ForceObject::m_boxes [protected]
 

bool VEE_ForceObject::m_moved [protected]
 

bool VEE_ForceObject::m_renderAsForce [protected]
 

int VEE_ForceObject::m_lastUpdateFrame [protected]
 


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