Bullet Collision Detection & Physics Library
Classes | Public Member Functions | Private Attributes | List of all members
btConvexPlaneCollisionAlgorithm Class Reference

btSphereBoxCollisionAlgorithm provides sphere-box collision detection. More...

#include <btConvexPlaneCollisionAlgorithm.h>

Inheritance diagram for btConvexPlaneCollisionAlgorithm:
Inheritance graph
[legend]
Collaboration diagram for btConvexPlaneCollisionAlgorithm:
Collaboration graph
[legend]

Classes

struct  CreateFunc
 

Public Member Functions

 btConvexPlaneCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, bool isSwapped, int numPerturbationIterations, int minimumPointsPerturbationThreshold)
 
virtual ~btConvexPlaneCollisionAlgorithm ()
 
virtual void processCollision (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
void collideSingleContact (const btQuaternion &perturbeRot, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
virtual btScalar calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
virtual void getAllContactManifolds (btManifoldArray &manifoldArray)
 
- Public Member Functions inherited from btCollisionAlgorithm
 btCollisionAlgorithm ()
 
 btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual ~btCollisionAlgorithm ()
 

Private Attributes

bool m_ownManifold
 
btPersistentManifoldm_manifoldPtr
 
bool m_isSwapped
 
int m_numPerturbationIterations
 
int m_minimumPointsPerturbationThreshold
 

Additional Inherited Members

- Protected Attributes inherited from btCollisionAlgorithm
btDispatcherm_dispatcher
 

Detailed Description

btSphereBoxCollisionAlgorithm provides sphere-box collision detection.

Other features are frame-coherency (persistent data) and collision response.

Definition at line 29 of file btConvexPlaneCollisionAlgorithm.h.

Constructor & Destructor Documentation

btConvexPlaneCollisionAlgorithm::btConvexPlaneCollisionAlgorithm ( btPersistentManifold mf,
const btCollisionAlgorithmConstructionInfo ci,
const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
bool  isSwapped,
int  numPerturbationIterations,
int  minimumPointsPerturbationThreshold 
)

Definition at line 26 of file btConvexPlaneCollisionAlgorithm.cpp.

btConvexPlaneCollisionAlgorithm::~btConvexPlaneCollisionAlgorithm ( )
virtual

Definition at line 45 of file btConvexPlaneCollisionAlgorithm.cpp.

Member Function Documentation

btScalar btConvexPlaneCollisionAlgorithm::calculateTimeOfImpact ( btCollisionObject body0,
btCollisionObject body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)
virtual

Implements btCollisionAlgorithm.

Definition at line 165 of file btConvexPlaneCollisionAlgorithm.cpp.

void btConvexPlaneCollisionAlgorithm::collideSingleContact ( const btQuaternion perturbeRot,
const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)

report a contact. internally this will be kept persistent, and contact reduction is done

Definition at line 54 of file btConvexPlaneCollisionAlgorithm.cpp.

virtual void btConvexPlaneCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
inlinevirtual

Implements btCollisionAlgorithm.

Definition at line 49 of file btConvexPlaneCollisionAlgorithm.h.

void btConvexPlaneCollisionAlgorithm::processCollision ( const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
)
virtual

report a contact. internally this will be kept persistent, and contact reduction is done

Implements btCollisionAlgorithm.

Definition at line 94 of file btConvexPlaneCollisionAlgorithm.cpp.

Member Data Documentation

bool btConvexPlaneCollisionAlgorithm::m_isSwapped
private

Definition at line 33 of file btConvexPlaneCollisionAlgorithm.h.

btPersistentManifold* btConvexPlaneCollisionAlgorithm::m_manifoldPtr
private

Definition at line 32 of file btConvexPlaneCollisionAlgorithm.h.

int btConvexPlaneCollisionAlgorithm::m_minimumPointsPerturbationThreshold
private

Definition at line 35 of file btConvexPlaneCollisionAlgorithm.h.

int btConvexPlaneCollisionAlgorithm::m_numPerturbationIterations
private

Definition at line 34 of file btConvexPlaneCollisionAlgorithm.h.

bool btConvexPlaneCollisionAlgorithm::m_ownManifold
private

Definition at line 31 of file btConvexPlaneCollisionAlgorithm.h.


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