|
Blender V4.3
|
#include "LinearMath/btVector3.h"#include "LinearMath/btMatrix3x3.h"#include "LinearMath/btAlignedAllocator.h"#include "LinearMath/btTransformUtil.h"Go to the source code of this file.
Macros | |
| #define | btSimdScalar btScalar |
| Until we get other contributions, only use SIMD on Windows, when using Visual Studio 2008 or later, and not double precision. | |
Variables | |
| btSolverBody | |
| The btSolverBody is an internal datastructure for the constraint solver. Only necessary data is packed to increase cache coherence/performance. | |
| btTransform | m_worldTransform |
| btVector3 | m_deltaLinearVelocity |
| btVector3 | m_deltaAngularVelocity |
| btVector3 | m_angularFactor |
| btVector3 | m_linearFactor |
| btVector3 | m_invMass |
| btVector3 | m_pushVelocity |
| btVector3 | m_turnVelocity |
| btVector3 | m_linearVelocity |
| btVector3 | m_angularVelocity |
| btVector3 | m_externalForceImpulse |
| btVector3 | m_externalTorqueImpulse |
| btRigidBody * | m_originalBody |
Until we get other contributions, only use SIMD on Windows, when using Visual Studio 2008 or later, and not double precision.
Definition at line 99 of file btSolverBody.h.
Referenced by gResolveSplitPenetrationImpulse_sse2(), and setupTorsionalFrictionConstraint().
| SIMD_FORCE_INLINE void applyImpulse | ( | const btVector3 & | linearComponent, |
| const btVector3 & | angularComponent, | ||
| const btScalar | impulseMagnitude ) |
Definition at line 156 of file btSolverBody.h.
References m_angularFactor, m_deltaAngularVelocity, m_deltaLinearVelocity, m_linearFactor, and m_originalBody.
| SIMD_FORCE_INLINE void getAngularVelocity | ( | btVector3 & | angVel | ) | const |
Definition at line 147 of file btSolverBody.h.
References m_angularVelocity, m_deltaAngularVelocity, and m_originalBody.
| const btVector3 & getDeltaAngularVelocity | ( | ) | const |
Definition at line 179 of file btSolverBody.h.
References m_deltaAngularVelocity.
| const btVector3 & getDeltaLinearVelocity | ( | ) | const |
Definition at line 174 of file btSolverBody.h.
References m_deltaLinearVelocity.
| const btVector3 & getPushVelocity | ( | ) | const |
Definition at line 184 of file btSolverBody.h.
References m_pushVelocity.
| const btVector3 & getTurnVelocity | ( | ) | const |
Definition at line 189 of file btSolverBody.h.
References m_turnVelocity.
| SIMD_FORCE_INLINE void getVelocityInLocalPointNoDelta | ( | const btVector3 & | rel_pos, |
| btVector3 & | velocity ) const |
Definition at line 131 of file btSolverBody.h.
References cross(), m_angularVelocity, m_externalForceImpulse, m_externalTorqueImpulse, m_linearVelocity, and m_originalBody.
| SIMD_FORCE_INLINE void getVelocityInLocalPointObsolete | ( | const btVector3 & | rel_pos, |
| btVector3 & | velocity ) const |
Definition at line 139 of file btSolverBody.h.
References cross(), m_angularVelocity, m_deltaAngularVelocity, m_deltaLinearVelocity, m_linearVelocity, and m_originalBody.
| const btTransform & getWorldTransform | ( | ) | const |
Definition at line 126 of file btSolverBody.h.
References m_worldTransform.
| SIMD_FORCE_INLINE void internalApplyImpulse | ( | const btVector3 & | linearComponent, |
| const btVector3 & | angularComponent, | ||
| const btScalar | impulseMagnitude ) |
Definition at line 243 of file btSolverBody.h.
References m_angularFactor, m_deltaAngularVelocity, m_deltaLinearVelocity, m_linearFactor, and m_originalBody.
| SIMD_FORCE_INLINE void internalApplyPushImpulse | ( | const btVector3 & | linearComponent, |
| const btVector3 & | angularComponent, | ||
| btScalar | impulseMagnitude ) |
Definition at line 165 of file btSolverBody.h.
References m_angularFactor, m_linearFactor, m_originalBody, m_pushVelocity, and m_turnVelocity.
| const btVector3 & internalGetAngularFactor | ( | ) | const |
Definition at line 207 of file btSolverBody.h.
References m_angularFactor.
| SIMD_FORCE_INLINE void internalGetAngularVelocity | ( | btVector3 & | angVel | ) | const |
Definition at line 237 of file btSolverBody.h.
References m_angularVelocity, and m_deltaAngularVelocity.
| btVector3 & internalGetDeltaAngularVelocity | ( | ) |
Definition at line 202 of file btSolverBody.h.
References m_deltaAngularVelocity.
| btVector3 & internalGetDeltaLinearVelocity | ( | ) |
some internal methods, don't use them
Definition at line 197 of file btSolverBody.h.
References m_deltaLinearVelocity.
| const btVector3 & internalGetInvMass | ( | ) | const |
Definition at line 212 of file btSolverBody.h.
References m_invMass.
| btVector3 & internalGetPushVelocity | ( | ) |
Definition at line 222 of file btSolverBody.h.
References m_pushVelocity.
| btVector3 & internalGetTurnVelocity | ( | ) |
Definition at line 227 of file btSolverBody.h.
References m_turnVelocity.
| SIMD_FORCE_INLINE void internalGetVelocityInLocalPointObsolete | ( | const btVector3 & | rel_pos, |
| btVector3 & | velocity ) const |
Definition at line 232 of file btSolverBody.h.
References cross(), m_angularVelocity, m_deltaAngularVelocity, m_deltaLinearVelocity, and m_linearVelocity.
| void internalSetInvMass | ( | const btVector3 & | invMass | ) |
Definition at line 217 of file btSolverBody.h.
References m_invMass.
| void setWorldTransform | ( | const btTransform & | worldTransform | ) |
Definition at line 121 of file btSolverBody.h.
References m_worldTransform.
| void writebackVelocity | ( | ) |
Definition at line 252 of file btSolverBody.h.
References m_angularVelocity, m_deltaAngularVelocity, m_deltaLinearVelocity, m_linearVelocity, and m_originalBody.
Definition at line 263 of file btSolverBody.h.
References btTransform, btTransformUtil::integrateTransform(), m_angularVelocity, m_deltaAngularVelocity, m_deltaLinearVelocity, m_linearVelocity, m_originalBody, m_pushVelocity, m_turnVelocity, and m_worldTransform.
| btSolverBody |
The btSolverBody is an internal datastructure for the constraint solver. Only necessary data is packed to increase cache coherence/performance.
Definition at line 104 of file btSolverBody.h.
Referenced by computeConstraintMatrixDiagElementMultiBody(), computeConstraintMatrixOffDiagElementMultiBody(), convertBodies(), convertContact(), convertJoint(), btMLCPSolver::createMLCP(), fillMultiBodyConstraint(), getOrInitSolverBody(), getOrInitSolverBodyThreadsafe(), initBatchedBodyDynamicFlags(), internalCollectContactManifoldCachedInfo(), internalConvertBodies(), internalSetupContactConstraints(), resolveConeFrictionConstraintRows(), resolveMultipleContactConstraints(), resolveMultipleContactConstraintsInterleaved(), resolveMultipleContactFrictionConstraints(), resolveMultipleContactSplitPenetrationImpulseConstraints(), resolveMultipleJointConstraints(), resolveSingleConstraintRowGeneric(), setupContactConstraint(), setupFrictionConstraint(), setupMultiBodyContactConstraint(), setupMultiBodyTorsionalFrictionConstraint(), setupSpatialGridBatchesMt(), setupTorsionalFrictionConstraint(), btMLCPSolver::solveGroupCacheFriendlyIterations(), btMultiBodyMLCPConstraintSolver::solveGroupCacheFriendlyIterations(), solveSingleIteration(), btBatchedConstraints::validate(), and writeToSolverBody().
| btVector3 m_angularFactor |
Definition at line 110 of file btSolverBody.h.
Referenced by applyImpulse(), internalApplyImpulse(), internalApplyPushImpulse(), and internalGetAngularFactor().
| btVector3 m_angularVelocity |
Definition at line 116 of file btSolverBody.h.
Referenced by btRigidBody::applyTorqueImpulse(), btRigidBody::getAngularVelocity(), getAngularVelocity(), btRigidBody::getVelocityInLocalPoint(), getVelocityInLocalPointNoDelta(), getVelocityInLocalPointObsolete(), btRigidBody::integrateVelocities(), internalGetAngularVelocity(), internalGetVelocityInLocalPointObsolete(), btRigidBody::setAngularVelocity(), solverBodyWriteBack(), writeBackBodies(), writebackVelocity(), and writebackVelocityAndTransform().
| btVector3 m_deltaAngularVelocity |
Definition at line 109 of file btSolverBody.h.
Referenced by applyImpulse(), getAngularVelocity(), getDeltaAngularVelocity(), getVelocityInLocalPointObsolete(), internalApplyImpulse(), internalGetAngularVelocity(), internalGetDeltaAngularVelocity(), internalGetVelocityInLocalPointObsolete(), solverBodyWriteBack(), writebackVelocity(), and writebackVelocityAndTransform().
| btVector3 m_deltaLinearVelocity |
Definition at line 108 of file btSolverBody.h.
Referenced by applyImpulse(), getDeltaLinearVelocity(), getVelocityInLocalPointObsolete(), internalApplyImpulse(), internalGetDeltaLinearVelocity(), internalGetVelocityInLocalPointObsolete(), btRigidBody::setupRigidBody(), solverBodyWriteBack(), writebackVelocity(), and writebackVelocityAndTransform().
| btVector3 m_externalForceImpulse |
Definition at line 117 of file btSolverBody.h.
Referenced by getVelocityInLocalPointNoDelta(), and writeBackBodies().
| btVector3 m_externalTorqueImpulse |
Definition at line 118 of file btSolverBody.h.
Referenced by getVelocityInLocalPointNoDelta(), and writeBackBodies().
| btVector3 m_invMass |
Definition at line 112 of file btSolverBody.h.
Referenced by internalCollectContactManifoldCachedInfo(), internalGetInvMass(), and internalSetInvMass().
| btVector3 m_linearFactor |
Definition at line 111 of file btSolverBody.h.
Referenced by btRigidBody::applyCentralForce(), btRigidBody::applyCentralImpulse(), btRigidBody::applyCentralPushImpulse(), btRigidBody::applyForce(), applyImpulse(), btRigidBody::applyImpulse(), btRigidBody::applyPushImpulse(), btRigidBody::getLinearFactor(), internalApplyImpulse(), internalApplyPushImpulse(), and btRigidBody::setLinearFactor().
| btVector3 m_linearVelocity |
Definition at line 115 of file btSolverBody.h.
Referenced by btRigidBody::applyCentralImpulse(), btRigidBody::getLinearVelocity(), btRigidBody::getVelocityInLocalPoint(), getVelocityInLocalPointNoDelta(), getVelocityInLocalPointObsolete(), internalGetVelocityInLocalPointObsolete(), btRigidBody::setLinearVelocity(), solverBodyWriteBack(), writeBackBodies(), writebackVelocity(), and writebackVelocityAndTransform().
| btRigidBody* m_originalBody |
Definition at line 120 of file btSolverBody.h.
Referenced by applyImpulse(), btMLCPSolver::createMLCP(), getAngularVelocity(), getVelocityInLocalPointNoDelta(), getVelocityInLocalPointObsolete(), internalApplyImpulse(), internalApplyPushImpulse(), writebackVelocity(), and writebackVelocityAndTransform().
| btVector3 m_pushVelocity |
Definition at line 113 of file btSolverBody.h.
Referenced by getPushVelocity(), internalApplyPushImpulse(), internalGetPushVelocity(), and writebackVelocityAndTransform().
| btVector3 m_turnVelocity |
Definition at line 114 of file btSolverBody.h.
Referenced by getTurnVelocity(), internalApplyPushImpulse(), internalGetTurnVelocity(), and writebackVelocityAndTransform().
| btTransform m_worldTransform |
Definition at line 107 of file btSolverBody.h.
Referenced by btRigidBody::computeGyroscopicImpulseImplicit_World(), btRaycastVehicle::debugDraw(), btRigidBody::getAabb(), btRigidBody::getCenterOfMassPosition(), btRigidBody::getCenterOfMassTransform(), btRigidBody::getOrientation(), getWorldTransform(), getWorldTransform(), btSoftBody::initDefaults(), btRigidBody::predictIntegratedTransform(), btRigidBody::saveKinematicState(), btRigidBody::setCenterOfMassTransform(), btRigidBody::setMotionState(), btRigidBody::setupRigidBody(), setWorldTransform(), setWorldTransform(), btRigidBody::translate(), btRigidBody::updateInertiaTensor(), writeBackBodies(), and writebackVelocityAndTransform().