#include <btCollisionAlgorithm.h>
Public Member Functions | |
btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci) | |
btCollisionAlgorithm () | |
virtual btScalar | calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)=0 |
virtual void | getAllContactManifolds (btManifoldArray &manifoldArray)=0 |
virtual void | processCollision (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)=0 |
virtual | ~btCollisionAlgorithm () |
Protected Member Functions | |
int | getDispatcherId () |
Protected Attributes | |
btDispatcher * | m_dispatcher |
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatcher. It is persistent over frames
Definition at line 54 of file btCollisionAlgorithm.h.
btCollisionAlgorithm::btCollisionAlgorithm | ( | ) | [inline] |
Definition at line 66 of file btCollisionAlgorithm.h.
btCollisionAlgorithm::btCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci | ) |
virtual btCollisionAlgorithm::~btCollisionAlgorithm | ( | ) | [inline, virtual] |
Definition at line 70 of file btCollisionAlgorithm.h.
virtual btScalar btCollisionAlgorithm::calculateTimeOfImpact | ( | btCollisionObject * | body0, | |
btCollisionObject * | body1, | |||
const btDispatcherInfo & | dispatchInfo, | |||
btManifoldResult * | resultOut | |||
) | [pure virtual] |
Implemented in btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btConvexPlaneCollisionAlgorithm, btEmptyAlgorithm, btSphereBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btSoftRigidCollisionAlgorithm, and btSoftSoftCollisionAlgorithm.
virtual void btCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) | [pure virtual] |
Implemented in btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btConvexPlaneCollisionAlgorithm, btEmptyAlgorithm, btSphereBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btSoftRigidCollisionAlgorithm, and btSoftSoftCollisionAlgorithm.
int btCollisionAlgorithm::getDispatcherId | ( | ) | [protected] |
virtual void btCollisionAlgorithm::processCollision | ( | btCollisionObject * | body0, | |
btCollisionObject * | body1, | |||
const btDispatcherInfo & | dispatchInfo, | |||
btManifoldResult * | resultOut | |||
) | [pure virtual] |
Implemented in btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btConvexPlaneCollisionAlgorithm, btEmptyAlgorithm, btSphereBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btSoftRigidCollisionAlgorithm, and btSoftSoftCollisionAlgorithm.
btDispatcher* btCollisionAlgorithm::m_dispatcher [protected] |
Definition at line 59 of file btCollisionAlgorithm.h.