PixelLightAPI  .
Public Member Functions | Protected Attributes
PLMesh::JointState Class Reference

Joint state class. More...

#include <JointState.h>

Inheritance diagram for PLMesh::JointState:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLMESH_API JointState ()
 Constructor.
virtual PLMESH_API ~JointState ()
 Destructor.
PLMESH_API const PLMath::Vector3GetTranslation () const
 Gets the joint translation.
PLMESH_API void SetTranslation (const PLMath::Vector3 &vTranslation)
 Sets the joint translation.
PLMESH_API const
PLMath::Quaternion
GetRotation () const
 Gets the joint rotation.
PLMESH_API void SetRotation (const PLMath::Quaternion &qRotation)
 Sets the joint rotation.
PLMESH_API const PLMath::Vector3GetTranslationAbsolute () const
 Gets the absolute joint translation.
PLMESH_API void SetTranslationAbsolute (const PLMath::Vector3 &vTranslation)
 Sets the absolute joint translation.
PLMESH_API const
PLMath::Quaternion
GetRotationAbsolute () const
 Gets the absolute joint rotation.
PLMESH_API void SetRotationAbsolute (const PLMath::Quaternion &qRotation)
 Sets the absolute joint rotation.
PLMESH_API const
PLMath::Matrix3x4
GetMatrixAbsolute () const
 Gets the absolute joint matrix.
PLMESH_API const
PLMath::Matrix3x3
GetMatrixTransform () const
 Gets the transform joint matrix.
PLMESH_API const PLMath::Vector3GetTranslationJointSpace () const
 Gets the joint space joint translation.
PLMESH_API void SetTranslationJointSpace (const PLMath::Vector3 &vTranslation)
 Sets the joint space joint translation.
PLMESH_API const
PLMath::Quaternion
GetRotationJointSpace () const
 Gets the joint space joint rotation.
PLMESH_API void SetRotationJointSpace (const PLMath::Quaternion &qRotation)
 Sets the joint space joint rotation.
PLMESH_API JointStateoperator= (const JointState &cSource)
 Copy operator.
PLMESH_API bool operator== (const JointState &cJointState) const
 Compares two joint states.

Protected Attributes

PLMath::Vector3 m_vTranslation
PLMath::Quaternion m_qRotation
PLMath::Vector3 m_vTranslationAbsolute
PLMath::Quaternion m_qRotationAbsolute
PLMath::Matrix3x4 m_mTransAbsolute
PLMath::Matrix3x3 m_mTrans
PLMath::Vector3 m_vTranslationJointSpace
PLMath::Quaternion m_qRotationJointSpace

Detailed Description

Joint state class.


Constructor & Destructor Documentation

Constructor.

virtual PLMESH_API PLMesh::JointState::~JointState ( ) [virtual]

Destructor.


Member Function Documentation

Gets the joint translation.

Returns:
Joint translation
PLMESH_API void PLMesh::JointState::SetTranslation ( const PLMath::Vector3 vTranslation)

Sets the joint translation.

Parameters:
[in]vTranslationJoint translation

Gets the joint rotation.

Returns:
Joint rotation
PLMESH_API void PLMesh::JointState::SetRotation ( const PLMath::Quaternion qRotation)

Sets the joint rotation.

Parameters:
[in]qRotationJoint rotation

Gets the absolute joint translation.

Returns:
Absolute joint translation
PLMESH_API void PLMesh::JointState::SetTranslationAbsolute ( const PLMath::Vector3 vTranslation)

Sets the absolute joint translation.

Parameters:
[in]vTranslationAbsolute joint translation

Gets the absolute joint rotation.

Returns:
Absolute joint rotation
PLMESH_API void PLMesh::JointState::SetRotationAbsolute ( const PLMath::Quaternion qRotation)

Sets the absolute joint rotation.

Parameters:
[in]qRotationAbsolute joint rotation

Gets the absolute joint matrix.

Returns:
Absolute joint matrix
Note:
  • This absolute transform matrix is created using the absolute joint translation and rotation.

Gets the transform joint matrix.

Returns:
Transform joint matrix

Gets the joint space joint translation.

Returns:
Joint space joint translation
PLMESH_API void PLMesh::JointState::SetTranslationJointSpace ( const PLMath::Vector3 vTranslation)

Sets the joint space joint translation.

Parameters:
[in]vTranslationJoint space joint translation

Gets the joint space joint rotation.

Returns:
Joint space joint rotation
PLMESH_API void PLMesh::JointState::SetRotationJointSpace ( const PLMath::Quaternion qRotation)

Sets the joint space joint rotation.

Parameters:
[in]qRotationJoint space joint rotation
PLMESH_API JointState& PLMesh::JointState::operator= ( const JointState cSource)

Copy operator.

Parameters:
[in]cSourceSource to copy from
Returns:
This joint state
PLMESH_API bool PLMesh::JointState::operator== ( const JointState cJointState) const

Compares two joint states.

Parameters:
[in]cJointStateJoint state to compare with
Returns:
'true' if both joint states are equal, else 'false'

Member Data Documentation

Translation

Rotation

Absolute translation

Absolute rotation

Absolute transformation matrix

3x3 orthonormal rotation matrix

Joint space 3D translation vector

Joint space rotation


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


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:36
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported