#include <GteRigidBody.h>
Public Types | |
typedef std::function< Vector3< Real > Real, Real, Vector3< Real > const &, Quaternion< Real > const &, Vector3< Real > const &, Vector3< Real > const &, Matrix3x3< Real > const &, Vector3< Real > const &, Vector3< Real > const &) > | Function |
Public Member Functions | |
Vector3< Real > const & | GetAngularMomentum () const |
Vector3< Real > const & | GetAngularVelocity () const |
Matrix3x3< Real > const & | GetBodyInertia () const |
Matrix3x3< Real > const & | GetBodyInverseInertia () const |
Real | GetInverseMass () const |
Vector3< Real > const & | GetLinearMomentum () const |
Vector3< Real > const & | GetLinearVelocity () const |
Real | GetMass () const |
Vector3< Real > const & | GetPosition () const |
Quaternion< Real > const & | GetQOrientation () const |
Matrix3x3< Real > const & | GetROrientation () const |
Matrix3x3< Real > | GetWorldInertia () const |
Matrix3x3< Real > | GetWorldInverseInertia () const |
RigidBody () | |
void | SetAngularMomentum (Vector3< Real > const &angularMomentum) |
void | SetAngularVelocity (Vector3< Real > const &angularVelocity) |
void | SetBodyInertia (Matrix3x3< Real > const &inertia) |
void | SetLinearMomentum (Vector3< Real > const &linearMomentum) |
void | SetLinearVelocity (Vector3< Real > const &linearVelocity) |
void | SetMass (float mass) |
void | SetPosition (Vector3< Real > const &position) |
void | SetQOrientation (Quaternion< Real > const &quatOrient) |
void | SetROrientation (Matrix3x3< Real > const &rotOrient) |
void | Update (Real t, Real dt) |
virtual | ~RigidBody () |
Public Attributes | |
Function | mForce |
Function | mTorque |
Protected Attributes | |
Vector3< Real > | mAngularMomentum |
Vector3< Real > | mAngularVelocity |
Matrix3x3< Real > | mInertia |
Matrix3x3< Real > | mInvInertia |
Real | mInvMass |
Vector3< Real > | mLinearMomentum |
Vector3< Real > | mLinearVelocity |
Real | mMass |
Vector3< Real > | mPosition |
Quaternion< Real > | mQuatOrient |
Matrix3x3< Real > | mRotOrient |
Definition at line 19 of file GteRigidBody.h.
typedef std::function< Vector3<Real> Real, Real, Vector3<Real> const&, Quaternion<Real> const&, Vector3<Real> const&, Vector3<Real> const&, Matrix3x3<Real> const&, Vector3<Real> const&, Vector3<Real> const& ) > gte::RigidBody< Real >::Function |
Definition at line 70 of file GteRigidBody.h.
|
virtual |
Definition at line 98 of file GteRigidBody.h.
gte::RigidBody< Real >::RigidBody | ( | ) |
Definition at line 103 of file GteRigidBody.h.
|
inline |
Definition at line 258 of file GteRigidBody.h.
|
inline |
Definition at line 276 of file GteRigidBody.h.
|
inline |
Definition at line 216 of file GteRigidBody.h.
|
inline |
Definition at line 222 of file GteRigidBody.h.
|
inline |
Definition at line 210 of file GteRigidBody.h.
|
inline |
Definition at line 252 of file GteRigidBody.h.
|
inline |
Definition at line 270 of file GteRigidBody.h.
|
inline |
Definition at line 204 of file GteRigidBody.h.
|
inline |
Definition at line 240 of file GteRigidBody.h.
|
inline |
Definition at line 246 of file GteRigidBody.h.
|
inline |
Definition at line 264 of file GteRigidBody.h.
Matrix3x3< Real > gte::RigidBody< Real >::GetWorldInertia | ( | ) | const |
Definition at line 228 of file GteRigidBody.h.
Matrix3x3< Real > gte::RigidBody< Real >::GetWorldInverseInertia | ( | ) | const |
Definition at line 234 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetAngularMomentum | ( | Vector3< Real > const & | angularMomentum | ) |
Definition at line 172 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetAngularVelocity | ( | Vector3< Real > const & | angularVelocity | ) |
Definition at line 195 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetBodyInertia | ( | Matrix3x3< Real > const & | inertia | ) |
Definition at line 145 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetLinearMomentum | ( | Vector3< Real > const & | linearMomentum | ) |
Definition at line 165 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetLinearVelocity | ( | Vector3< Real > const & | linearVelocity | ) |
Definition at line 188 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetMass | ( | float | mass | ) |
Definition at line 121 of file GteRigidBody.h.
|
inline |
Definition at line 152 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetQOrientation | ( | Quaternion< Real > const & | quatOrient | ) |
Definition at line 158 of file GteRigidBody.h.
void gte::RigidBody< Real >::SetROrientation | ( | Matrix3x3< Real > const & | rotOrient | ) |
Definition at line 181 of file GteRigidBody.h.
void gte::RigidBody< Real >::Update | ( | Real | t, |
Real | dt | ||
) |
Definition at line 282 of file GteRigidBody.h.
|
protected |
Definition at line 88 of file GteRigidBody.h.
|
protected |
Definition at line 93 of file GteRigidBody.h.
Function gte::RigidBody< Real >::mForce |
Definition at line 73 of file GteRigidBody.h.
|
protected |
Definition at line 82 of file GteRigidBody.h.
|
protected |
Definition at line 82 of file GteRigidBody.h.
|
protected |
Definition at line 81 of file GteRigidBody.h.
|
protected |
Definition at line 87 of file GteRigidBody.h.
|
protected |
Definition at line 92 of file GteRigidBody.h.
|
protected |
Definition at line 81 of file GteRigidBody.h.
|
protected |
Definition at line 85 of file GteRigidBody.h.
|
protected |
Definition at line 86 of file GteRigidBody.h.
|
protected |
Definition at line 91 of file GteRigidBody.h.
Function gte::RigidBody< Real >::mTorque |
Definition at line 74 of file GteRigidBody.h.