C# Class BulletCSharp.btSoftBody

Inheritance: IDisposable
Datei anzeigen Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
CollisionShapeSetMargin ( float margin ) : void
Dispose ( ) : void
GetCollisionObject ( ) : SWIGTYPE_p_btCollisionObject
GetNodeIndexFromFace ( Face face ) : SWIGTYPE_p_btVector3
PSolve_Anchors ( btSoftBody psb, float kst, float ti ) : void
PSolve_Links ( btSoftBody psb, float kst, float ti ) : void
PSolve_RContacts ( btSoftBody psb, float kst, float ti ) : void
PSolve_SContacts ( btSoftBody psb, float arg1, float ti ) : void
VSolve_Links ( btSoftBody psb, float kst ) : void
addAeroForceToFace ( SWIGTYPE_p_btVector3 windVelocity, int faceIndex ) : void
addAeroForceToNode ( SWIGTYPE_p_btVector3 windVelocity, int nodeIndex ) : void
addForce ( SWIGTYPE_p_btVector3 force ) : void
addForce ( SWIGTYPE_p_btVector3 force, int node ) : void
addVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
addVelocity ( SWIGTYPE_p_btVector3 velocity, int node ) : void
appendAnchor ( int node, SWIGTYPE_p_btRigidBody body ) : void
appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot ) : void
appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot, bool disableCollisionBetweenLinkedBodies ) : void
appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot, bool disableCollisionBetweenLinkedBodies, float influence ) : void
appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies ) : void
appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies, float influence ) : void
appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs ) : void
appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Body body ) : void
appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Cluster body0, Body body1 ) : void
appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, btSoftBody body ) : void
appendAngularJoint ( SWIGTYPE_p_btVector3 axis, Cluster body ) : void
appendAngularJoint ( SWIGTYPE_p_btVector3 axis, SWIGTYPE_p_btRigidBody rigidBody ) : void
appendAngularJoint ( SWIGTYPE_p_btVector3 axis, btSoftBody softbody ) : void
appendFace ( ) : void
appendFace ( int model ) : void
appendFace ( int model, Material mat ) : void
appendFace ( int node0, int node1, int node2 ) : void
appendFace ( int node0, int node1, int node2, Material mat ) : void
appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs ) : void
appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Body body ) : void
appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Cluster body0, Body body1 ) : void
appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, btSoftBody body ) : void
appendLinearJoint ( SWIGTYPE_p_btVector3 position, Cluster body ) : void
appendLinearJoint ( SWIGTYPE_p_btVector3 position, SWIGTYPE_p_btRigidBody rigidBody ) : void
appendLinearJoint ( SWIGTYPE_p_btVector3 position, btSoftBody softbody ) : void
appendLink ( ) : void
appendLink ( Node node0, Node node1 ) : void
appendLink ( Node node0, Node node1, Material mat ) : void
appendLink ( Node node0, Node node1, Material mat, bool bcheckexist ) : void
appendLink ( int model ) : void
appendLink ( int model, Material mat ) : void
appendLink ( int node0, int node1 ) : void
appendLink ( int node0, int node1, Material mat ) : void
appendLink ( int node0, int node1, Material mat, bool bcheckexist ) : void
appendMaterial ( ) : Material
appendNode ( SWIGTYPE_p_btVector3 x, float m ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, Face feature ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, Link feature ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, Node feature ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0 ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0, Node n1 ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0, Node n1, Node n2 ) : void
appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0, Node n1, Node n2, Node n3 ) : void
appendTetra ( int model, Material mat ) : void
appendTetra ( int node0, int node1, int node2, int node3 ) : void
appendTetra ( int node0, int node1, int node2, int node3, Material mat ) : void
applyClusters ( bool drift ) : void
applyForces ( ) : void
btSoftBody ( btSoftBodyWorldInfo worldInfo ) : System
btSoftBody ( btSoftBodyWorldInfo worldInfo, int node_count, SWIGTYPE_p_btVector3 x, SWIGTYPE_p_float m ) : System
calculateSerializeBufferSize ( ) : int
checkContact ( SWIGTYPE_p_btCollisionObjectWrapper colObjWrap, SWIGTYPE_p_btVector3 x, float margin, SWIGTYPE_p_btSoftBody__sCti cti ) : bool
checkFace ( int node0, int node1, int node2 ) : bool
checkLink ( Node node0, Node node1 ) : bool
checkLink ( int node0, int node1 ) : bool
cleanupClusters ( ) : void
clusterAImpulse ( Cluster cluster, Impulse impulse ) : void
clusterCom ( Cluster cluster ) : SWIGTYPE_p_btVector3
clusterCom ( int cluster ) : SWIGTYPE_p_btVector3
clusterCount ( ) : int
clusterDAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
clusterDCImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
clusterDImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
clusterImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, Impulse impulse ) : void
clusterVAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
clusterVImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
clusterVelocity ( Cluster cluster, SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
cutLink ( Node node0, Node node1, float position ) : bool
cutLink ( int node0, int node1, float position ) : bool
dampClusters ( ) : void
defaultCollisionHandler ( SWIGTYPE_p_btCollisionObjectWrapper pcoWrap ) : void
defaultCollisionHandler ( btSoftBody psb ) : void
evaluateCom ( ) : SWIGTYPE_p_btVector3
generateBendingConstraints ( int distance ) : int
generateBendingConstraints ( int distance, Material mat ) : int
generateClusters ( int k ) : int
generateClusters ( int k, int maxiterations ) : int
getAabb ( SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
getMass ( int node ) : float
getRestLengthScale ( ) : float
getSoftBodySolver ( ) : btSoftBodySolver
getSolver ( eVSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float__void
getSolver ( ePSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float_float__void
getTotalMass ( ) : float
getVolume ( ) : float
getWindVelocity ( ) : SWIGTYPE_p_btVector3
getWorldInfo ( ) : btSoftBodyWorldInfo
indicesToPointers ( ) : void
indicesToPointers ( SWIGTYPE_p_int map ) : void
initDefaults ( ) : void
initializeClusters ( ) : void
initializeFaceTree ( ) : void
integrateMotion ( ) : void
pointersToIndices ( ) : void
predictMotion ( float dt ) : void
prepareClusters ( int iterations ) : void
randomizeConstraints ( ) : void
rayTest ( SWIGTYPE_p_btVector3 rayFrom, SWIGTYPE_p_btVector3 rayTo, SWIGTYPE_p_btSoftBody__sRayCast results ) : bool
rayTest ( SWIGTYPE_p_btVector3 rayFrom, SWIGTYPE_p_btVector3 rayTo, SWIGTYPE_p_float mint, SWIGTYPE_p_btSoftBody__eFeature___ feature, SWIGTYPE_p_int index, bool bcountonly ) : int
refine ( SWIGTYPE_p_btSoftBody__ImplicitFn ifn, float accurary, bool cut ) : void
releaseCluster ( int index ) : void
releaseClusters ( ) : void
resetLinkRestLengths ( ) : void
rotate ( SWIGTYPE_p_btQuaternion rot ) : void
scale ( SWIGTYPE_p_btVector3 scl ) : void
serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
setCollisionShape ( SWIGTYPE_p_btCollisionShape collisionShape ) : void
setMass ( int node, float mass ) : void
setPose ( bool bvolume, bool bframe ) : void
setRestLengthScale ( float restLength ) : void
setSoftBodySolver ( btSoftBodySolver softBodySolver ) : void
setSolver ( SWIGTYPE_p_btSoftBody__eSolverPresets___ preset ) : void
setTotalDensity ( float density ) : void
setTotalMass ( float mass ) : void
setTotalMass ( float mass, bool fromfaces ) : void
setVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
setVolumeDensity ( float density ) : void
setVolumeMass ( float mass ) : void
setWindVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
solveClusters ( SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t bodies ) : void
solveClusters ( float sor ) : void
solveCommonConstraints ( SWIGTYPE_p_p_btSoftBody bodies, int count, int iterations ) : void
solveConstraints ( ) : void
staticSolve ( int iterations ) : void
transform ( SWIGTYPE_p_btTransform trs ) : void
translate ( SWIGTYPE_p_btVector3 trs ) : void
upcast ( SWIGTYPE_p_btCollisionObject colObj ) : btSoftBody
updateArea ( ) : void
updateArea ( bool averageArea ) : void
updateBounds ( ) : void
updateClusters ( ) : void
updateConstants ( ) : void
updateLinkConstants ( ) : void
updateNormals ( ) : void
updatePose ( ) : void

Private Methods

Method Description
btSoftBody ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btSoftBody obj ) : HandleRef

Method Details

CollisionShapeSetMargin() public method

public CollisionShapeSetMargin ( float margin ) : void
margin float
return void

Dispose() public method

public Dispose ( ) : void
return void

GetCollisionObject() public method

public GetCollisionObject ( ) : SWIGTYPE_p_btCollisionObject
return SWIGTYPE_p_btCollisionObject

GetNodeIndexFromFace() public method

public GetNodeIndexFromFace ( Face face ) : SWIGTYPE_p_btVector3
face Face
return SWIGTYPE_p_btVector3

PSolve_Anchors() public static method

public static PSolve_Anchors ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
return void

PSolve_Links() public static method

public static PSolve_Links ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
return void

PSolve_RContacts() public static method

public static PSolve_RContacts ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
return void

PSolve_SContacts() public static method

public static PSolve_SContacts ( btSoftBody psb, float arg1, float ti ) : void
psb btSoftBody
arg1 float
ti float
return void

VSolve_Links() public static method

public static VSolve_Links ( btSoftBody psb, float kst ) : void
psb btSoftBody
kst float
return void

addAeroForceToFace() public method

public addAeroForceToFace ( SWIGTYPE_p_btVector3 windVelocity, int faceIndex ) : void
windVelocity SWIGTYPE_p_btVector3
faceIndex int
return void

addAeroForceToNode() public method

public addAeroForceToNode ( SWIGTYPE_p_btVector3 windVelocity, int nodeIndex ) : void
windVelocity SWIGTYPE_p_btVector3
nodeIndex int
return void

addForce() public method

public addForce ( SWIGTYPE_p_btVector3 force ) : void
force SWIGTYPE_p_btVector3
return void

addForce() public method

public addForce ( SWIGTYPE_p_btVector3 force, int node ) : void
force SWIGTYPE_p_btVector3
node int
return void

addVelocity() public method

public addVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
return void

addVelocity() public method

public addVelocity ( SWIGTYPE_p_btVector3 velocity, int node ) : void
velocity SWIGTYPE_p_btVector3
node int
return void

appendAnchor() public method

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body ) : void
node int
body SWIGTYPE_p_btRigidBody
return void

appendAnchor() public method

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot ) : void
node int
body SWIGTYPE_p_btRigidBody
localPivot SWIGTYPE_p_btVector3
return void

appendAnchor() public method

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot, bool disableCollisionBetweenLinkedBodies ) : void
node int
body SWIGTYPE_p_btRigidBody
localPivot SWIGTYPE_p_btVector3
disableCollisionBetweenLinkedBodies bool
return void

