Public Member Functions | Protected Member Functions | Protected Attributes
btSimpleDynamicsWorld Class Reference

#include <btSimpleDynamicsWorld.h>

Inheritance diagram for btSimpleDynamicsWorld:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void addAction (btActionInterface *action)
virtual void addRigidBody (btRigidBody *body)
virtual void addRigidBody (btRigidBody *body, short group, short mask)
 btSimpleDynamicsWorld (btDispatcher *dispatcher, btBroadphaseInterface *pairCache, btConstraintSolver *constraintSolver, btCollisionConfiguration *collisionConfiguration)
 this btSimpleDynamicsWorld constructor creates dispatcher, broadphase pairCache and constraintSolver
virtual void clearForces ()
virtual void debugDrawWorld ()
virtual btConstraintSolvergetConstraintSolver ()
virtual btVector3 getGravity () const
virtual btDynamicsWorldType getWorldType () const
virtual void removeAction (btActionInterface *action)
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

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


Member Function Documentation

virtual void btSimpleDynamicsWorld::addAction ( btActionInterface action) [virtual]

Implements btDynamicsWorld.

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

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::addRigidBody ( btRigidBody body,
short  group,
short  mask 
) [virtual]

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::clearForces ( ) [virtual]

Implements btDynamicsWorld.

virtual void btSimpleDynamicsWorld::debugDrawWorld ( ) [virtual]

Implements btDynamicsWorld.

Implements btDynamicsWorld.

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

Implements btDynamicsWorld.

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

Implements btDynamicsWorld.

Definition at line 80 of file btSimpleDynamicsWorld.h.

void btSimpleDynamicsWorld::integrateTransforms ( btScalar  timeStep) [protected]
virtual void btSimpleDynamicsWorld::removeAction ( btActionInterface action) [virtual]

Implements btDynamicsWorld.

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.

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 Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32