cGELWorld Class Reference
[Module - GEL Dynamics Engine (Deformable Body Simulation)]

cGELWorld implements a world to handle deformable objects within CHAI 3D. More...

#include <CGELWorld.h>

Inheritance diagram for cGELWorld:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 cGELWorld ()
 Constructor of cGELWorld.
 ~cGELWorld ()
 Destructor of cGELWorld.
void updateDynamics (double a_time)
 Compute dynamic simulation.
void clearExternalForces ()
 Clear external forces on all objects.
void updateSkins ()
 Update vertices of all objects.

Public Attributes

list< cGELMesh * > m_gelMeshes
 List of deformable solids.
double m_simulationTime
 Current time of simulation.
double m_integrationTime
 Integration time.
cVector3d m_gravity
 Gravity constant.


Detailed Description

cGELWorld implements a world to handle deformable objects within CHAI 3D.

Constructor & Destructor Documentation

cGELWorld::cGELWorld (  ) 

Constructor of cGELWorld.

Constructor of cDefWorld.

Returns:
Return pointer to new cGELWorld instance.


Member Function Documentation

void cGELWorld::clearExternalForces (  ) 

Clear external forces on all objects.

Clear external forces on all deformable objects in scene.

void cGELWorld::updateDynamics ( double  a_time  ) 

Compute dynamic simulation.

Compute simulation for a_time time interval.

Update vertices of all objects.


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


CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.