Public Member Functions | Protected Member Functions | Protected Attributes
btSliderConstraint Class Reference

#include <btSliderConstraint.h>

Inheritance diagram for btSliderConstraint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 btSliderConstraint (btRigidBody &rbA, btRigidBody &rbB, const btTransform &frameInA, const btTransform &frameInB, bool useLinearReferenceFrameA)
 btSliderConstraint (btRigidBody &rbB, const btTransform &frameInB, bool useLinearReferenceFrameA)
virtual int calculateSerializeBufferSize () const
void calculateTransforms (const btTransform &transA, const btTransform &transB)
btVector3 getAncorInA ()
btVector3 getAncorInB ()
btScalar getAngDepth ()
btScalar getAngularPos () const
const btTransformgetCalculatedTransformA () const
const btTransformgetCalculatedTransformB () const
btScalar getDampingDirAng ()
btScalar getDampingDirLin ()
btScalar getDampingLimAng ()
btScalar getDampingLimLin ()
btScalar getDampingOrthoAng ()
btScalar getDampingOrthoLin ()
const btTransformgetFrameOffsetA () const
btTransformgetFrameOffsetA ()
const btTransformgetFrameOffsetB () const
btTransformgetFrameOffsetB ()
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 &transA, const btTransform &transB, const btVector3 &linVelA, const btVector3 &linVelB, btScalar rbAinvMass, btScalar rbBinvMass)
btScalar getLinDepth ()
btScalar getLinearPos () const
btScalar getLowerAngLimit ()
btScalar getLowerLinLimit ()
btScalar getMaxAngMotorForce ()
btScalar getMaxLinMotorForce ()
virtual btScalar getParam (int num, int axis=-1) const
 return the local value of parameter
bool getPoweredAngMotor ()
bool getPoweredLinMotor ()
btScalar getRestitutionDirAng ()
btScalar getRestitutionDirLin ()
btScalar getRestitutionLimAng ()
btScalar getRestitutionLimLin ()
btScalar getRestitutionOrthoAng ()
btScalar getRestitutionOrthoLin ()
const btRigidBodygetRigidBodyA () const
const btRigidBodygetRigidBodyB () const
btScalar getSoftnessDirAng ()
btScalar getSoftnessDirLin ()
btScalar getSoftnessLimAng ()
btScalar getSoftnessLimLin ()
btScalar getSoftnessOrthoAng ()
btScalar getSoftnessOrthoLin ()
bool getSolveAngLimit ()
bool getSolveLinLimit ()
btScalar getTargetAngMotorVelocity ()
btScalar getTargetLinMotorVelocity ()
btScalar getUpperAngLimit ()
btScalar getUpperLinLimit ()
bool getUseFrameOffset ()
bool getUseLinearReferenceFrameA ()
virtual const char * serialize (void *dataBuffer, btSerializer *serializer) const
 fills the dataBuffer and returns the struct name (and 0 on failure)
void setDampingDirAng (btScalar dampingDirAng)
void setDampingDirLin (btScalar dampingDirLin)
void setDampingLimAng (btScalar dampingLimAng)
void setDampingLimLin (btScalar dampingLimLin)
void setDampingOrthoAng (btScalar dampingOrthoAng)
void setDampingOrthoLin (btScalar dampingOrthoLin)
void setFrames (const btTransform &frameA, const btTransform &frameB)
void setLowerAngLimit (btScalar lowerLimit)
void setLowerLinLimit (btScalar lowerLimit)
void setMaxAngMotorForce (btScalar maxAngMotorForce)
void setMaxLinMotorForce (btScalar maxLinMotorForce)
virtual void setParam (int num, btScalar value, int axis=-1)
void setPoweredAngMotor (bool onOff)
void setPoweredLinMotor (bool onOff)
void setRestitutionDirAng (btScalar restitutionDirAng)
void setRestitutionDirLin (btScalar restitutionDirLin)
void setRestitutionLimAng (btScalar restitutionLimAng)
void setRestitutionLimLin (btScalar restitutionLimLin)
void setRestitutionOrthoAng (btScalar restitutionOrthoAng)
void setRestitutionOrthoLin (btScalar restitutionOrthoLin)
void setSoftnessDirAng (btScalar softnessDirAng)
void setSoftnessDirLin (btScalar softnessDirLin)
void setSoftnessLimAng (btScalar softnessLimAng)
void setSoftnessLimLin (btScalar softnessLimLin)
void setSoftnessOrthoAng (btScalar softnessOrthoAng)
void setSoftnessOrthoLin (btScalar softnessOrthoLin)
void setTargetAngMotorVelocity (btScalar targetAngMotorVelocity)
void setTargetLinMotorVelocity (btScalar targetLinMotorVelocity)
void setUpperAngLimit (btScalar upperLimit)
void setUpperLinLimit (btScalar upperLimit)
void setUseFrameOffset (bool frameOffsetOnOff)
void testAngLimits ()
void testLinLimits ()

