C# Class BulletCSharp.btSoftBody

Inheritance: IDisposable
Afficher le fichier Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Свойство Type Description
swigCMemOwn bool

Méthodes publiques

Méthode 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

Méthode Description
btSoftBody ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btSoftBody obj ) : HandleRef

Method Details

CollisionShapeSetMargin() public méthode

public CollisionShapeSetMargin ( float margin ) : void
margin float
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetCollisionObject() public méthode

public GetCollisionObject ( ) : SWIGTYPE_p_btCollisionObject
Résultat SWIGTYPE_p_btCollisionObject

GetNodeIndexFromFace() public méthode

public GetNodeIndexFromFace ( Face face ) : SWIGTYPE_p_btVector3
face Face
Résultat SWIGTYPE_p_btVector3

PSolve_Anchors() public static méthode

public static PSolve_Anchors ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
Résultat void

PSolve_Links() public static méthode

public static PSolve_Links ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
Résultat void

PSolve_RContacts() public static méthode

public static PSolve_RContacts ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
Résultat void

PSolve_SContacts() public static méthode

public static PSolve_SContacts ( btSoftBody psb, float arg1, float ti ) : void
psb btSoftBody
arg1 float
ti float
Résultat void

VSolve_Links() public static méthode

public static VSolve_Links ( btSoftBody psb, float kst ) : void
psb btSoftBody
kst float
Résultat void

addAeroForceToFace() public méthode

public addAeroForceToFace ( SWIGTYPE_p_btVector3 windVelocity, int faceIndex ) : void
windVelocity SWIGTYPE_p_btVector3
faceIndex int
Résultat void

addAeroForceToNode() public méthode

public addAeroForceToNode ( SWIGTYPE_p_btVector3 windVelocity, int nodeIndex ) : void
windVelocity SWIGTYPE_p_btVector3
nodeIndex int
Résultat void

addForce() public méthode

public addForce ( SWIGTYPE_p_btVector3 force ) : void
force SWIGTYPE_p_btVector3
Résultat void

addForce() public méthode

public addForce ( SWIGTYPE_p_btVector3 force, int node ) : void
force SWIGTYPE_p_btVector3
node int
Résultat void

addVelocity() public méthode

public addVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
Résultat void

addVelocity() public méthode

public addVelocity ( SWIGTYPE_p_btVector3 velocity, int node ) : void
velocity SWIGTYPE_p_btVector3
node int
Résultat void

appendAnchor() public méthode

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body ) : void
node int
body SWIGTYPE_p_btRigidBody
Résultat void

appendAnchor() public méthode

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot ) : void
node int
body SWIGTYPE_p_btRigidBody
localPivot SWIGTYPE_p_btVector3
Résultat void

appendAnchor() public méthode

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
Résultat void

appendAnchor() public méthode

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
Résultat void

appendAnchor() public méthode

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies ) : void
node int
body SWIGTYPE_p_btRigidBody
disableCollisionBetweenLinkedBodies bool
Résultat void

appendAnchor() public méthode

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies, float influence ) : void
node int
body SWIGTYPE_p_btRigidBody
disableCollisionBetweenLinkedBodies bool
influence float
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs ) : void
specs SWIGTYPE_p_AJoint__Specs
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Body body ) : void
specs SWIGTYPE_p_AJoint__Specs
body Body
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Cluster body0, Body body1 ) : void
specs SWIGTYPE_p_AJoint__Specs
body0 Cluster
body1 Body
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, btSoftBody body ) : void
specs SWIGTYPE_p_AJoint__Specs
body btSoftBody
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, Cluster body ) : void
axis SWIGTYPE_p_btVector3
body Cluster
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, SWIGTYPE_p_btRigidBody rigidBody ) : void
axis SWIGTYPE_p_btVector3
rigidBody SWIGTYPE_p_btRigidBody
Résultat void

appendAngularJoint() public méthode

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, btSoftBody softbody ) : void
axis SWIGTYPE_p_btVector3
softbody btSoftBody
Résultat void

appendFace() public méthode

public appendFace ( ) : void
Résultat void

appendFace() public méthode

public appendFace ( int model ) : void
model int
Résultat void

appendFace() public méthode

public appendFace ( int model, Material mat ) : void
model int
mat Material
Résultat void

appendFace() public méthode

public appendFace ( int node0, int node1, int node2 ) : void
node0 int
node1 int
node2 int
Résultat void

appendFace() public méthode

