|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bulletphysics.collision.shapes.StridingMeshInterface
public abstract class StridingMeshInterface
StridingMeshInterface is the abstract class for high performance access to triangle meshes. It allows for sharing graphics and collision meshes. Also it provides locking/unlocking of graphics meshes that are in GPU memory.
Constructor Summary | |
---|---|
StridingMeshInterface()
|
Method Summary | |
---|---|
void |
calculateAabbBruteForce(Vector3f aabbMin,
Vector3f aabbMax)
|
abstract VertexData |
getLockedReadOnlyVertexIndexBase(int subpart)
|
abstract VertexData |
getLockedVertexIndexBase(int subpart)
Get read and write access to a subpart of a triangle mesh. |
abstract int |
getNumSubParts()
getNumSubParts returns the number of seperate subparts. |
Vector3f |
getScaling(Vector3f out)
|
void |
internalProcessAllTriangles(InternalTriangleIndexCallback callback,
Vector3f aabbMin,
Vector3f aabbMax)
|
abstract void |
preallocateIndices(int numindices)
|
abstract void |
preallocateVertices(int numverts)
|
void |
setScaling(Vector3f scaling)
|
abstract void |
unLockReadOnlyVertexBase(int subpart)
|
abstract void |
unLockVertexBase(int subpart)
unLockVertexBase finishes the access to a subpart of the triangle mesh. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StridingMeshInterface()
Method Detail |
---|
public void internalProcessAllTriangles(InternalTriangleIndexCallback callback, Vector3f aabbMin, Vector3f aabbMax)
public void calculateAabbBruteForce(Vector3f aabbMin, Vector3f aabbMax)
public abstract VertexData getLockedVertexIndexBase(int subpart)
public abstract VertexData getLockedReadOnlyVertexIndexBase(int subpart)
public abstract void unLockVertexBase(int subpart)
public abstract void unLockReadOnlyVertexBase(int subpart)
public abstract int getNumSubParts()
public abstract void preallocateVertices(int numverts)
public abstract void preallocateIndices(int numindices)
public Vector3f getScaling(Vector3f out)
public void setScaling(Vector3f scaling)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |