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

public Class btGImpactMeshShapePart

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private long

Constructor Summary

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

public
btGImpactMeshShapePart(long cPtr, boolean cMemoryOwn)

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

public
public

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

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

Deletes the bullet object this class encapsulates.

protected void
finalize()

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

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

public static long
public int
public btGImpactMeshShapePart.TrimeshPrimitiveManager
public void
getVertex(int vertex_index, Vector3 vertex)

public int
protected void
Inherited from com.badlogic.gdx.physics.bullet.collision.btGImpactShapeInterface:
childrenHasTransformgetBoxSetgetBulletTetrahedrongetBulletTrianglegetChildAabbgetChildShapegetChildShapeConstgetChildTransformgetCPtrgetGImpactShapeTypegetLocalBoxgetNumChildShapesgetPrimitiveManagergetPrimitiveTrianglegetShapeTypehasBoxSetlockChildShapesneedsRetrieveTetrahedronsneedsRetrieveTrianglespostUpdateprocessAllTrianglesRayrayTestsetChildTransformunlockChildShapesupdateBound

Field Detail

swigCPtrback to summary
private long swigCPtr

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

Constructor Detail

btGImpactMeshShapePartback to summary
protected btGImpactMeshShapePart(final String className, long cPtr, boolean cMemoryOwn)
btGImpactMeshShapePartback to summary
public btGImpactMeshShapePart(long cPtr, boolean cMemoryOwn)

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

btGImpactMeshShapePartback to summary
public btGImpactMeshShapePart()
btGImpactMeshShapePartback to summary
public btGImpactMeshShapePart(btStridingMeshInterface meshInterface, int part)

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.collision.btGImpactShapeInterface.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.btGImpactShapeInterface.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
getCPtrback to summary
public static long getCPtr(btGImpactMeshShapePart obj)
getPartback to summary
public int getPart()
getTrimeshPrimitiveManagerback to summary
public btGImpactMeshShapePart.TrimeshPrimitiveManager getTrimeshPrimitiveManager()
getVertexback to summary
public void getVertex(int vertex_index, Vector3 vertex)
getVertexCountback to summary
public int getVertexCount()
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

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

Annotations
@Override
com.badlogic.gdx.physics.bullet.collision back to summary

public Class btGImpactMeshShapePart.TrimeshPrimitiveManager

extends btPrimitiveManagerBase
Class Inheritance

Field Summary

Modifier and TypeField and Description
private long

Constructor Summary

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

public
TrimeshPrimitiveManager(long cPtr, boolean cMemoryOwn)

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

public
public
public

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

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

Deletes the bullet object this class encapsulates.

protected void
finalize()

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

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

public void
get_bullet_triangle(int prim_index, btTriangleShapeEx triangle)

public void
public void
get_vertex(long vertex_index, Vector3 vertex)

public int
public static long
public ByteBuffer
public int
public int
public int
public float
public btStridingMeshInterface
public int
public int
public int
public btVector3
public int
public int
public ByteBuffer
public void
lock()

protected void
public void
public void
setIndexstride(int value)

public void
setIndicestype(int value)

public void
setLock_count(int value)

public void
setMargin(float value)

public void
public void
setNumfaces(int value)

public void
setNumverts(int value)

public void
setPart(int value)

public void
public void
setStride(int value)

public void
setType(int value)

public void
public void
Inherited from com.badlogic.gdx.physics.bullet.collision.btPrimitiveManagerBase:
get_primitive_boxget_primitive_countget_primitive_trianglegetCPtris_trimesh

Field Detail

swigCPtrback to summary
private long swigCPtr

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

Constructor Detail

TrimeshPrimitiveManagerback to summary
protected TrimeshPrimitiveManager(final String className, long cPtr, boolean cMemoryOwn)
TrimeshPrimitiveManagerback to summary
public TrimeshPrimitiveManager(long cPtr, boolean cMemoryOwn)

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

TrimeshPrimitiveManagerback to summary
public TrimeshPrimitiveManager()
TrimeshPrimitiveManagerback to summary
public TrimeshPrimitiveManager(btGImpactMeshShapePart.TrimeshPrimitiveManager manager)
TrimeshPrimitiveManagerback to summary
public TrimeshPrimitiveManager(btStridingMeshInterface meshInterface, int part)

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.collision.btPrimitiveManagerBase.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.btPrimitiveManagerBase.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
get_bullet_triangleback to summary
public void get_bullet_triangle(int prim_index, btTriangleShapeEx triangle)
get_indicesback to summary
public void get_indices(int face_index, SWIGTYPE_p_unsigned_int i0, SWIGTYPE_p_unsigned_int i1, SWIGTYPE_p_unsigned_int i2)
get_vertexback to summary
public void get_vertex(long vertex_index, Vector3 vertex)
get_vertex_countback to summary
public int get_vertex_count()
getCPtrback to summary
public static long getCPtr(btGImpactMeshShapePart.TrimeshPrimitiveManager obj)
getIndexbaseback to summary
public ByteBuffer getIndexbase()
getIndexstrideback to summary
public int getIndexstride()
getIndicestypeback to summary
public int getIndicestype()
getLock_countback to summary
public int getLock_count()
getMarginback to summary
public float getMargin()
getMeshInterfaceback to summary
public btStridingMeshInterface getMeshInterface()
getNumfacesback to summary
public int getNumfaces()
getNumvertsback to summary
public int getNumverts()
getPartback to summary
public int getPart()
getScaleback to summary
public btVector3 getScale()
getStrideback to summary
public int getStride()
getTypeback to summary
public int getType()
getVertexbaseback to summary
public ByteBuffer getVertexbase()
lockback to summary
public void lock()
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

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

Annotations
@Override
setIndexbaseback to summary
public void setIndexbase(ByteBuffer value)
setIndexstrideback to summary
public void setIndexstride(int value)
setIndicestypeback to summary
public void setIndicestype(int value)
setLock_countback to summary
public void setLock_count(int value)
setMarginback to summary
public void setMargin(float value)
setMeshInterfaceback to summary
public void setMeshInterface(btStridingMeshInterface value)
setNumfacesback to summary
public void setNumfaces(int value)
setNumvertsback to summary
public void setNumverts(int value)
setPartback to summary
public void setPart(int value)
setScaleback to summary
public void setScale(btVector3 value)
setStrideback to summary
public void setStride(int value)
setTypeback to summary
public void setType(int value)
setVertexbaseback to summary
public void setVertexbase(ByteBuffer value)
unlockback to summary
public void unlock()