Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btDeformableFaceRigidContactConstraint Class Reference

#include <btDeformableContactConstraint.h>

Inheritance diagram for btDeformableFaceRigidContactConstraint:
Inheritance graph
[legend]
Collaboration diagram for btDeformableFaceRigidContactConstraint:
Collaboration graph
[legend]

Public Member Functions

 btDeformableFaceRigidContactConstraint (const btSoftBody::DeformableFaceRigidContact &contact, const btContactSolverInfo &infoGlobal, bool useStrainLimiting)
 
 btDeformableFaceRigidContactConstraint (const btDeformableFaceRigidContactConstraint &other)
 
 btDeformableFaceRigidContactConstraint ()
 
virtual ~btDeformableFaceRigidContactConstraint ()
 
virtual btVector3 getVb () const
 
virtual btVector3 getSplitVb () const
 
virtual btVector3 getDv (const btSoftBody::Node *) const
 
const btSoftBody::DeformableFaceRigidContactgetContact () const
 
virtual void applyImpulse (const btVector3 &impulse)
 
virtual void applySplitImpulse (const btVector3 &impulse)
 
- Public Member Functions inherited from btDeformableRigidContactConstraint
 btDeformableRigidContactConstraint (const btSoftBody::DeformableRigidContact &c, const btContactSolverInfo &infoGlobal)
 
 btDeformableRigidContactConstraint (const btDeformableRigidContactConstraint &other)
 
 btDeformableRigidContactConstraint ()
 
virtual ~btDeformableRigidContactConstraint ()
 
virtual btVector3 getVa () const
 
virtual btVector3 getSplitVb () const =0
 
virtual btVector3 getSplitVa () const
 
virtual btScalar solveConstraint (const btContactSolverInfo &infoGlobal)
 
virtual void setPenetrationScale (btScalar scale)
 
btScalar solveSplitImpulse (const btContactSolverInfo &infoGlobal)
 
virtual void applySplitImpulse (const btVector3 &impulse)=0
 
- Public Member Functions inherited from btDeformableContactConstraint
 btDeformableContactConstraint (const btVector3 &normal, const btContactSolverInfo &infoGlobal)
 
 btDeformableContactConstraint (bool isStatic, const btVector3 &normal, const btContactSolverInfo &infoGlobal)
 
 btDeformableContactConstraint ()
 
 btDeformableContactConstraint (const btDeformableContactConstraint &other)
 
virtual ~btDeformableContactConstraint ()
 
virtual btScalar solveConstraint (const btContactSolverInfo &infoGlobal)=0
 
virtual btVector3 getVa () const =0
 
virtual btVector3 getVb () const =0
 
virtual btVector3 getDv (const btSoftBody::Node *) const =0
 
virtual void applyImpulse (const btVector3 &impulse)=0
 
virtual void setPenetrationScale (btScalar scale)=0
 

Public Attributes

btSoftBody::Facem_face
 
bool m_useStrainLimiting
 
- Public Attributes inherited from btDeformableRigidContactConstraint
btVector3 m_total_normal_dv
 
btVector3 m_total_tangent_dv
 
btScalar m_penetration
 
btScalar m_total_split_impulse
 
bool m_binding
 
const btSoftBody::DeformableRigidContactm_contact
 
- Public Attributes inherited from btDeformableContactConstraint
bool m_static
 
const btContactSolverInfom_infoGlobal
 
btVector3 m_normal
 

Detailed Description

Definition at line 216 of file btDeformableContactConstraint.h.

Constructor & Destructor Documentation

◆ btDeformableFaceRigidContactConstraint() [1/3]

btDeformableFaceRigidContactConstraint::btDeformableFaceRigidContactConstraint ( const btSoftBody::DeformableFaceRigidContact contact,
const btContactSolverInfo infoGlobal,
bool  useStrainLimiting 
)

Definition at line 451 of file btDeformableContactConstraint.cpp.

◆ btDeformableFaceRigidContactConstraint() [2/3]

btDeformableFaceRigidContactConstraint::btDeformableFaceRigidContactConstraint ( const btDeformableFaceRigidContactConstraint other)

Definition at line 456 of file btDeformableContactConstraint.cpp.

◆ btDeformableFaceRigidContactConstraint() [3/3]

btDeformableFaceRigidContactConstraint::btDeformableFaceRigidContactConstraint ( )
inline

Definition at line 223 of file btDeformableContactConstraint.h.

◆ ~btDeformableFaceRigidContactConstraint()

virtual btDeformableFaceRigidContactConstraint::~btDeformableFaceRigidContactConstraint ( )
inlinevirtual

Definition at line 224 of file btDeformableContactConstraint.h.

Member Function Documentation

◆ applyImpulse()

void btDeformableFaceRigidContactConstraint::applyImpulse ( const btVector3 impulse)
virtual

Implements btDeformableContactConstraint.

Definition at line 484 of file btDeformableContactConstraint.cpp.

◆ applySplitImpulse()

void btDeformableFaceRigidContactConstraint::applySplitImpulse ( const btVector3 impulse)
virtual

◆ getContact()

const btSoftBody::DeformableFaceRigidContact * btDeformableFaceRigidContactConstraint::getContact ( ) const
inline

Definition at line 238 of file btDeformableContactConstraint.h.

◆ getDv()

btVector3 btDeformableFaceRigidContactConstraint::getDv ( const btSoftBody::Node node) const
virtual

Implements btDeformableContactConstraint.

Definition at line 468 of file btDeformableContactConstraint.cpp.

◆ getSplitVb()

btVector3 btDeformableFaceRigidContactConstraint::getSplitVb ( ) const
virtual

◆ getVb()

btVector3 btDeformableFaceRigidContactConstraint::getVb ( ) const
virtual

Implements btDeformableContactConstraint.

Definition at line 461 of file btDeformableContactConstraint.cpp.

Member Data Documentation

◆ m_face

btSoftBody::Face* btDeformableFaceRigidContactConstraint::m_face

Definition at line 219 of file btDeformableContactConstraint.h.

◆ m_useStrainLimiting

bool btDeformableFaceRigidContactConstraint::m_useStrainLimiting

Definition at line 220 of file btDeformableContactConstraint.h.


The documentation for this class was generated from the following files: