ODEPhysics Class Reference
[ODE Physics Engine]
#include <ODEPhysics.hh>
Inheritance diagram for ODEPhysics:
Detailed Description
ODE physics enginePublic Member Functions | |
ODEPhysics () | |
virtual | ~ODEPhysics () |
virtual void | Load (XMLConfigNode *node) |
virtual void | Init () |
virtual void | Update () |
virtual void | Fini () |
virtual void | AddEntity (Entity *entity) |
virtual void | RemoveEntity (Entity *entity) |
virtual Body * | CreateBody (Entity *parent) |
virtual Joint * | CreateJoint (Joint::Type type) |
dSpaceID | GetSpaceId () const |
Protected Attributes | |
std::map< int, Entity * > | entities |
List of all the entities. |
Constructor & Destructor Documentation
ODEPhysics | ( | ) |
Constructor
virtual ~ODEPhysics | ( | ) | [virtual] |
Destructor
Member Function Documentation
virtual void Load | ( | XMLConfigNode * | node | ) | [virtual] |
Load the ODE engine
Implements PhysicsEngine.
virtual void Init | ( | ) | [virtual] |
Initialize the ODE engine
Implements PhysicsEngine.
virtual void Update | ( | ) | [virtual] |
Update the ODE engine
Implements PhysicsEngine.
virtual void Fini | ( | ) | [virtual] |
Finilize the ODE engine
Implements PhysicsEngine.
virtual void AddEntity | ( | Entity * | entity | ) | [virtual] |
Add an entity
Implements PhysicsEngine.
virtual void RemoveEntity | ( | Entity * | entity | ) | [virtual] |
Remove an entity from the physics engine
Implements PhysicsEngine.
Create a new body
Implements PhysicsEngine.
virtual Joint* CreateJoint | ( | Joint::Type | type | ) | [virtual] |
Create a new joint
Implements PhysicsEngine.
dSpaceID GetSpaceId | ( | ) | const |
Return the space id
The documentation for this class was generated from the following file: