BASE::RCPose Class Reference

A pose consisting of position and orientation. More...

Inherits BASE::RCStringValueInterface.

Inheritance diagram for BASE::RCPose:

Inheritance graph
[legend]
Collaboration diagram for BASE::RCPose:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RCPose (const RCVector &Pos=RCVector(), const RCQuaternion &Orientation=RCQuaternion())
 RCPose (TReal nX, TReal nY, TReal nZ, const RCQuaternion &Orientation=RCQuaternion())
 RCPose (TReal nX, TReal nY, TReal nZ, TReal nQ0, TReal nQ1, TReal nQ2, TReal nQ3)
 RCPose (const RCMatrix &Source)
 RCPose (const RCPose &Source)
const RCPoseoperator= (const RCPose &Source)
RCVectorPos ()
const RCVectorPos () const
RCQuaternionOrientation ()
const RCQuaternionOrientation () const
RCMatrix AsMatrix (TBool bInverse=false) const
void Translate (const RCVector &Offset)
void Rotate (const RCTriple &EulerAngles, const RCVector &Fulcrum)
virtual TBool FromString (const RCString &sValue)
virtual const RCStringToString () const

Detailed Description

A pose consisting of position and orientation.

Author:
Patrik Stellmann
The position is stored by a vector that needs to be always unfactorized. Every function that takes a vector as argument will unfactorize it. The orientation is stored by a quaternion.


Constructor & Destructor Documentation

RCPose::RCPose const RCVector Pos = RCVector(),
const RCQuaternion Orientation = RCQuaternion()
[inline]
 

Creates a pose with the specified position and orientation.

RCPose::RCPose TReal  nX,
TReal  nY,
TReal  nZ,
TReal  nQ0,
TReal  nQ1,
TReal  nQ2,
TReal  nQ3
[inline]
 

Creates a pose with the specified position and orientation while the nQ-arguments represent the entries for the quaternion.

RCPose::RCPose const RCPose Source  )  [inline]
 

Creates a copy of the specified pose.


Member Function Documentation

const RCPose & RCPose::operator= const RCPose Source  )  [inline]
 

Assigns the specified pose to this one.

const RCQuaternion & RCPose::Orientation  )  const [inline]
 

Returns the orientation of the pose.

const RCVector & RCPose::Pos  )  const [inline]
 

Returns the position of the pose.


The documentation for this class was generated from the following files:
Generated on Thu Feb 16 12:46:19 2006 for Simulator Bob by  doxygen 1.4.6-NO