com.bulletphysics.collision.broadphase
Class BroadphaseInterface

java.lang.Object
  extended by com.bulletphysics.collision.broadphase.BroadphaseInterface
Direct Known Subclasses:
AxisSweep3Internal, DbvtBroadphase, SimpleBroadphase

public abstract class BroadphaseInterface
extends Object

BroadphaseInterface for AABB overlapping object pairs.


Constructor Summary
BroadphaseInterface()
           
 
Method Summary
abstract  void calculateOverlappingPairs(Dispatcher dispatcher)
           
abstract  BroadphaseProxy createProxy(Vector3f aabbMin, Vector3f aabbMax, BroadphaseNativeType shapeType, Object userPtr, short collisionFilterGroup, short collisionFilterMask, Dispatcher dispatcher, Object multiSapProxy)
           
abstract  void destroyProxy(BroadphaseProxy proxy, Dispatcher dispatcher)
           
abstract  void getBroadphaseAabb(Vector3f aabbMin, Vector3f aabbMax)
           
abstract  OverlappingPairCache getOverlappingPairCache()
           
abstract  void printStats()
           
abstract  void setAabb(BroadphaseProxy proxy, Vector3f aabbMin, Vector3f aabbMax, Dispatcher dispatcher)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BroadphaseInterface

public BroadphaseInterface()
Method Detail

createProxy

public abstract BroadphaseProxy createProxy(Vector3f aabbMin,
                                            Vector3f aabbMax,
                                            BroadphaseNativeType shapeType,
                                            Object userPtr,
                                            short collisionFilterGroup,
                                            short collisionFilterMask,
                                            Dispatcher dispatcher,
                                            Object multiSapProxy)

destroyProxy

public abstract void destroyProxy(BroadphaseProxy proxy,
                                  Dispatcher dispatcher)

setAabb

public abstract void setAabb(BroadphaseProxy proxy,
                             Vector3f aabbMin,
                             Vector3f aabbMax,
                             Dispatcher dispatcher)

calculateOverlappingPairs

public abstract void calculateOverlappingPairs(Dispatcher dispatcher)

getOverlappingPairCache

public abstract OverlappingPairCache getOverlappingPairCache()

getBroadphaseAabb

public abstract void getBroadphaseAabb(Vector3f aabbMin,
                                       Vector3f aabbMax)

printStats

public abstract void printStats()