Protected Member Functions

void initParams ()

Protected Attributes

btScalar m_accumulatedAngMotorImpulse
btScalar m_accumulatedLinMotorImpulse
btScalar m_angDepth
btScalar m_angPos
btTransform m_calculatedTransformA
btTransform m_calculatedTransformB
btScalar m_cfmDirAng
btScalar m_cfmDirLin
btScalar m_cfmLimAng
btScalar m_cfmLimLin
btScalar m_cfmOrthoAng
btScalar m_cfmOrthoLin
btScalar m_dampingDirAng
btScalar m_dampingDirLin
btScalar m_dampingLimAng
btScalar m_dampingLimLin
btScalar m_dampingOrthoAng
btScalar m_dampingOrthoLin
btVector3 m_delta
btVector3 m_depth
int m_flags
btTransform m_frameInA
btTransform m_frameInB
btJacobianEntry m_jacAng [3]
btJacobianEntry m_jacLin [3]
btScalar m_jacLinDiagABInv [3]
btScalar m_kAngle
btScalar m_linPos
btScalar m_lowerAngLimit
btScalar m_lowerLinLimit
btScalar m_maxAngMotorForce
btScalar m_maxLinMotorForce
bool m_poweredAngMotor
bool m_poweredLinMotor
btVector3 m_projPivotInW
btVector3 m_realPivotAInW
btVector3 m_realPivotBInW
btVector3 m_relPosA
btVector3 m_relPosB
btScalar m_restitutionDirAng
btScalar m_restitutionDirLin
btScalar m_restitutionLimAng
btScalar m_restitutionLimLin
btScalar m_restitutionOrthoAng
btScalar m_restitutionOrthoLin
btVector3 m_sliderAxis
btScalar m_softnessDirAng
btScalar m_softnessDirLin
btScalar m_softnessLimAng
btScalar m_softnessLimLin
btScalar m_softnessOrthoAng
btScalar m_softnessOrthoLin
bool m_solveAngLim
bool m_solveLinLim
btScalar m_targetAngMotorVelocity
btScalar m_targetLinMotorVelocity
btScalar m_timeStep
btScalar m_upperAngLimit
btScalar m_upperLinLimit
bool m_useLinearReferenceFrameA
bool m_useOffsetForConstraintFrame
bool m_useSolveConstraintObsolete
 for backwards compatibility during the transition to 'getInfo/getInfo2'

Detailed Description

Definition at line 63 of file btSliderConstraint.h.


Constructor & Destructor Documentation

btSliderConstraint::btSliderConstraint ( btRigidBody rbA,
btRigidBody rbB,
const btTransform frameInA,
const btTransform frameInB,
bool  useLinearReferenceFrameA 
)
btSliderConstraint::btSliderConstraint ( btRigidBody rbB,
const btTransform frameInB,
bool  useLinearReferenceFrameA 
)

Member Function Documentation

Reimplemented from btTypedConstraint.

Definition at line 303 of file btSliderConstraint.h.

void btSliderConstraint::calculateTransforms ( const btTransform transA,
const btTransform transB 
)

Definition at line 249 of file btSliderConstraint.h.

Definition at line 241 of file btSliderConstraint.h.

Definition at line 176 of file btSliderConstraint.h.

Definition at line 177 of file btSliderConstraint.h.

Definition at line 196 of file btSliderConstraint.h.

Definition at line 193 of file btSliderConstraint.h.

Definition at line 202 of file btSliderConstraint.h.

Definition at line 199 of file btSliderConstraint.h.

Definition at line 208 of file btSliderConstraint.h.

Definition at line 205 of file btSliderConstraint.h.

Definition at line 178 of file btSliderConstraint.h.

Definition at line 180 of file btSliderConstraint.h.

Definition at line 179 of file btSliderConstraint.h.

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.

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 
)

Definition at line 247 of file btSliderConstraint.h.

Definition at line 240 of file btSliderConstraint.h.

