_Euler4< Type > Class Template Reference

#include <_Euler4.h>

List of all members.

Public Types

enum  { X, Y, Z, W }

Public Member Functions

 _Euler4 ()
 _Euler4 (Type x, Type y=0, Type z=0, order_t order=EulOrdXYZs)
 _Euler4 (const _Tuple4< double > &t)
 _Euler4 (const _Tuple4< float > &t)
 _Euler4 (const Type t[4])
void get (_Matrix4< double > &m) const
void get (_Matrix4< float > &m) const
void get (_Matrix3< double > &m) const
void get (_Matrix3< float > &m) const
void get (_Quat4< double > &q) const
void interpolate (const _Euler4< Type > &q, Type d)
void interpolate (const _Euler4< Type > &q, const _Euler4< Type > &q1, Type d)
void set (Type _x, Type _y=0.0, Type _z=0.0, order_t _order=EulOrdXYZs)
void set (const _Tuple4< double > &t)
void set (const _Tuple4< float > &t)
void set (const _Quat4< float > &m)
void set (const double v[4])
void set (const float v[4])
void set (const _Matrix4< double > &m, order_t _order=EulOrdXYZs)
void set (const _Matrix4< float > &m, order_t _order=EulOrdXYZs)
void set (const _Matrix3< double > &m, order_t _order=EulOrdXYZs)
void set (const _Matrix3< float > &m, order_t _order=EulOrdXYZs)
void set (const _Euler4< double > &e)
void set (const _Euler4< float > &e)

Public Attributes

Type x
Type y
Type z
order_t order

Static Public Attributes

static const order_t EulFrmS = 0
static const order_t EulFrmR = 1
static const order_t EulRepNo = 0
static const order_t EulRepYes = 1
static const order_t EulParEven = 0
static const order_t EulParOdd = 1
static const order_t EulOrdXYZs = EulOrd(X,EulParEven,EulRepNo,EulFrmS)
static const order_t EulOrdXYXs = EulOrd(X,EulParEven,EulRepYes,EulFrmS)
static const order_t EulOrdXZYs = EulOrd(X,EulParOdd,EulRepNo,EulFrmS)
static const order_t EulOrdXZXs = EulOrd(X,EulParOdd,EulRepYes,EulFrmS)
static const order_t EulOrdYZXs = EulOrd(Y,EulParEven,EulRepNo,EulFrmS)
static const order_t EulOrdYZYs = EulOrd(Y,EulParEven,EulRepYes,EulFrmS)
static const order_t EulOrdYXZs = EulOrd(Y,EulParOdd,EulRepNo,EulFrmS)
static const order_t EulOrdYXYs = EulOrd(Y,EulParOdd,EulRepYes,EulFrmS)
static const order_t EulOrdZXYs = EulOrd(Z,EulParEven,EulRepNo,EulFrmS)
static const order_t EulOrdZXZs = EulOrd(Z,EulParEven,EulRepYes,EulFrmS)
static const order_t EulOrdZYXs = EulOrd(Z,EulParOdd,EulRepNo,EulFrmS)
static const order_t EulOrdZYZs = EulOrd(Z,EulParOdd,EulRepYes,EulFrmS)
static const order_t EulOrdZYXr = EulOrd(X,EulParEven,EulRepNo,EulFrmR)
static const order_t EulOrdXYXr = EulOrd(X,EulParEven,EulRepYes,EulFrmR)
static const order_t EulOrdYZXr = EulOrd(X,EulParOdd,EulRepNo,EulFrmR)
static const order_t EulOrdXZXr = EulOrd(X,EulParOdd,EulRepYes,EulFrmR)
static const order_t EulOrdXZYr = EulOrd(Y,EulParEven,EulRepNo,EulFrmR)
static const order_t EulOrdYZYr = EulOrd(Y,EulParEven,EulRepYes,EulFrmR)
static const order_t EulOrdZXYr = EulOrd(Y,EulParOdd,EulRepNo,EulFrmR)
static const order_t EulOrdYXYr = EulOrd(Y,EulParOdd,EulRepYes,EulFrmR)
static const order_t EulOrdYXZr = EulOrd(Z,EulParEven,EulRepNo,EulFrmR)
static const order_t EulOrdZXZr = EulOrd(Z,EulParEven,EulRepYes,EulFrmR)
static const order_t EulOrdXYZr = EulOrd(Z,EulParOdd,EulRepNo,EulFrmR)
static const order_t EulOrdZYZr = EulOrd(Z,EulParOdd,EulRepYes,EulFrmR)
static const Type EPS
static const Type EPS1

Private Member Functions

