Bullet Collision Detection & Physics Library: btBoxBoxCollisionAlgorithm Class Reference

Bullet Collision Detection & Physics Library

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

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:
[legend]
Collaboration diagram for btBoxBoxCollisionAlgorithm:
[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
virtual | ~btActivatingCollisionAlgorithm ()
Public Member Functions inherited from btCollisionAlgorithm
| btCollisionAlgorithm ()
| btCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
virtual | ~btCollisionAlgorithm ()

## Private Attributes
bool | m_ownManifold
btPersistentManifold * | m_manifoldPtr

## Additional Inherited Members
Protected Member Functions inherited from btActivatingCollisionAlgorithm
| btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
| btActivatingCollisionAlgorithm (const btCollisionAlgorithmConstructionInfo &ci, const btCollisionObjectWrapper *body0Wrap, const btCollisionObjectWrapper *body1Wrap)
Protected Attributes inherited from btCollisionAlgorithm
btDispatcher * | m_dispatcher

## Detailed Description

box-box collision detection

Definition at line 27 of file btBoxBoxCollisionAlgorithm.h.

## Constructor & Destructor Documentation

## ◆ btBoxBoxCollisionAlgorithm() [1/2]

btBoxBoxCollisionAlgorithm::btBoxBoxCollisionAlgorithm | ( | const btCollisionAlgorithmConstructionInfo & | ci | ) |
| inline

Definition at line 33 of file btBoxBoxCollisionAlgorithm.h.

## ◆ btBoxBoxCollisionAlgorithm() [2/2]

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

Definition at line 24 of file btBoxBoxCollisionAlgorithm.cpp.

## ◆ ~btBoxBoxCollisionAlgorithm()

btBoxBoxCollisionAlgorithm::~btBoxBoxCollisionAlgorithm | ( |  | ) |
| virtual

Definition at line 36 of file btBoxBoxCollisionAlgorithm.cpp.

## Member Function Documentation

## ◆ calculateTimeOfImpact()

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

Implements btCollisionAlgorithm.

Definition at line 76 of file btBoxBoxCollisionAlgorithm.cpp.

## ◆ getAllContactManifolds()

virtual void btBoxBoxCollisionAlgorithm::getAllContactManifolds | ( | btManifoldArray & | manifoldArray | ) |
| inlinevirtual

Implements btCollisionAlgorithm.

Definition at line 44 of file btBoxBoxCollisionAlgorithm.h.

## ◆ processCollision()

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

## ◆ m_manifoldPtr

btPersistentManifold* btBoxBoxCollisionAlgorithm::m_manifoldPtr
| private

Definition at line 30 of file btBoxBoxCollisionAlgorithm.h.

## ◆ m_ownManifold

bool btBoxBoxCollisionAlgorithm::m_ownManifold
| private

Definition at line 29 of file btBoxBoxCollisionAlgorithm.h.

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

- btBoxBoxCollisionAlgorithm.h
- btBoxBoxCollisionAlgorithm.cpp