Definition at line 186 of file btSliderConstraint.h.

Definition at line 182 of file btSliderConstraint.h.

Definition at line 238 of file btSliderConstraint.h.

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.

Definition at line 234 of file btSliderConstraint.h.

Definition at line 228 of file btSliderConstraint.h.

Definition at line 195 of file btSliderConstraint.h.

Definition at line 192 of file btSliderConstraint.h.

Definition at line 201 of file btSliderConstraint.h.

Definition at line 198 of file btSliderConstraint.h.

Definition at line 207 of file btSliderConstraint.h.

Definition at line 204 of file btSliderConstraint.h.

Reimplemented from btTypedConstraint.

Definition at line 174 of file btSliderConstraint.h.

Reimplemented from btTypedConstraint.

Definition at line 175 of file btSliderConstraint.h.

Definition at line 194 of file btSliderConstraint.h.

Definition at line 191 of file btSliderConstraint.h.

Definition at line 200 of file btSliderConstraint.h.

Definition at line 197 of file btSliderConstraint.h.

Definition at line 206 of file btSliderConstraint.h.

Definition at line 203 of file btSliderConstraint.h.

Definition at line 248 of file btSliderConstraint.h.

Definition at line 246 of file btSliderConstraint.h.

Definition at line 236 of file btSliderConstraint.h.

Definition at line 230 of file btSliderConstraint.h.

Definition at line 188 of file btSliderConstraint.h.

Definition at line 184 of file btSliderConstraint.h.

Definition at line 258 of file btSliderConstraint.h.

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.


Member Data Documentation

Definition at line 153 of file btSliderConstraint.h.

Definition at line 148 of file btSliderConstraint.h.

Definition at line 142 of file btSliderConstraint.h.

Definition at line 140 of file btSliderConstraint.h.

Definition at line 127 of file btSliderConstraint.h.

Definition at line 128 of file btSliderConstraint.h.

Definition at line 93 of file btSliderConstraint.h.

Definition at line 88 of file btSliderConstraint.h.

Definition at line 103 of file btSliderConstraint.h.

Definition at line 98 of file btSliderConstraint.h.

Definition at line 113 of file btSliderConstraint.h.

Definition at line 108 of file btSliderConstraint.h.

Definition at line 92 of file btSliderConstraint.h.

Definition at line 87 of file btSliderConstraint.h.

Definition at line 102 of file btSliderConstraint.h.

Definition at line 97 of file btSliderConstraint.h.

Definition at line 112 of file btSliderConstraint.h.

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.

Definition at line 69 of file btSliderConstraint.h.

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.

Definition at line 122 of file btSliderConstraint.h.

Definition at line 143 of file btSliderConstraint.h.

Definition at line 139 of file btSliderConstraint.h.

Definition at line 77 of file btSliderConstraint.h.

Definition at line 74 of file btSliderConstraint.h.

Definition at line 152 of file btSliderConstraint.h.

Definition at line 147 of file btSliderConstraint.h.

Definition at line 150 of file btSliderConstraint.h.

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.

Definition at line 91 of file btSliderConstraint.h.

Definition at line 86 of file btSliderConstraint.h.

Definition at line 101 of file btSliderConstraint.h.

Definition at line 96 of file btSliderConstraint.h.

Definition at line 111 of file btSliderConstraint.h.

Definition at line 106 of file btSliderConstraint.h.

btVector3 btSliderConstraint::m_sliderAxis [protected]

Definition at line 130 of file btSliderConstraint.h.

Definition at line 90 of file btSliderConstraint.h.

Definition at line 85 of file btSliderConstraint.h.

Definition at line 100 of file btSliderConstraint.h.

Definition at line 95 of file btSliderConstraint.h.

Definition at line 110 of file btSliderConstraint.h.

Definition at line 105 of file btSliderConstraint.h.

Definition at line 117 of file btSliderConstraint.h.

Definition at line 116 of file btSliderConstraint.h.

Definition at line 151 of file btSliderConstraint.h.

Definition at line 146 of file btSliderConstraint.h.

Definition at line 126 of file btSliderConstraint.h.

Definition at line 78 of file btSliderConstraint.h.

Definition at line 75 of file btSliderConstraint.h.

Definition at line 72 of file btSliderConstraint.h.

Definition at line 68 of file btSliderConstraint.h.

for backwards compatibility during the transition to 'getInfo/getInfo2'

Definition at line 67 of file btSliderConstraint.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:32