btSimpleDynamicsWorld Class Reference

#include <btSimpleDynamicsWorld.h>

Inheritance diagram for btSimpleDynamicsWorld:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void addRigidBody (btRigidBody *body)
 btSimpleDynamicsWorld (btDispatcher *dispatcher, btBroadphaseInterface *pairCache, btConstraintSolver *constraintSolver, btCollisionConfiguration *collisionConfiguration)
 this btSimpleDynamicsWorld constructor creates dispatcher, broadphase pairCache and constraintSolver
virtual void clearForces ()
virtual btConstraintSolvergetConstraintSolver ()
virtual btVector3 getGravity () const
virtual btDynamicsWorldType getWorldType () const
virtual void removeCollisionObject (btCollisionObject *collisionObject)
 removeCollisionObject will first check if it is a rigid body, if so call removeRigidBody otherwise call btCollisionWorld::removeCollisionObject
virtual void removeRigidBody (btRigidBody *body)
virtual void setConstraintSolver (btConstraintSolver *solver)
virtual void setGravity (const btVector3 &gravity)
virtual int stepSimulation (btScalar timeStep, int maxSubSteps=1, btScalar fixedTimeStep=btScalar(1.)/btScalar(60.))
 maxSubSteps/fixedTimeStep for interpolation is currently ignored for btSimpleDynamicsWorld, use btDiscreteDynamicsWorld instead
virtual void synchronizeMotionStates ()
virtual void updateAabbs ()
virtual ~btSimpleDynamicsWorld ()

Protected Member Functions

void integrateTransforms (btScalar timeStep)
void predictUnconstraintMotion (btScalar timeStep)

Protected Attributes

btConstraintSolverm_constraintSolver
btVector3 m_gravity
bool m_ownsConstraintSolver

Detailed Description

The btSimpleDynamicsWorld serves as unit-test and to verify more complicated and optimized dynamics worlds. Please use btDiscreteDynamicsWorld instead (or btContinuousDynamicsWorld once it is finished).

Definition at line 27 of file btSimpleDynamicsWorld.h.


Constructor & Destructor Documentation

btSimpleDynamicsWorld::btSimpleDynamicsWorld ( btDispatcher dispatcher,
btBroadphaseInterface pairCache,
btConstraintSolver constraintSolver,
btCollisionConfiguration collisionConfiguration 
)

this btSimpleDynamicsWorld constructor creates dispatcher, broadphase pairCache and constraintSolver

virtual btSimpleDynamicsWorld::~btSimpleDynamicsWorld (  )  [virtual]

Member Function Documentation

virtual void btSimpleDynamicsWorld::addRigidBody ( btRigidBody body  )  [virtual]

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::clearForces (  )  [virtual]

Implements btDynamicsWorld.

virtual btConstraintSolver* btSimpleDynamicsWorld::getConstraintSolver (  )  [virtual]

Implements btDynamicsWorld.

virtual btVector3 btSimpleDynamicsWorld::getGravity (  )  const [virtual]

Implements btDynamicsWorld.

virtual btDynamicsWorldType btSimpleDynamicsWorld::getWorldType (  )  const [inline, virtual]

Implements btDynamicsWorld.

Definition at line 72 of file btSimpleDynamicsWorld.h.

void btSimpleDynamicsWorld::integrateTransforms ( btScalar  timeStep  )  [protected]
void btSimpleDynamicsWorld::predictUnconstraintMotion ( btScalar  timeStep  )  [protected]
virtual void btSimpleDynamicsWorld::removeCollisionObject ( btCollisionObject *  collisionObject  )  [virtual]

removeCollisionObject will first check if it is a rigid body, if so call removeRigidBody otherwise call btCollisionWorld::removeCollisionObject

Reimplemented from btCollisionWorld.

virtual void btSimpleDynamicsWorld::removeRigidBody ( btRigidBody body  )  [virtual]

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::setConstraintSolver ( btConstraintSolver solver  )  [virtual]

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::setGravity ( const btVector3 &  gravity  )  [virtual]

Implements btDynamicsWorld.

virtual int btSimpleDynamicsWorld::stepSimulation ( btScalar  timeStep,
int  maxSubSteps = 1,
btScalar  fixedTimeStep = btScalar(1.)/btScalar(60.) 
) [virtual]

maxSubSteps/fixedTimeStep for interpolation is currently ignored for btSimpleDynamicsWorld, use btDiscreteDynamicsWorld instead

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::synchronizeMotionStates (  )  [virtual]

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::updateAabbs (  )  [virtual]

Reimplemented from btCollisionWorld.


Member Data Documentation

Definition at line 31 of file btSimpleDynamicsWorld.h.

btVector3 btSimpleDynamicsWorld::m_gravity [protected]

Definition at line 39 of file btSimpleDynamicsWorld.h.

Definition at line 33 of file btSimpleDynamicsWorld.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Fri Jan 11 10:11:06 2013