Classes | Public Member Functions | Private Attributes
btSphereBoxCollisionAlgorithm Class Reference

#include <btSphereBoxCollisionAlgorithm.h>

Inheritance diagram for btSphereBoxCollisionAlgorithm:
Inheritance graph
[legend]

List of all members.

Classes

struct  CreateFunc

Public Member Functions

 btSphereBoxCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, btCollisionObject *col0, btCollisionObject *col1, bool isSwapped)
virtual btScalar calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual void getAllContactManifolds (btManifoldArray &manifoldArray)
btScalar getSphereDistance (btCollisionObject *boxObj, btVector3 &v3PointOnBox, btVector3 &v3PointOnSphere, const btVector3 &v3SphereCenter, btScalar fRadius)
btScalar getSpherePenetration (btCollisionObject *boxObj, btVector3 &v3PointOnBox, btVector3 &v3PointOnSphere, const btVector3 &v3SphereCenter, btScalar fRadius, const btVector3 &aabbMin, const btVector3 &aabbMax)
virtual void processCollision (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual ~btSphereBoxCollisionAlgorithm ()

Private Attributes

bool m_isSwapped
btPersistentManifold * m_manifoldPtr
bool m_ownManifold

Detailed Description

btSphereBoxCollisionAlgorithm provides sphere-box collision detection. Other features are frame-coherency (persistent data) and collision response.

Definition at line 29 of file btSphereBoxCollisionAlgorithm.h.


Constructor & Destructor Documentation

btSphereBoxCollisionAlgorithm::btSphereBoxCollisionAlgorithm ( btPersistentManifold *  mf,
const btCollisionAlgorithmConstructionInfo ci,
btCollisionObject *  col0,
btCollisionObject *  col1,
bool  isSwapped 
)

Member Function Documentation

virtual btScalar btSphereBoxCollisionAlgorithm::calculateTimeOfImpact ( btCollisionObject *  body0,
btCollisionObject *  body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
) [virtual]

Implements btCollisionAlgorithm.

virtual void btSphereBoxCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray) [inline, virtual]

Implements btCollisionAlgorithm.

Definition at line 45 of file btSphereBoxCollisionAlgorithm.h.

btScalar btSphereBoxCollisionAlgorithm::getSphereDistance ( btCollisionObject *  boxObj,
btVector3 &  v3PointOnBox,
btVector3 &  v3PointOnSphere,
const btVector3 &  v3SphereCenter,
btScalar  fRadius 
)
btScalar btSphereBoxCollisionAlgorithm::getSpherePenetration ( btCollisionObject *  boxObj,
btVector3 &  v3PointOnBox,
btVector3 &  v3PointOnSphere,
const btVector3 &  v3SphereCenter,
btScalar  fRadius,
const btVector3 &  aabbMin,
const btVector3 &  aabbMax 
)
virtual void btSphereBoxCollisionAlgorithm::processCollision ( btCollisionObject *  body0,
btCollisionObject *  body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
) [virtual]

Implements btCollisionAlgorithm.


Member Data Documentation

Definition at line 33 of file btSphereBoxCollisionAlgorithm.h.

btPersistentManifold* btSphereBoxCollisionAlgorithm::m_manifoldPtr [private]

Definition at line 32 of file btSphereBoxCollisionAlgorithm.h.

Definition at line 31 of file btSphereBoxCollisionAlgorithm.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:33