Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
gte::Rotation< N, Real > Class Template Reference

#include <GteRotation.h>

Public Member Functions

 operator AxisAngle< N, Real > () const
 
 operator Matrix< N, N, Real > () const
 
 operator Quaternion< Real > () const
 
EulerAngles< Real > const & operator() (int i0, int i1, int i2) const
 
 Rotation (Matrix< N, N, Real > const &matrix)
 
 Rotation (Quaternion< Real > const &quaternion)
 
 Rotation (AxisAngle< N, Real > const &axisAngle)
 
 Rotation (EulerAngles< Real > const &eulerAngles)
 

Private Types

enum  RepresentationType { IS_MATRIX, IS_QUATERNION, IS_AXIS_ANGLE, IS_EULER_ANGLES }
 

Static Private Member Functions

static void Convert (Matrix< N, N, Real > const &r, Quaternion< Real > &q)
 
static void Convert (Quaternion< Real > const &q, Matrix< N, N, Real > &r)
 
static void Convert (Matrix< N, N, Real > const &r, AxisAngle< N, Real > &a)
 
static void Convert (AxisAngle< N, Real > const &a, Matrix< N, N, Real > &r)
 
static void Convert (Matrix< N, N, Real > const &r, EulerAngles< Real > &e)
 
static void Convert (EulerAngles< Real > const &e, Matrix< N, N, Real > &r)
 
static void Convert (Quaternion< Real > const &q, AxisAngle< N, Real > &a)
 
static void Convert (AxisAngle< N, Real > const &a, Quaternion< Real > &q)
 
static void Convert (Quaternion< Real > const &q, EulerAngles< Real > &e)
 
static void Convert (EulerAngles< Real > const &e, Quaternion< Real > &q)
 
static void Convert (AxisAngle< N, Real > const &a, EulerAngles< Real > &e)
 
static void Convert (EulerAngles< Real > const &e, AxisAngle< N, Real > &a)
 

Private Attributes

AxisAngle< N, Real > mAxisAngle
 
EulerAngles< Real > mEulerAngles
 
Matrix< N, N, Real > mMatrix
 
Quaternion< Real > mQuaternion
 
RepresentationType mType
 

Detailed Description

template<int N, typename Real>
class gte::Rotation< N, Real >

Definition at line 27 of file GteRotation.h.

Member Enumeration Documentation

template<int N, typename Real>
enum gte::Rotation::RepresentationType
private
Enumerator
IS_MATRIX 
IS_QUATERNION 
IS_AXIS_ANGLE 
IS_EULER_ANGLES 

Definition at line 43 of file GteRotation.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::Rotation< N, Real >::Rotation ( Matrix< N, N, Real > const &  matrix)

Definition at line 221 of file GteRotation.h.

template<int N, typename Real >
gte::Rotation< N, Real >::Rotation ( Quaternion< Real > const &  quaternion)

Definition at line 230 of file GteRotation.h.

template<int N, typename Real >
gte::Rotation< N, Real >::Rotation ( AxisAngle< N, Real > const &  axisAngle)

Definition at line 239 of file GteRotation.h.

template<int N, typename Real >
gte::Rotation< N, Real >::Rotation ( EulerAngles< Real > const &  eulerAngles)

Definition at line 248 of file GteRotation.h.

Member Function Documentation

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( Matrix< N, N, Real > const &  r,
Quaternion< Real > &  q 
)
staticprivate

Definition at line 354 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( Quaternion< Real > const &  q,
Matrix< N, N, Real > &  r 
)
staticprivate

Definition at line 427 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( Matrix< N, N, Real > const &  r,
AxisAngle< N, Real > &  a 
)
staticprivate

Definition at line 470 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( AxisAngle< N, Real > const &  a,
Matrix< N, N, Real > &  r 
)
staticprivate

Definition at line 554 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( Matrix< N, N, Real > const &  r,
EulerAngles< Real > &  e 
)
staticprivate

Definition at line 598 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( EulerAngles< Real > const &  e,
Matrix< N, N, Real > &  r 
)
staticprivate

Definition at line 767 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( Quaternion< Real > const &  q,
AxisAngle< N, Real > &  a 
)
staticprivate

Definition at line 799 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( AxisAngle< N, Real > const &  a,
Quaternion< Real > &  q 
)
staticprivate

Definition at line 830 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( Quaternion< Real > const &  q,
EulerAngles< Real > &  e 
)
staticprivate

Definition at line 848 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( EulerAngles< Real > const &  e,
Quaternion< Real > &  q 
)
staticprivate

Definition at line 859 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( AxisAngle< N, Real > const &  a,
EulerAngles< Real > &  e 
)
staticprivate

Definition at line 870 of file GteRotation.h.

template<int N, typename Real >
void gte::Rotation< N, Real >::Convert ( EulerAngles< Real > const &  e,
AxisAngle< N, Real > &  a 
)
staticprivate

Definition at line 881 of file GteRotation.h.

template<int N, typename Real >
gte::Rotation< N, Real >::operator AxisAngle< N, Real > ( ) const

Definition at line 303 of file GteRotation.h.

template<int N, typename Real >
gte::Rotation< N, Real >::operator Matrix< N, N, Real > ( ) const

Definition at line 257 of file GteRotation.h.

template<int N, typename Real >
gte::Rotation< N, Real >::operator Quaternion< Real > ( ) const

Definition at line 280 of file GteRotation.h.

template<int N, typename Real >
EulerAngles< Real > const & gte::Rotation< N, Real >::operator() ( int  i0,
int  i1,
int  i2 
) const

Definition at line 326 of file GteRotation.h.

Member Data Documentation

template<int N, typename Real>
AxisAngle<N,Real> gte::Rotation< N, Real >::mAxisAngle
mutableprivate

Definition at line 54 of file GteRotation.h.

template<int N, typename Real>
EulerAngles<Real> gte::Rotation< N, Real >::mEulerAngles
mutableprivate

Definition at line 55 of file GteRotation.h.

template<int N, typename Real>
Matrix<N,N,Real> gte::Rotation< N, Real >::mMatrix
mutableprivate

Definition at line 52 of file GteRotation.h.

template<int N, typename Real>
Quaternion<Real> gte::Rotation< N, Real >::mQuaternion
mutableprivate

Definition at line 53 of file GteRotation.h.

template<int N, typename Real>
RepresentationType gte::Rotation< N, Real >::mType
private

Definition at line 51 of file GteRotation.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