Logo Search packages:      
Sourcecode: blender version File versions  Download package

btEmptyShape Class Reference

#include <btEmptyShape.h>

Inheritance diagram for btEmptyShape:

btConcaveShape btCollisionShape

List of all members.

Detailed Description

btEmptyShape is a collision shape without actual collision detection. It can be replaced by another shape during runtime

Definition at line 31 of file btEmptyShape.h.

Public Member Functions

virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia)
void calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax)
void getAabb (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
 getAabb's default implementation is brute force, expected derived classes to implement a fast dedicated version
virtual btScalar getAngularMotionDisc () const
 getAngularMotionDisc returns the maximus radius needed for Conservative Advancement to handle time-of-impact with rotations.
virtual void getBoundingSphere (btVector3 &center, btScalar &radius) const
virtual const btVector3getLocalScaling () const
virtual btScalar getMargin () const
virtual char * getName () const
virtual int getShapeType () const
bool isCompound () const
bool isConcave () const
bool isConvex () const
bool isInfinite () const
 isInfinite is used to catch simulation error (aabb check)
bool isPolyhedral () const
virtual void processAllTriangles (btTriangleCallback *callback, const btVector3 &aabbMin, const btVector3 &aabbMax) const =0
virtual void setLocalScaling (const btVector3 &scaling)
virtual void setMargin (btScalar collisionMargin)

Protected Attributes

btScalar m_collisionMargin
btVector3 m_localScaling

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index