taoWorld Class Reference
[Dynamics]

container class to hold dynamics groups.

A world is a container object for dynamics groups that, in turn, are container objects themselves holding dynamics characters, particle systems, More...

#include <taoWorld.h>

Collaboration diagram for taoWorld:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 taoWorld ()
 ~taoWorld ()
taoGroupgetGroupList ()
taoGroupremoveGroup (const deInt id)
void addGroup (taoGroup *g, const deInt id)
taoGroupfindGroup (const deInt id)
void update (const deFloat time, const deFloat dt, const deInt n)
void control (const deFloat time)
void simulate (const deFloat dt)
void updateTransformation ()

Detailed Description

container class to hold dynamics groups.

A world is a container object for dynamics groups that, in turn, are container objects themselves holding dynamics characters, particle systems,

Remarks:
There is only one world.


Constructor & Destructor Documentation

taoWorld::taoWorld  )  [inline]
 

taoWorld::~taoWorld  ) 
 


Member Function Documentation

void taoWorld::addGroup taoGroup g,
const deInt  id
 

void taoWorld::control const deFloat  time  ) 
 

taoGroup * taoWorld::findGroup const deInt  id  ) 
 

taoGroup* taoWorld::getGroupList  )  [inline]
 

taoGroup * taoWorld::removeGroup const deInt  id  ) 
 

void taoWorld::simulate const deFloat  dt  ) 
 

void taoWorld::update const deFloat  time,
const deFloat  dt,
const deInt  n
 

Remarks:
this can be replaced by following 3 individual call.

control(), simulate(), updateTransformation()

  • time control desired goal achieving time. this value is used to compute the goal frames. Also, this value should be greater than the last control time, taoControl::time() and less than equal to the current goal time set by taoControl::setGoalPosition().
  • dt integration time step. notice that this value is independent to time.
  • n number of iteration of the loop if necessary

void taoWorld::updateTransformation  ) 
 


The documentation for this class was generated from the following files:
Generated on Sun Apr 9 22:12:46 2006 for TAO by  doxygen 1.4.6-NO