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

box-box collision detection More...

#include <btBoxBoxCollisionAlgorithm.h>

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

Classes

struct  CreateFunc
 

Public Member Functions

 btBoxBoxCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual void processCollision (const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
virtual btScalar calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
 
 btBoxBoxCollisionAlgorithm (btPersistentManifold *mf, const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
 
virtual ~btBoxBoxCollisionAlgorithm ()
 
virtual void getAllContactManifolds (btManifoldArray &manifoldArray)
 
- Public Member Functions inherited from btActivatingCollisionAlgorithm
 btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
 btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
 
virtual ~btActivatingCollisionAlgorithm ()
 
- Public Member Functions inherited from btCollisionAlgorithm
 btCollisionAlgorithm ()
 
 btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
 
virtual ~btCollisionAlgorithm ()
 

Private Attributes

bool m_ownManifold
 
btPersistentManifoldm_manifoldPtr
 

Additional Inherited Members

- Protected Attributes inherited from btCollisionAlgorithm
btDispatcherm_dispatcher
 

Detailed Description

box-box collision detection

Definition at line 27 of file btBoxBoxCollisionAlgorithm.h.

Constructor & Destructor Documentation

btBoxBoxCollisionAlgorithm::btBoxBoxCollisionAlgorithm ( const btCollisionAlgorithmConstructionInfo ci)
inline

Definition at line 33 of file btBoxBoxCollisionAlgorithm.h.

btBoxBoxCollisionAlgorithm::btBoxBoxCollisionAlgorithm ( btPersistentManifold mf,
const btCollisionAlgorithmConstructionInfo ci,
const btCollisionObjectWrapper body0Wrap,
const btCollisionObjectWrapper body1Wrap 
)

Definition at line 24 of file btBoxBoxCollisionAlgorithm.cpp.

btBoxBoxCollisionAlgorithm::~btBoxBoxCollisionAlgorithm ( )
virtual

Definition at line 36 of file btBoxBoxCollisionAlgorithm.cpp.

Member Function Documentation

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

Implements btCollisionAlgorithm.

Definition at line 80 of file btBoxBoxCollisionAlgorithm.cpp.

virtual void btBoxBoxCollisionAlgorithm::getAllContactManifolds ( btManifoldArray manifoldArray)
inlinevirtual

Implements btCollisionAlgorithm.

Definition at line 44 of file btBoxBoxCollisionAlgorithm.h.

void btBoxBoxCollisionAlgorithm::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 45 of file btBoxBoxCollisionAlgorithm.cpp.

Member Data Documentation

btPersistentManifold* btBoxBoxCollisionAlgorithm::m_manifoldPtr
private

Definition at line 30 of file btBoxBoxCollisionAlgorithm.h.

bool btBoxBoxCollisionAlgorithm::m_ownManifold
private

Definition at line 29 of file btBoxBoxCollisionAlgorithm.h.


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