Blender V2.61 - r43446
Public Member Functions | Protected Attributes

btHashedOverlappingPairCache Class Reference

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

#include <btOverlappingPairCache.h>

Inheritance diagram for btHashedOverlappingPairCache:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

btAlignedObjectArray< int > m_hashTable
btAlignedObjectArray< int > m_next
btOverlappingPairCallbackm_ghostPairCallback

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.


Constructor & Destructor Documentation

btHashedOverlappingPairCache::btHashedOverlappingPairCache ( )

Definition at line 35 of file btOverlappingPairCache.cpp.

References btAlignedObjectArray< T >::reserve().

btHashedOverlappingPairCache::~btHashedOverlappingPairCache ( ) [virtual]

Member Function Documentation

virtual btBroadphasePair* btHashedOverlappingPairCache::addOverlappingPair ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1 
) [inline, virtual]
void btHashedOverlappingPairCache::cleanOverlappingPair ( btBroadphasePair &  pair,
btDispatcher dispatcher 
) [virtual]
void btHashedOverlappingPairCache::cleanProxyFromPairs ( btBroadphaseProxy *  proxy,
btDispatcher dispatcher 
) [virtual]

Implements btOverlappingPairCache.

Definition at line 69 of file btOverlappingPairCache.cpp.

References processAllOverlappingPairs().

btBroadphasePair * btHashedOverlappingPairCache::findPair ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1 
) [virtual]
int btHashedOverlappingPairCache::GetCount ( ) const [inline]

Definition at line 165 of file btOverlappingPairCache.h.

References btAlignedObjectArray< T >::size().

int btHashedOverlappingPairCache::getNumOverlappingPairs ( ) const [inline, virtual]
btOverlapFilterCallback* btHashedOverlappingPairCache::getOverlapFilterCallback ( ) [inline]

Definition at line 168 of file btOverlappingPairCache.h.

btBroadphasePairArray& btHashedOverlappingPairCache::getOverlappingPairArray ( ) [inline, virtual]
const btBroadphasePairArray& btHashedOverlappingPairCache::getOverlappingPairArray ( ) const [inline]

Definition at line 154 of file btOverlappingPairCache.h.

const btBroadphasePair* btHashedOverlappingPairCache::getOverlappingPairArrayPtr ( ) const [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 144 of file btOverlappingPairCache.h.

virtual btBroadphasePair* btHashedOverlappingPairCache::getOverlappingPairArrayPtr ( ) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 139 of file btOverlappingPairCache.h.

SIMD_FORCE_INLINE bool btHashedOverlappingPairCache::needsBroadphaseCollision ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1 
) const [inline]
void btHashedOverlappingPairCache::processAllOverlappingPairs ( btOverlapCallback callback,
btDispatcher dispatcher 
) [virtual]
void * btHashedOverlappingPairCache::removeOverlappingPair ( btBroadphaseProxy *  proxy0,
btBroadphaseProxy *  proxy1,
btDispatcher dispatcher 
) [virtual]
void btHashedOverlappingPairCache::removeOverlappingPairsContainingProxy ( btBroadphaseProxy *  proxy,
btDispatcher dispatcher 
) [virtual]

Implements btOverlappingPairCallback.

Definition at line 106 of file btOverlappingPairCache.cpp.

References processAllOverlappingPairs().

void btHashedOverlappingPairCache::setOverlapFilterCallback ( btOverlapFilterCallback callback) [inline, virtual]

Implements btOverlappingPairCache.

Definition at line 173 of file btOverlappingPairCache.h.


Member Data Documentation

Definition at line 272 of file btOverlappingPairCache.h.

Referenced by removeOverlappingPair().

Definition at line 270 of file btOverlappingPairCache.h.

Referenced by findPair(), and removeOverlappingPair().

Definition at line 271 of file btOverlappingPairCache.h.

Referenced by findPair(), and removeOverlappingPair().


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