btSphereBoxCollisionAlgorithm Class Reference
#include <btSphereBoxCollisionAlgorithm.h>
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 | |
|
) |
| | |
virtual btSphereBoxCollisionAlgorithm::~btSphereBoxCollisionAlgorithm |
( |
|
) |
[virtual] |
Member Function Documentation
virtual btScalar btSphereBoxCollisionAlgorithm::calculateTimeOfImpact |
( |
btCollisionObject * |
body0, |
|
|
btCollisionObject * |
body1, |
|
|
const btDispatcherInfo & |
dispatchInfo, |
|
|
btManifoldResult * |
resultOut | |
|
) |
| | [virtual] |
virtual void btSphereBoxCollisionAlgorithm::getAllContactManifolds |
( |
btManifoldArray & |
manifoldArray |
) |
[inline, virtual] |
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] |
Member Data Documentation
The documentation for this class was generated from the following file: