@NoOffset @Properties(inherit=BulletSoftBody.class) public class btDefaultSoftBodySolver extends btSoftBodySolver
btSoftBodySolver.SolverTypesPointer.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, setNumberOfVelocityIterationsaddress, 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, zeropublic 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()
btSoftBodySolvergetSolverType in class btSoftBodySolver@Cast(value="bool") public boolean checkInitialized()
btSoftBodySolvercheckInitialized in class btSoftBodySolverpublic void updateSoftBodies()
btSoftBodySolverupdateSoftBodies in class btSoftBodySolverpublic void optimize(@ByRef btSoftBodyArray softBodies, @Cast(value="bool") boolean forceUpdate)
btSoftBodySolveroptimize in class btSoftBodySolverpublic void optimize(@ByRef btSoftBodyArray softBodies)
optimize in class btSoftBodySolverpublic void copyBackToSoftBodies(@Cast(value="bool") boolean bMove)
btSoftBodySolvercopyBackToSoftBodies in class btSoftBodySolverpublic void copyBackToSoftBodies()
copyBackToSoftBodies in class btSoftBodySolverpublic void solveConstraints(@Cast(value="btScalar") double solverdt)
btSoftBodySolversolveConstraints in class btSoftBodySolverpublic void predictMotion(@Cast(value="btScalar") double solverdt)
btSoftBodySolverpredictMotion in class btSoftBodySolverpublic void copySoftBodyToVertexBuffer(@Const btSoftBody softBody, btVertexBufferDescriptor vertexBuffer)
public void processCollision(btSoftBody arg0, @Const btCollisionObjectWrapper arg1)
btSoftBodySolverprocessCollision in class btSoftBodySolverpublic void processCollision(btSoftBody arg0, btSoftBody arg1)
btSoftBodySolverprocessCollision in class btSoftBodySolverCopyright © 2024. All rights reserved.