com.bulletphysics.collision.broadphase
Class OverlappingPairCache
java.lang.Object
com.bulletphysics.collision.broadphase.OverlappingPairCallback
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.
OverlappingPairCache
public OverlappingPairCache()
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)