C# Класс BulletCSharp.btSoftBody

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
swigCMemOwn bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
btSoftBody ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( btSoftBody obj ) : HandleRef

Описание методов

CollisionShapeSetMargin() публичный метод

public CollisionShapeSetMargin ( float margin ) : void
margin float
Результат void

Dispose() публичный метод

public Dispose ( ) : void
Результат void

GetCollisionObject() публичный метод

public GetCollisionObject ( ) : SWIGTYPE_p_btCollisionObject
Результат SWIGTYPE_p_btCollisionObject

GetNodeIndexFromFace() публичный метод

public GetNodeIndexFromFace ( Face face ) : SWIGTYPE_p_btVector3
face Face
Результат SWIGTYPE_p_btVector3

PSolve_Anchors() публичный статический метод

public static PSolve_Anchors ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
Результат void

PSolve_Links() публичный статический метод

public static PSolve_Links ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
Результат void

PSolve_RContacts() публичный статический метод

public static PSolve_RContacts ( btSoftBody psb, float kst, float ti ) : void
psb btSoftBody
kst float
ti float
Результат void

PSolve_SContacts() публичный статический метод

public static PSolve_SContacts ( btSoftBody psb, float arg1, float ti ) : void
psb btSoftBody
arg1 float
ti float
Результат void

VSolve_Links() публичный статический метод

public static VSolve_Links ( btSoftBody psb, float kst ) : void
psb btSoftBody
kst float
Результат void

addAeroForceToFace() публичный метод

public addAeroForceToFace ( SWIGTYPE_p_btVector3 windVelocity, int faceIndex ) : void
windVelocity SWIGTYPE_p_btVector3
faceIndex int
Результат void

addAeroForceToNode() публичный метод

public addAeroForceToNode ( SWIGTYPE_p_btVector3 windVelocity, int nodeIndex ) : void
windVelocity SWIGTYPE_p_btVector3
nodeIndex int
Результат void

addForce() публичный метод

public addForce ( SWIGTYPE_p_btVector3 force ) : void
force SWIGTYPE_p_btVector3
Результат void

addForce() публичный метод

public addForce ( SWIGTYPE_p_btVector3 force, int node ) : void
force SWIGTYPE_p_btVector3
node int
Результат void

addVelocity() публичный метод

public addVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
Результат void

addVelocity() публичный метод

public addVelocity ( SWIGTYPE_p_btVector3 velocity, int node ) : void
velocity SWIGTYPE_p_btVector3
node int
Результат void

appendAnchor() публичный метод

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body ) : void
node int
body SWIGTYPE_p_btRigidBody
Результат void

appendAnchor() публичный метод

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, SWIGTYPE_p_btVector3 localPivot ) : void
node int
body SWIGTYPE_p_btRigidBody
localPivot SWIGTYPE_p_btVector3
Результат void

appendAnchor() публичный метод

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
Результат void

appendAnchor() публичный метод

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
Результат void

appendAnchor() публичный метод

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies ) : void
node int
body SWIGTYPE_p_btRigidBody
disableCollisionBetweenLinkedBodies bool
Результат void

appendAnchor() публичный метод

public appendAnchor ( int node, SWIGTYPE_p_btRigidBody body, bool disableCollisionBetweenLinkedBodies, float influence ) : void
node int
body SWIGTYPE_p_btRigidBody
disableCollisionBetweenLinkedBodies bool
influence float
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs ) : void
specs SWIGTYPE_p_AJoint__Specs
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Body body ) : void
specs SWIGTYPE_p_AJoint__Specs
body Body
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, Cluster body0, Body body1 ) : void
specs SWIGTYPE_p_AJoint__Specs
body0 Cluster
body1 Body
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_AJoint__Specs specs, btSoftBody body ) : void
specs SWIGTYPE_p_AJoint__Specs
body btSoftBody
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, Cluster body ) : void
axis SWIGTYPE_p_btVector3
body Cluster
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, SWIGTYPE_p_btRigidBody rigidBody ) : void
axis SWIGTYPE_p_btVector3
rigidBody SWIGTYPE_p_btRigidBody
Результат void