appendAnchor() public method

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot, bool disableCollisionBetweenLinkedBodies, float influence ) : void
node int
body SWIGTYPE_p_btRigidBody
localPivot SWIGTYPE_p_btVector3
disableCollisionBetweenLinkedBodies bool
influence float
return void

appendAnchor() public method

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies ) : void
node int
body SWIGTYPE_p_btRigidBody
disableCollisionBetweenLinkedBodies bool
return void

appendAnchor() public method

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies, float influence ) : void
node int
body SWIGTYPE_p_btRigidBody
disableCollisionBetweenLinkedBodies bool
influence float
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs ) : void
specs SWIGTYPE_p_AJoint__Specs
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Body body ) : void
specs SWIGTYPE_p_AJoint__Specs
body Body
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Cluster body0, Body body1 ) : void
specs SWIGTYPE_p_AJoint__Specs
body0 Cluster
body1 Body
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, btSoftBody body ) : void
specs SWIGTYPE_p_AJoint__Specs
body btSoftBody
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, Cluster body ) : void
axis SWIGTYPE_p_btVector3
body Cluster
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, SWIGTYPE_p_btRigidBody rigidBody ) : void
axis SWIGTYPE_p_btVector3
rigidBody SWIGTYPE_p_btRigidBody
return void

