btSortedOverlappingPairCache maintains the objects with overlapping AABB Typically managed by the Broadphase, Axis3Sweep or btSimpleBroadphase
More...
#include <btOverlappingPairCache.h>
|
| | btSortedOverlappingPairCache () |
| |
| virtual | ~btSortedOverlappingPairCache () |
| |
| virtual void | processAllOverlappingPairs (btOverlapCallback *, btDispatcher *dispatcher) |
| |
| void * | removeOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher) |
| |
| void | cleanOverlappingPair (btBroadphasePair &pair, btDispatcher *dispatcher) |
| |
| btBroadphasePair * | addOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1) |
| |
| btBroadphasePair * | findPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1) |
| | this findPair becomes really slow. More...
|
| |
| void | cleanProxyFromPairs (btBroadphaseProxy *proxy, btDispatcher *dispatcher) |
| |
| void | removeOverlappingPairsContainingProxy (btBroadphaseProxy *proxy, btDispatcher *dispatcher) |
| |
| bool | needsBroadphaseCollision (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1) const |
| |
| btBroadphasePairArray & | getOverlappingPairArray () |
| |
| const btBroadphasePairArray & | getOverlappingPairArray () const |
| |
| btBroadphasePair * | getOverlappingPairArrayPtr () |
| |
| const btBroadphasePair * | getOverlappingPairArrayPtr () const |
| |
| int | getNumOverlappingPairs () const |
| |
| btOverlapFilterCallback * | getOverlapFilterCallback () |
| |
| void | setOverlapFilterCallback (btOverlapFilterCallback *callback) |
| |
| virtual bool | hasDeferredRemoval () |
| |
| virtual void | setInternalGhostPairCallback (btOverlappingPairCallback *ghostPairCallback) |
| |
| virtual void | sortOverlappingPairs (btDispatcher *dispatcher) |
| |
| virtual | ~btOverlappingPairCache () |
| |
| virtual void | processAllOverlappingPairs (btOverlapCallback *callback, btDispatcher *dispatcher, const struct btDispatcherInfo &dispatchInfo) |
| |
| virtual | ~btOverlappingPairCallback () |
| |
btSortedOverlappingPairCache maintains the objects with overlapping AABB Typically managed by the Broadphase, Axis3Sweep or btSimpleBroadphase
Definition at line 281 of file btOverlappingPairCache.h.
| btSortedOverlappingPairCache::btSortedOverlappingPairCache |
( |
| ) |
|
| btSortedOverlappingPairCache::~btSortedOverlappingPairCache |
( |
| ) |
|
|
virtual |
this findPair becomes really slow.
Either sort the list to speedup the query, or use a different solution. It is mainly used for Removing overlapping pairs. Removal could be delayed. we could keep a linked list in each proxy, and store pair in one of the proxies (with lowest memory address) Also we can use a 2D bitmap, which can be useful for a future GPU implementation
Implements btOverlappingPairCache.
Definition at line 536 of file btOverlappingPairCache.cpp.
| int btSortedOverlappingPairCache::getNumOverlappingPairs |
( |
| ) |
const |
|
inlinevirtual |
| const btBroadphasePair* btSortedOverlappingPairCache::getOverlappingPairArrayPtr |
( |
| ) |
const |
|
inlinevirtual |
| virtual bool btSortedOverlappingPairCache::hasDeferredRemoval |
( |
| ) |
|
|
inlinevirtual |
| void btSortedOverlappingPairCache::sortOverlappingPairs |
( |
btDispatcher * |
dispatcher | ) |
|
|
virtual |
| bool btSortedOverlappingPairCache::m_blockedForChanges |
|
protected |
| bool btSortedOverlappingPairCache::m_hasDeferredRemoval |
|
protected |
The documentation for this class was generated from the following files: