Logo Search packages:      
Sourcecode: blender version File versions  Download package

btHashedOverlappingPairCache Class Reference

#include <btOverlappingPairCache.h>

Inheritance diagram for btHashedOverlappingPairCache:

btOverlappingPairCache btOverlappingPairCallback

List of all members.


Detailed Description

Hash-space based Pair Cache, thanks to Erin Catto, Box2D, http://www.box2d.org, and Pierre Terdiman, Codercorner, http://codercorner.com.

Definition at line 93 of file btOverlappingPairCache.h.


Public Member Functions

virtual btBroadphasePair * addOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
void cleanOverlappingPair (btBroadphasePair &pair, btDispatcher *dispatcher)
void cleanProxyFromPairs (btBroadphaseProxy *proxy, btDispatcher *dispatcher)
btBroadphasePair * findPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
int GetCount () const
int getNumOverlappingPairs () const
btOverlapFilterCallback * getOverlapFilterCallback ()
const btBroadphasePairArraygetOverlappingPairArray () const
btBroadphasePairArraygetOverlappingPairArray ()
const btBroadphasePair * getOverlappingPairArrayPtr () const
virtual btBroadphasePair * getOverlappingPairArrayPtr ()
SIMD_FORCE_INLINE bool needsBroadphaseCollision (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1) const
virtual void processAllOverlappingPairs (btOverlapCallback *, btDispatcher *dispatcher)
virtual void * removeOverlappingPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, btDispatcher *dispatcher)
void removeOverlappingPairsContainingProxy (btBroadphaseProxy *proxy, btDispatcher *dispatcher)
void setOverlapFilterCallback (btOverlapFilterCallback *callback)

Protected Attributes

btOverlappingPairCallbackm_ghostPairCallback
btAlignedObjectArray< int > m_hashTable
btAlignedObjectArray< int > m_next

Private Member Functions

SIMD_FORCE_INLINE bool equalsPair (const btBroadphasePair &pair, int proxyId1, int proxyId2)
SIMD_FORCE_INLINE unsigned int getHash (unsigned int proxyId1, unsigned int proxyId2)
void growTables ()
virtual bool hasDeferredRemoval ()
btBroadphasePair * internalAddPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1)
SIMD_FORCE_INLINE
btBroadphasePair * 
internalFindPair (btBroadphaseProxy *proxy0, btBroadphaseProxy *proxy1, int hash)
virtual void setInternalGhostPairCallback (btOverlappingPairCallback *ghostPairCallback)
virtual void sortOverlappingPairs (btDispatcher *dispatcher)

Private Attributes

bool m_blockedForChanges
btOverlapFilterCallback * m_overlapFilterCallback
btBroadphasePairArray m_overlappingPairArray

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

Generated by  Doxygen 1.6.0   Back to index