appendAngularJoint() public method

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, btSoftBody softbody ) : void
axis SWIGTYPE_p_btVector3
softbody btSoftBody
return void

appendFace() public method

public appendFace ( ) : void
return void

appendFace() public method

public appendFace ( int model ) : void
model int
return void

appendFace() public method

public appendFace ( int model, Material mat ) : void
model int
mat Material
return void

appendFace() public method

public appendFace ( int node0, int node1, int node2 ) : void
node0 int
node1 int
node2 int
return void

appendFace() public method

public appendFace ( int node0, int node1, int node2, Material mat ) : void
node0 int
node1 int
node2 int
mat Material
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs ) : void
specs SWIGTYPE_p_LJoint__Specs
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Body body ) : void
specs SWIGTYPE_p_LJoint__Specs
body Body
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Cluster body0, Body body1 ) : void
specs SWIGTYPE_p_LJoint__Specs
body0 Cluster
body1 Body
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, btSoftBody body ) : void
specs SWIGTYPE_p_LJoint__Specs
body btSoftBody
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, Cluster body ) : void
position SWIGTYPE_p_btVector3
body Cluster
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, SWIGTYPE_p_btRigidBody rigidBody ) : void
position SWIGTYPE_p_btVector3
rigidBody SWIGTYPE_p_btRigidBody
return void

appendLinearJoint() public method

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, btSoftBody softbody ) : void
position SWIGTYPE_p_btVector3
softbody btSoftBody
return void

appendLink() public method

public appendLink ( ) : void
return void

appendLink() public method

public appendLink ( Node node0, Node node1 ) : void
node0 Node
node1 Node
return void

appendLink() public method

public appendLink ( Node node0, Node node1, Material mat ) : void
node0 Node
node1 Node
mat Material
return void

appendLink() public method

public appendLink ( Node node0, Node node1, Material mat, bool bcheckexist ) : void
node0 Node
node1 Node
mat Material
bcheckexist bool
return void

appendLink() public method

public appendLink ( int model ) : void
model int
return void

appendLink() public method

public appendLink ( int model, Material mat ) : void
model int
mat Material
return void

appendLink() public method

public appendLink ( int node0, int node1 ) : void
node0 int
node1 int
return void

appendLink() public method

public appendLink ( int node0, int node1, Material mat ) : void
node0 int
node1 int
mat Material
return void

appendLink() public method

public appendLink ( int node0, int node1, Material mat, bool bcheckexist ) : void
node0 int
node1 int
mat Material
bcheckexist bool
return void

appendMaterial() public method

public appendMaterial ( ) : Material
return Material

appendNode() public method

public appendNode ( SWIGTYPE_p_btVector3 x, float m ) : void
x SWIGTYPE_p_btVector3
m float
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o ) : void
text string
o SWIGTYPE_p_btVector3
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Face feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Face
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Link feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Link
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Node feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Node
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0 ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
n0 Node
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0, Node n1 ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
n0 Node
n1 Node
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0, Node n1, Node n2 ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
n0 Node
n1 Node
n2 Node
return void

appendNote() public method

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c, Node n0, Node n1, Node n2, Node n3 ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
n0 Node
n1 Node
n2 Node
n3 Node
return void

appendTetra() public method

public appendTetra ( int model, Material mat ) : void
model int
mat Material
return void

appendTetra() public method

public appendTetra ( int node0, int node1, int node2, int node3 ) : void
node0 int
node1 int
node2 int
node3 int
return void

appendTetra() public method

public appendTetra ( int node0, int node1, int node2, int node3, Material mat ) : void
node0 int
node1 int
node2 int
node3 int
mat Material
return void

applyClusters() public method

public applyClusters ( bool drift ) : void
drift bool
return void

applyForces() public method

public applyForces ( ) : void
return void

btSoftBody() public method

public btSoftBody ( btSoftBodyWorldInfo worldInfo ) : System
worldInfo btSoftBodyWorldInfo
return System

btSoftBody() public method

public btSoftBody ( btSoftBodyWorldInfo worldInfo, int node_count, SWIGTYPE_p_btVector3 x, SWIGTYPE_p_float m ) : System
worldInfo btSoftBodyWorldInfo
node_count int
x SWIGTYPE_p_btVector3
m SWIGTYPE_p_float
return System

calculateSerializeBufferSize() public method

public calculateSerializeBufferSize ( ) : int
return int

checkContact() public method

public checkContact ( SWIGTYPE_p_btCollisionObjectWrapper colObjWrap, SWIGTYPE_p_btVector3 x, float margin, SWIGTYPE_p_btSoftBody__sCti cti ) : bool
colObjWrap SWIGTYPE_p_btCollisionObjectWrapper
x SWIGTYPE_p_btVector3
margin float
cti SWIGTYPE_p_btSoftBody__sCti
return bool

checkFace() public method

public checkFace ( int node0, int node1, int node2 ) : bool
node0 int
node1 int
node2 int
return bool

checkLink() public method

public checkLink ( Node node0, Node node1 ) : bool
node0 Node
node1 Node
return bool

checkLink() public method

public checkLink ( int node0, int node1 ) : bool
node0 int
node1 int
return bool

cleanupClusters() public method

public cleanupClusters ( ) : void
return void

clusterAImpulse() public static method

public static clusterAImpulse ( Cluster cluster, Impulse impulse ) : void
cluster Cluster
impulse Impulse
return void

clusterCom() public static method

public static clusterCom ( Cluster cluster ) : SWIGTYPE_p_btVector3
cluster Cluster
return SWIGTYPE_p_btVector3

clusterCom() public method

public clusterCom ( int cluster ) : SWIGTYPE_p_btVector3
cluster int
return SWIGTYPE_p_btVector3

clusterCount() public method

public clusterCount ( ) : int
return int

clusterDAImpulse() public static method

public static clusterDAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
return void

clusterDCImpulse() public static method

public static clusterDCImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
return void

clusterDImpulse() public static method

public static clusterDImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse SWIGTYPE_p_btVector3
return void

clusterImpulse() public static method

public static clusterImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, Impulse impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse Impulse
return void

clusterVAImpulse() public static method

public static clusterVAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
return void

clusterVImpulse() public static method

public static clusterVImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse SWIGTYPE_p_btVector3
return void

clusterVelocity() public static method

public static clusterVelocity ( Cluster cluster, SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
cluster Cluster
rpos SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

cutLink() public method

public cutLink ( Node node0, Node node1, float position ) : bool
node0 Node
node1 Node
position float
return bool

cutLink() public method

public cutLink ( int node0, int node1, float position ) : bool
node0 int
node1 int
position float
return bool

dampClusters() public method

public dampClusters ( ) : void
return void

defaultCollisionHandler() public method

public defaultCollisionHandler ( SWIGTYPE_p_btCollisionObjectWrapper pcoWrap ) : void
pcoWrap SWIGTYPE_p_btCollisionObjectWrapper
return void

defaultCollisionHandler() public method

public defaultCollisionHandler ( btSoftBody psb ) : void
psb btSoftBody
return void

evaluateCom() public method

public evaluateCom ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

generateBendingConstraints() public method

public generateBendingConstraints ( int distance ) : int
distance int
return int

generateBendingConstraints() public method

public generateBendingConstraints ( int distance, Material mat ) : int
distance int
mat Material
return int

generateClusters() public method

public generateClusters ( int k ) : int
k int
return int

generateClusters() public method

public generateClusters ( int k, int maxiterations ) : int
k int
maxiterations int
return int

getAabb() public method

public getAabb ( SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
aabbMin SWIGTYPE_p_btVector3
aabbMax SWIGTYPE_p_btVector3
return void

getMass() public method

public getMass ( int node ) : float
node int
return float

getRestLengthScale() public method

public getRestLengthScale ( ) : float
return float

getSoftBodySolver() public method

public getSoftBodySolver ( ) : btSoftBodySolver
return btSoftBodySolver

getSolver() public static method

public static getSolver ( eVSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float__void
solver eVSolver
return SWIGTYPE_p_f_p_btSoftBody_float__void

getSolver() public static method

public static getSolver ( ePSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float_float__void
solver ePSolver
return SWIGTYPE_p_f_p_btSoftBody_float_float__void

getTotalMass() public method

public getTotalMass ( ) : float
return float

getVolume() public method

public getVolume ( ) : float
return float

getWindVelocity() public method

public getWindVelocity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

getWorldInfo() public method

public getWorldInfo ( ) : btSoftBodyWorldInfo
return btSoftBodyWorldInfo

indicesToPointers() public method

public indicesToPointers ( ) : void
return void

indicesToPointers() public method

public indicesToPointers ( SWIGTYPE_p_int map ) : void
map SWIGTYPE_p_int
return void

initDefaults() public method

public initDefaults ( ) : void
return void

initializeClusters() public method

public initializeClusters ( ) : void
return void

initializeFaceTree() public method

public initializeFaceTree ( ) : void
return void

integrateMotion() public method

public integrateMotion ( ) : void
return void

pointersToIndices() public method

public pointersToIndices ( ) : void
return void

predictMotion() public method

public predictMotion ( float dt ) : void
dt float
return void

prepareClusters() public method

public prepareClusters ( int iterations ) : void
iterations int
return void

randomizeConstraints() public method

public randomizeConstraints ( ) : void
return void

rayTest() public method

public rayTest ( SWIGTYPE_p_btVector3 rayFrom, SWIGTYPE_p_btVector3 rayTo, SWIGTYPE_p_btSoftBody__sRayCast results ) : bool
rayFrom SWIGTYPE_p_btVector3
rayTo SWIGTYPE_p_btVector3
results SWIGTYPE_p_btSoftBody__sRayCast
return bool

rayTest() public method

public rayTest ( SWIGTYPE_p_btVector3 rayFrom, SWIGTYPE_p_btVector3 rayTo, SWIGTYPE_p_float mint, SWIGTYPE_p_btSoftBody__eFeature___ feature, SWIGTYPE_p_int index, bool bcountonly ) : int
rayFrom SWIGTYPE_p_btVector3
rayTo SWIGTYPE_p_btVector3
mint SWIGTYPE_p_float
feature SWIGTYPE_p_btSoftBody__eFeature___
index SWIGTYPE_p_int
bcountonly bool
return int

refine() public method

public refine ( SWIGTYPE_p_btSoftBody__ImplicitFn ifn, float accurary, bool cut ) : void
ifn SWIGTYPE_p_btSoftBody__ImplicitFn
accurary float
cut bool
return void

releaseCluster() public method

public releaseCluster ( int index ) : void
index int
return void

releaseClusters() public method

public releaseClusters ( ) : void
return void

resetLinkRestLengths() public method

public resetLinkRestLengths ( ) : void
return void

rotate() public method

public rotate ( SWIGTYPE_p_btQuaternion rot ) : void
rot SWIGTYPE_p_btQuaternion
return void

scale() public method

public scale ( SWIGTYPE_p_btVector3 scl ) : void
scl SWIGTYPE_p_btVector3
return void

serialize() public method

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
return string

setCollisionShape() public method

public setCollisionShape ( SWIGTYPE_p_btCollisionShape collisionShape ) : void
collisionShape SWIGTYPE_p_btCollisionShape
return void

setMass() public method

public setMass ( int node, float mass ) : void
node int
mass float
return void

setPose() public method

public setPose ( bool bvolume, bool bframe ) : void
bvolume bool
bframe bool
return void

setRestLengthScale() public method

public setRestLengthScale ( float restLength ) : void
restLength float
return void

setSoftBodySolver() public method

public setSoftBodySolver ( btSoftBodySolver softBodySolver ) : void
softBodySolver btSoftBodySolver
return void

setSolver() public method

public setSolver ( SWIGTYPE_p_btSoftBody__eSolverPresets___ preset ) : void
preset SWIGTYPE_p_btSoftBody__eSolverPresets___
return void

setTotalDensity() public method

public setTotalDensity ( float density ) : void
density float
return void

setTotalMass() public method

public setTotalMass ( float mass ) : void
mass float
return void

setTotalMass() public method

public setTotalMass ( float mass, bool fromfaces ) : void
mass float
fromfaces bool
return void

setVelocity() public method

public setVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
return void

setVolumeDensity() public method

public setVolumeDensity ( float density ) : void
density float
return void

setVolumeMass() public method

public setVolumeMass ( float mass ) : void
mass float
return void

setWindVelocity() public method

public setWindVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
return void

solveClusters() public static method

public static solveClusters ( SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t bodies ) : void
bodies SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t
return void

solveClusters() public method

public solveClusters ( float sor ) : void
sor float
return void

solveCommonConstraints() public static method

public static solveCommonConstraints ( SWIGTYPE_p_p_btSoftBody bodies, int count, int iterations ) : void
bodies SWIGTYPE_p_p_btSoftBody
count int
iterations int
return void

solveConstraints() public method

public solveConstraints ( ) : void
return void

staticSolve() public method

public staticSolve ( int iterations ) : void
iterations int
return void

transform() public method

public transform ( SWIGTYPE_p_btTransform trs ) : void
trs SWIGTYPE_p_btTransform
return void

translate() public method

public translate ( SWIGTYPE_p_btVector3 trs ) : void
trs SWIGTYPE_p_btVector3
return void

upcast() public static method

public static upcast ( SWIGTYPE_p_btCollisionObject colObj ) : btSoftBody
colObj SWIGTYPE_p_btCollisionObject
return btSoftBody

updateArea() public method

public updateArea ( ) : void
return void

updateArea() public method

public updateArea ( bool averageArea ) : void
averageArea bool
return void

updateBounds() public method

public updateBounds ( ) : void
return void

updateClusters() public method

public updateClusters ( ) : void
return void

updateConstants() public method

public updateConstants ( ) : void
return void

updateLinkConstants() public method

public updateLinkConstants ( ) : void
return void

updateNormals() public method

public updateNormals ( ) : void
return void

updatePose() public method

public updatePose ( ) : void
return void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
return bool