Logo Search packages:      
Sourcecode: blender version File versions

btSphereShape Class Reference

#include <btSphereShape.h>

Inheritance diagram for btSphereShape:

btConvexShape btCollisionShape

List of all members.

Detailed Description

btSphereShape implements an implicit (getSupportingVertex) Sphere

Definition at line 23 of file btSphereShape.h.

Public Member Functions

virtual void batchedUnitVectorGetSupportingVertexWithoutMargin (const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
 btSphereShape (btScalar radius)
virtual void calculateLocalInertia (btScalar mass, btVector3 &inertia)
void calculateTemporalAabb (const btTransform &curTrans, const btVector3 &linvel, const btVector3 &angvel, btScalar timeStep, btVector3 &temporalAabbMin, btVector3 &temporalAabbMax)
virtual 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 void getAabbSlow (const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
virtual float 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
const char * getExtraDebugInfo () const
const btVector3getImplicitShapeDimensions () const
virtual const btVector3getLocalScaling () const
virtual float getMargin () const
virtual char * getName () const
virtual int getNumPreferredPenetrationDirections () const
virtual void getPreferredPenetrationDirection (int index, btVector3 &penetrationVector) const
btScalar getRadius () 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 btVector3 localGetSupportingVertex (const btVector3 &vec) const
virtual btVector3 localGetSupportingVertexWithoutMargin (const btVector3 &vec) const
void setExtraDebugInfo (const char *extraDebugInfo)
virtual void setLocalScaling (const btVector3 &scaling)
virtual void setMargin (float margin)

Public Attributes

const char * m_tempDebug

Protected Attributes

btScalar m_collisionMargin
btVector3 m_implicitShapeDimensions
btVector3 m_localScaling

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

Generated by  Doxygen 1.6.0   Back to index