Lines Matching defs:btSoftBody
15 ///btSoftBody implementation by Nathanael Presson
69 ///The btSoftBody is an class to simulate cloth and volumetric soft bodies.
70 ///There is two-way interaction between btSoftBody and btRigidBody/btCollisionObject.
71 class btSoftBody : public btCollisionObject
165 btSoftBody* body; /// soft body
442 if(m_soft) btSoftBody::clusterVImpulse(m_soft,rpos,impulse);
447 if(m_soft) btSoftBody::clusterDImpulse(m_soft,rpos,impulse);
465 if(m_soft) btSoftBody::clusterVAImpulse(m_soft,impulse);
470 if(m_soft) btSoftBody::clusterDAImpulse(m_soft,impulse);
480 if(m_soft) btSoftBody::clusterDCImpulse(m_soft,impulse);
630 typedef void (*psolver_t)(btSoftBody*,btScalar,btScalar);
631 typedef void (*vsolver_t)(btSoftBody*,btScalar);
644 typedef btAlignedObjectArray<btSoftBody*> tSoftBodyArray;
686 btSoftBody( btSoftBodyWorldInfo* worldInfo,int node_count, const btVector3* x, const btScalar* m);
689 btSoftBody( btSoftBodyWorldInfo* worldInfo);
694 virtual ~btSoftBody();
771 void appendLinearJoint(const LJoint::Specs& specs,btSoftBody* body);
775 void appendAngularJoint(const AJoint::Specs& specs,btSoftBody* body);
877 static void solveCommonConstraints(btSoftBody** bodies,int count,int iterations);
879 static void solveClusters(const btAlignedObjectArray<btSoftBody*>& bodies);
884 void defaultCollisionHandler(btSoftBody* psb);
933 static const btSoftBody* upcast(const btCollisionObject* colObj)
936 return (const btSoftBody*)colObj;
939 static btSoftBody* upcast(btCollisionObject* colObj)
942 return (btSoftBody*)colObj;
965 bool checkContact(const btCollisionObjectWrapper* colObjWrap,const btVector3& x,btScalar margin,btSoftBody::sCti& cti) const;
980 static void PSolve_Anchors(btSoftBody* psb,btScalar kst,btScalar ti);
981 static void PSolve_RContacts(btSoftBody* psb,btScalar kst,btScalar ti);
982 static void PSolve_SContacts(btSoftBody* psb,btScalar,btScalar ti);
983 static void PSolve_Links(btSoftBody* psb,btScalar kst,btScalar ti);
984 static void VSolve_Links(btSoftBody* psb,btScalar kst);