void setByMatrix (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
void setByAxis (double ax, double ay, double az, double aa)


Detailed Description

template<class Type>
class _Euler4< Type >

Definition at line 42 of file _Euler4.h.


Member Enumeration Documentation

template<class Type>
anonymous enum
 

Enumerator:
X 
Y 
Z 
W 

Definition at line 44 of file _Euler4.h.


Constructor & Destructor Documentation

template<class Type>
_Euler4< Type >::_Euler4  )  [inline]
 

template<class Type>
_Euler4< Type >::_Euler4 Type  x,
Type  y = 0,
Type  z = 0,
order_t  order = EulOrdXYZs
[inline, explicit]
 

template<class Type>
_Euler4< Type >::_Euler4 const _Tuple4< double > &  t  )  [inline]
 

template<class Type>
_Euler4< Type >::_Euler4 const _Tuple4< float > &  t  )  [inline]
 

template<class Type>
_Euler4< Type >::_Euler4 const Type  t[4]  )  [inline]
 


Member Function Documentation

template<class Type>
void _Euler4< Type >::get _Quat4< double > &  q  )  const
 

Definition at line 144 of file _Euler4.cc.

References COMMON_CODE, _Euler4< Type >::EulParOdd, _Euler4< Type >::EulRepYes, _Tuple4< Type >::w, _Euler4< Type >::X, _Tuple4< Type >::x, _Euler4< Type >::Y, _Tuple4< Type >::y, _Euler4< Type >::Z, and _Tuple4< Type >::z.

template<class Type>
void _Euler4< Type >::get _Matrix3< float > &  m  )  const
 

Definition at line 138 of file _Euler4.cc.

References GET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::get _Matrix3< double > &  m  )  const
 

Definition at line 132 of file _Euler4.cc.

References GET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::get _Matrix4< float > &  m  )  const
 

Definition at line 125 of file _Euler4.cc.

References CLEAN_MATRIX4, and GET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::get _Matrix4< double > &  m  )  const
 

Definition at line 118 of file _Euler4.cc.

References CLEAN_MATRIX4, and GET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::interpolate const _Euler4< Type > &  q,
const _Euler4< Type > &  q1,
Type  d
[inline]
 

Definition at line 117 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::interpolate const _Euler4< Type > &  q,
Type  d
[inline]
 

Definition at line 113 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::set const _Euler4< float > &  e  )  [inline]
 

Definition at line 155 of file _Euler4.h.

References _Euler4< Type >::order, _Euler4< Type >::x, _Euler4< Type >::y, and _Euler4< Type >::z.

template<class Type>
void _Euler4< Type >::set const _Euler4< double > &  e  )  [inline]
 

Definition at line 151 of file _Euler4.h.

References _Euler4< Type >::order, _Euler4< Type >::x, _Euler4< Type >::y, and _Euler4< Type >::z.

template<class Type>
void _Euler4< Type >::set const _Matrix3< float > &  m,
order_t  _order = EulOrdXYZs
 

Definition at line 192 of file _Euler4.cc.

References SET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::set const _Matrix3< double > &  m,
order_t  _order = EulOrdXYZs
 

Definition at line 186 of file _Euler4.cc.

References SET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::set const _Matrix4< float > &  m,
order_t  _order = EulOrdXYZs
 

Definition at line 180 of file _Euler4.cc.

References SET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::set const _Matrix4< double > &  m,
order_t  _order = EulOrdXYZs
 

Definition at line 174 of file _Euler4.cc.

References SET_BY_MATRIX.

template<class Type>
void _Euler4< Type >::set const float  v[4]  )  [inline]
 

Definition at line 142 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::set const double  v[4]  )  [inline]
 

Definition at line 138 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::set const _Quat4< float > &  m  )  [inline]
 

Definition at line 134 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::set const _Tuple4< float > &  t  )  [inline]
 

Definition at line 130 of file _Euler4.h.

References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
void _Euler4< Type >::set const _Tuple4< double > &  t  )  [inline]
 

Definition at line 126 of file _Euler4.h.

References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z.

template<class Type>
void _Euler4< Type >::set Type  _x,
Type  _y = 0.0,
Type  _z = 0.0,
order_t  _order = EulOrdXYZs
[inline]
 

Definition at line 119 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::setByAxis double  ax,
double  ay,
double  az,
double  aa
[inline, private]
 

Definition at line 167 of file _Euler4.h.

template<class Type>
void _Euler4< Type >::setByMatrix double  m00,
double  m01,
double  m02,
double  m10,
double  m11,
double  m12,
double  m20,
double  m21,
double  m22
[inline, private]
 

Definition at line 163 of file _Euler4.h.


