Bullet Collision Detection & Physics Library: btDeformableFaceNodeContactConstraint Class Reference

Bullet Collision Detection & Physics Library

Public Member Functions | Public Attributes | List of all members
btDeformableFaceNodeContactConstraint Class Reference

`#include <btDeformableContactConstraint.h>`

Inheritance diagram for btDeformableFaceNodeContactConstraint:
[legend]
Collaboration diagram for btDeformableFaceNodeContactConstraint:
[legend]

## Public Member Functions
| btDeformableFaceNodeContactConstraint (const btSoftBody::DeformableFaceNodeContact &contact, const btContactSolverInfo &infoGlobal)
| btDeformableFaceNodeContactConstraint ()
virtual | ~btDeformableFaceNodeContactConstraint ()
virtual btScalar | solveConstraint (const btContactSolverInfo &infoGlobal)
virtual btVector3 | getVa () const
virtual btVector3 | getVb () const
virtual btVector3 | getDv (const btSoftBody::Node *) const
const btSoftBody::DeformableFaceNodeContact * | getContact () const
virtual void | applyImpulse (const btVector3 &impulse)
virtual void | setPenetrationScale (btScalar scale)
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 ()

## Public Attributes
btSoftBody::Node * | m_node
btSoftBody::Face * | m_face
const btSoftBody::DeformableFaceNodeContact * | m_contact
btVector3 | m_total_normal_dv
btVector3 | m_total_tangent_dv
Public Attributes inherited from btDeformableContactConstraint
bool | m_static
const btContactSolverInfo * | m_infoGlobal
btVector3 | m_normal

## Detailed Description

Definition at line 250 of file btDeformableContactConstraint.h.

## Constructor & Destructor Documentation

## ◆ btDeformableFaceNodeContactConstraint() [1/2]

btDeformableFaceNodeContactConstraint::btDeformableFaceNodeContactConstraint | ( | const btSoftBody::DeformableFaceNodeContact & | contact,
|  | const btContactSolverInfo & | infoGlobal )

Definition at line 593 of file btDeformableContactConstraint.cpp.

## ◆ btDeformableFaceNodeContactConstraint() [2/2]

btDeformableFaceNodeContactConstraint::btDeformableFaceNodeContactConstraint | ( |  | ) |
| inline

Definition at line 260 of file btDeformableContactConstraint.h.

## ◆ ~btDeformableFaceNodeContactConstraint()

virtual btDeformableFaceNodeContactConstraint::~btDeformableFaceNodeContactConstraint | ( |  | ) |
| inlinevirtual

Definition at line 261 of file btDeformableContactConstraint.h.

## Member Function Documentation

## ◆ applyImpulse()

void btDeformableFaceNodeContactConstraint::applyImpulse | ( | const btVector3 & | impulse | ) |
| virtual

Implements btDeformableContactConstraint.

Definition at line 691 of file btDeformableContactConstraint.cpp.

## ◆ getContact()

const btSoftBody::DeformableFaceNodeContact * btDeformableFaceNodeContactConstraint::getContact | ( |  | ) | const
| inline

Definition at line 275 of file btDeformableContactConstraint.h.

## ◆ getDv()

btVector3 btDeformableFaceNodeContactConstraint::getDv | ( | const btSoftBody::Node * | n | ) | const
| virtual

Implements btDeformableContactConstraint.

Definition at line 612 of file btDeformableContactConstraint.cpp.

## ◆ getVa()

btVector3 btDeformableFaceNodeContactConstraint::getVa | ( |  | ) | const
| virtual

Implements btDeformableContactConstraint.

Definition at line 600 of file btDeformableContactConstraint.cpp.

## ◆ getVb()

btVector3 btDeformableFaceNodeContactConstraint::getVb | ( |  | ) | const
| virtual

Implements btDeformableContactConstraint.

Definition at line 605 of file btDeformableContactConstraint.cpp.

## ◆ setPenetrationScale()

virtual void btDeformableFaceNodeContactConstraint::setPenetrationScale | ( | btScalar | scale | ) |
| inlinevirtual

Implements btDeformableContactConstraint.

Definition at line 282 of file btDeformableContactConstraint.h.

## ◆ solveConstraint()

btScalar btDeformableFaceNodeContactConstraint::solveConstraint | ( | const btContactSolverInfo & | infoGlobal | ) |
| virtual

Implements btDeformableContactConstraint.

Definition at line 630 of file btDeformableContactConstraint.cpp.

## Member Data Documentation

## ◆ m_contact

const btSoftBody::DeformableFaceNodeContact* btDeformableFaceNodeContactConstraint::m_contact

Definition at line 255 of file btDeformableContactConstraint.h.

## ◆ m_face

btSoftBody::Face* btDeformableFaceNodeContactConstraint::m_face

Definition at line 254 of file btDeformableContactConstraint.h.

## ◆ m_node

btSoftBody::Node* btDeformableFaceNodeContactConstraint::m_node

Definition at line 253 of file btDeformableContactConstraint.h.

## ◆ m_total_normal_dv

btVector3 btDeformableFaceNodeContactConstraint::m_total_normal_dv

Definition at line 256 of file btDeformableContactConstraint.h.

## ◆ m_total_tangent_dv

btVector3 btDeformableFaceNodeContactConstraint::m_total_tangent_dv

Definition at line 257 of file btDeformableContactConstraint.h.

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

- btDeformableContactConstraint.h
- btDeformableContactConstraint.cpp