|
| BT_DECLARE_ALIGNED_ALLOCATOR () |
|
| btMultiBody (int n_links, btScalar mass, const btVector3 &inertia, bool fixedBase, bool canSleep, bool deprecatedMultiDof=true) |
|
virtual | ~btMultiBody () |
|
void | setupFixed (int i, btScalar mass, const btVector3 &inertia, int parent, const btQuaternion &rotParentToThis, const btVector3 &parentComToThisPivotOffset, const btVector3 &thisPivotToThisComOffset, bool deprecatedDisableParentCollision=true) |
|
void | setupPrismatic (int i, btScalar mass, const btVector3 &inertia, int parent, const btQuaternion &rotParentToThis, const btVector3 &jointAxis, const btVector3 &parentComToThisPivotOffset, const btVector3 &thisPivotToThisComOffset, bool disableParentCollision) |
|
void | setupRevolute (int i, btScalar mass, const btVector3 &inertia, int parentIndex, const btQuaternion &rotParentToThis, const btVector3 &jointAxis, const btVector3 &parentComToThisPivotOffset, const btVector3 &thisPivotToThisComOffset, bool disableParentCollision=false) |
|
void | setupSpherical (int i, btScalar mass, const btVector3 &inertia, int parent, const btQuaternion &rotParentToThis, const btVector3 &parentComToThisPivotOffset, const btVector3 &thisPivotToThisComOffset, bool disableParentCollision=false) |
|
void | setupPlanar (int i, btScalar mass, const btVector3 &inertia, int parent, const btQuaternion &rotParentToThis, const btVector3 &rotationAxis, const btVector3 &parentComToThisComOffset, bool disableParentCollision=false) |
|
const btMultibodyLink & | getLink (int index) const |
|
btMultibodyLink & | getLink (int index) |
|
void | setBaseCollider (btMultiBodyLinkCollider *collider) |
|
const btMultiBodyLinkCollider * | getBaseCollider () const |
|
btMultiBodyLinkCollider * | getBaseCollider () |
|
const btMultiBodyLinkCollider * | getLinkCollider (int index) const |
|
btMultiBodyLinkCollider * | getLinkCollider (int index) |
|
int | getParent (int link_num) const |
|
int | getNumLinks () const |
|
int | getNumDofs () const |
|
int | getNumPosVars () const |
|
btScalar | getBaseMass () const |
|
const btVector3 & | getBaseInertia () const |
|
btScalar | getLinkMass (int i) const |
|
const btVector3 & | getLinkInertia (int i) const |
|
void | setBaseMass (btScalar mass) |
|
void | setBaseInertia (const btVector3 &inertia) |
|
const btVector3 & | getBasePos () const |
|
const btVector3 | getBaseVel () const |
|
const btQuaternion & | getWorldToBaseRot () const |
|
const btVector3 & | getInterpolateBasePos () const |
|
const btQuaternion & | getInterpolateWorldToBaseRot () const |
|
btVector3 | getBaseOmega () const |
|
void | setBasePos (const btVector3 &pos) |
|
void | setInterpolateBasePos (const btVector3 &pos) |
|
void | setBaseWorldTransform (const btTransform &tr) |
|
btTransform | getBaseWorldTransform () const |
|
void | setInterpolateBaseWorldTransform (const btTransform &tr) |
|
btTransform | getInterpolateBaseWorldTransform () const |
|
void | setBaseVel (const btVector3 &vel) |
|
void | setWorldToBaseRot (const btQuaternion &rot) |
|
void | setInterpolateWorldToBaseRot (const btQuaternion &rot) |
|
void | setBaseOmega (const btVector3 &omega) |
|
void | saveKinematicState (btScalar timeStep) |
|
btScalar | getJointPos (int i) const |
|
btScalar | getJointVel (int i) const |
|
btScalar * | getJointVelMultiDof (int i) |
|
btScalar * | getJointPosMultiDof (int i) |
|
const btScalar * | getJointVelMultiDof (int i) const |
|
const btScalar * | getJointPosMultiDof (int i) const |
|
void | setJointPos (int i, btScalar q) |
|
void | setJointVel (int i, btScalar qdot) |
|
void | setJointPosMultiDof (int i, const double *q) |
|
void | setJointVelMultiDof (int i, const double *qdot) |
|
void | setJointPosMultiDof (int i, const float *q) |
|
void | setJointVelMultiDof (int i, const float *qdot) |
|
const btScalar * | getVelocityVector () const |
|
const btScalar * | getDeltaVelocityVector () const |
|
const btScalar * | getSplitVelocityVector () const |
|
const btVector3 & | getRVector (int i) const |
|
const btQuaternion & | getParentToLocalRot (int i) const |
|
const btVector3 & | getInterpolateRVector (int i) const |
|
const btQuaternion & | getInterpolateParentToLocalRot (int i) const |
|
btVector3 | localPosToWorld (int i, const btVector3 &local_pos) const |
|
btVector3 | localDirToWorld (int i, const btVector3 &local_dir) const |
|
btVector3 | worldPosToLocal (int i, const btVector3 &world_pos) const |
|
btVector3 | worldDirToLocal (int i, const btVector3 &world_dir) const |
|
btMatrix3x3 | localFrameToWorld (int i, const btMatrix3x3 &local_frame) const |
|
void | clearForcesAndTorques () |
|
void | clearConstraintForces () |
|
void | clearVelocities () |
|
void | addBaseForce (const btVector3 &f) |
|
void | addBaseTorque (const btVector3 &t) |
|
void | addLinkForce (int i, const btVector3 &f) |
|
void | addLinkTorque (int i, const btVector3 &t) |
|
void | addBaseConstraintForce (const btVector3 &f) |
|
void | addBaseConstraintTorque (const btVector3 &t) |
|
void | addLinkConstraintForce (int i, const btVector3 &f) |
|
void | addLinkConstraintTorque (int i, const btVector3 &t) |
|
void | addJointTorque (int i, btScalar Q) |
|
void | addJointTorqueMultiDof (int i, int dof, btScalar Q) |
|
void | addJointTorqueMultiDof (int i, const btScalar *Q) |
|
const btVector3 & | getBaseForce () const |
|
const btVector3 & | getBaseTorque () const |
|
const btVector3 & | getLinkForce (int i) const |
|
const btVector3 & | getLinkTorque (int i) const |
|
btScalar | getJointTorque (int i) const |
|
btScalar * | getJointTorqueMultiDof (int i) |
|
void | computeAccelerationsArticulatedBodyAlgorithmMultiDof (btScalar dt, btAlignedObjectArray< btScalar > &scratch_r, btAlignedObjectArray< btVector3 > &scratch_v, btAlignedObjectArray< btMatrix3x3 > &scratch_m, bool isConstraintPass, bool jointFeedbackInWorldSpace, bool jointFeedbackInJointFrame) |
|
void | calcAccelerationDeltasMultiDof (const btScalar *force, btScalar *output, btAlignedObjectArray< btScalar > &scratch_r, btAlignedObjectArray< btVector3 > &scratch_v) const |
| stepVelocitiesMultiDof is deprecated, use computeAccelerationsArticulatedBodyAlgorithmMultiDof instead
|
|
void | applyDeltaVeeMultiDof2 (const btScalar *delta_vee, btScalar multiplier) |
|
void | applyDeltaSplitVeeMultiDof (const btScalar *delta_vee, btScalar multiplier) |
|
void | addSplitV () |
|
void | substractSplitV () |
|
void | processDeltaVeeMultiDof2 () |
|
void | applyDeltaVeeMultiDof (const btScalar *delta_vee, btScalar multiplier) |
|
void | stepPositionsMultiDof (btScalar dt, btScalar *pq=0, btScalar *pqd=0) |
|
void | predictPositionsMultiDof (btScalar dt) |
|
void | fillContactJacobianMultiDof (int link, const btVector3 &contact_point, const btVector3 &normal, btScalar *jac, btAlignedObjectArray< btScalar > &scratch_r, btAlignedObjectArray< btVector3 > &scratch_v, btAlignedObjectArray< btMatrix3x3 > &scratch_m) const |
|
void | fillConstraintJacobianMultiDof (int link, const btVector3 &contact_point, const btVector3 &normal_ang, const btVector3 &normal_lin, btScalar *jac, btAlignedObjectArray< btScalar > &scratch_r, btAlignedObjectArray< btVector3 > &scratch_v, btAlignedObjectArray< btMatrix3x3 > &scratch_m) const |
|
void | setCanSleep (bool canSleep) |
|
bool | getCanSleep () const |
|
bool | getCanWakeup () const |
|
void | setCanWakeup (bool canWakeup) |
|
bool | isAwake () const |
|
void | wakeUp () |
|
void | goToSleep () |
|
void | checkMotionAndSleepIfRequired (btScalar timestep) |
|
bool | hasFixedBase () const |
|
bool | isBaseKinematic () const |
|
bool | isBaseStaticOrKinematic () const |
|
void | setBaseDynamicType (int dynamicType) |
|
void | setFixedBase (bool fixedBase) |
|
int | getCompanionId () const |
|
void | setCompanionId (int id) |
|
void | setNumLinks (int numLinks) |
|
btScalar | getLinearDamping () const |
|
void | setLinearDamping (btScalar damp) |
|
btScalar | getAngularDamping () const |
|
void | setAngularDamping (btScalar damp) |
|
bool | getUseGyroTerm () const |
|
void | setUseGyroTerm (bool useGyro) |
|
btScalar | getMaxCoordinateVelocity () const |
|
void | setMaxCoordinateVelocity (btScalar maxVel) |
|
btScalar | getMaxAppliedImpulse () const |
|
void | setMaxAppliedImpulse (btScalar maxImp) |
|
void | setHasSelfCollision (bool hasSelfCollision) |
|
bool | hasSelfCollision () const |
|
void | finalizeMultiDof () |
|
void | useRK4Integration (bool use) |
|
bool | isUsingRK4Integration () const |
|
void | useGlobalVelocities (bool use) |
|
bool | isUsingGlobalVelocities () const |
|
bool | isPosUpdated () const |
|
void | setPosUpdated (bool updated) |
|
bool | internalNeedsJointFeedback () const |
|
void | forwardKinematics (btAlignedObjectArray< btQuaternion > &world_to_local, btAlignedObjectArray< btVector3 > &local_origin) |
|
void | compTreeLinkVelocities (btVector3 *omega, btVector3 *vel) const |
|
void | updateCollisionObjectWorldTransforms (btAlignedObjectArray< btQuaternion > &world_to_local, btAlignedObjectArray< btVector3 > &local_origin) |
|
void | updateCollisionObjectInterpolationWorldTransforms (btAlignedObjectArray< btQuaternion > &world_to_local, btAlignedObjectArray< btVector3 > &local_origin) |
|
virtual int | calculateSerializeBufferSize () const |
|
virtual const char * | serialize (void *dataBuffer, class btSerializer *serializer) const |
| fills the dataBuffer and returns the struct name (and 0 on failure)
|
|
const char * | getBaseName () const |
|
void | setBaseName (const char *name) |
| memory of setBaseName needs to be manager by user
|
|
void * | getUserPointer () const |
| users can point to their objects, userPointer is not used by Bullet
|
|
int | getUserIndex () const |
|
int | getUserIndex2 () const |
|
void | setUserPointer (void *userPointer) |
| users can point to their objects, userPointer is not used by Bullet
|
|
void | setUserIndex (int index) |
| users can point to their objects, userPointer is not used by Bullet
|
|
void | setUserIndex2 (int index) |
|
void | setLinkDynamicType (const int i, int type) |
|
bool | isLinkStaticOrKinematic (const int i) const |
|
bool | isLinkKinematic (const int i) const |
|
bool | isLinkAndAllAncestorsStaticOrKinematic (const int i) const |
|
bool | isLinkAndAllAncestorsKinematic (const int i) const |
|
void | setSleepThreshold (btScalar sleepThreshold) |
|
void | setSleepTimeout (btScalar sleepTimeout) |
|
Definition at line 49 of file btMultiBody.h.