Blender V2.61 - r43446

btSoftBody::Body Struct Reference

#include <btSoftBody.h>

List of all members.

Public Member Functions

 Body ()
 Body (Cluster *p)
 Body (btCollisionObject *colObj)
void activate () const
const btMatrix3x3invWorldInertia () const
btScalar invMass () const
const btTransformxform () const
btVector3 linearVelocity () const
btVector3 angularVelocity (const btVector3 &rpos) const
btVector3 angularVelocity () const
btVector3 velocity (const btVector3 &rpos) const
void applyVImpulse (const btVector3 &impulse, const btVector3 &rpos) const
void applyDImpulse (const btVector3 &impulse, const btVector3 &rpos) const
void applyImpulse (const Impulse &impulse, const btVector3 &rpos) const
void applyVAImpulse (const btVector3 &impulse) const
void applyDAImpulse (const btVector3 &impulse) const
void applyAImpulse (const Impulse &impulse) const
void applyDCImpulse (const btVector3 &impulse) const

Public Attributes

Clusterm_soft
btRigidBodym_rigid
btCollisionObject * m_collisionObject

Detailed Description

Definition at line 369 of file btSoftBody.h.


Constructor & Destructor Documentation

btSoftBody::Body::Body ( ) [inline]

Definition at line 375 of file btSoftBody.h.

btSoftBody::Body::Body ( Cluster p) [inline]

Definition at line 376 of file btSoftBody.h.

btSoftBody::Body::Body ( btCollisionObject *  colObj) [inline]

Definition at line 377 of file btSoftBody.h.

References m_collisionObject, m_rigid, and btSoftBody::upcast().


Member Function Documentation

void btSoftBody::Body::activate ( ) const [inline]

Definition at line 382 of file btSoftBody.h.

References m_collisionObject, and m_rigid.

btVector3 btSoftBody::Body::angularVelocity ( const btVector3 &  rpos) const [inline]
btVector3 btSoftBody::Body::angularVelocity ( ) const [inline]

Definition at line 422 of file btSoftBody.h.

References btRigidBody::getAngularVelocity(), btSoftBody::Cluster::m_av, m_rigid, and m_soft.

Referenced by velocity().

void btSoftBody::Body::applyAImpulse ( const Impulse impulse) const [inline]
void btSoftBody::Body::applyDAImpulse ( const btVector3 &  impulse) const [inline]
void btSoftBody::Body::applyDCImpulse ( const btVector3 &  impulse) const [inline]
void btSoftBody::Body::applyDImpulse ( const btVector3 &  impulse,
const btVector3 &  rpos 
) const [inline]

Definition at line 437 of file btSoftBody.h.

References btRigidBody::applyImpulse(), btSoftBody::clusterDImpulse(), m_rigid, and m_soft.

Referenced by applyImpulse().

void btSoftBody::Body::applyImpulse ( const Impulse impulse,
const btVector3 &  rpos 
) const [inline]
void btSoftBody::Body::applyVAImpulse ( const btVector3 &  impulse) const [inline]
void btSoftBody::Body::applyVImpulse ( const btVector3 &  impulse,
const btVector3 &  rpos 
) const [inline]

Definition at line 432 of file btSoftBody.h.

References btRigidBody::applyImpulse(), btSoftBody::clusterVImpulse(), m_rigid, and m_soft.

Referenced by applyImpulse().

btScalar btSoftBody::Body::invMass ( ) const [inline]
const btMatrix3x3& btSoftBody::Body::invWorldInertia ( ) const [inline]
btVector3 btSoftBody::Body::linearVelocity ( ) const [inline]

Definition at line 410 of file btSoftBody.h.

References btRigidBody::getLinearVelocity(), btSoftBody::Cluster::m_lv, m_rigid, and m_soft.

Referenced by velocity().

btVector3 btSoftBody::Body::velocity ( const btVector3 &  rpos) const [inline]

Definition at line 428 of file btSoftBody.h.

References angularVelocity(), and linearVelocity().

Referenced by btSoftColliders::ClusterBase::SolveContact().


Member Data Documentation

Definition at line 373 of file btSoftBody.h.

Referenced by activate(), Body(), and xform().


The documentation for this struct was generated from the following file: