@NoOffset @Properties(inherit=BulletSoftBody.class) public class btDefaultSoftBodySolver extends btSoftBodySolver
btSoftBodySolver.SolverTypes
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
btDefaultSoftBodySolver() |
btDefaultSoftBodySolver(long size)
Native array allocator.
|
btDefaultSoftBodySolver(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkInitialized()
Ensure that this solver is initialized.
|
void |
copyBackToSoftBodies() |
void |
copyBackToSoftBodies(boolean bMove)
Copy necessary data back to the original soft body source objects.
|
void |
copySoftBodyToVertexBuffer(btSoftBody softBody,
btVertexBufferDescriptor vertexBuffer) |
btDefaultSoftBodySolver |
getPointer(long i) |
btSoftBodySolver.SolverTypes |
getSolverType()
Return the type of the solver.
|
void |
optimize(btSoftBodyArray softBodies) |
void |
optimize(btSoftBodyArray softBodies,
boolean forceUpdate)
Optimize soft bodies in this solver.
|
btDefaultSoftBodySolver |
position(long position) |
void |
predictMotion(double solverdt)
Predict motion of soft bodies into next timestep
|
void |
processCollision(btSoftBody arg0,
btCollisionObjectWrapper arg1)
Process a collision between one of the world's soft bodies and another collision object
|
void |
processCollision(btSoftBody arg0,
btSoftBody arg1)
Process a collision between two soft bodies
|
void |
solveConstraints(double solverdt)
Solve constraints for a set of soft bodies
|
void |
updateSoftBodies()
Perform necessary per-step updates of soft bodies such as recomputing normals and bounding boxes
|
getNumberOfPositionIterations, getNumberOfVelocityIterations, getTimeScale, setNumberOfPositionIterations, setNumberOfVelocityIterations
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public btDefaultSoftBodySolver(Pointer p)
Pointer(Pointer)
.public btDefaultSoftBodySolver(long size)
Pointer.position(long)
.public btDefaultSoftBodySolver()
public btDefaultSoftBodySolver position(long position)
public btDefaultSoftBodySolver getPointer(long i)
getPointer
in class Pointer
@ByVal public btSoftBodySolver.SolverTypes getSolverType()
btSoftBodySolver
getSolverType
in class btSoftBodySolver
@Cast(value="bool") public boolean checkInitialized()
btSoftBodySolver
checkInitialized
in class btSoftBodySolver
public void updateSoftBodies()
btSoftBodySolver
updateSoftBodies
in class btSoftBodySolver
public void optimize(@ByRef btSoftBodyArray softBodies, @Cast(value="bool") boolean forceUpdate)
btSoftBodySolver
optimize
in class btSoftBodySolver
public void optimize(@ByRef btSoftBodyArray softBodies)
optimize
in class btSoftBodySolver
public void copyBackToSoftBodies(@Cast(value="bool") boolean bMove)
btSoftBodySolver
copyBackToSoftBodies
in class btSoftBodySolver
public void copyBackToSoftBodies()
copyBackToSoftBodies
in class btSoftBodySolver
public void solveConstraints(@Cast(value="btScalar") double solverdt)
btSoftBodySolver
solveConstraints
in class btSoftBodySolver
public void predictMotion(@Cast(value="btScalar") double solverdt)
btSoftBodySolver
predictMotion
in class btSoftBodySolver
public void copySoftBodyToVertexBuffer(@Const btSoftBody softBody, btVertexBufferDescriptor vertexBuffer)
public void processCollision(btSoftBody arg0, @Const btCollisionObjectWrapper arg1)
btSoftBodySolver
processCollision
in class btSoftBodySolver
public void processCollision(btSoftBody arg0, btSoftBody arg1)
btSoftBodySolver
processCollision
in class btSoftBodySolver
Copyright © 2024. All rights reserved.