#include <btSliderConstraint.h>
Definition at line 63 of file btSliderConstraint.h.
btSliderConstraint::btSliderConstraint | ( | btRigidBody & | rbA, |
btRigidBody & | rbB, | ||
const btTransform & | frameInA, | ||
const btTransform & | frameInB, | ||
bool | useLinearReferenceFrameA | ||
) |
btSliderConstraint::btSliderConstraint | ( | btRigidBody & | rbB, |
const btTransform & | frameInB, | ||
bool | useLinearReferenceFrameA | ||
) |
SIMD_FORCE_INLINE int btSliderConstraint::calculateSerializeBufferSize | ( | ) | const [virtual] |
Reimplemented from btTypedConstraint.
Definition at line 303 of file btSliderConstraint.h.
void btSliderConstraint::calculateTransforms | ( | const btTransform & | transA, |
const btTransform & | transB | ||
) |
btVector3 btSliderConstraint::getAncorInA | ( | ) |
btVector3 btSliderConstraint::getAncorInB | ( | ) |
btScalar btSliderConstraint::getAngDepth | ( | ) | [inline] |
Definition at line 249 of file btSliderConstraint.h.
btScalar btSliderConstraint::getAngularPos | ( | ) | const [inline] |
Definition at line 241 of file btSliderConstraint.h.
const btTransform& btSliderConstraint::getCalculatedTransformA | ( | ) | const [inline] |
Definition at line 176 of file btSliderConstraint.h.
const btTransform& btSliderConstraint::getCalculatedTransformB | ( | ) | const [inline] |
Definition at line 177 of file btSliderConstraint.h.
btScalar btSliderConstraint::getDampingDirAng | ( | ) | [inline] |
Definition at line 196 of file btSliderConstraint.h.
btScalar btSliderConstraint::getDampingDirLin | ( | ) | [inline] |
Definition at line 193 of file btSliderConstraint.h.
btScalar btSliderConstraint::getDampingLimAng | ( | ) | [inline] |
Definition at line 202 of file btSliderConstraint.h.
btScalar btSliderConstraint::getDampingLimLin | ( | ) | [inline] |
Definition at line 199 of file btSliderConstraint.h.
btScalar btSliderConstraint::getDampingOrthoAng | ( | ) | [inline] |
Definition at line 208 of file btSliderConstraint.h.
btScalar btSliderConstraint::getDampingOrthoLin | ( | ) | [inline] |
Definition at line 205 of file btSliderConstraint.h.
const btTransform& btSliderConstraint::getFrameOffsetA | ( | ) | const [inline] |
Definition at line 178 of file btSliderConstraint.h.
btTransform& btSliderConstraint::getFrameOffsetA | ( | ) | [inline] |
Definition at line 180 of file btSliderConstraint.h.
const btTransform& btSliderConstraint::getFrameOffsetB | ( | ) | const [inline] |
Definition at line 179 of file btSliderConstraint.h.
btTransform& btSliderConstraint::getFrameOffsetB | ( | ) | [inline] |
Definition at line 181 of file btSliderConstraint.h.
virtual void btSliderConstraint::getInfo1 | ( | btConstraintInfo1 * | info | ) | [virtual] |
internal method used by the constraint solver, don't use them directly
Implements btTypedConstraint.
void btSliderConstraint::getInfo1NonVirtual | ( | btConstraintInfo1 * | info | ) |
virtual void btSliderConstraint::getInfo2 | ( | btConstraintInfo2 * | info | ) | [virtual] |
internal method used by the constraint solver, don't use them directly
Implements btTypedConstraint.
void btSliderConstraint::getInfo2NonVirtual | ( | btConstraintInfo2 * | info, |
const btTransform & | transA, | ||
const btTransform & | transB, | ||
const btVector3 & | linVelA, | ||
const btVector3 & | linVelB, | ||
btScalar | rbAinvMass, | ||
btScalar | rbBinvMass | ||
) |
btScalar btSliderConstraint::getLinDepth | ( | ) | [inline] |
Definition at line 247 of file btSliderConstraint.h.
btScalar btSliderConstraint::getLinearPos | ( | ) | const [inline] |
Definition at line 240 of file btSliderConstraint.h.
btScalar btSliderConstraint::getLowerAngLimit | ( | ) | [inline] |
Definition at line 186 of file btSliderConstraint.h.
btScalar btSliderConstraint::getLowerLinLimit | ( | ) | [inline] |
Definition at line 182 of file btSliderConstraint.h.
btScalar btSliderConstraint::getMaxAngMotorForce | ( | ) | [inline] |
Definition at line 238 of file btSliderConstraint.h.
btScalar btSliderConstraint::getMaxLinMotorForce | ( | ) | [inline] |
Definition at line 232 of file btSliderConstraint.h.
virtual btScalar btSliderConstraint::getParam | ( | int | num, |
int | axis = -1 |
||
) | const [virtual] |
return the local value of parameter
Implements btTypedConstraint.
bool btSliderConstraint::getPoweredAngMotor | ( | ) | [inline] |
Definition at line 234 of file btSliderConstraint.h.
bool btSliderConstraint::getPoweredLinMotor | ( | ) | [inline] |
Definition at line 228 of file btSliderConstraint.h.
btScalar btSliderConstraint::getRestitutionDirAng | ( | ) | [inline] |
Definition at line 195 of file btSliderConstraint.h.
btScalar btSliderConstraint::getRestitutionDirLin | ( | ) | [inline] |
Definition at line 192 of file btSliderConstraint.h.
btScalar btSliderConstraint::getRestitutionLimAng | ( | ) | [inline] |
Definition at line 201 of file btSliderConstraint.h.
btScalar btSliderConstraint::getRestitutionLimLin | ( | ) | [inline] |
Definition at line 198 of file btSliderConstraint.h.
btScalar btSliderConstraint::getRestitutionOrthoAng | ( | ) | [inline] |
Definition at line 207 of file btSliderConstraint.h.
btScalar btSliderConstraint::getRestitutionOrthoLin | ( | ) | [inline] |
Definition at line 204 of file btSliderConstraint.h.
const btRigidBody& btSliderConstraint::getRigidBodyA | ( | ) | const [inline] |
Reimplemented from btTypedConstraint.
Definition at line 174 of file btSliderConstraint.h.
const btRigidBody& btSliderConstraint::getRigidBodyB | ( | ) | const [inline] |
Reimplemented from btTypedConstraint.
Definition at line 175 of file btSliderConstraint.h.
btScalar btSliderConstraint::getSoftnessDirAng | ( | ) | [inline] |
Definition at line 194 of file btSliderConstraint.h.
btScalar btSliderConstraint::getSoftnessDirLin | ( | ) | [inline] |
Definition at line 191 of file btSliderConstraint.h.
btScalar btSliderConstraint::getSoftnessLimAng | ( | ) | [inline] |
Definition at line 200 of file btSliderConstraint.h.
btScalar btSliderConstraint::getSoftnessLimLin | ( | ) | [inline] |
Definition at line 197 of file btSliderConstraint.h.
btScalar btSliderConstraint::getSoftnessOrthoAng | ( | ) | [inline] |
Definition at line 206 of file btSliderConstraint.h.
btScalar btSliderConstraint::getSoftnessOrthoLin | ( | ) | [inline] |
Definition at line 203 of file btSliderConstraint.h.
bool btSliderConstraint::getSolveAngLimit | ( | ) | [inline] |
Definition at line 248 of file btSliderConstraint.h.
bool btSliderConstraint::getSolveLinLimit | ( | ) | [inline] |
Definition at line 246 of file btSliderConstraint.h.
btScalar btSliderConstraint::getTargetAngMotorVelocity | ( | ) | [inline] |
Definition at line 236 of file btSliderConstraint.h.
btScalar btSliderConstraint::getTargetLinMotorVelocity | ( | ) | [inline] |
Definition at line 230 of file btSliderConstraint.h.
btScalar btSliderConstraint::getUpperAngLimit | ( | ) | [inline] |
Definition at line 188 of file btSliderConstraint.h.
btScalar btSliderConstraint::getUpperLinLimit | ( | ) | [inline] |
Definition at line 184 of file btSliderConstraint.h.
bool btSliderConstraint::getUseFrameOffset | ( | ) | [inline] |
Definition at line 258 of file btSliderConstraint.h.
bool btSliderConstraint::getUseLinearReferenceFrameA | ( | ) | [inline] |
Definition at line 190 of file btSliderConstraint.h.
void btSliderConstraint::initParams | ( | ) | [protected] |
SIMD_FORCE_INLINE const char * btSliderConstraint::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 309 of file btSliderConstraint.h.
void btSliderConstraint::setDampingDirAng | ( | btScalar | dampingDirAng | ) | [inline] |
Definition at line 214 of file btSliderConstraint.h.
void btSliderConstraint::setDampingDirLin | ( | btScalar | dampingDirLin | ) | [inline] |
Definition at line 211 of file btSliderConstraint.h.
void btSliderConstraint::setDampingLimAng | ( | btScalar | dampingLimAng | ) | [inline] |
Definition at line 220 of file btSliderConstraint.h.
void btSliderConstraint::setDampingLimLin | ( | btScalar | dampingLimLin | ) | [inline] |
Definition at line 217 of file btSliderConstraint.h.
void btSliderConstraint::setDampingOrthoAng | ( | btScalar | dampingOrthoAng | ) | [inline] |
Definition at line 226 of file btSliderConstraint.h.
void btSliderConstraint::setDampingOrthoLin | ( | btScalar | dampingOrthoLin | ) | [inline] |
Definition at line 223 of file btSliderConstraint.h.
void btSliderConstraint::setFrames | ( | const btTransform & | frameA, |
const btTransform & | frameB | ||
) | [inline] |
Definition at line 261 of file btSliderConstraint.h.
void btSliderConstraint::setLowerAngLimit | ( | btScalar | lowerLimit | ) | [inline] |
Definition at line 187 of file btSliderConstraint.h.
void btSliderConstraint::setLowerLinLimit | ( | btScalar | lowerLimit | ) | [inline] |
Definition at line 183 of file btSliderConstraint.h.
void btSliderConstraint::setMaxAngMotorForce | ( | btScalar | maxAngMotorForce | ) | [inline] |
Definition at line 237 of file btSliderConstraint.h.
void btSliderConstraint::setMaxLinMotorForce | ( | btScalar | maxLinMotorForce | ) | [inline] |
Definition at line 231 of file btSliderConstraint.h.
virtual void btSliderConstraint::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.
void btSliderConstraint::setPoweredAngMotor | ( | bool | onOff | ) | [inline] |
Definition at line 233 of file btSliderConstraint.h.
void btSliderConstraint::setPoweredLinMotor | ( | bool | onOff | ) | [inline] |
Definition at line 227 of file btSliderConstraint.h.
void btSliderConstraint::setRestitutionDirAng | ( | btScalar | restitutionDirAng | ) | [inline] |
Definition at line 213 of file btSliderConstraint.h.
void btSliderConstraint::setRestitutionDirLin | ( | btScalar | restitutionDirLin | ) | [inline] |
Definition at line 210 of file btSliderConstraint.h.
void btSliderConstraint::setRestitutionLimAng | ( | btScalar | restitutionLimAng | ) | [inline] |
Definition at line 219 of file btSliderConstraint.h.
void btSliderConstraint::setRestitutionLimLin | ( | btScalar | restitutionLimLin | ) | [inline] |
Definition at line 216 of file btSliderConstraint.h.
void btSliderConstraint::setRestitutionOrthoAng | ( | btScalar | restitutionOrthoAng | ) | [inline] |
Definition at line 225 of file btSliderConstraint.h.
void btSliderConstraint::setRestitutionOrthoLin | ( | btScalar | restitutionOrthoLin | ) | [inline] |
Definition at line 222 of file btSliderConstraint.h.
void btSliderConstraint::setSoftnessDirAng | ( | btScalar | softnessDirAng | ) | [inline] |
Definition at line 212 of file btSliderConstraint.h.
void btSliderConstraint::setSoftnessDirLin | ( | btScalar | softnessDirLin | ) | [inline] |
Definition at line 209 of file btSliderConstraint.h.
void btSliderConstraint::setSoftnessLimAng | ( | btScalar | softnessLimAng | ) | [inline] |
Definition at line 218 of file btSliderConstraint.h.
void btSliderConstraint::setSoftnessLimLin | ( | btScalar | softnessLimLin | ) | [inline] |
Definition at line 215 of file btSliderConstraint.h.
void btSliderConstraint::setSoftnessOrthoAng | ( | btScalar | softnessOrthoAng | ) | [inline] |
Definition at line 224 of file btSliderConstraint.h.
void btSliderConstraint::setSoftnessOrthoLin | ( | btScalar | softnessOrthoLin | ) | [inline] |
Definition at line 221 of file btSliderConstraint.h.
void btSliderConstraint::setTargetAngMotorVelocity | ( | btScalar | targetAngMotorVelocity | ) | [inline] |
Definition at line 235 of file btSliderConstraint.h.
void btSliderConstraint::setTargetLinMotorVelocity | ( | btScalar | targetLinMotorVelocity | ) | [inline] |
Definition at line 229 of file btSliderConstraint.h.
void btSliderConstraint::setUpperAngLimit | ( | btScalar | upperLimit | ) | [inline] |
Definition at line 189 of file btSliderConstraint.h.
void btSliderConstraint::setUpperLinLimit | ( | btScalar | upperLimit | ) | [inline] |
Definition at line 185 of file btSliderConstraint.h.
void btSliderConstraint::setUseFrameOffset | ( | bool | frameOffsetOnOff | ) | [inline] |
Definition at line 259 of file btSliderConstraint.h.
void btSliderConstraint::testAngLimits | ( | ) |
void btSliderConstraint::testLinLimits | ( | ) |
Definition at line 153 of file btSliderConstraint.h.
Definition at line 148 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_angDepth [protected] |
Definition at line 142 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_angPos [protected] |
Definition at line 140 of file btSliderConstraint.h.
Definition at line 127 of file btSliderConstraint.h.
Definition at line 128 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_cfmDirAng [protected] |
Definition at line 93 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_cfmDirLin [protected] |
Definition at line 88 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_cfmLimAng [protected] |
Definition at line 103 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_cfmLimLin [protected] |
Definition at line 98 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_cfmOrthoAng [protected] |
Definition at line 113 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_cfmOrthoLin [protected] |
Definition at line 108 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_dampingDirAng [protected] |
Definition at line 92 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_dampingDirLin [protected] |
Definition at line 87 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_dampingLimAng [protected] |
Definition at line 102 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_dampingLimLin [protected] |
Definition at line 97 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_dampingOrthoAng [protected] |
Definition at line 112 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_dampingOrthoLin [protected] |
Definition at line 107 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_delta [protected] |
Definition at line 134 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_depth [protected] |
Definition at line 135 of file btSliderConstraint.h.
int btSliderConstraint::m_flags [protected] |
Definition at line 119 of file btSliderConstraint.h.
btTransform btSliderConstraint::m_frameInA [protected] |
Definition at line 69 of file btSliderConstraint.h.
btTransform btSliderConstraint::m_frameInB [protected] |
Definition at line 70 of file btSliderConstraint.h.
btJacobianEntry btSliderConstraint::m_jacAng[3] [protected] |
Definition at line 124 of file btSliderConstraint.h.
btJacobianEntry btSliderConstraint::m_jacLin[3] [protected] |
Definition at line 121 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_jacLinDiagABInv[3] [protected] |
Definition at line 122 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_kAngle [protected] |
Definition at line 143 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_linPos [protected] |
Definition at line 139 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_lowerAngLimit [protected] |
Definition at line 77 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_lowerLinLimit [protected] |
Definition at line 74 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_maxAngMotorForce [protected] |
Definition at line 152 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_maxLinMotorForce [protected] |
Definition at line 147 of file btSliderConstraint.h.
bool btSliderConstraint::m_poweredAngMotor [protected] |
Definition at line 150 of file btSliderConstraint.h.
bool btSliderConstraint::m_poweredLinMotor [protected] |
Definition at line 145 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_projPivotInW [protected] |
Definition at line 133 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_realPivotAInW [protected] |
Definition at line 131 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_realPivotBInW [protected] |
Definition at line 132 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_relPosA [protected] |
Definition at line 136 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_relPosB [protected] |
Definition at line 137 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_restitutionDirAng [protected] |
Definition at line 91 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_restitutionDirLin [protected] |
Definition at line 86 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_restitutionLimAng [protected] |
Definition at line 101 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_restitutionLimLin [protected] |
Definition at line 96 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_restitutionOrthoAng [protected] |
Definition at line 111 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_restitutionOrthoLin [protected] |
Definition at line 106 of file btSliderConstraint.h.
btVector3 btSliderConstraint::m_sliderAxis [protected] |
Definition at line 130 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_softnessDirAng [protected] |
Definition at line 90 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_softnessDirLin [protected] |
Definition at line 85 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_softnessLimAng [protected] |
Definition at line 100 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_softnessLimLin [protected] |
Definition at line 95 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_softnessOrthoAng [protected] |
Definition at line 110 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_softnessOrthoLin [protected] |
Definition at line 105 of file btSliderConstraint.h.
bool btSliderConstraint::m_solveAngLim [protected] |
Definition at line 117 of file btSliderConstraint.h.
bool btSliderConstraint::m_solveLinLim [protected] |
Definition at line 116 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_targetAngMotorVelocity [protected] |
Definition at line 151 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_targetLinMotorVelocity [protected] |
Definition at line 146 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_timeStep [protected] |
Definition at line 126 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_upperAngLimit [protected] |
Definition at line 78 of file btSliderConstraint.h.
btScalar btSliderConstraint::m_upperLinLimit [protected] |
Definition at line 75 of file btSliderConstraint.h.
bool btSliderConstraint::m_useLinearReferenceFrameA [protected] |
Definition at line 72 of file btSliderConstraint.h.
bool btSliderConstraint::m_useOffsetForConstraintFrame [protected] |
Definition at line 68 of file btSliderConstraint.h.
bool btSliderConstraint::m_useSolveConstraintObsolete [protected] |
for backwards compatibility during the transition to 'getInfo/getInfo2'
Definition at line 67 of file btSliderConstraint.h.