Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
gte::RigidBody< Real > Class Template Reference

#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
 

Detailed Description

template<typename Real>
class gte::RigidBody< Real >

Definition at line 19 of file GteRigidBody.h.

Member Typedef Documentation

template<typename Real >
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.

Constructor & Destructor Documentation

template<typename Real >
gte::RigidBody< Real >::~RigidBody ( )
virtual

Definition at line 98 of file GteRigidBody.h.

template<typename Real >
gte::RigidBody< Real >::RigidBody ( )

Definition at line 103 of file GteRigidBody.h.

Member Function Documentation

template<typename Real >
Vector3< Real > const & gte::RigidBody< Real >::GetAngularMomentum ( ) const
inline

Definition at line 258 of file GteRigidBody.h.

template<typename Real >
Vector3< Real > const & gte::RigidBody< Real >::GetAngularVelocity ( ) const
inline

Definition at line 276 of file GteRigidBody.h.

template<typename Real >
Matrix3x3< Real > const & gte::RigidBody< Real >::GetBodyInertia ( ) const
inline

Definition at line 216 of file GteRigidBody.h.

template<typename Real >
Matrix3x3< Real > const & gte::RigidBody< Real >::GetBodyInverseInertia ( ) const
inline

Definition at line 222 of file GteRigidBody.h.

template<typename Real >
Real gte::RigidBody< Real >::GetInverseMass ( ) const
inline

Definition at line 210 of file GteRigidBody.h.

template<typename Real >
Vector3< Real > const & gte::RigidBody< Real >::GetLinearMomentum ( ) const
inline

Definition at line 252 of file GteRigidBody.h.

template<typename Real >
Vector3< Real > const & gte::RigidBody< Real >::GetLinearVelocity ( ) const
inline

Definition at line 270 of file GteRigidBody.h.

template<typename Real >
Real gte::RigidBody< Real >::GetMass ( ) const
inline

Definition at line 204 of file GteRigidBody.h.

template<typename Real >
Vector3< Real > const & gte::RigidBody< Real >::GetPosition ( ) const
inline

Definition at line 240 of file GteRigidBody.h.

template<typename Real >
Quaternion< Real > const & gte::RigidBody< Real >::GetQOrientation ( ) const
inline

Definition at line 246 of file GteRigidBody.h.

template<typename Real >
Matrix3x3< Real > const & gte::RigidBody< Real >::GetROrientation ( ) const
inline

Definition at line 264 of file GteRigidBody.h.

template<typename Real >
Matrix3x3< Real > gte::RigidBody< Real >::GetWorldInertia ( ) const

Definition at line 228 of file GteRigidBody.h.

template<typename Real >
Matrix3x3< Real > gte::RigidBody< Real >::GetWorldInverseInertia ( ) const

Definition at line 234 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetAngularMomentum ( Vector3< Real > const &  angularMomentum)

Definition at line 172 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetAngularVelocity ( Vector3< Real > const &  angularVelocity)

Definition at line 195 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetBodyInertia ( Matrix3x3< Real > const &  inertia)

Definition at line 145 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetLinearMomentum ( Vector3< Real > const &  linearMomentum)

Definition at line 165 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetLinearVelocity ( Vector3< Real > const &  linearVelocity)

Definition at line 188 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetMass ( float  mass)

Definition at line 121 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetPosition ( Vector3< Real > const &  position)
inline

Definition at line 152 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetQOrientation ( Quaternion< Real > const &  quatOrient)

Definition at line 158 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::SetROrientation ( Matrix3x3< Real > const &  rotOrient)

Definition at line 181 of file GteRigidBody.h.

template<typename Real >
void gte::RigidBody< Real >::Update ( Real  t,
Real  dt 
)

Definition at line 282 of file GteRigidBody.h.

Member Data Documentation

template<typename Real >
Vector3<Real> gte::RigidBody< Real >::mAngularMomentum
protected

Definition at line 88 of file GteRigidBody.h.

template<typename Real >
Vector3<Real> gte::RigidBody< Real >::mAngularVelocity
protected

Definition at line 93 of file GteRigidBody.h.

template<typename Real >
Function gte::RigidBody< Real >::mForce

Definition at line 73 of file GteRigidBody.h.

template<typename Real >
Matrix3x3<Real> gte::RigidBody< Real >::mInertia
protected

Definition at line 82 of file GteRigidBody.h.

template<typename Real >
Matrix3x3<Real> gte::RigidBody< Real >::mInvInertia
protected

Definition at line 82 of file GteRigidBody.h.

template<typename Real >
Real gte::RigidBody< Real >::mInvMass
protected

Definition at line 81 of file GteRigidBody.h.

template<typename Real >
Vector3<Real> gte::RigidBody< Real >::mLinearMomentum
protected

Definition at line 87 of file GteRigidBody.h.

template<typename Real >
Vector3<Real> gte::RigidBody< Real >::mLinearVelocity
protected

Definition at line 92 of file GteRigidBody.h.

template<typename Real >
Real gte::RigidBody< Real >::mMass
protected

Definition at line 81 of file GteRigidBody.h.

template<typename Real >
Vector3<Real> gte::RigidBody< Real >::mPosition
protected

Definition at line 85 of file GteRigidBody.h.

template<typename Real >
Quaternion<Real> gte::RigidBody< Real >::mQuatOrient
protected

Definition at line 86 of file GteRigidBody.h.

template<typename Real >
Matrix3x3<Real> gte::RigidBody< Real >::mRotOrient
protected

Definition at line 91 of file GteRigidBody.h.

template<typename Real >
Function gte::RigidBody< Real >::mTorque

Definition at line 74 of file GteRigidBody.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06