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

public Class btSparseSdf3

extends BulletBase
Class Inheritance
Imports
com.badlogic.gdx.physics.bullet.BulletBase, com.badlogic.gdx.physics.bullet.linearmath.*, com.badlogic.gdx.physics.bullet.collision.*, com.badlogic.gdx.physics.bullet.dynamics.*, com.badlogic.gdx.math.Vector3

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
private long
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
classNamedestroyedswigCMemOwn

Constructor Summary

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

public
btSparseSdf3(long cPtr, boolean cMemoryOwn)

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

public

Method Summary

Modifier and TypeMethod and Description
public void
public static btSparseSdf3.IntFrac
Decompose(float x)

protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates.

public static float
public float
Evaluate(Vector3 x, btCollisionShape shape, Vector3 normal, float margin)

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

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

public void
GarbageCollect(int lifetime)

public void
public SWIGTYPE_p_btAlignedObjectArrayT_btSparseSdfT_3_t__Cell_p_t
public int
public static long
public int
public int
public int
public int
public float
public static long
Hash(int x, int y, int z, btCollisionShape shape)

public void
Initialize(int hashsize, int clampCells)

public void
Initialize(int hashsize)

public void
public static float
Lerp(float a, float b, float t)

public int
protected void
reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

public void
public void
public void
setClampCells(int value)

public void
setNcells(int value)

public void
setNprobes(int value)

public void
setNqueries(int value)

public void
setPuid(int value)

public void
setVoxelsz(float value)

Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
constructdestroydisposeequalsgetCPointerhashCodehasOwnershipisDisposedisObtainedobtainreleasereleaseOwnershiptakeOwnershiptoString

Field Detail

swigCPtrback to summary
private long swigCPtr

Constructor Detail

btSparseSdf3back to summary
protected btSparseSdf3(final String className, long cPtr, boolean cMemoryOwn)
btSparseSdf3back to summary
public btSparseSdf3(long cPtr, boolean cMemoryOwn)

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

btSparseSdf3back to summary
public btSparseSdf3()

Method Detail

BuildCellback to summary
public void BuildCell(btSparseSdf3.Cell c)
Decomposeback to summary
public static btSparseSdf3.IntFrac Decompose(float x)
deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.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
DistanceToShapeback to summary
public static float DistanceToShape(Vector3 x, btCollisionShape shape)
Evaluateback to summary
public float Evaluate(Vector3 x, btCollisionShape shape, Vector3 normal, float margin)
finalizeback to summary
protected void finalize() throws Throwable

Overrides com.badlogic.gdx.physics.bullet.BulletBase.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
GarbageCollectback to summary
public void GarbageCollect(int lifetime)
GarbageCollectback to summary
public void GarbageCollect()
getCellsback to summary
public SWIGTYPE_p_btAlignedObjectArrayT_btSparseSdfT_3_t__Cell_p_t getCells()
getClampCellsback to summary
public int getClampCells()
getCPtrback to summary
public static long getCPtr(btSparseSdf3 obj)
getNcellsback to summary
public int getNcells()
getNprobesback to summary
public int getNprobes()
getNqueriesback to summary
public int getNqueries()
getPuidback to summary
public int getPuid()
getVoxelszback to summary
public float getVoxelsz()
Hashback to summary
public static long Hash(int x, int y, int z, btCollisionShape shape)
Initializeback to summary
public void Initialize(int hashsize, int clampCells)
Initializeback to summary
public void Initialize(int hashsize)
Initializeback to summary
public void Initialize()
Lerpback to summary
public static float Lerp(float a, float b, float t)
RemoveReferencesback to summary
public int RemoveReferences(btCollisionShape pcs)
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

Annotations
@Override
Resetback to summary
public void Reset()
setCellsback to summary
public void setCells(SWIGTYPE_p_btAlignedObjectArrayT_btSparseSdfT_3_t__Cell_p_t value)
setClampCellsback to summary
public void setClampCells(int value)
setNcellsback to summary
public void setNcells(int value)
setNprobesback to summary
public void setNprobes(int value)
setNqueriesback to summary
public void setNqueries(int value)
setPuidback to summary
public void setPuid(int value)
setVoxelszback to summary
public void setVoxelsz(float value)
com.badlogic.gdx.physics.bullet.softbody back to summary

public Class btSparseSdf3.Cell

extends BulletBase
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
classNamedestroyedswigCMemOwn

Constructor Summary

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

public
Cell(long cPtr, boolean cMemoryOwn)

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

public
Cell()

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates.

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

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

public int[]
getC()

public static long
public SWIGTYPE_p_a_3_1__a_3_1__float
getD()

public long
public btSparseSdf3.Cell
public btCollisionShape
public int
protected void
reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

public void
setC(int[] value)

public void
public void
setHash(long value)

public void
public void
public void
setPuid(int value)

Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
constructdestroydisposeequalsgetCPointerhashCodehasOwnershipisDisposedisObtainedobtainreleasereleaseOwnershiptakeOwnershiptoString

Field Detail

swigCPtrback to summary
private long swigCPtr

Constructor Detail

Cellback to summary
protected Cell(final String className, long cPtr, boolean cMemoryOwn)
Cellback to summary
public Cell(long cPtr, boolean cMemoryOwn)

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

Cellback to summary
public Cell()

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.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.BulletBase.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
getCback to summary
public int[] getC()
getCPtrback to summary
public static long getCPtr(btSparseSdf3.Cell obj)
getDback to summary
public SWIGTYPE_p_a_3_1__a_3_1__float getD()
getHashback to summary
public long getHash()
getNextback to summary
public btSparseSdf3.Cell getNext()
getPclientback to summary
public btCollisionShape getPclient()
getPuidback to summary
public int getPuid()
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

Annotations
@Override
setCback to summary
public void setC(int[] value)
setDback to summary
public void setD(SWIGTYPE_p_a_3_1__a_3_1__float value)
setHashback to summary
public void setHash(long value)
setNextback to summary
public void setNext(btSparseSdf3.Cell value)
setPclientback to summary
public void setPclient(btCollisionShape value)
setPuidback to summary
public void setPuid(int value)
com.badlogic.gdx.physics.bullet.softbody back to summary

public Class btSparseSdf3.IntFrac

extends BulletBase
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
classNamedestroyedswigCMemOwn

Constructor Summary

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

public
IntFrac(long cPtr, boolean cMemoryOwn)

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

public

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates.

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

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

public int
getB()

public static long
public float
getF()

public int
getI()

protected void
reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

public void
setB(int value)

public void
setF(float value)

public void
setI(int value)

Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
constructdestroydisposeequalsgetCPointerhashCodehasOwnershipisDisposedisObtainedobtainreleasereleaseOwnershiptakeOwnershiptoString

Field Detail

swigCPtrback to summary
private long swigCPtr

Constructor Detail

IntFracback to summary
protected IntFrac(final String className, long cPtr, boolean cMemoryOwn)
IntFracback to summary
public IntFrac(long cPtr, boolean cMemoryOwn)

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

IntFracback to summary
public IntFrac()

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.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.BulletBase.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
getBback to summary
public int getB()
getCPtrback to summary
public static long getCPtr(btSparseSdf3.IntFrac obj)
getFback to summary
public float getF()
getIback to summary
public int getI()
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

Annotations
@Override
setBback to summary
public void setB(int value)
setFback to summary
public void setF(float value)
setIback to summary
public void setI(int value)