com.bulletphysics.collision.broadphase
Class OverlappingPairCache

java.lang.Object
  extended by com.bulletphysics.collision.broadphase.OverlappingPairCallback
      extended by com.bulletphysics.collision.broadphase.OverlappingPairCache
Direct Known Subclasses:
HashedOverlappingPairCache

public abstract class OverlappingPairCache
extends OverlappingPairCallback

OverlappingPairCache provides an interface for overlapping pair management (add, remove, storage), used by the BroadphaseInterface broadphases.


Constructor Summary
OverlappingPairCache()
           
 
Method Summary
abstract  void cleanOverlappingPair(BroadphasePair pair, Dispatcher dispatcher)
           
abstract  void cleanProxyFromPairs(BroadphaseProxy proxy, Dispatcher dispatcher)
           
abstract  BroadphasePair findPair(BroadphaseProxy proxy0, BroadphaseProxy proxy1)
           
abstract  int getNumOverlappingPairs()
           
abstract  ObjectArrayList<BroadphasePair> getOverlappingPairArray()
           
abstract  boolean hasDeferredRemoval()
           
abstract  void processAllOverlappingPairs(OverlapCallback callback, Dispatcher dispatcher)
           
abstract  void setInternalGhostPairCallback(OverlappingPairCallback ghostPairCallback)
           
abstract  void setOverlapFilterCallback(OverlapFilterCallback overlapFilterCallback)
           
 
Methods inherited from class com.bulletphysics.collision.broadphase.OverlappingPairCallback
addOverlappingPair, removeOverlappingPair, removeOverlappingPairsContainingProxy
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OverlappingPairCache

public OverlappingPairCache()
Method Detail

getOverlappingPairArray

public abstract ObjectArrayList<BroadphasePair> getOverlappingPairArray()

cleanOverlappingPair

public abstract void cleanOverlappingPair(BroadphasePair pair,
                                          Dispatcher dispatcher)

getNumOverlappingPairs

public abstract int getNumOverlappingPairs()

cleanProxyFromPairs

public abstract void cleanProxyFromPairs(BroadphaseProxy proxy,
                                         Dispatcher dispatcher)

setOverlapFilterCallback

public abstract void setOverlapFilterCallback(OverlapFilterCallback overlapFilterCallback)

processAllOverlappingPairs

public abstract void processAllOverlappingPairs(OverlapCallback callback,
                                                Dispatcher dispatcher)

findPair

public abstract BroadphasePair findPair(BroadphaseProxy proxy0,
                                        BroadphaseProxy proxy1)

hasDeferredRemoval

public abstract boolean hasDeferredRemoval()

setInternalGhostPairCallback

public abstract void setInternalGhostPairCallback(OverlappingPairCallback ghostPairCallback)