Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages

RigidBodyState Class Reference

#include <rigidbody.h>

Collaboration diagram for RigidBodyState:

Collaboration graph
[legend]
List of all members.

Detailed Description

State data for a rigid body.

Author:
Mattias Jansson (mattias@realityrift.com)


Public Member Functions

 RigidBodyState ()
 RigidBodyState (const Matrix &rkInvBodyInertiaTensor, const Matrix &rkInvInertiaTensor, const Vector3d &rkAngularVelocity, const Vector3d &rkTorque, const Matrix &rkRotation)
 RigidBodyState (const RigidBodyState &rkState)
bool operator< (const RigidBodyState &rkState) const
bool operator== (const RigidBodyState &rkState) const

Public Attributes

Matrix m_kInvBodyInertiaTensor
Matrix m_kInvInertiaTensor
Vector3d m_kAngularVelocity
Vector3d m_kTorque
Matrix m_kRotation


Constructor & Destructor Documentation

RigidBodyState  )  [inline]
 

RigidBodyState const Matrix rkInvBodyInertiaTensor,
const Matrix rkInvInertiaTensor,
const Vector3d rkAngularVelocity,
const Vector3d rkTorque,
const Matrix rkRotation
[inline]
 

Parameters:
rkInvBodyInertiaTensor Inverse body inertia tensor
rkInvInertiaTensor Inverse world inertia tensor
rkAngularVelocity Angular velocity
rkTorque Torque
rkRotation Rotation matrix

RigidBodyState const RigidBodyState rkState  )  [inline]
 

Parameters:
rkState Reference state object to copy


Member Function Documentation

bool operator< const RigidBodyState rkState  )  const [inline]
 

Needed for STL exports of UDTs under Win32

Parameters:
rkState State data to compare with
Returns:
false

bool operator== const RigidBodyState rkState  )  const [inline]
 

Query if states are equal

Parameters:
rkState State data to compare with
Returns:
true if all elements are equal, false if not


Member Data Documentation

Matrix m_kInvBodyInertiaTensor
 

Inverted body inertia tensor

Matrix m_kInvInertiaTensor
 

Inverted inertia tensor

Vector3d m_kAngularVelocity
 

Angular velocity

Vector3d m_kTorque
 

Torque

Matrix m_kRotation
 

Rotation as matrix


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:14 2004 for NeoEngine by doxygen 1.3.5