@NoOffset @Properties(inherit=BulletSoftBody.class) public class btDeformableMassSpringForce extends btDeformableLagrangianForce
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
btDeformableMassSpringForce() |
btDeformableMassSpringForce(double k,
double d) |
btDeformableMassSpringForce(double k,
double d,
boolean conserve_angular,
double bending_k) |
btDeformableMassSpringForce(long size)
Native array allocator.
|
btDeformableMassSpringForce(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addScaledDampingForce(double scale,
btVector3Array force) |
void |
addScaledDampingForceDifferential(double scale,
btVector3Array dv,
btVector3Array df) |
void |
addScaledElasticForce(double scale,
btVector3Array force) |
void |
addScaledElasticForceDifferential(double scale,
btVector3Array dx,
btVector3Array df) |
void |
addScaledExplicitForce(double scale,
btVector3Array force) |
void |
addScaledForces(double scale,
btVector3Array force) |
void |
buildDampingForceDifferentialDiagonal(double scale,
btVector3Array diagA) |
int |
getForceType() |
btDeformableMassSpringForce |
getPointer(long i) |
btDeformableMassSpringForce |
position(long position) |
double |
totalDampingEnergy(double dt) |
double |
totalElasticEnergy(double dt) |
addScaledHessian, addSoftBody, Ds, DsFromVelocity, getNumNodes, m_nodes, m_nodes, m_softBodies, m_softBodies, reinitialize, removeSoftBody, setIndices, testDerivative, testHessian, totalEnergyaddress, 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 btDeformableMassSpringForce(Pointer p)
Pointer(Pointer).public btDeformableMassSpringForce(long size)
Pointer.position(long).public btDeformableMassSpringForce()
public btDeformableMassSpringForce(@Cast(value="btScalar") double k, @Cast(value="btScalar") double d, @Cast(value="bool") boolean conserve_angular, double bending_k)
public btDeformableMassSpringForce position(long position)
public btDeformableMassSpringForce getPointer(long i)
getPointer in class Pointerpublic void addScaledForces(@Cast(value="btScalar") double scale, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array force)
addScaledForces in class btDeformableLagrangianForcepublic void addScaledExplicitForce(@Cast(value="btScalar") double scale, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array force)
addScaledExplicitForce in class btDeformableLagrangianForcepublic void addScaledDampingForce(@Cast(value="btScalar") double scale, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array force)
addScaledDampingForce in class btDeformableLagrangianForcepublic void addScaledElasticForce(@Cast(value="btScalar") double scale, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array force)
public void addScaledDampingForceDifferential(@Cast(value="btScalar") double scale, @Cast(value="const btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array dv, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array df)
addScaledDampingForceDifferential in class btDeformableLagrangianForcepublic void buildDampingForceDifferentialDiagonal(@Cast(value="btScalar") double scale, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array diagA)
buildDampingForceDifferentialDiagonal in class btDeformableLagrangianForcepublic double totalElasticEnergy(@Cast(value="btScalar") double dt)
totalElasticEnergy in class btDeformableLagrangianForcepublic double totalDampingEnergy(@Cast(value="btScalar") double dt)
totalDampingEnergy in class btDeformableLagrangianForcepublic void addScaledElasticForceDifferential(@Cast(value="btScalar") double scale, @Cast(value="const btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array dx, @Cast(value="btDeformableMassSpringForce::TVStack*") @ByRef btVector3Array df)
addScaledElasticForceDifferential in class btDeformableLagrangianForce@Cast(value="btDeformableLagrangianForceType") public int getForceType()
getForceType in class btDeformableLagrangianForceCopyright © 2024. All rights reserved.