_AxisAngle4< Type > Class Template Reference

#include <_AxisAngle4.h>

List of all members.

Public Member Functions

 _AxisAngle4 ()
 _AxisAngle4 (Type x, Type y=0, Type z=1, Type angle=0)
 _AxisAngle4 (const _AxisAngle4< double > &a)
 _AxisAngle4 (const _AxisAngle4< float > &a)
 _AxisAngle4 (const _Vector3< Type > &v, Type f)
 _AxisAngle4 (const Type a[])
bool epsilonEquals (const _AxisAngle4< Type > &a, double d) const
bool equals (const _AxisAngle4< Type > &a) const
void get (Type a[4]) const
double normSquared () const
double norm () const
void set (Type xx=0.0, Type yy=0.0, Type zz=1.0, Type a=0.0)
void set (const _AxisAngle4< double > &a)
void set (const _AxisAngle4< float > &a)
void set (const _Matrix3< double > &m)
void set (const _Matrix3< float > &m)
void set (const _Matrix4< double > &m)
void set (const _Matrix4< float > &m)
void set (const _Quat4< double > &q)
void set (const _Quat4< float > &q)
void set (const _Vector3< Type > &v, Type f)
void set (Type a[4])
template<>
const double EPS
template<>
const float EPS

Public Attributes

Type x
Type y
Type z
Type angle

Static Public Attributes

static const Type EPS


Detailed Description

template<class Type>
class _AxisAngle4< Type >

Definition at line 17 of file _AxisAngle4.h.


Constructor & Destructor Documentation

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

template<class Type>
_AxisAngle4< Type >::_AxisAngle4 Type  x,
Type  y = 0,
Type  z = 1,
Type  angle = 0
[inline]
 

template<class Type>
_AxisAngle4< Type >::_AxisAngle4 const _AxisAngle4< double > &  a  )  [inline, explicit]
 

template<class Type>
_AxisAngle4< Type >::_AxisAngle4 const _AxisAngle4< float > &  a  )  [inline]
 

template<class Type>
_AxisAngle4< Type >::_AxisAngle4 const _Vector3< Type > &  v,
Type  f
[inline]
 

template<class Type>
_AxisAngle4< Type >::_AxisAngle4 const Type  a[]  )  [inline]
 


Member Function Documentation

template<>
const float _AxisAngle4< float >::EPS  ) 
 

Definition at line 5 of file _AxisAngle4.cc.

template<>
const double _AxisAngle4< double >::EPS  ) 
 

Definition at line 4 of file _AxisAngle4.cc.

template<class Type>
bool _AxisAngle4< Type >::epsilonEquals const _AxisAngle4< Type > &  a,
double  d
const [inline]
 

Definition at line 47 of file _AxisAngle4.h.

References _AxisAngle4< Type >::angle, DEBUGAXISANGLE4, Math::epsilonEquals(), _AxisAngle4< Type >::x, _AxisAngle4< Type >::y, and _AxisAngle4< Type >::z.

template<class Type>
bool _AxisAngle4< Type >::equals const _AxisAngle4< Type > &  a  )  const [inline]
 

Definition at line 56 of file _AxisAngle4.h.

References _AxisAngle4< Type >::angle, DEBUGAXISANGLE4, _AxisAngle4< Type >::x, _AxisAngle4< Type >::y, and _AxisAngle4< Type >::z.

template<class Type>
void _AxisAngle4< Type >::get Type  a[4]  )  const [inline]
 

Definition at line 62 of file _AxisAngle4.h.

template<class Type>
double _AxisAngle4< Type >::norm  )  const [inline]
 

Definition at line 75 of file _AxisAngle4.h.

template<class Type>
double _AxisAngle4< Type >::normSquared  )  const [inline]
 

Definition at line 70 of file _AxisAngle4.h.

References Math::sqr().

template<class Type>
void _AxisAngle4< Type >::set Type  a[4]  )  [inline]
 

Definition at line 162 of file _AxisAngle4.h.

template<class Type>
void _AxisAngle4< Type >::set const _Vector3< Type > &  v,
Type  f
[inline]
 

Definition at line 157 of file _AxisAngle4.h.

References DEBUGAXISANGLE4, _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z.

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

Definition at line 144 of file _AxisAngle4.h.

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

template<class Type>
void _AxisAngle4< Type >::set const _Quat4< double > &  q  )  [inline]
 

Definition at line 131 of file _AxisAngle4.h.

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

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

Definition at line 124 of file _AxisAngle4.h.

References DEBUGAXISANGLE4, and _Matrix4< Type >::get().

template<class Type>
void _AxisAngle4< Type >::set const _Matrix4< double > &  m  )  [inline]
 

Definition at line 117 of file _AxisAngle4.h.

References DEBUGAXISANGLE4, and _Matrix4< Type >::get().

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

Definition at line 107 of file _AxisAngle4.h.

References DEBUGAXISANGLE4, _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _AxisAngle4< Type >::set const _Matrix3< double > &  m  )  [inline]
 

Definition at line 97 of file _AxisAngle4.h.

References DEBUGAXISANGLE4, _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22.

template<class Type>
void _AxisAngle4< Type >::set const _AxisAngle4< float > &  a  )  [inline]
 

Definition at line 92 of file _AxisAngle4.h.

References _AxisAngle4< Type >::angle, DEBUGAXISANGLE4, _AxisAngle4< Type >::x, _AxisAngle4< Type >::y, and _AxisAngle4< Type >::z.

template<class Type>
void _AxisAngle4< Type >::set const _AxisAngle4< double > &  a  )  [inline]
 

Definition at line 87 of file _AxisAngle4.h.

References _AxisAngle4< Type >::angle, DEBUGAXISANGLE4, _AxisAngle4< Type >::x, _AxisAngle4< Type >::y, and _AxisAngle4< Type >::z.

template<class Type>
void _AxisAngle4< Type >::set Type  xx = 0.0,
Type  yy = 0.0,
Type  zz = 1.0,
Type  a = 0.0
[inline]
 

Definition at line 80 of file _AxisAngle4.h.


Member Data Documentation

template<class Type>
Type _AxisAngle4< Type >::angle
 

Definition at line 21 of file _AxisAngle4.h.

Referenced by _AxisAngle4< Type >::epsilonEquals(), _AxisAngle4< Type >::equals(), and _AxisAngle4< Type >::set().

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

Definition at line 19 of file _AxisAngle4.h.

template<class Type>
Type _AxisAngle4< Type >::x
 

Definition at line 20 of file _AxisAngle4.h.

Referenced by _AxisAngle4< Type >::epsilonEquals(), _AxisAngle4< Type >::equals(), and _AxisAngle4< Type >::set().

template<class Type>
Type _AxisAngle4< Type >::y
 

Definition at line 20 of file _AxisAngle4.h.

Referenced by _AxisAngle4< Type >::epsilonEquals(), _AxisAngle4< Type >::equals(), and _AxisAngle4< Type >::set().

template<class Type>
Type _AxisAngle4< Type >::z
 

Definition at line 20 of file _AxisAngle4.h.

Referenced by _AxisAngle4< Type >::epsilonEquals(), _AxisAngle4< Type >::equals(), and _AxisAngle4< Type >::set().


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