Bullet Collision Detection & Physics Library: btOverlappingPairCache Class Reference

Bullet Collision Detection & Physics Library

Public Member Functions | List of all members
btOverlappingPairCache Class Referenceabstract

The btOverlappingPairCache provides an interface for overlapping pair management (add, remove, storage), used by the btBroadphaseInterface broadphases. More...

`#include <btOverlappingPairCache.h>`

Inheritance diagram for btOverlappingPairCache:
[legend]
Collaboration diagram for btOverlappingPairCache:
[legend]

## Public Member Functions
virtual | ~btOverlappingPairCache ()
virtual btBroadphasePair * | getOverlappingPairArrayPtr ()=0
virtual const btBroadphasePair * | getOverlappingPairArrayPtr () const =0
virtual btBroadphasePairArray & | getOverlappingPairArray ()=0
virtual void | cleanOverlappingPair (btBroadphasePair &pair, btDispatcher *dispatcher)=0
virtual int | getNumOverlappingPairs () const =0
virtual void | cleanProxyFromPairs (btBroadphaseProxy *proxy, btDispatcher *dispatcher)=0
virtual void | setOverlapFilterCallback (btOverlapFilterCallback *callback)=0
virtual void | processAllOverlappingPairs (btOverlapCallback *, btDispatcher *dispatcher)=0
virtual btBroadphasePair * | findPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)=0
virtual bool | hasDeferredRemoval ()=0
virtual void | setInternalGhostPairCallback (btOverlappingPairCallback *ghostPairCallback)=0
virtual void | sortOverlappingPairs (btDispatcher *dispatcher)=0
Public Member Functions inherited from btOverlappingPairCallback
virtual | ~btOverlappingPairCallback ()
virtual btBroadphasePair * | addOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)=0
virtual void * | removeOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher)=0
virtual void | removeOverlappingPairsContainingProxy (btBroadphaseProxy *proxy0, btDispatcher *dispatcher)=0

## Additional Inherited Members
Protected Member Functions inherited from btOverlappingPairCallback
| btOverlappingPairCallback ()

## Detailed Description

The btOverlappingPairCache provides an interface for overlapping pair management (add, remove, storage), used by the btBroadphaseInterface broadphases.

The btHashedOverlappingPairCache and btSortedOverlappingPairCache classes are two implementations.

Definition at line 60 of file btOverlappingPairCache.h.

## Constructor & Destructor Documentation

## ◆ ~btOverlappingPairCache()

virtual btOverlappingPairCache::~btOverlappingPairCache | ( |  | ) |
| inlinevirtual

Definition at line 63 of file btOverlappingPairCache.h.

## Member Function Documentation

## ◆ cleanOverlappingPair()

virtual void btOverlappingPairCache::cleanOverlappingPair | ( | btBroadphasePair & | pair,
|  | btDispatcher * | dispatcher
| ) |  |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ cleanProxyFromPairs()

virtual void btOverlappingPairCache::cleanProxyFromPairs | ( | btBroadphaseProxy * | proxy,
|  | btDispatcher * | dispatcher
| ) |  |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ findPair()

virtual btBroadphasePair* btOverlappingPairCache::findPair | ( | btBroadphaseProxy * | proxy0,
|  | btBroadphaseProxy * | proxy1
| ) |  |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ getNumOverlappingPairs()

virtual int btOverlappingPairCache::getNumOverlappingPairs | ( |  | ) | const
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ getOverlappingPairArray()

virtual btBroadphasePairArray& btOverlappingPairCache::getOverlappingPairArray | ( |  | ) |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ getOverlappingPairArrayPtr() [1/2]

virtual btBroadphasePair* btOverlappingPairCache::getOverlappingPairArrayPtr | ( |  | ) |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ getOverlappingPairArrayPtr() [2/2]

virtual const btBroadphasePair* btOverlappingPairCache::getOverlappingPairArrayPtr | ( |  | ) | const
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ hasDeferredRemoval()

virtual bool btOverlappingPairCache::hasDeferredRemoval | ( |  | ) |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ processAllOverlappingPairs()

virtual void btOverlappingPairCache::processAllOverlappingPairs | ( | btOverlapCallback * | ,
|  | btDispatcher * | dispatcher
| ) |  |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ setInternalGhostPairCallback()

virtual void btOverlappingPairCache::setInternalGhostPairCallback | ( | btOverlappingPairCallback * | ghostPairCallback | ) |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ setOverlapFilterCallback()

virtual void btOverlappingPairCache::setOverlapFilterCallback | ( | btOverlapFilterCallback * | callback | ) |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

## ◆ sortOverlappingPairs()

virtual void btOverlappingPairCache::sortOverlappingPairs | ( | btDispatcher * | dispatcher | ) |
| pure virtual

Implemented in btNullPairCache, btSortedOverlappingPairCache, and btHashedOverlappingPairCache.

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

- btOverlappingPairCache.h