point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocket' location in local space More...
#include <btPoint2PointConstraint.h>


Public Member Functions | |
| btPoint2PointConstraint (btRigidBody &rbA, btRigidBody &rbB, const btVector3 &pivotInA, const btVector3 &pivotInB) | |
| btPoint2PointConstraint (btRigidBody &rbA, const btVector3 &pivotInA) | |
| virtual void | buildJacobian () |
| internal method used by the constraint solver, don't use them directly | |
| virtual void | getInfo1 (btConstraintInfo1 *info) |
| internal method used by the constraint solver, don't use them directly | |
| void | getInfo1NonVirtual (btConstraintInfo1 *info) |
| virtual void | getInfo2 (btConstraintInfo2 *info) |
| internal method used by the constraint solver, don't use them directly | |
| void | getInfo2NonVirtual (btConstraintInfo2 *info, const btTransform &body0_trans, const btTransform &body1_trans) |
| void | updateRHS (btScalar timeStep) |
| void | setPivotA (const btVector3 &pivotA) |
| void | setPivotB (const btVector3 &pivotB) |
| const btVector3 & | getPivotInA () const |
| const btVector3 & | getPivotInB () const |
| virtual void | setParam (int num, btScalar value, int axis=-1) |
| override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5). | |
| virtual btScalar | getParam (int num, int axis=-1) const |
| return the local value of parameter | |
| virtual int | calculateSerializeBufferSize () const |
| virtual const char * | serialize (void *dataBuffer, btSerializer *serializer) const |
| fills the dataBuffer and returns the struct name (and 0 on failure) | |
Public Attributes | |
| bool | m_useSolveConstraintObsolete |
| for backwards compatibility during the transition to 'getInfo/getInfo2' | |
| btConstraintSetting | m_setting |
Private Attributes | |
| btJacobianEntry | m_jac [3] |
| btVector3 | m_pivotInA |
| btVector3 | m_pivotInB |
| int | m_flags |
| btScalar | m_erp |
| btScalar | m_cfm |
point to point constraint between two rigidbodies each with a pivotpoint that descibes the 'ballsocket' location in local space
Definition at line 54 of file btPoint2PointConstraint.h.
| btPoint2PointConstraint::btPoint2PointConstraint | ( | btRigidBody & | rbA, | |
| btRigidBody & | rbB, | |||
| const btVector3 & | pivotInA, | |||
| const btVector3 & | pivotInB | |||
| ) |
Definition at line 25 of file btPoint2PointConstraint.cpp.
| btPoint2PointConstraint::btPoint2PointConstraint | ( | btRigidBody & | rbA, | |
| const btVector3 & | pivotInA | |||
| ) |
Definition at line 34 of file btPoint2PointConstraint.cpp.
| void btPoint2PointConstraint::buildJacobian | ( | ) | [virtual] |
internal method used by the constraint solver, don't use them directly
we need it for both methods
Reimplemented from btTypedConstraint.
Definition at line 42 of file btPoint2PointConstraint.cpp.
| SIMD_FORCE_INLINE int btPoint2PointConstraint::calculateSerializeBufferSize | ( | ) | const [virtual] |
Reimplemented from btTypedConstraint.
Definition at line 143 of file btPoint2PointConstraint.h.
| void btPoint2PointConstraint::getInfo1 | ( | btConstraintInfo1 * | info | ) | [virtual] |
internal method used by the constraint solver, don't use them directly
Implements btTypedConstraint.
Definition at line 71 of file btPoint2PointConstraint.cpp.
| void btPoint2PointConstraint::getInfo1NonVirtual | ( | btConstraintInfo1 * | info | ) |
Definition at line 76 of file btPoint2PointConstraint.cpp.
| void btPoint2PointConstraint::getInfo2 | ( | btConstraintInfo2 * | info | ) | [virtual] |
internal method used by the constraint solver, don't use them directly
Implements btTypedConstraint.
Definition at line 92 of file btPoint2PointConstraint.cpp.
| void btPoint2PointConstraint::getInfo2NonVirtual | ( | btConstraintInfo2 * | info, | |
| const btTransform & | body0_trans, | |||
| const btTransform & | body1_trans | |||
| ) |
Definition at line 97 of file btPoint2PointConstraint.cpp.
| btScalar btPoint2PointConstraint::getParam | ( | int | num, | |
| int | axis = -1 | |||
| ) | const [virtual] |
return the local value of parameter
Implements btTypedConstraint.
Definition at line 202 of file btPoint2PointConstraint.cpp.
| const btVector3& btPoint2PointConstraint::getPivotInA | ( | ) | const [inline] |
Definition at line 102 of file btPoint2PointConstraint.h.
| const btVector3& btPoint2PointConstraint::getPivotInB | ( | ) | const [inline] |
Definition at line 107 of file btPoint2PointConstraint.h.
| SIMD_FORCE_INLINE const char * btPoint2PointConstraint::serialize | ( | void * | dataBuffer, | |
| btSerializer * | serializer | |||
| ) | const [virtual] |
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btTypedConstraint.
Definition at line 150 of file btPoint2PointConstraint.h.
| void btPoint2PointConstraint::setParam | ( | int | num, | |
| btScalar | value, | |||
| int | axis = -1 | |||
| ) | [virtual] |
override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5).
If no axis is provided, it uses the default axis for this constraint.
Implements btTypedConstraint.
Definition at line 175 of file btPoint2PointConstraint.cpp.
| void btPoint2PointConstraint::setPivotA | ( | const btVector3 & | pivotA | ) | [inline] |
Definition at line 92 of file btPoint2PointConstraint.h.
| void btPoint2PointConstraint::setPivotB | ( | const btVector3 & | pivotB | ) | [inline] |
Definition at line 97 of file btPoint2PointConstraint.h.
| void btPoint2PointConstraint::updateRHS | ( | btScalar | timeStep | ) |
Definition at line 167 of file btPoint2PointConstraint.cpp.
btScalar btPoint2PointConstraint::m_cfm [private] |
Definition at line 66 of file btPoint2PointConstraint.h.
btScalar btPoint2PointConstraint::m_erp [private] |
Definition at line 65 of file btPoint2PointConstraint.h.
int btPoint2PointConstraint::m_flags [private] |
Definition at line 64 of file btPoint2PointConstraint.h.
btJacobianEntry btPoint2PointConstraint::m_jac[3] [private] |
Definition at line 59 of file btPoint2PointConstraint.h.
btVector3 btPoint2PointConstraint::m_pivotInA [private] |
Definition at line 61 of file btPoint2PointConstraint.h.
btVector3 btPoint2PointConstraint::m_pivotInB [private] |
Definition at line 62 of file btPoint2PointConstraint.h.
Definition at line 73 of file btPoint2PointConstraint.h.
for backwards compatibility during the transition to 'getInfo/getInfo2'
Definition at line 71 of file btPoint2PointConstraint.h.
1.6.1