public appendFace ( int node0, int node1, int node2, Material mat ) : void
node0 int
node1 int
node2 int
mat Material
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs ) : void
specs SWIGTYPE_p_LJoint__Specs
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Body body ) : void
specs SWIGTYPE_p_LJoint__Specs
body Body
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Cluster body0, Body body1 ) : void
specs SWIGTYPE_p_LJoint__Specs
body0 Cluster
body1 Body
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, btSoftBody body ) : void
specs SWIGTYPE_p_LJoint__Specs
body btSoftBody
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, Cluster body ) : void
position SWIGTYPE_p_btVector3
body Cluster
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, SWIGTYPE_p_btRigidBody rigidBody ) : void
position SWIGTYPE_p_btVector3
rigidBody SWIGTYPE_p_btRigidBody
Résultat void

appendLinearJoint() public méthode

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, btSoftBody softbody ) : void
position SWIGTYPE_p_btVector3
softbody btSoftBody
Résultat void

appendLink() public méthode

public appendLink ( ) : void
Résultat void

appendLink() public méthode

public appendLink ( Node node0, Node node1 ) : void
node0 Node
node1 Node
Résultat void

appendLink() public méthode

public appendLink ( Node node0, Node node1, Material mat ) : void
node0 Node
node1 Node
mat Material
Résultat void

appendLink() public méthode

public appendLink ( Node node0, Node node1, Material mat, bool bcheckexist ) : void
node0 Node
node1 Node
mat Material
bcheckexist bool
Résultat void

appendLink() public méthode

public appendLink ( int model ) : void
model int
Résultat void

appendLink() public méthode

public appendLink ( int model, Material mat ) : void
model int
mat Material
Résultat void

appendLink() public méthode

public appendLink ( int node0, int node1 ) : void
node0 int
node1 int
Résultat void

appendLink() public méthode

public appendLink ( int node0, int node1, Material mat ) : void
node0 int
node1 int
mat Material
Résultat void

appendLink() public méthode

public appendLink ( int node0, int node1, Material mat, bool bcheckexist ) : void
node0 int
node1 int
mat Material
bcheckexist bool
Résultat void

appendMaterial() public méthode

public appendMaterial ( ) : Material
Résultat Material

appendNode() public méthode

public appendNode ( SWIGTYPE_p_btVector3 x, float m ) : void
x SWIGTYPE_p_btVector3
m float
Résultat void

appendNote() public méthode

public appendNote ( string text, SWIGTYPE_p_btVector3 o ) : void
text string
o SWIGTYPE_p_btVector3
Résultat void

appendNote() public méthode

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Face feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Face
Résultat void

appendNote() public méthode

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Link feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Link
Résultat void

appendNote() public méthode

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Node feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Node
Résultat void

appendNote() public méthode

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
Résultat void

appendNote() public méthode

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
Résultat void

appendNote() public méthode

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
Résultat void

appendNote() public méthode

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
Résultat void

appendNote() public méthode

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
Résultat void

appendTetra() public méthode

public appendTetra ( int model, Material mat ) : void
model int
mat Material
Résultat void

appendTetra() public méthode

public appendTetra ( int node0, int node1, int node2, int node3 ) : void
node0 int
node1 int
node2 int
node3 int
Résultat void

appendTetra() public méthode

public appendTetra ( int node0, int node1, int node2, int node3, Material mat ) : void
node0 int
node1 int
node2 int
node3 int
mat Material
Résultat void

applyClusters() public méthode

public applyClusters ( bool drift ) : void
drift bool
Résultat void

applyForces() public méthode

public applyForces ( ) : void
Résultat void

btSoftBody() public méthode

public btSoftBody ( btSoftBodyWorldInfo worldInfo ) : System
worldInfo btSoftBodyWorldInfo
Résultat System

btSoftBody() public méthode

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
Résultat System

calculateSerializeBufferSize() public méthode

public calculateSerializeBufferSize ( ) : int
Résultat int

checkContact() public méthode

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
Résultat bool

checkFace() public méthode

public checkFace ( int node0, int node1, int node2 ) : bool
node0 int
node1 int
node2 int
Résultat bool

checkLink() public méthode

public checkLink ( Node node0, Node node1 ) : bool
node0 Node
node1 Node
Résultat bool

checkLink() public méthode

public checkLink ( int node0, int node1 ) : bool
node0 int
node1 int
Résultat bool

cleanupClusters() public méthode

public cleanupClusters ( ) : void
Résultat void

clusterAImpulse() public static méthode

public static clusterAImpulse ( Cluster cluster, Impulse impulse ) : void
cluster Cluster
impulse Impulse
Résultat void

clusterCom() public static méthode

public static clusterCom ( Cluster cluster ) : SWIGTYPE_p_btVector3
cluster Cluster
Résultat SWIGTYPE_p_btVector3

clusterCom() public méthode

public clusterCom ( int cluster ) : SWIGTYPE_p_btVector3
cluster int
Résultat SWIGTYPE_p_btVector3

clusterCount() public méthode

public clusterCount ( ) : int
Résultat int

clusterDAImpulse() public static méthode

public static clusterDAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
Résultat void

clusterDCImpulse() public static méthode

public static clusterDCImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
Résultat void

clusterDImpulse() public static méthode

public static clusterDImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse SWIGTYPE_p_btVector3
Résultat void

clusterImpulse() public static méthode

public static clusterImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, Impulse impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse Impulse
Résultat void

clusterVAImpulse() public static méthode

public static clusterVAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
Résultat void

clusterVImpulse() public static méthode

public static clusterVImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse SWIGTYPE_p_btVector3
Résultat void

clusterVelocity() public static méthode

public static clusterVelocity ( Cluster cluster, SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
cluster Cluster
rpos SWIGTYPE_p_btVector3
Résultat SWIGTYPE_p_btVector3

cutLink() public méthode

public cutLink ( Node node0, Node node1, float position ) : bool
node0 Node
node1 Node
position float
Résultat bool

cutLink() public méthode

public cutLink ( int node0, int node1, float position ) : bool
node0 int
node1 int
position float
Résultat bool

dampClusters() public méthode

public dampClusters ( ) : void
Résultat void

defaultCollisionHandler() public méthode

public defaultCollisionHandler ( SWIGTYPE_p_btCollisionObjectWrapper pcoWrap ) : void
pcoWrap SWIGTYPE_p_btCollisionObjectWrapper
Résultat void

defaultCollisionHandler() public méthode

public defaultCollisionHandler ( btSoftBody psb ) : void
psb btSoftBody
Résultat void

evaluateCom() public méthode

public evaluateCom ( ) : SWIGTYPE_p_btVector3
Résultat SWIGTYPE_p_btVector3

generateBendingConstraints() public méthode

public generateBendingConstraints ( int distance ) : int
distance int
Résultat int

generateBendingConstraints() public méthode

public generateBendingConstraints ( int distance, Material mat ) : int
distance int
mat Material
Résultat int

generateClusters() public méthode

public generateClusters ( int k ) : int
k int
Résultat int

generateClusters() public méthode

public generateClusters ( int k, int maxiterations ) : int
k int
maxiterations int
Résultat int

getAabb() public méthode

public getAabb ( SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
aabbMin SWIGTYPE_p_btVector3
aabbMax SWIGTYPE_p_btVector3
Résultat void

getMass() public méthode

public getMass ( int node ) : float
node int
Résultat float

getRestLengthScale() public méthode

public getRestLengthScale ( ) : float
Résultat float

getSoftBodySolver() public méthode

public getSoftBodySolver ( ) : btSoftBodySolver
Résultat btSoftBodySolver

getSolver() public static méthode

public static getSolver ( eVSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float__void
solver eVSolver
Résultat SWIGTYPE_p_f_p_btSoftBody_float__void

getSolver() public static méthode

public static getSolver ( ePSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float_float__void
solver ePSolver
Résultat SWIGTYPE_p_f_p_btSoftBody_float_float__void

getTotalMass() public méthode

public getTotalMass ( ) : float
Résultat float

getVolume() public méthode

public getVolume ( ) : float
Résultat float

getWindVelocity() public méthode

public getWindVelocity ( ) : SWIGTYPE_p_btVector3
Résultat SWIGTYPE_p_btVector3

getWorldInfo() public méthode

public getWorldInfo ( ) : btSoftBodyWorldInfo
Résultat btSoftBodyWorldInfo

indicesToPointers() public méthode

public indicesToPointers ( ) : void
Résultat void

indicesToPointers() public méthode

public indicesToPointers ( SWIGTYPE_p_int map ) : void
map SWIGTYPE_p_int
Résultat void

initDefaults() public méthode

public initDefaults ( ) : void
Résultat void

initializeClusters() public méthode

public initializeClusters ( ) : void
Résultat void

initializeFaceTree() public méthode

public initializeFaceTree ( ) : void
Résultat void

integrateMotion() public méthode

public integrateMotion ( ) : void
Résultat void

pointersToIndices() public méthode

public pointersToIndices ( ) : void
Résultat void

predictMotion() public méthode

public predictMotion ( float dt ) : void
dt float
Résultat void

prepareClusters() public méthode

public prepareClusters ( int iterations ) : void
iterations int
Résultat void

randomizeConstraints() public méthode

public randomizeConstraints ( ) : void
Résultat void

rayTest() public méthode

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
Résultat bool

rayTest() public méthode

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
Résultat int

refine() public méthode

public refine ( SWIGTYPE_p_btSoftBody__ImplicitFn ifn, float accurary, bool cut ) : void
ifn SWIGTYPE_p_btSoftBody__ImplicitFn
accurary float
cut bool
Résultat void

releaseCluster() public méthode

public releaseCluster ( int index ) : void
index int
Résultat void

releaseClusters() public méthode

public releaseClusters ( ) : void
Résultat void

resetLinkRestLengths() public méthode

public resetLinkRestLengths ( ) : void
Résultat void

rotate() public méthode

public rotate ( SWIGTYPE_p_btQuaternion rot ) : void
rot SWIGTYPE_p_btQuaternion
Résultat void

scale() public méthode

public scale ( SWIGTYPE_p_btVector3 scl ) : void
scl SWIGTYPE_p_btVector3
Résultat void

serialize() public méthode

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
Résultat string

setCollisionShape() public méthode

public setCollisionShape ( SWIGTYPE_p_btCollisionShape collisionShape ) : void
collisionShape SWIGTYPE_p_btCollisionShape
Résultat void

setMass() public méthode

public setMass ( int node, float mass ) : void
node int
mass float
Résultat void

setPose() public méthode

public setPose ( bool bvolume, bool bframe ) : void
bvolume bool
bframe bool
Résultat void

setRestLengthScale() public méthode

public setRestLengthScale ( float restLength ) : void
restLength float
Résultat void

setSoftBodySolver() public méthode

public setSoftBodySolver ( btSoftBodySolver softBodySolver ) : void
softBodySolver btSoftBodySolver
Résultat void

setSolver() public méthode

public setSolver ( SWIGTYPE_p_btSoftBody__eSolverPresets___ preset ) : void
preset SWIGTYPE_p_btSoftBody__eSolverPresets___
Résultat void

setTotalDensity() public méthode

public setTotalDensity ( float density ) : void
density float
Résultat void

setTotalMass() public méthode

public setTotalMass ( float mass ) : void
mass float
Résultat void

setTotalMass() public méthode

public setTotalMass ( float mass, bool fromfaces ) : void
mass float
fromfaces bool
Résultat void

setVelocity() public méthode

public setVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
Résultat void

setVolumeDensity() public méthode

public setVolumeDensity ( float density ) : void
density float
Résultat void

setVolumeMass() public méthode

public setVolumeMass ( float mass ) : void
mass float
Résultat void

setWindVelocity() public méthode

public setWindVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
Résultat void

solveClusters() public static méthode

public static solveClusters ( SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t bodies ) : void
bodies SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t
Résultat void

solveClusters() public méthode

public solveClusters ( float sor ) : void
sor float
Résultat void

solveCommonConstraints() public static méthode

public static solveCommonConstraints ( SWIGTYPE_p_p_btSoftBody bodies, int count, int iterations ) : void
bodies SWIGTYPE_p_p_btSoftBody
count int
iterations int
Résultat void

solveConstraints() public méthode

public solveConstraints ( ) : void
Résultat void

staticSolve() public méthode

public staticSolve ( int iterations ) : void
iterations int
Résultat void

transform() public méthode

public transform ( SWIGTYPE_p_btTransform trs ) : void
trs SWIGTYPE_p_btTransform
Résultat void

translate() public méthode

public translate ( SWIGTYPE_p_btVector3 trs ) : void
trs SWIGTYPE_p_btVector3
Résultat void

upcast() public static méthode

public static upcast ( SWIGTYPE_p_btCollisionObject colObj ) : btSoftBody
colObj SWIGTYPE_p_btCollisionObject
Résultat btSoftBody

updateArea() public méthode

public updateArea ( ) : void
Résultat void

updateArea() public méthode

public updateArea ( bool averageArea ) : void
averageArea bool
Résultat void

updateBounds() public méthode

public updateBounds ( ) : void
Résultat void

updateClusters() public méthode

public updateClusters ( ) : void
Résultat void

updateConstants() public méthode

public updateConstants ( ) : void
Résultat void

updateLinkConstants() public méthode

public updateLinkConstants ( ) : void
Résultat void

updateNormals() public méthode

public updateNormals ( ) : void
Résultat void

updatePose() public méthode

public updatePose ( ) : void
Résultat void

Property Details

swigCMemOwn protected_oe property

protected bool swigCMemOwn
Résultat bool