Bullet Collision Detection & Physics Library
|
btCollisionAlgorithm is an collision interface that is compatible with the Broadphase and btDispatcher. More...
#include <btCollisionAlgorithm.h>
Public Member Functions | |
btCollisionAlgorithm () | |
btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci) | |
virtual | ~btCollisionAlgorithm () |
virtual void | processCollision (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)=0 |
virtual btScalar | calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)=0 |
virtual void | getAllContactManifolds (btManifoldArray &manifoldArray)=0 |
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 55 of file btCollisionAlgorithm.h.
|
inline |
Definition at line 67 of file btCollisionAlgorithm.h.
btCollisionAlgorithm::btCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci | ) |
Definition at line 19 of file btCollisionAlgorithm.cpp.
|
inlinevirtual |
Definition at line 71 of file btCollisionAlgorithm.h.
|
pure virtual |
Implemented in btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btCompoundCollisionAlgorithm, btCompoundCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, SpuContactManifoldCollisionAlgorithm, btSoftRigidCollisionAlgorithm, btConvexPlaneCollisionAlgorithm, btSphereBoxCollisionAlgorithm, btSoftSoftCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, and btEmptyAlgorithm.
|
pure virtual |
Implemented in btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btCompoundCollisionAlgorithm, btCompoundCompoundCollisionAlgorithm, SpuContactManifoldCollisionAlgorithm, btConvex2dConvex2dAlgorithm, btSoftRigidCollisionAlgorithm, btConvexPlaneCollisionAlgorithm, btSphereBoxCollisionAlgorithm, btSoftSoftCollisionAlgorithm, btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, and btEmptyAlgorithm.
|
pure virtual |
Implemented in btGImpactCollisionAlgorithm, btSoftBodyConcaveCollisionAlgorithm, btConvexConcaveCollisionAlgorithm, btConvexConvexAlgorithm, btCompoundCollisionAlgorithm, btCompoundCompoundCollisionAlgorithm, btConvex2dConvex2dAlgorithm, SpuContactManifoldCollisionAlgorithm, btSoftRigidCollisionAlgorithm, btConvexPlaneCollisionAlgorithm, btSphereBoxCollisionAlgorithm, btSoftSoftCollisionAlgorithm, btSphereSphereCollisionAlgorithm, btSphereTriangleCollisionAlgorithm, btBox2dBox2dCollisionAlgorithm, btBoxBoxCollisionAlgorithm, and btEmptyAlgorithm.
|
protected |
Definition at line 60 of file btCollisionAlgorithm.h.