#include <btMultiBodyConstraint.h>
|
| BT_DECLARE_ALIGNED_ALLOCATOR () |
|
| btMultiBodyConstraint (btMultiBody *bodyA, btMultiBody *bodyB, int linkA, int linkB, int numRows, bool isUnilateral, int type) |
|
virtual | ~btMultiBodyConstraint () |
|
void | updateJacobianSizes () |
|
void | allocateJacobiansMultiDof () |
|
int | getConstraintType () const |
|
virtual void | setFrameInB (const btMatrix3x3 &frameInB) |
|
virtual void | setPivotInB (const btVector3 &pivotInB) |
|
virtual void | finalizeMultiDof ()=0 |
|
virtual int | getIslandIdA () const =0 |
|
virtual int | getIslandIdB () const =0 |
|
virtual void | createConstraintRows (btMultiBodyConstraintArray &constraintRows, btMultiBodyJacobianData &data, const btContactSolverInfo &infoGlobal)=0 |
|
int | getNumRows () const |
|
btMultiBody * | getMultiBodyA () |
|
btMultiBody * | getMultiBodyB () |
|
int | getLinkA () const |
|
int | getLinkB () const |
|
void | internalSetAppliedImpulse (int dof, btScalar appliedImpulse) |
|
btScalar | getAppliedImpulse (int dof) |
|
btScalar | getPosition (int row) const |
|
void | setPosition (int row, btScalar pos) |
|
bool | isUnilateral () const |
|
btScalar * | jacobianA (int row) |
|
const btScalar * | jacobianA (int row) const |
|
btScalar * | jacobianB (int row) |
|
const btScalar * | jacobianB (int row) const |
|
btScalar | getMaxAppliedImpulse () const |
|
void | setMaxAppliedImpulse (btScalar maxImp) |
|
virtual void | debugDraw (class btIDebugDraw *drawer)=0 |
|
virtual void | setGearRatio (btScalar ratio) |
|
virtual void | setGearAuxLink (int gearAuxLink) |
|
virtual void | setRelativePositionTarget (btScalar relPosTarget) |
|
virtual void | setErp (btScalar erp) |
|
|
void | applyDeltaVee (btMultiBodyJacobianData &data, btScalar *delta_vee, btScalar impulse, int velocityIndex, int ndof) |
|
btScalar | fillMultiBodyConstraint (btMultiBodySolverConstraint &solverConstraint, btMultiBodyJacobianData &data, btScalar *jacOrgA, btScalar *jacOrgB, const btVector3 &constraintNormalAng, const btVector3 &constraintNormalLin, const btVector3 &posAworld, const btVector3 &posBworld, btScalar posError, const btContactSolverInfo &infoGlobal, btScalar lowerLimit, btScalar upperLimit, bool angConstraint=false, btScalar relaxation=1.f, bool isFriction=false, btScalar desiredVelocity=0, btScalar cfmSlip=0, btScalar damping=1.0) |
|
Definition at line 55 of file btMultiBodyConstraint.h.
◆ btMultiBodyConstraint()
btMultiBodyConstraint::btMultiBodyConstraint |
( |
btMultiBody * |
bodyA, |
|
|
btMultiBody * |
bodyB, |
|
|
int |
linkA, |
|
|
int |
linkB, |
|
|
int |
numRows, |
|
|
bool |
isUnilateral, |
|
|
int |
type |
|
) |
| |
◆ ~btMultiBodyConstraint()
btMultiBodyConstraint::~btMultiBodyConstraint |
( |
| ) |
|
|
virtual |
◆ allocateJacobiansMultiDof()
void btMultiBodyConstraint::allocateJacobiansMultiDof |
( |
| ) |
|
◆ applyDeltaVee()
◆ BT_DECLARE_ALIGNED_ALLOCATOR()
btMultiBodyConstraint::BT_DECLARE_ALIGNED_ALLOCATOR |
( |
| ) |
|
◆ createConstraintRows()
◆ debugDraw()
virtual void btMultiBodyConstraint::debugDraw |
( |
class btIDebugDraw * |
drawer | ) |
|
|
pure virtual |
◆ fillMultiBodyConstraint()
btScalar btMultiBodyConstraint::fillMultiBodyConstraint |
( |
btMultiBodySolverConstraint & |
solverConstraint, |
|
|
btMultiBodyJacobianData & |
data, |
|
|
btScalar * |
jacOrgA, |
|
|
btScalar * |
jacOrgB, |
|
|
const btVector3 & |
constraintNormalAng, |
|
|
const btVector3 & |
constraintNormalLin, |
|
|
const btVector3 & |
posAworld, |
|
|
const btVector3 & |
posBworld, |
|
|
btScalar |
posError, |
|
|
const btContactSolverInfo & |
infoGlobal, |
|
|
btScalar |
lowerLimit, |
|
|
btScalar |
upperLimit, |
|
|
bool |
angConstraint = false , |
|
|
btScalar |
relaxation = 1.f , |
|
|
bool |
isFriction = false , |
|
|
btScalar |
desiredVelocity = 0 , |
|
|
btScalar |
cfmSlip = 0 , |
|
|
btScalar |
damping = 1.0 |
|
) |
| |
|
protected |
◆ finalizeMultiDof()
virtual void btMultiBodyConstraint::finalizeMultiDof |
( |
| ) |
|
|
pure virtual |
◆ getAppliedImpulse()
btScalar btMultiBodyConstraint::getAppliedImpulse |
( |
int |
dof | ) |
|
|
inline |
◆ getConstraintType()
int btMultiBodyConstraint::getConstraintType |
( |
| ) |
const |
|
inline |
◆ getIslandIdA()
virtual int btMultiBodyConstraint::getIslandIdA |
( |
| ) |
const |
|
pure virtual |
◆ getIslandIdB()
virtual int btMultiBodyConstraint::getIslandIdB |
( |
| ) |
const |
|
pure virtual |
◆ getLinkA()
int btMultiBodyConstraint::getLinkA |
( |
| ) |
const |
|
inline |
◆ getLinkB()
int btMultiBodyConstraint::getLinkB |
( |
| ) |
const |
|
inline |
◆ getMaxAppliedImpulse()
btScalar btMultiBodyConstraint::getMaxAppliedImpulse |
( |
| ) |
const |
|
inline |
◆ getMultiBodyA()
◆ getMultiBodyB()
◆ getNumRows()
int btMultiBodyConstraint::getNumRows |
( |
| ) |
const |
|
inline |
◆ getPosition()
btScalar btMultiBodyConstraint::getPosition |
( |
int |
row | ) |
const |
|
inline |
◆ internalSetAppliedImpulse()
void btMultiBodyConstraint::internalSetAppliedImpulse |
( |
int |
dof, |
|
|
btScalar |
appliedImpulse |
|
) |
| |
|
inline |
◆ isUnilateral()
bool btMultiBodyConstraint::isUnilateral |
( |
| ) |
const |
|
inline |
◆ jacobianA() [1/2]
btScalar * btMultiBodyConstraint::jacobianA |
( |
int |
row | ) |
|
|
inline |
◆ jacobianA() [2/2]
const btScalar * btMultiBodyConstraint::jacobianA |
( |
int |
row | ) |
const |
|
inline |
◆ jacobianB() [1/2]
btScalar * btMultiBodyConstraint::jacobianB |
( |
int |
row | ) |
|
|
inline |
◆ jacobianB() [2/2]
const btScalar * btMultiBodyConstraint::jacobianB |
( |
int |
row | ) |
const |
|
inline |
◆ setErp()
virtual void btMultiBodyConstraint::setErp |
( |
btScalar |
erp | ) |
|
|
inlinevirtual |
◆ setFrameInB()
virtual void btMultiBodyConstraint::setFrameInB |
( |
const btMatrix3x3 & |
frameInB | ) |
|
|
inlinevirtual |
◆ setGearAuxLink()
virtual void btMultiBodyConstraint::setGearAuxLink |
( |
int |
gearAuxLink | ) |
|
|
inlinevirtual |
◆ setGearRatio()
virtual void btMultiBodyConstraint::setGearRatio |
( |
btScalar |
ratio | ) |
|
|
inlinevirtual |
◆ setMaxAppliedImpulse()
void btMultiBodyConstraint::setMaxAppliedImpulse |
( |
btScalar |
maxImp | ) |
|
|
inline |
◆ setPivotInB()
virtual void btMultiBodyConstraint::setPivotInB |
( |
const btVector3 & |
pivotInB | ) |
|
|
inlinevirtual |
◆ setPosition()
void btMultiBodyConstraint::setPosition |
( |
int |
row, |
|
|
btScalar |
pos |
|
) |
| |
|
inline |
◆ setRelativePositionTarget()
virtual void btMultiBodyConstraint::setRelativePositionTarget |
( |
btScalar |
relPosTarget | ) |
|
|
inlinevirtual |
◆ updateJacobianSizes()
void btMultiBodyConstraint::updateJacobianSizes |
( |
| ) |
|
◆ m_bodyA
◆ m_bodyB
◆ m_data
◆ m_isUnilateral
bool btMultiBodyConstraint::m_isUnilateral |
|
protected |
◆ m_jacSizeA
int btMultiBodyConstraint::m_jacSizeA |
|
protected |
◆ m_jacSizeBoth
int btMultiBodyConstraint::m_jacSizeBoth |
|
protected |
◆ m_linkA
int btMultiBodyConstraint::m_linkA |
|
protected |
◆ m_linkB
int btMultiBodyConstraint::m_linkB |
|
protected |
◆ m_maxAppliedImpulse
btScalar btMultiBodyConstraint::m_maxAppliedImpulse |
|
protected |
◆ m_numDofsFinalized
int btMultiBodyConstraint::m_numDofsFinalized |
|
protected |
◆ m_numRows
int btMultiBodyConstraint::m_numRows |
|
protected |
◆ m_posOffset
int btMultiBodyConstraint::m_posOffset |
|
protected |
◆ m_type
int btMultiBodyConstraint::m_type |
|
protected |
The documentation for this class was generated from the following files: