Functions | Variables
collision_shapes.cpp File Reference
#include <stdio.h>
#include <btBulletCollisionCommon.h>
Include dependency graph for collision_shapes.cpp:

Go to the source code of this file.

Functions

void addChildShape (btCompoundShape *parent, const double *position, const double *orientation, btCollisionShape *shape)
void addPoint (btConvexHullShape *shape, const double *point)
int convexHullGetNumPoints (const btConvexHullShape *shape)
void deleteCollisionShape (btCollisionShape *ptr)
void getBoxHalfExtents (const btBoxShape *box, double *half_extents)
const btCollisionShape * getChildShape (const btCompoundShape *shape, int index)
void getChildTransform (const btCompoundShape *shape, int index, double *transform)
double getConeHeight (const btConeShape *cone)
double getConeRadius (const btConeShape *cone)
void getCylinderHalfExtents (const btCylinderShape *cylinder, double *half_extents)
int getNumChildShapes (btCompoundShape *shape)
double getPlaneConstant (const btStaticPlaneShape *plane)
void getPlaneNormal (const btStaticPlaneShape *plane, double *normal)
void getPoint (const btConvexHullShape *shape, int index, double *point)
int getShapeType (btCollisionShape *ptr)
double getSphereRadius (const btSphereShape *sphere)
bool isBoxShape (const btCollisionShape *ptr)
bool isCompoundShape (const btCompoundShape *ptr)
bool isConeShape (const btCollisionShape *ptr)
bool isConvexHullShape (const btCollisionShape *ptr)
bool isCylinderShape (const btCollisionShape *ptr)
bool isSphereShape (const btCollisionShape *ptr)
bool isStaticPlaneShape (const btCollisionShape *ptr)
btCollisionShape * newBoxShape (const double *half_extents)
btCollisionShape * newCompoundShape ()
btCollisionShape * newConeShape (double radius, double height)
btCollisionShape * newConvexHullShape (const double *points, int num_points)
btCollisionShape * newCylinderShape (const double *half_extents)
btCollisionShape * newSphereShape (double radius)
btCollisionShape * newStaticPlaneShape (const double *normal, double constant)

Variables

double bulletWorldScalingFactor

Function Documentation

void addChildShape ( btCompoundShape *  parent,
const double *  position,
const double *  orientation,
btCollisionShape *  shape 
)

Definition at line 162 of file collision_shapes.cpp.

void addPoint ( btConvexHullShape *  shape,
const double *  point 
)

Definition at line 216 of file collision_shapes.cpp.

int convexHullGetNumPoints ( const btConvexHullShape *  shape)

Definition at line 222 of file collision_shapes.cpp.

void deleteCollisionShape ( btCollisionShape *  ptr)

Definition at line 40 of file collision_shapes.cpp.

void getBoxHalfExtents ( const btBoxShape *  box,
double *  half_extents 
)

Definition at line 62 of file collision_shapes.cpp.

const btCollisionShape* getChildShape ( const btCompoundShape *  shape,
int  index 
)

Definition at line 183 of file collision_shapes.cpp.

void getChildTransform ( const btCompoundShape *  shape,
int  index,
double *  transform 
)

Definition at line 188 of file collision_shapes.cpp.

double getConeHeight ( const btConeShape *  cone)

Definition at line 147 of file collision_shapes.cpp.

double getConeRadius ( const btConeShape *  cone)

Definition at line 142 of file collision_shapes.cpp.

void getCylinderHalfExtents ( const btCylinderShape *  cylinder,
double *  half_extents 
)

Definition at line 122 of file collision_shapes.cpp.

int getNumChildShapes ( btCompoundShape *  shape)

Definition at line 178 of file collision_shapes.cpp.

double getPlaneConstant ( const btStaticPlaneShape *  plane)

Definition at line 88 of file collision_shapes.cpp.

void getPlaneNormal ( const btStaticPlaneShape *  plane,
double *  normal 
)

Definition at line 80 of file collision_shapes.cpp.

void getPoint ( const btConvexHullShape *  shape,
int  index,
double *  point 
)

Definition at line 227 of file collision_shapes.cpp.

int getShapeType ( btCollisionShape *  ptr)

Definition at line 45 of file collision_shapes.cpp.

double getSphereRadius ( const btSphereShape *  sphere)

Definition at line 103 of file collision_shapes.cpp.

bool isBoxShape ( const btCollisionShape *  ptr)

Definition at line 57 of file collision_shapes.cpp.

bool isCompoundShape ( const btCompoundShape *  ptr)

Definition at line 157 of file collision_shapes.cpp.

bool isConeShape ( const btCollisionShape *  ptr)

Definition at line 137 of file collision_shapes.cpp.

bool isConvexHullShape ( const btCollisionShape *  ptr)

Definition at line 211 of file collision_shapes.cpp.

bool isCylinderShape ( const btCollisionShape *  ptr)

Definition at line 117 of file collision_shapes.cpp.

bool isSphereShape ( const btCollisionShape *  ptr)

Definition at line 98 of file collision_shapes.cpp.

bool isStaticPlaneShape ( const btCollisionShape *  ptr)

Definition at line 75 of file collision_shapes.cpp.

btCollisionShape* newBoxShape ( const double *  half_extents)

Definition at line 50 of file collision_shapes.cpp.

btCollisionShape* newCompoundShape ( )

Definition at line 152 of file collision_shapes.cpp.

btCollisionShape* newConeShape ( double  radius,
double  height 
)

Definition at line 130 of file collision_shapes.cpp.

btCollisionShape* newConvexHullShape ( const double *  points,
int  num_points 
)

Definition at line 202 of file collision_shapes.cpp.

btCollisionShape* newCylinderShape ( const double *  half_extents)

Definition at line 108 of file collision_shapes.cpp.

btCollisionShape* newSphereShape ( double  radius)

Definition at line 93 of file collision_shapes.cpp.

btCollisionShape* newStaticPlaneShape ( const double *  normal,
double  constant 
)

Definition at line 70 of file collision_shapes.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