Classes | Functions | Variables
dynamics_world.cpp File Reference
#include <btBulletDynamicsCommon.h>
Include dependency graph for dynamics_world.cpp:

Go to the source code of this file.

Classes

struct  DynamicsWorldHandle

Functions

void addConstraint (DynamicsWorldHandle *handle, btTypedConstraint *constraint, bool disableCollisions)
void addRigidBody (DynamicsWorldHandle *handle, btRigidBody *body)
void addRigidBodyWithMask (DynamicsWorldHandle *handle, btRigidBody *body, short group, short mask)
void debugDrawWorld (DynamicsWorldHandle *handle)
void deleteDiscreteDynamicsWorld (DynamicsWorldHandle *handle)
btTypedConstraint * getConstraint (DynamicsWorldHandle *handle, int index)
btIDebugDraw * getDebugDrawer (DynamicsWorldHandle *handle)
void getGravity (DynamicsWorldHandle *handle, double *gravity)
btPersistentManifold * getManifoldByIndex (DynamicsWorldHandle *handle, int index)
int getNumConstraints (DynamicsWorldHandle *handle)
int getNumManifolds (DynamicsWorldHandle *handle)
int getNumRigidBodies (const DynamicsWorldHandle *handle)
btRigidBody * getRigidBody (const DynamicsWorldHandle *handle, int index)
btCollisionObject * manifoldGetBody0 (btPersistentManifold *manifold)
btCollisionObject * manifoldGetBody1 (btPersistentManifold *manifold)
void manifoldGetContactPoint0 (btPersistentManifold *manifold, int index, double *point)
void manifoldGetContactPoint1 (btPersistentManifold *manifold, int index, double *point)
int manifoldGetNumContactPoints (btPersistentManifold *manifold)
DynamicsWorldHandlenewDiscreteDynamicsWorld (double *gravityVector)
void performDiscreteCollisionDetection (DynamicsWorldHandle *handle)
void removeConstraint (DynamicsWorldHandle *handle, btTypedConstraint *constraint)
void removeRigidBody (DynamicsWorldHandle *handle, btRigidBody *body)
void serializeWorld (DynamicsWorldHandle *handle, btSerializer *serializer)
void setDebugDrawer (DynamicsWorldHandle *handle, btIDebugDraw *debugDrawer)
void setGravity (DynamicsWorldHandle *handle, double *gravity)
void stepSimulation (DynamicsWorldHandle *handle, double timeStep)

Variables

double bulletWorldScalingFactor = 1

Function Documentation

void addConstraint ( DynamicsWorldHandle handle,
btTypedConstraint *  constraint,
bool  disableCollisions 
)

Definition at line 95 of file dynamics_world.cpp.

void addRigidBody ( DynamicsWorldHandle handle,
btRigidBody *  body 
)

Definition at line 115 of file dynamics_world.cpp.

void addRigidBodyWithMask ( DynamicsWorldHandle handle,
btRigidBody *  body,
short  group,
short  mask 
)

Definition at line 120 of file dynamics_world.cpp.

void debugDrawWorld ( DynamicsWorldHandle handle)

Definition at line 165 of file dynamics_world.cpp.

Definition at line 66 of file dynamics_world.cpp.

btTypedConstraint* getConstraint ( DynamicsWorldHandle handle,
int  index 
)

Definition at line 110 of file dynamics_world.cpp.

btIDebugDraw* getDebugDrawer ( DynamicsWorldHandle handle)

Definition at line 154 of file dynamics_world.cpp.

void getGravity ( DynamicsWorldHandle handle,
double *  gravity 
)

Definition at line 76 of file dynamics_world.cpp.

btPersistentManifold* getManifoldByIndex ( DynamicsWorldHandle handle,
int  index 
)

Definition at line 191 of file dynamics_world.cpp.

Definition at line 105 of file dynamics_world.cpp.

Definition at line 186 of file dynamics_world.cpp.

int getNumRigidBodies ( const DynamicsWorldHandle handle)

Definition at line 135 of file dynamics_world.cpp.

btRigidBody* getRigidBody ( const DynamicsWorldHandle handle,
int  index 
)

Definition at line 140 of file dynamics_world.cpp.

btCollisionObject* manifoldGetBody0 ( btPersistentManifold *  manifold)

Definition at line 196 of file dynamics_world.cpp.

btCollisionObject* manifoldGetBody1 ( btPersistentManifold *  manifold)

Definition at line 201 of file dynamics_world.cpp.

void manifoldGetContactPoint0 ( btPersistentManifold *  manifold,
int  index,
double *  point 
)

Definition at line 211 of file dynamics_world.cpp.

void manifoldGetContactPoint1 ( btPersistentManifold *  manifold,
int  index,
double *  point 
)

Definition at line 221 of file dynamics_world.cpp.

int manifoldGetNumContactPoints ( btPersistentManifold *  manifold)

Definition at line 206 of file dynamics_world.cpp.

DynamicsWorldHandle* newDiscreteDynamicsWorld ( double *  gravityVector)

Definition at line 46 of file dynamics_world.cpp.

Collisions

Definition at line 181 of file dynamics_world.cpp.

void removeConstraint ( DynamicsWorldHandle handle,
btTypedConstraint *  constraint 
)

Definition at line 100 of file dynamics_world.cpp.

void removeRigidBody ( DynamicsWorldHandle handle,
btRigidBody *  body 
)

Definition at line 130 of file dynamics_world.cpp.

void serializeWorld ( DynamicsWorldHandle handle,
btSerializer *  serializer 
)

Definition at line 174 of file dynamics_world.cpp.

void setDebugDrawer ( DynamicsWorldHandle handle,
btIDebugDraw *  debugDrawer 
)

Definition at line 145 of file dynamics_world.cpp.

void setGravity ( DynamicsWorldHandle handle,
double *  gravity 
)

Definition at line 84 of file dynamics_world.cpp.

void stepSimulation ( DynamicsWorldHandle handle,
double  timeStep 
)

Definition at line 90 of file dynamics_world.cpp.


Variable Documentation

Copyright (c) 2010, Lorenz Moesenlechner <moesenle@in.tum.de> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Intelligent Autonomous Systems Group/ Technische Universitaet Muenchen nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition at line 42 of file dynamics_world.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


cl_bullet
Author(s): Lorenz Moesenlechner
autogenerated on Thu May 23 2013 05:47:18