Bullet Collision Detection & Physics Library
|
#include <btSliderConstraint.h>
Public Member Functions | |
BT_DECLARE_ALIGNED_ALLOCATOR () | |
btSliderConstraint (btRigidBody &rbA, btRigidBody &rbB, const btTransform &frameInA, const btTransform &frameInB, bool useLinearReferenceFrameA) | |
btSliderConstraint (btRigidBody &rbB, const btTransform &frameInB, bool useLinearReferenceFrameA) | |
virtual void | getInfo1 (btConstraintInfo1 *info) |
internal method used by the constraint solver, don't use them directly More... | |
void | getInfo1NonVirtual (btConstraintInfo1 *info) |
virtual void | getInfo2 (btConstraintInfo2 *info) |
internal method used by the constraint solver, don't use them directly More... | |
void | getInfo2NonVirtual (btConstraintInfo2 *info, const btTransform &transA, const btTransform &transB, const btVector3 &linVelA, const btVector3 &linVelB, btScalar rbAinvMass, btScalar rbBinvMass) |
const btRigidBody & | getRigidBodyA () const |
const btRigidBody & | getRigidBodyB () const |
const btTransform & | getCalculatedTransformA () const |
const btTransform & | getCalculatedTransformB () const |
const btTransform & | getFrameOffsetA () const |
const btTransform & | getFrameOffsetB () const |
btTransform & | getFrameOffsetA () |
btTransform & | getFrameOffsetB () |
btScalar | getLowerLinLimit () |
void | setLowerLinLimit (btScalar lowerLimit) |
btScalar | getUpperLinLimit () |
void | setUpperLinLimit (btScalar upperLimit) |
btScalar | getLowerAngLimit () |
void | setLowerAngLimit (btScalar lowerLimit) |
btScalar | getUpperAngLimit () |
void | setUpperAngLimit (btScalar upperLimit) |
bool | getUseLinearReferenceFrameA () |
btScalar | getSoftnessDirLin () |
btScalar | getRestitutionDirLin () |
btScalar | getDampingDirLin () |
btScalar | getSoftnessDirAng () |
btScalar | getRestitutionDirAng () |
btScalar | getDampingDirAng () |
btScalar | getSoftnessLimLin () |
btScalar | getRestitutionLimLin () |
btScalar | getDampingLimLin () |
btScalar | getSoftnessLimAng () |
btScalar | getRestitutionLimAng () |
btScalar | getDampingLimAng () |
btScalar | getSoftnessOrthoLin () |
btScalar | getRestitutionOrthoLin () |
btScalar | getDampingOrthoLin () |
btScalar | getSoftnessOrthoAng () |
btScalar | getRestitutionOrthoAng () |
btScalar | getDampingOrthoAng () |
void | setSoftnessDirLin (btScalar softnessDirLin) |
void | setRestitutionDirLin (btScalar restitutionDirLin) |
void | setDampingDirLin (btScalar dampingDirLin) |
void | setSoftnessDirAng (btScalar softnessDirAng) |
void | setRestitutionDirAng (btScalar restitutionDirAng) |
void | setDampingDirAng (btScalar dampingDirAng) |
void | setSoftnessLimLin (btScalar softnessLimLin) |
void | setRestitutionLimLin (btScalar restitutionLimLin) |
void | setDampingLimLin (btScalar dampingLimLin) |
void | setSoftnessLimAng (btScalar softnessLimAng) |
void | setRestitutionLimAng (btScalar restitutionLimAng) |
void | setDampingLimAng (btScalar dampingLimAng) |
void | setSoftnessOrthoLin (btScalar softnessOrthoLin) |
void | setRestitutionOrthoLin (btScalar restitutionOrthoLin) |
void | setDampingOrthoLin (btScalar dampingOrthoLin) |
void | setSoftnessOrthoAng (btScalar softnessOrthoAng) |
void | setRestitutionOrthoAng (btScalar restitutionOrthoAng) |
void | setDampingOrthoAng (btScalar dampingOrthoAng) |
void | setPoweredLinMotor (bool onOff) |
bool | getPoweredLinMotor () |
void | setTargetLinMotorVelocity (btScalar targetLinMotorVelocity) |
btScalar | getTargetLinMotorVelocity () |
void | setMaxLinMotorForce (btScalar maxLinMotorForce) |
btScalar | getMaxLinMotorForce () |
void | setPoweredAngMotor (bool onOff) |
bool | getPoweredAngMotor () |
void | setTargetAngMotorVelocity (btScalar targetAngMotorVelocity) |
btScalar | getTargetAngMotorVelocity () |
void | setMaxAngMotorForce (btScalar maxAngMotorForce) |
btScalar | getMaxAngMotorForce () |
btScalar | getLinearPos () const |
btScalar | getAngularPos () const |
bool | getSolveLinLimit () |
btScalar | getLinDepth () |
bool | getSolveAngLimit () |
btScalar | getAngDepth () |
void | calculateTransforms (const btTransform &transA, const btTransform &transB) |
void | testLinLimits () |
void | testAngLimits () |
btVector3 | getAncorInA () |
btVector3 | getAncorInB () |
bool | getUseFrameOffset () |
void | setUseFrameOffset (bool frameOffsetOnOff) |
void | setFrames (const btTransform &frameA, const btTransform &frameB) |
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... | |
virtual int | getFlags () const |
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 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 |
Protected Member Functions | |
void | initParams () |
Protected Member Functions inherited from btTypedConstraint | |
btScalar | getMotorFactor (btScalar pos, btScalar lowLim, btScalar uppLim, btScalar vel, btScalar timeFact) |
internal method used by the constraint solver, don't use them directly More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from btTypedConstraint | |
static btRigidBody & | getFixedBody () |
Public Attributes inherited from btTypedObject | |
int | m_objectType |
Definition at line 65 of file btSliderConstraint.h.
btSliderConstraint::btSliderConstraint | ( | btRigidBody & | rbA, |
btRigidBody & | rbB, | ||
const btTransform & | frameInA, | ||
const btTransform & | frameInB, | ||
bool | useLinearReferenceFrameA | ||
) |
Definition at line 77 of file btSliderConstraint.cpp.
btSliderConstraint::btSliderConstraint | ( | btRigidBody & | rbB, |
const btTransform & | frameInB, | ||
bool | useLinearReferenceFrameA | ||
) |
not providing rigidbody A means implicitly using worldspace for body A
Definition at line 87 of file btSliderConstraint.cpp.
btSliderConstraint::BT_DECLARE_ALIGNED_ALLOCATOR | ( | ) |
|
inlinevirtual |
Reimplemented from btTypedConstraint.
Definition at line 323 of file btSliderConstraint.h.
void btSliderConstraint::calculateTransforms | ( | const btTransform & | transA, |
const btTransform & | transB | ||
) |
Definition at line 139 of file btSliderConstraint.cpp.
btVector3 btSliderConstraint::getAncorInA | ( | void | ) |
Definition at line 226 of file btSliderConstraint.cpp.
btVector3 btSliderConstraint::getAncorInB | ( | void | ) |
Definition at line 234 of file btSliderConstraint.cpp.
|
inline |
Definition at line 252 of file btSliderConstraint.h.
|
inline |
Definition at line 246 of file btSliderConstraint.h.
|
inline |
Definition at line 181 of file btSliderConstraint.h.
|
inline |
Definition at line 182 of file btSliderConstraint.h.
|
inline |
Definition at line 201 of file btSliderConstraint.h.
|
inline |
Definition at line 198 of file btSliderConstraint.h.
|
inline |
Definition at line 207 of file btSliderConstraint.h.
|
inline |
Definition at line 204 of file btSliderConstraint.h.
|
inline |
Definition at line 213 of file btSliderConstraint.h.
|
inline |
Definition at line 210 of file btSliderConstraint.h.
|
inlinevirtual |
Definition at line 278 of file btSliderConstraint.h.
|
inline |
Definition at line 185 of file btSliderConstraint.h.
|
inline |
Definition at line 183 of file btSliderConstraint.h.
|
inline |
Definition at line 186 of file btSliderConstraint.h.
|
inline |
Definition at line 184 of file btSliderConstraint.h.
|
virtual |
internal method used by the constraint solver, don't use them directly
Implements btTypedConstraint.
Definition at line 100 of file btSliderConstraint.cpp.
void btSliderConstraint::getInfo1NonVirtual | ( | btConstraintInfo1 * | info | ) |
Definition at line 128 of file btSliderConstraint.cpp.
|
virtual |
internal method used by the constraint solver, don't use them directly
Implements btTypedConstraint.
Definition at line 134 of file btSliderConstraint.cpp.
void btSliderConstraint::getInfo2NonVirtual | ( | btConstraintInfo2 * | info, |
const btTransform & | transA, | ||
const btTransform & | transB, | ||
const btVector3 & | linVelA, | ||
const btVector3 & | linVelB, | ||
btScalar | rbAinvMass, | ||
btScalar | rbBinvMass | ||
) |
Definition at line 241 of file btSliderConstraint.cpp.
|
inline |
Definition at line 250 of file btSliderConstraint.h.
|
inline |
Definition at line 245 of file btSliderConstraint.h.
|
inline |
Definition at line 191 of file btSliderConstraint.h.
|
inline |
Definition at line 187 of file btSliderConstraint.h.
|
inline |
Definition at line 243 of file btSliderConstraint.h.
|
inline |
Definition at line 237 of file btSliderConstraint.h.
|
virtual |
return the local value of parameter
Implements btTypedConstraint.
Definition at line 748 of file btSliderConstraint.cpp.
|
inline |
Definition at line 239 of file btSliderConstraint.h.
|
inline |
Definition at line 233 of file btSliderConstraint.h.
|
inline |
Definition at line 200 of file btSliderConstraint.h.
|
inline |
Definition at line 197 of file btSliderConstraint.h.
|
inline |
Definition at line 206 of file btSliderConstraint.h.
|
inline |
Definition at line 203 of file btSliderConstraint.h.
|
inline |
Definition at line 212 of file btSliderConstraint.h.
|
inline |
Definition at line 209 of file btSliderConstraint.h.
|
inline |
Definition at line 179 of file btSliderConstraint.h.
|
inline |
Definition at line 180 of file btSliderConstraint.h.
|
inline |
Definition at line 199 of file btSliderConstraint.h.
|
inline |
Definition at line 196 of file btSliderConstraint.h.
|
inline |
Definition at line 205 of file btSliderConstraint.h.
|
inline |
Definition at line 202 of file btSliderConstraint.h.
|
inline |
Definition at line 211 of file btSliderConstraint.h.
|
inline |
Definition at line 208 of file btSliderConstraint.h.
|
inline |
Definition at line 251 of file btSliderConstraint.h.
|
inline |
Definition at line 249 of file btSliderConstraint.h.
|
inline |
Definition at line 241 of file btSliderConstraint.h.
|
inline |
Definition at line 235 of file btSliderConstraint.h.
|
inline |
Definition at line 193 of file btSliderConstraint.h.
|
inline |
Definition at line 189 of file btSliderConstraint.h.
|
inline |
Definition at line 261 of file btSliderConstraint.h.
|
inline |
Definition at line 195 of file btSliderConstraint.h.
|
protected |
Definition at line 28 of file btSliderConstraint.cpp.
|
inlinevirtual |
fills the dataBuffer and returns the struct name (and 0 on failure)
Reimplemented from btTypedConstraint.
Definition at line 329 of file btSliderConstraint.h.
|
inline |
Definition at line 219 of file btSliderConstraint.h.
|
inline |
Definition at line 216 of file btSliderConstraint.h.
|
inline |
Definition at line 225 of file btSliderConstraint.h.
|
inline |
Definition at line 222 of file btSliderConstraint.h.
|
inline |
Definition at line 231 of file btSliderConstraint.h.
|
inline |
Definition at line 228 of file btSliderConstraint.h.
|
inline |
Definition at line 264 of file btSliderConstraint.h.
|
inline |
Definition at line 192 of file btSliderConstraint.h.
|
inline |
Definition at line 188 of file btSliderConstraint.h.
|
inline |
Definition at line 242 of file btSliderConstraint.h.
|
inline |
Definition at line 236 of file btSliderConstraint.h.
|
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 672 of file btSliderConstraint.cpp.
|
inline |
Definition at line 238 of file btSliderConstraint.h.
|
inline |
Definition at line 232 of file btSliderConstraint.h.
|
inline |
Definition at line 218 of file btSliderConstraint.h.
|
inline |
Definition at line 215 of file btSliderConstraint.h.
|
inline |
Definition at line 224 of file btSliderConstraint.h.
|
inline |
Definition at line 221 of file btSliderConstraint.h.
|
inline |
Definition at line 230 of file btSliderConstraint.h.
|
inline |
Definition at line 227 of file btSliderConstraint.h.
|
inline |
Definition at line 217 of file btSliderConstraint.h.
|
inline |
Definition at line 214 of file btSliderConstraint.h.
|
inline |
Definition at line 223 of file btSliderConstraint.h.
|
inline |
Definition at line 220 of file btSliderConstraint.h.
|
inline |
Definition at line 229 of file btSliderConstraint.h.
|
inline |
Definition at line 226 of file btSliderConstraint.h.
|
inline |
Definition at line 240 of file btSliderConstraint.h.
|
inline |
Definition at line 234 of file btSliderConstraint.h.
|
inline |
Definition at line 194 of file btSliderConstraint.h.
|
inline |
Definition at line 190 of file btSliderConstraint.h.
|
inline |
Definition at line 262 of file btSliderConstraint.h.
void btSliderConstraint::testAngLimits | ( | void | ) |
Definition at line 200 of file btSliderConstraint.cpp.
void btSliderConstraint::testLinLimits | ( | void | ) |
Definition at line 173 of file btSliderConstraint.cpp.
|
protected |
Definition at line 156 of file btSliderConstraint.h.
|
protected |
Definition at line 151 of file btSliderConstraint.h.
|
protected |
Definition at line 145 of file btSliderConstraint.h.
|
protected |
Definition at line 143 of file btSliderConstraint.h.
|
protected |
Definition at line 130 of file btSliderConstraint.h.
|
protected |
Definition at line 131 of file btSliderConstraint.h.
|
protected |
Definition at line 96 of file btSliderConstraint.h.
|
protected |
Definition at line 91 of file btSliderConstraint.h.
|
protected |
Definition at line 106 of file btSliderConstraint.h.
|
protected |
Definition at line 101 of file btSliderConstraint.h.
|
protected |
Definition at line 116 of file btSliderConstraint.h.
|
protected |
Definition at line 111 of file btSliderConstraint.h.
|
protected |
Definition at line 95 of file btSliderConstraint.h.
|
protected |
Definition at line 90 of file btSliderConstraint.h.
|
protected |
Definition at line 105 of file btSliderConstraint.h.
|
protected |
Definition at line 100 of file btSliderConstraint.h.
|
protected |
Definition at line 115 of file btSliderConstraint.h.
|
protected |
Definition at line 110 of file btSliderConstraint.h.
|
protected |
Definition at line 137 of file btSliderConstraint.h.
|
protected |
Definition at line 138 of file btSliderConstraint.h.
|
protected |
Definition at line 122 of file btSliderConstraint.h.
|
protected |
Definition at line 72 of file btSliderConstraint.h.
|
protected |
Definition at line 73 of file btSliderConstraint.h.
|
protected |
Definition at line 127 of file btSliderConstraint.h.
|
protected |
Definition at line 124 of file btSliderConstraint.h.
|
protected |
Definition at line 125 of file btSliderConstraint.h.
|
protected |
Definition at line 146 of file btSliderConstraint.h.
|
protected |
Definition at line 142 of file btSliderConstraint.h.
|
protected |
Definition at line 80 of file btSliderConstraint.h.
|
protected |
Definition at line 77 of file btSliderConstraint.h.
|
protected |
Definition at line 155 of file btSliderConstraint.h.
|
protected |
Definition at line 150 of file btSliderConstraint.h.
|
protected |
Definition at line 153 of file btSliderConstraint.h.
|
protected |
Definition at line 148 of file btSliderConstraint.h.
|
protected |
Definition at line 136 of file btSliderConstraint.h.
|
protected |
Definition at line 134 of file btSliderConstraint.h.
|
protected |
Definition at line 135 of file btSliderConstraint.h.
|
protected |
Definition at line 139 of file btSliderConstraint.h.
|
protected |
Definition at line 140 of file btSliderConstraint.h.
|
protected |
Definition at line 94 of file btSliderConstraint.h.
|
protected |
Definition at line 89 of file btSliderConstraint.h.
|
protected |
Definition at line 104 of file btSliderConstraint.h.
|
protected |
Definition at line 99 of file btSliderConstraint.h.
|
protected |
Definition at line 114 of file btSliderConstraint.h.
|
protected |
Definition at line 109 of file btSliderConstraint.h.
|
protected |
Definition at line 133 of file btSliderConstraint.h.
|
protected |
Definition at line 93 of file btSliderConstraint.h.
|
protected |
Definition at line 88 of file btSliderConstraint.h.
|
protected |
Definition at line 103 of file btSliderConstraint.h.
|
protected |
Definition at line 98 of file btSliderConstraint.h.
|
protected |
Definition at line 113 of file btSliderConstraint.h.
|
protected |
Definition at line 108 of file btSliderConstraint.h.
|
protected |
Definition at line 120 of file btSliderConstraint.h.
|
protected |
Definition at line 119 of file btSliderConstraint.h.
|
protected |
Definition at line 154 of file btSliderConstraint.h.
|
protected |
Definition at line 149 of file btSliderConstraint.h.
|
protected |
Definition at line 129 of file btSliderConstraint.h.
|
protected |
Definition at line 81 of file btSliderConstraint.h.
|
protected |
Definition at line 78 of file btSliderConstraint.h.
|
protected |
Definition at line 75 of file btSliderConstraint.h.
|
protected |
Definition at line 71 of file btSliderConstraint.h.
|
protected |
for backwards compatibility during the transition to 'getInfo/getInfo2'
Definition at line 70 of file btSliderConstraint.h.