appendAngularJoint() публичный метод

public appendAngularJoint ( SWIGTYPE_p_btVector3 axis, btSoftBody softbody ) : void
axis SWIGTYPE_p_btVector3
softbody btSoftBody
Результат void

appendFace() публичный метод

public appendFace ( ) : void
Результат void

appendFace() публичный метод

public appendFace ( int model ) : void
model int
Результат void

appendFace() публичный метод

public appendFace ( int model, Material mat ) : void
model int
mat Material
Результат void

appendFace() публичный метод

public appendFace ( int node0, int node1, int node2 ) : void
node0 int
node1 int
node2 int
Результат void

appendFace() публичный метод

public appendFace ( int node0, int node1, int node2, Material mat ) : void
node0 int
node1 int
node2 int
mat Material
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs ) : void
specs SWIGTYPE_p_LJoint__Specs
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Body body ) : void
specs SWIGTYPE_p_LJoint__Specs
body Body
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, Cluster body0, Body body1 ) : void
specs SWIGTYPE_p_LJoint__Specs
body0 Cluster
body1 Body
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_LJoint__Specs specs, btSoftBody body ) : void
specs SWIGTYPE_p_LJoint__Specs
body btSoftBody
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, Cluster body ) : void
position SWIGTYPE_p_btVector3
body Cluster
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, SWIGTYPE_p_btRigidBody rigidBody ) : void
position SWIGTYPE_p_btVector3
rigidBody SWIGTYPE_p_btRigidBody
Результат void

appendLinearJoint() публичный метод

public appendLinearJoint ( SWIGTYPE_p_btVector3 position, btSoftBody softbody ) : void
position SWIGTYPE_p_btVector3
softbody btSoftBody
Результат void

appendLink() публичный метод

public appendLink ( ) : void
Результат void

appendLink() публичный метод

public appendLink ( Node node0, Node node1 ) : void
node0 Node
node1 Node
Результат void

appendLink() публичный метод

public appendLink ( Node node0, Node node1, Material mat ) : void
node0 Node
node1 Node
mat Material
Результат void

appendLink() публичный метод

public appendLink ( Node node0, Node node1, Material mat, bool bcheckexist ) : void
node0 Node
node1 Node
mat Material
bcheckexist bool
Результат void

appendLink() публичный метод

public appendLink ( int model ) : void
model int
Результат void

appendLink() публичный метод

public appendLink ( int model, Material mat ) : void
model int
mat Material
Результат void

appendLink() публичный метод

public appendLink ( int node0, int node1 ) : void
node0 int
node1 int
Результат void

appendLink() публичный метод

public appendLink ( int node0, int node1, Material mat ) : void
node0 int
node1 int
mat Material
Результат void

appendLink() публичный метод

public appendLink ( int node0, int node1, Material mat, bool bcheckexist ) : void
node0 int
node1 int
mat Material
bcheckexist bool
Результат void

appendMaterial() публичный метод

public appendMaterial ( ) : Material
Результат Material

appendNode() публичный метод

public appendNode ( SWIGTYPE_p_btVector3 x, float m ) : void
x SWIGTYPE_p_btVector3
m float
Результат void

appendNote() публичный метод

public appendNote ( string text, SWIGTYPE_p_btVector3 o ) : void
text string
o SWIGTYPE_p_btVector3
Результат void

appendNote() публичный метод

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Face feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Face
Результат void

appendNote() публичный метод

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Link feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Link
Результат void

appendNote() публичный метод

public appendNote ( string text, SWIGTYPE_p_btVector3 o, Node feature ) : void
text string
o SWIGTYPE_p_btVector3
feature Node
Результат void

appendNote() публичный метод

public appendNote ( string text, SWIGTYPE_p_btVector3 o, SWIGTYPE_p_btVector4 c ) : void
text string
o SWIGTYPE_p_btVector3
c SWIGTYPE_p_btVector4
Результат void

appendNote() публичный метод

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
Результат void

appendNote() публичный метод

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
Результат void

appendNote() публичный метод

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
Результат void

appendNote() публичный метод

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
Результат void

appendTetra() публичный метод

public appendTetra ( int model, Material mat ) : void
model int
mat Material
Результат void

appendTetra() публичный метод

public appendTetra ( int node0, int node1, int node2, int node3 ) : void
node0 int
node1 int
node2 int
node3 int
Результат void

appendTetra() публичный метод

public appendTetra ( int node0, int node1, int node2, int node3, Material mat ) : void
node0 int
node1 int
node2 int
node3 int
mat Material
Результат void

applyClusters() публичный метод

public applyClusters ( bool drift ) : void
drift bool
Результат void

applyForces() публичный метод

public applyForces ( ) : void
Результат void

btSoftBody() публичный метод

public btSoftBody ( btSoftBodyWorldInfo worldInfo ) : System
worldInfo btSoftBodyWorldInfo
Результат System

btSoftBody() публичный метод

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
Результат System

calculateSerializeBufferSize() публичный метод

public calculateSerializeBufferSize ( ) : int
Результат int

checkContact() публичный метод

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
Результат bool

checkFace() публичный метод

public checkFace ( int node0, int node1, int node2 ) : bool
node0 int
node1 int
node2 int
Результат bool

checkLink() публичный метод

public checkLink ( Node node0, Node node1 ) : bool
node0 Node
node1 Node
Результат bool

checkLink() публичный метод

public checkLink ( int node0, int node1 ) : bool
node0 int
node1 int
Результат bool

cleanupClusters() публичный метод

public cleanupClusters ( ) : void
Результат void

clusterAImpulse() публичный статический метод

public static clusterAImpulse ( Cluster cluster, Impulse impulse ) : void
cluster Cluster
impulse Impulse
Результат void

clusterCom() публичный статический метод

public static clusterCom ( Cluster cluster ) : SWIGTYPE_p_btVector3
cluster Cluster
Результат SWIGTYPE_p_btVector3

clusterCom() публичный метод

public clusterCom ( int cluster ) : SWIGTYPE_p_btVector3
cluster int
Результат SWIGTYPE_p_btVector3

clusterCount() публичный метод

public clusterCount ( ) : int
Результат int

clusterDAImpulse() публичный статический метод

public static clusterDAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
Результат void

clusterDCImpulse() публичный статический метод

public static clusterDCImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
Результат void

clusterDImpulse() публичный статический метод

public static clusterDImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse SWIGTYPE_p_btVector3
Результат void

clusterImpulse() публичный статический метод

public static clusterImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, Impulse impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse Impulse
Результат void

clusterVAImpulse() публичный статический метод

public static clusterVAImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
impulse SWIGTYPE_p_btVector3
Результат void

clusterVImpulse() публичный статический метод

public static clusterVImpulse ( Cluster cluster, SWIGTYPE_p_btVector3 rpos, SWIGTYPE_p_btVector3 impulse ) : void
cluster Cluster
rpos SWIGTYPE_p_btVector3
impulse SWIGTYPE_p_btVector3
Результат void

clusterVelocity() публичный статический метод

