Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btSolverBody Struct Reference

The btSolverBody is an internal datastructure for the constraint solver. Only necessary data is packed to increase cache coherence/performance. More...

#include <btSolverBody.h>

Collaboration diagram for btSolverBody:
Collaboration graph
[legend]

Public Member Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
void setWorldTransform (const btTransform &worldTransform)
const btTransformgetWorldTransform () const
void getVelocityInLocalPointNoDelta (const btVector3 &rel_pos, btVector3 &velocity) const
void getVelocityInLocalPointObsolete (const btVector3 &rel_pos, btVector3 &velocity) const
void getAngularVelocity (btVector3 &angVel) const
void applyImpulse (const btVector3 &linearComponent, const btVector3 &angularComponent, const btScalar impulseMagnitude)
void internalApplyPushImpulse (const btVector3 &linearComponent, const btVector3 &angularComponent, btScalar impulseMagnitude)
const btVector3getDeltaLinearVelocity () const
const btVector3getDeltaAngularVelocity () const
const btVector3getPushVelocity () const
const btVector3getTurnVelocity () const
btVector3internalGetDeltaLinearVelocity ()
 some internal methods, don't use them
btVector3internalGetDeltaAngularVelocity ()
const btVector3internalGetAngularFactor () const
const btVector3internalGetInvMass () const
void internalSetInvMass (const btVector3 &invMass)
btVector3internalGetPushVelocity ()
btVector3internalGetTurnVelocity ()
void internalGetVelocityInLocalPointObsolete (const btVector3 &rel_pos, btVector3 &velocity) const
void internalGetAngularVelocity (btVector3 &angVel) const
void internalApplyImpulse (const btVector3 &linearComponent, const btVector3 &angularComponent, const btScalar impulseMagnitude)
void writebackVelocity ()
void writebackVelocityAndTransform (btScalar timeStep, btScalar splitImpulseTurnErp)

Public Attributes

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
btRigidBodym_originalBody

Detailed Description

The btSolverBody is an internal datastructure for the constraint solver. Only necessary data is packed to increase cache coherence/performance.

Definition at line 108 of file btSolverBody.h.

Member Function Documentation

void btSolverBody::applyImpulse ( const btVector3 linearComponent,
const btVector3 angularComponent,
const btScalar  impulseMagnitude 
)
inline

Definition at line 164 of file btSolverBody.h.

btSolverBody::BT_DECLARE_ALIGNED_ALLOCATOR ( )
void btSolverBody::getAngularVelocity ( btVector3 angVel) const
inline

Definition at line 154 of file btSolverBody.h.

const btVector3& btSolverBody::getDeltaAngularVelocity ( ) const
inline

Definition at line 189 of file btSolverBody.h.

const btVector3& btSolverBody::getDeltaLinearVelocity ( ) const
inline

Definition at line 184 of file btSolverBody.h.

const btVector3& btSolverBody::getPushVelocity ( ) const
inline

Definition at line 194 of file btSolverBody.h.

const btVector3& btSolverBody::getTurnVelocity ( ) const
inline

Definition at line 199 of file btSolverBody.h.

void btSolverBody::getVelocityInLocalPointNoDelta ( const btVector3 rel_pos,
btVector3 velocity 
) const
inline

Definition at line 137 of file btSolverBody.h.

void btSolverBody::getVelocityInLocalPointObsolete ( const btVector3 rel_pos,
btVector3 velocity 
) const
inline

Definition at line 146 of file btSolverBody.h.

const btTransform& btSolverBody::getWorldTransform ( ) const
inline

Definition at line 130 of file btSolverBody.h.

void btSolverBody::internalApplyImpulse ( const btVector3 linearComponent,
const btVector3 angularComponent,
const btScalar  impulseMagnitude 
)
inline

Definition at line 255 of file btSolverBody.h.

void btSolverBody::internalApplyPushImpulse ( const btVector3 linearComponent,
const btVector3 angularComponent,
btScalar  impulseMagnitude 
)
inline

Definition at line 173 of file btSolverBody.h.

const btVector3& btSolverBody::internalGetAngularFactor ( ) const
inline

Definition at line 218 of file btSolverBody.h.

void btSolverBody::internalGetAngularVelocity ( btVector3 angVel) const
inline

Definition at line 248 of file btSolverBody.h.

btVector3& btSolverBody::internalGetDeltaAngularVelocity ( )
inline

Definition at line 213 of file btSolverBody.h.

btVector3& btSolverBody::internalGetDeltaLinearVelocity ( )
inline

some internal methods, don't use them

Definition at line 208 of file btSolverBody.h.

const btVector3& btSolverBody::internalGetInvMass ( ) const
inline

Definition at line 223 of file btSolverBody.h.

btVector3& btSolverBody::internalGetPushVelocity ( )
inline

Definition at line 233 of file btSolverBody.h.

btVector3& btSolverBody::internalGetTurnVelocity ( )
inline

Definition at line 238 of file btSolverBody.h.

void btSolverBody::internalGetVelocityInLocalPointObsolete ( const btVector3 rel_pos,
btVector3 velocity 
) const
inline

Definition at line 243 of file btSolverBody.h.

void btSolverBody::internalSetInvMass ( const btVector3 invMass)
inline

Definition at line 228 of file btSolverBody.h.

void btSolverBody::setWorldTransform ( const btTransform worldTransform)
inline

Definition at line 125 of file btSolverBody.h.

void btSolverBody::writebackVelocity ( )
inline

Definition at line 267 of file btSolverBody.h.

void btSolverBody::writebackVelocityAndTransform ( btScalar  timeStep,
btScalar  splitImpulseTurnErp 
)
inline

Definition at line 279 of file btSolverBody.h.

Member Data Documentation

btVector3 btSolverBody::m_angularFactor

Definition at line 114 of file btSolverBody.h.

btVector3 btSolverBody::m_angularVelocity

Definition at line 120 of file btSolverBody.h.

btVector3 btSolverBody::m_deltaAngularVelocity

Definition at line 113 of file btSolverBody.h.

btVector3 btSolverBody::m_deltaLinearVelocity

Definition at line 112 of file btSolverBody.h.

btVector3 btSolverBody::m_externalForceImpulse

Definition at line 121 of file btSolverBody.h.

btVector3 btSolverBody::m_externalTorqueImpulse

Definition at line 122 of file btSolverBody.h.

btVector3 btSolverBody::m_invMass

Definition at line 116 of file btSolverBody.h.

btVector3 btSolverBody::m_linearFactor

Definition at line 115 of file btSolverBody.h.

btVector3 btSolverBody::m_linearVelocity

Definition at line 119 of file btSolverBody.h.

btRigidBody* btSolverBody::m_originalBody

Definition at line 124 of file btSolverBody.h.

btVector3 btSolverBody::m_pushVelocity

Definition at line 117 of file btSolverBody.h.

btVector3 btSolverBody::m_turnVelocity

Definition at line 118 of file btSolverBody.h.

btTransform btSolverBody::m_worldTransform

Definition at line 111 of file btSolverBody.h.


The documentation for this struct was generated from the following file: