APIdia Launch Partner
Top Fields Constructors Methods
com.badlogic.gdx.physics.bullet.collision

public Class btDbvtBroadphase

extends btBroadphaseInterface
Class Inheritance
Imports
com.badlogic.gdx.physics.bullet.linearmath.*, com.badlogic.gdx.math.Vector3

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
private long

Constructor Summary

AccessConstructor and Description
protected
btDbvtBroadphase(final String className, long cPtr, boolean cMemoryOwn)

public
btDbvtBroadphase(long cPtr, boolean cMemoryOwn)

Construct a new btDbvtBroadphase, normally you should not need this constructor it's intended for low-level usage.

public
public

Method Summary

Modifier and TypeMethod and Description
public static void
public void
collide(btDispatcher dispatcher)

protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.delete.

Deletes the bullet object this class encapsulates.

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

public int
public static long
public int
public boolean
public int
public int
public int
public int
public boolean
public int
public btOverlappingPairCache
public int
public float
public SWIGTYPE_p_btAlignedObjectArrayT_btAlignedObjectArrayT_btDbvtNode_const_p_t_t
public boolean
public btDbvt
getSet(int index)

public btDbvt
public btDbvt
public btDbvt
public int
public SWIGTYPE_p_p_btDbvtProxy
public long
public long
public float
public float
public void
public void
public void
public void
public void
protected void
public void
public void
setCid(int value)

public void
setCupdates(int value)

public void
setDeferedcollide(boolean value)

public void
setDupdates(int value)

public void
setFixedleft(int value)

public void
setFupdates(int value)

public void
setGid(int value)

public void
setNeedcleanup(boolean value)

public void
setNewpairs(int value)

public void
public void
setPid(int value)

public void
setPrediction(float value)

public void
public void
setReleasepaircache(boolean value)

public void
setSets(btDbvt value)

public void
setStageCurrent(int value)

public void
public void
setUpdates_call(long value)

public void
setUpdates_done(long value)

public void
setUpdates_ratio(float value)

public void
setVelocityPrediction(float prediction)

Inherited from com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface:
aabbTestcalculateOverlappingPairscreateProxydestroyProxygetAabbgetBroadphaseAabbgetCPtrgetOverlappingPairCachegetOverlappingPairCacheConstprintStatsresetPoolsetAabb

Field Detail

DYNAMIC_SETback to summary
public static final int DYNAMIC_SET
FIXED_SETback to summary
public static final int FIXED_SET
STAGECOUNTback to summary
public static final int STAGECOUNT
swigCPtrback to summary
private long swigCPtr

Hides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.swigCPtr.

Constructor Detail

btDbvtBroadphaseback to summary
protected btDbvtBroadphase(final String className, long cPtr, boolean cMemoryOwn)
btDbvtBroadphaseback to summary
public btDbvtBroadphase(long cPtr, boolean cMemoryOwn)

Construct a new btDbvtBroadphase, normally you should not need this constructor it's intended for low-level usage.

btDbvtBroadphaseback to summary
public btDbvtBroadphase(btOverlappingPairCache paircache)
btDbvtBroadphaseback to summary
public btDbvtBroadphase()

Method Detail

benchmarkback to summary
public static void benchmark(btBroadphaseInterface arg0)
collideback to summary
public void collide(btDispatcher dispatcher)
deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.delete.

Doc from com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates. Do not call directly, instead use the dispose() method.

Annotations
@Override
finalizeback to summary
protected void finalize() throws Throwable

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.finalize.

Doc from java.lang.Object.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. A subclass overrides the finalize method to dispose of system resources or to perform other cleanup.

When running in a Java virtual machine in which finalization has been disabled or removed, the garbage collector will never call finalize(). In a Java virtual machine in which finalization is enabled, the garbage collector might call finalize only after an indefinite delay.

The general contract of finalize is that it is invoked if and when the Java virtual machine has determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, except as a result of an action taken by the finalization of some other object or class which is ready to be finalized. The finalize method may take any action, including making this object available again to other threads; the usual purpose of finalize, however, is to perform cleanup actions before the object is irrevocably discarded. For example, the finalize method for an object that represents an input/output connection might perform explicit I/O transactions to break the connection before the object is permanently discarded.

The finalize method of class Object performs no special action; it simply returns normally. Subclasses of Object may override this definition.

The Java programming language does not guarantee which thread will invoke the finalize method for any given object. It is guaranteed, however, that the thread that invokes finalize will not be holding any user-visible synchronization locks when finalize is invoked. If an uncaught exception is thrown by the finalize method, the exception is ignored and finalization of that object terminates.

After the finalize method has been invoked for an object, no further action is taken until the Java virtual machine has again determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, including possible actions by other objects or classes which are ready to be finalized, at which point the object may be discarded.

The finalize method is never invoked more than once by a Java virtual machine for any given object.

Any exception thrown by the finalize method causes the finalization of this object to be halted, but is otherwise ignored.

Annotations
@Override
Exceptions
Throwable:
the Exception raised by this method
getCidback to summary
public int getCid()
getCPtrback to summary
public static long getCPtr(btDbvtBroadphase obj)
getCupdatesback to summary
public int getCupdates()
getDeferedcollideback to summary
public boolean getDeferedcollide()
getDupdatesback to summary
public int getDupdates()
getFixedleftback to summary
public int getFixedleft()
getFupdatesback to summary
public int getFupdates()
getGidback to summary
public int getGid()
getNeedcleanupback to summary
public boolean getNeedcleanup()
getNewpairsback to summary
public int getNewpairs()
getPaircacheback to summary
public btOverlappingPairCache getPaircache()
getPidback to summary
public int getPid()
getPredictionback to summary
public float getPrediction()
getRayTestStacksback to summary
public SWIGTYPE_p_btAlignedObjectArrayT_btAlignedObjectArrayT_btDbvtNode_const_p_t_t getRayTestStacks()
getReleasepaircacheback to summary
public boolean getReleasepaircache()
getSetback to summary
public btDbvt getSet(int index)
getSet0back to summary
public btDbvt getSet0()
getSet1back to summary
public btDbvt getSet1()
getSetsback to summary
public btDbvt getSets()
getStageCurrentback to summary
public int getStageCurrent()
getStageRootsback to summary
public SWIGTYPE_p_p_btDbvtProxy getStageRoots()
getUpdates_callback to summary
public long getUpdates_call()
getUpdates_doneback to summary
public long getUpdates_done()
getUpdates_ratioback to summary
public float getUpdates_ratio()
getVelocityPredictionback to summary
public float getVelocityPrediction()
optimizeback to summary
public void optimize()
performDeferredRemovalback to summary
public void performDeferredRemoval(btDispatcher dispatcher)
rayTestback to summary
public void rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin, Vector3 aabbMax)

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.rayTest.

rayTestback to summary
public void rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback, Vector3 aabbMin)

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.rayTest.

rayTestback to summary
public void rayTest(Vector3 rayFrom, Vector3 rayTo, btBroadphaseRayCallback rayCallback)

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.rayTest.

resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.collision.btBroadphaseInterface.reset.

Annotations
@Override
setAabbForceUpdateback to summary
public void setAabbForceUpdate(btBroadphaseProxy absproxy, Vector3 aabbMin, Vector3 aabbMax, btDispatcher arg3)
setCidback to summary
public void setCid(int value)
setCupdatesback to summary
public void setCupdates(int value)
setDeferedcollideback to summary
public void setDeferedcollide(boolean value)
setDupdatesback to summary
public void setDupdates(int value)
setFixedleftback to summary
public void setFixedleft(int value)
setFupdatesback to summary
public void setFupdates(int value)
setGidback to summary
public void setGid(int value)
setNeedcleanupback to summary
public void setNeedcleanup(boolean value)
setNewpairsback to summary
public void setNewpairs(int value)
setPaircacheback to summary
public void setPaircache(btOverlappingPairCache value)
setPidback to summary
public void setPid(int value)
setPredictionback to summary
public void setPrediction(float value)
setRayTestStacksback to summary
public void setRayTestStacks(SWIGTYPE_p_btAlignedObjectArrayT_btAlignedObjectArrayT_btDbvtNode_const_p_t_t value)
setReleasepaircacheback to summary
public void setReleasepaircache(boolean value)
setSetsback to summary
public void setSets(btDbvt value)
setStageCurrentback to summary
public void setStageCurrent(int value)
setStageRootsback to summary
public void setStageRoots(SWIGTYPE_p_p_btDbvtProxy value)
setUpdates_callback to summary
public void setUpdates_call(long value)
setUpdates_doneback to summary
public void setUpdates_done(long value)
setUpdates_ratioback to summary
public void setUpdates_ratio(float value)
setVelocityPredictionback to summary
public void setVelocityPrediction(float prediction)