public static clusterVelocity ( Cluster cluster, SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
cluster Cluster
rpos SWIGTYPE_p_btVector3
Результат SWIGTYPE_p_btVector3

cutLink() публичный метод

public cutLink ( Node node0, Node node1, float position ) : bool
node0 Node
node1 Node
position float
Результат bool

cutLink() публичный метод

public cutLink ( int node0, int node1, float position ) : bool
node0 int
node1 int
position float
Результат bool

dampClusters() публичный метод

public dampClusters ( ) : void
Результат void

defaultCollisionHandler() публичный метод

public defaultCollisionHandler ( SWIGTYPE_p_btCollisionObjectWrapper pcoWrap ) : void
pcoWrap SWIGTYPE_p_btCollisionObjectWrapper
Результат void

defaultCollisionHandler() публичный метод

public defaultCollisionHandler ( btSoftBody psb ) : void
psb btSoftBody
Результат void

evaluateCom() публичный метод

public evaluateCom ( ) : SWIGTYPE_p_btVector3
Результат SWIGTYPE_p_btVector3

generateBendingConstraints() публичный метод

public generateBendingConstraints ( int distance ) : int
distance int
Результат int

generateBendingConstraints() публичный метод

public generateBendingConstraints ( int distance, Material mat ) : int
distance int
mat Material
Результат int

generateClusters() публичный метод

public generateClusters ( int k ) : int
k int
Результат int

generateClusters() публичный метод

public generateClusters ( int k, int maxiterations ) : int
k int
maxiterations int
Результат int

getAabb() публичный метод

public getAabb ( SWIGTYPE_p_btVector3 aabbMin, SWIGTYPE_p_btVector3 aabbMax ) : void
aabbMin SWIGTYPE_p_btVector3
aabbMax SWIGTYPE_p_btVector3
Результат void

getMass() публичный метод

public getMass ( int node ) : float
node int
Результат float

getRestLengthScale() публичный метод

public getRestLengthScale ( ) : float
Результат float

getSoftBodySolver() публичный метод

public getSoftBodySolver ( ) : btSoftBodySolver
Результат btSoftBodySolver

getSolver() публичный статический метод

public static getSolver ( eVSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float__void
solver eVSolver
Результат SWIGTYPE_p_f_p_btSoftBody_float__void

getSolver() публичный статический метод

public static getSolver ( ePSolver solver ) : SWIGTYPE_p_f_p_btSoftBody_float_float__void
solver ePSolver
Результат SWIGTYPE_p_f_p_btSoftBody_float_float__void

getTotalMass() публичный метод

public getTotalMass ( ) : float
Результат float

getVolume() публичный метод

public getVolume ( ) : float
Результат float

getWindVelocity() публичный метод

public getWindVelocity ( ) : SWIGTYPE_p_btVector3
Результат SWIGTYPE_p_btVector3

getWorldInfo() публичный метод

public getWorldInfo ( ) : btSoftBodyWorldInfo
Результат btSoftBodyWorldInfo

indicesToPointers() публичный метод

public indicesToPointers ( ) : void
Результат void

indicesToPointers() публичный метод

public indicesToPointers ( SWIGTYPE_p_int map ) : void
map SWIGTYPE_p_int
Результат void

initDefaults() публичный метод

public initDefaults ( ) : void
Результат void

initializeClusters() публичный метод

public initializeClusters ( ) : void
Результат void

initializeFaceTree() публичный метод

public initializeFaceTree ( ) : void
Результат void

integrateMotion() публичный метод

public integrateMotion ( ) : void
Результат void

pointersToIndices() публичный метод

public pointersToIndices ( ) : void
Результат void

predictMotion() публичный метод

public predictMotion ( float dt ) : void
dt float
Результат void

prepareClusters() публичный метод

public prepareClusters ( int iterations ) : void
iterations int
Результат void

randomizeConstraints() публичный метод

public randomizeConstraints ( ) : void
Результат void

rayTest() публичный метод

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
Результат bool

rayTest() публичный метод

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
Результат int

refine() публичный метод

public refine ( SWIGTYPE_p_btSoftBody__ImplicitFn ifn, float accurary, bool cut ) : void
ifn SWIGTYPE_p_btSoftBody__ImplicitFn
accurary float
cut bool
Результат void

releaseCluster() публичный метод

public releaseCluster ( int index ) : void
index int
Результат void

releaseClusters() публичный метод

public releaseClusters ( ) : void
Результат void

resetLinkRestLengths() публичный метод

public resetLinkRestLengths ( ) : void
Результат void

rotate() публичный метод

public rotate ( SWIGTYPE_p_btQuaternion rot ) : void
rot SWIGTYPE_p_btQuaternion
Результат void

scale() публичный метод

public scale ( SWIGTYPE_p_btVector3 scl ) : void
scl SWIGTYPE_p_btVector3
Результат void

serialize() публичный метод

public serialize ( SWIGTYPE_p_void dataBuffer, SWIGTYPE_p_btSerializer serializer ) : string
dataBuffer SWIGTYPE_p_void
serializer SWIGTYPE_p_btSerializer
Результат string

setCollisionShape() публичный метод

public setCollisionShape ( SWIGTYPE_p_btCollisionShape collisionShape ) : void
collisionShape SWIGTYPE_p_btCollisionShape
Результат void

setMass() публичный метод

public setMass ( int node, float mass ) : void
node int
mass float
Результат void

setPose() публичный метод

public setPose ( bool bvolume, bool bframe ) : void
bvolume bool
bframe bool
Результат void

setRestLengthScale() публичный метод

public setRestLengthScale ( float restLength ) : void
restLength float
Результат void

setSoftBodySolver() публичный метод

public setSoftBodySolver ( btSoftBodySolver softBodySolver ) : void
softBodySolver btSoftBodySolver
Результат void

setSolver() публичный метод

public setSolver ( SWIGTYPE_p_btSoftBody__eSolverPresets___ preset ) : void
preset SWIGTYPE_p_btSoftBody__eSolverPresets___
Результат void

setTotalDensity() публичный метод

public setTotalDensity ( float density ) : void
density float
Результат void

setTotalMass() публичный метод

public setTotalMass ( float mass ) : void
mass float
Результат void

setTotalMass() публичный метод

public setTotalMass ( float mass, bool fromfaces ) : void
mass float
fromfaces bool
Результат void

setVelocity() публичный метод

public setVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
Результат void

setVolumeDensity() публичный метод

public setVolumeDensity ( float density ) : void
density float
Результат void

setVolumeMass() публичный метод

public setVolumeMass ( float mass ) : void
mass float
Результат void

setWindVelocity() публичный метод

public setWindVelocity ( SWIGTYPE_p_btVector3 velocity ) : void
velocity SWIGTYPE_p_btVector3
Результат void

solveClusters() публичный статический метод

public static solveClusters ( SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t bodies ) : void
bodies SWIGTYPE_p_btAlignedObjectArrayT_btSoftBody_p_t
Результат void

solveClusters() публичный метод

public solveClusters ( float sor ) : void
sor float
Результат void

solveCommonConstraints() публичный статический метод

public static solveCommonConstraints ( SWIGTYPE_p_p_btSoftBody bodies, int count, int iterations ) : void
bodies SWIGTYPE_p_p_btSoftBody
count int
iterations int
Результат void

solveConstraints() публичный метод

public solveConstraints ( ) : void
Результат void

staticSolve() публичный метод

public staticSolve ( int iterations ) : void
iterations int
Результат void

transform() публичный метод

public transform ( SWIGTYPE_p_btTransform trs ) : void
trs SWIGTYPE_p_btTransform
Результат void

translate() публичный метод

public translate ( SWIGTYPE_p_btVector3 trs ) : void
trs SWIGTYPE_p_btVector3
Результат void

upcast() публичный статический метод

public static upcast ( SWIGTYPE_p_btCollisionObject colObj ) : btSoftBody
colObj SWIGTYPE_p_btCollisionObject
Результат btSoftBody

updateArea() публичный метод

public updateArea ( ) : void
Результат void

updateArea() публичный метод

public updateArea ( bool averageArea ) : void
averageArea bool
Результат void

updateBounds() публичный метод

public updateBounds ( ) : void
Результат void

updateClusters() публичный метод

public updateClusters ( ) : void
Результат void

updateConstants() публичный метод

public updateConstants ( ) : void
Результат void

updateLinkConstants() публичный метод

public updateLinkConstants ( ) : void
Результат void

updateNormals() публичный метод

public updateNormals ( ) : void
Результат void

updatePose() публичный метод

public updatePose ( ) : void
Результат void

Описание свойств

swigCMemOwn защищенное свойство

protected bool swigCMemOwn
Результат bool