Member Data Documentation

template<class Type>
const Type _Euler4< Type >::EPS [static]
 

Definition at line 79 of file _Euler4.h.

template<class Type>
const Type _Euler4< Type >::EPS1 [static]
 

Definition at line 80 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulFrmR = 1 [static]
 

Definition at line 46 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulFrmS = 0 [static]
 

Definition at line 45 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXYXr = EulOrd(X,EulParEven,EulRepYes,EulFrmR) [static]
 

Definition at line 67 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXYXs = EulOrd(X,EulParEven,EulRepYes,EulFrmS) [static]
 

Definition at line 54 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXYZr = EulOrd(Z,EulParOdd,EulRepNo,EulFrmR) [static]
 

Definition at line 76 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXYZs = EulOrd(X,EulParEven,EulRepNo,EulFrmS) [static]
 

Definition at line 53 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXZXr = EulOrd(X,EulParOdd,EulRepYes,EulFrmR) [static]
 

Definition at line 69 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXZXs = EulOrd(X,EulParOdd,EulRepYes,EulFrmS) [static]
 

Definition at line 56 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXZYr = EulOrd(Y,EulParEven,EulRepNo,EulFrmR) [static]
 

Definition at line 70 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdXZYs = EulOrd(X,EulParOdd,EulRepNo,EulFrmS) [static]
 

Definition at line 55 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYXYr = EulOrd(Y,EulParOdd,EulRepYes,EulFrmR) [static]
 

Definition at line 73 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYXYs = EulOrd(Y,EulParOdd,EulRepYes,EulFrmS) [static]
 

Definition at line 60 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYXZr = EulOrd(Z,EulParEven,EulRepNo,EulFrmR) [static]
 

Definition at line 74 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYXZs = EulOrd(Y,EulParOdd,EulRepNo,EulFrmS) [static]
 

Definition at line 59 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYZXr = EulOrd(X,EulParOdd,EulRepNo,EulFrmR) [static]
 

Definition at line 68 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYZXs = EulOrd(Y,EulParEven,EulRepNo,EulFrmS) [static]
 

Definition at line 57 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYZYr = EulOrd(Y,EulParEven,EulRepYes,EulFrmR) [static]
 

Definition at line 71 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdYZYs = EulOrd(Y,EulParEven,EulRepYes,EulFrmS) [static]
 

Definition at line 58 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZXYr = EulOrd(Y,EulParOdd,EulRepNo,EulFrmR) [static]
 

Definition at line 72 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZXYs = EulOrd(Z,EulParEven,EulRepNo,EulFrmS) [static]
 

Definition at line 61 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZXZr = EulOrd(Z,EulParEven,EulRepYes,EulFrmR) [static]
 

Definition at line 75 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZXZs = EulOrd(Z,EulParEven,EulRepYes,EulFrmS) [static]
 

Definition at line 62 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZYXr = EulOrd(X,EulParEven,EulRepNo,EulFrmR) [static]
 

Definition at line 66 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZYXs = EulOrd(Z,EulParOdd,EulRepNo,EulFrmS) [static]
 

Definition at line 63 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZYZr = EulOrd(Z,EulParOdd,EulRepYes,EulFrmR) [static]
 

Definition at line 77 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulOrdZYZs = EulOrd(Z,EulParOdd,EulRepYes,EulFrmS) [static]
 

Definition at line 64 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulParEven = 0 [static]
 

Definition at line 49 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulParOdd = 1 [static]
 

Definition at line 50 of file _Euler4.h.

Referenced by _Euler4< Type >::get().

template<class Type>
const order_t _Euler4< Type >::EulRepNo = 0 [static]
 

Definition at line 47 of file _Euler4.h.

template<class Type>
const order_t _Euler4< Type >::EulRepYes = 1 [static]
 

Definition at line 48 of file _Euler4.h.

Referenced by _Euler4< Type >::get().

template<class Type>
order_t _Euler4< Type >::order
 

Definition at line 82 of file _Euler4.h.

Referenced by _Euler4< Type >::set().

template<class Type>
Type _Euler4< Type >::x
 

Definition at line 81 of file _Euler4.h.

Referenced by _Euler4< Type >::set().

template<class Type>
Type _Euler4< Type >::y
 

Definition at line 81 of file _Euler4.h.

Referenced by _Euler4< Type >::set().

template<class Type>
Type _Euler4< Type >::z
 

Definition at line 81 of file _Euler4.h.

Referenced by _Euler4< Type >::set().


The documentation for this class was generated from the following files:
Generated on Thu Sep 29 13:39:45 2005 for vecmath by  doxygen 1.4.4