Bullet Collision Detection & Physics Library
|
#include <btFixedConstraint.h>
Public Member Functions | |
btFixedConstraint (btRigidBody &rbA, btRigidBody &rbB, const btTransform &frameInA, const btTransform &frameInB) | |
virtual | ~btFixedConstraint () |
Public Member Functions inherited from btGeneric6DofSpring2Constraint | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btGeneric6DofSpring2Constraint (btRigidBody &rbA, btRigidBody &rbB, const btTransform &frameInA, const btTransform &frameInB, RotateOrder rotOrder=RO_XYZ) | |
2009 March: btGeneric6DofConstraint refactored by Roman Ponomarev Added support for generic constraint solver through getInfo1/getInfo2 methods More... | |
btGeneric6DofSpring2Constraint (btRigidBody &rbB, const btTransform &frameInB, RotateOrder rotOrder=RO_XYZ) | |
virtual void | buildJacobian () |
internal method used by the constraint solver, don't use them directly More... | |
virtual void | getInfo1 (btConstraintInfo1 *info) |
internal method used by the constraint solver, don't use them directly More... | |
virtual void | getInfo2 (btConstraintInfo2 *info) |
internal method used by the constraint solver, don't use them directly More... | |
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) More... | |
btRotationalLimitMotor2 * | getRotationalLimitMotor (int index) |
btTranslationalLimitMotor2 * | getTranslationalLimitMotor () |
void | calculateTransforms (const btTransform &transA, const btTransform &transB) |
void | calculateTransforms () |
const btTransform & | getCalculatedTransformA () const |
const btTransform & | getCalculatedTransformB () const |
const btTransform & | getFrameOffsetA () const |
const btTransform & | getFrameOffsetB () const |
btTransform & | getFrameOffsetA () |
btTransform & | getFrameOffsetB () |
btVector3 | getAxis (int axis_index) const |
btScalar | getAngle (int axis_index) const |
btScalar | getRelativePivotPosition (int axis_index) const |
void | setFrames (const btTransform &frameA, const btTransform &frameB) |
void | setLinearLowerLimit (const btVector3 &linearLower) |
void | getLinearLowerLimit (btVector3 &linearLower) |
void | setLinearUpperLimit (const btVector3 &linearUpper) |
void | getLinearUpperLimit (btVector3 &linearUpper) |
void | setAngularLowerLimit (const btVector3 &angularLower) |
void | setAngularLowerLimitReversed (const btVector3 &angularLower) |
void | getAngularLowerLimit (btVector3 &angularLower) |
void | getAngularLowerLimitReversed (btVector3 &angularLower) |
void | setAngularUpperLimit (const btVector3 &angularUpper) |
void | setAngularUpperLimitReversed (const btVector3 &angularUpper) |
void | getAngularUpperLimit (btVector3 &angularUpper) |
void | getAngularUpperLimitReversed (btVector3 &angularUpper) |
void | setLimit (int axis, btScalar lo, btScalar hi) |
void | setLimitReversed (int axis, btScalar lo, btScalar hi) |
bool | isLimited (int limitIndex) |
void | setRotationOrder (RotateOrder order) |
RotateOrder | getRotationOrder () |
void | setAxis (const btVector3 &axis1, const btVector3 &axis2) |
void | setBounce (int index, btScalar bounce) |
void | enableMotor (int index, bool onOff) |
void | setServo (int index, bool onOff) |
void | setTargetVelocity (int index, btScalar velocity) |
void | setServoTarget (int index, btScalar target) |
void | setMaxMotorForce (int index, btScalar force) |
void | enableSpring (int index, bool onOff) |
void | setStiffness (int index, btScalar stiffness, bool limitIfNeeded=true) |
void | setDamping (int index, btScalar damping, bool limitIfNeeded=true) |
void | setEquilibriumPoint () |
void | setEquilibriumPoint (int index) |
void | setEquilibriumPoint (int index, btScalar val) |
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). More... | |
virtual btScalar | getParam (int num, int axis=-1) const |
return the local value of parameter More... | |
Public Member Functions inherited from btTypedConstraint | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
virtual | ~btTypedConstraint () |
btTypedConstraint (btTypedConstraintType type, btRigidBody &rbA) | |
btTypedConstraint (btTypedConstraintType type, btRigidBody &rbA, btRigidBody &rbB) | |
int | getOverrideNumSolverIterations () const |
void | setOverrideNumSolverIterations (int overideNumIterations) |
override the number of constraint solver iterations used to solve this constraint -1 will use the default number of iterations, as specified in SolverInfo.m_numIterations More... | |
virtual void | buildJacobian () |
internal method used by the constraint solver, don't use them directly More... | |
virtual void | setupSolverConstraint (btConstraintArray &ca, int solverBodyA, int solverBodyB, btScalar timeStep) |
internal method used by the constraint solver, don't use them directly More... | |
virtual void | getInfo1 (btConstraintInfo1 *info)=0 |
internal method used by the constraint solver, don't use them directly More... | |
virtual void | getInfo2 (btConstraintInfo2 *info)=0 |
internal method used by the constraint solver, don't use them directly More... | |
void | internalSetAppliedImpulse (btScalar appliedImpulse) |
internal method used by the constraint solver, don't use them directly More... | |
btScalar | internalGetAppliedImpulse () |
internal method used by the constraint solver, don't use them directly More... | |
btScalar | getBreakingImpulseThreshold () const |
void | setBreakingImpulseThreshold (btScalar threshold) |
bool | isEnabled () const |
void | setEnabled (bool enabled) |
virtual void | solveConstraintObsolete (btSolverBody &, btSolverBody &, btScalar) |
internal method used by the constraint solver, don't use them directly More... | |
const btRigidBody & | getRigidBodyA () const |
const btRigidBody & | getRigidBodyB () const |
btRigidBody & | getRigidBodyA () |
btRigidBody & | getRigidBodyB () |
int | getUserConstraintType () const |
void | setUserConstraintType (int userConstraintType) |
void | setUserConstraintId (int uid) |
int | getUserConstraintId () const |
void | setUserConstraintPtr (void *ptr) |
void * | getUserConstraintPtr () |
void | setJointFeedback (btJointFeedback *jointFeedback) |
const btJointFeedback * | getJointFeedback () const |
btJointFeedback * | getJointFeedback () |
int | getUid () const |
bool | needsFeedback () const |
void | enableFeedback (bool needsFeedback) |
enableFeedback will allow to read the applied linear and angular impulse use getAppliedImpulse, getAppliedLinearImpulse and getAppliedAngularImpulse to read feedback information More... | |
btScalar | getAppliedImpulse () const |
getAppliedImpulse is an estimated total applied impulse. More... | |
btTypedConstraintType | getConstraintType () const |
void | setDbgDrawSize (btScalar dbgDrawSize) |
btScalar | getDbgDrawSize () |
virtual void | setParam (int num, btScalar value, int axis=-1)=0 |
override the default global value of a parameter (such as ERP or CFM), optionally provide the axis (0..5). More... | |
virtual btScalar | getParam (int num, int axis=-1) const =0 |
return the local value of parameter More... | |
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) More... | |
Public Member Functions inherited from btTypedObject | |
btTypedObject (int objectType) | |
int | getObjectType () const |
Definition at line 21 of file btFixedConstraint.h.
btFixedConstraint::btFixedConstraint | ( | btRigidBody & | rbA, |
btRigidBody & | rbB, | ||
const btTransform & | frameInA, | ||
const btTransform & | frameInB | ||
) |
Definition at line 21 of file btFixedConstraint.cpp.
|
virtual |
Definition at line 30 of file btFixedConstraint.cpp.