cheshirekow  v0.1.0
fiber::AxisAngle< Scalar > Class Template Reference

Encodes a rotation in 3-dimensions by an return RView<Scalar, Exp, rows, Exp::COLS>(static_cast<Exp const&>(A), i, 0);axis of rotation and an angle magnitude of rotation about that axis. More...

#include <fiber/axis_angle.h>

Public Types

typedef Matrix< Scalar, 3, 1 > AxisType
 

Public Member Functions

 AxisAngle ()
 
template<typename Derived >
 AxisAngle (const _RValue< Scalar, Derived > &axis, Scalar angle)
 
 AxisAngle (const Quaternion< Scalar > &q)
 
Scalar GetAngle () const
 
const AxisTypeGetAxis () const
 
void SetAngle (const Scalar angle)
 
template<class Exp >
void SetAxis (const _RValue< Scalar, Exp > &axis)
 

Private Attributes

Scalar angle_
 
AxisType axis_
 

Detailed Description

template<typename Scalar>
class fiber::AxisAngle< Scalar >

Encodes a rotation in 3-dimensions by an return RView<Scalar, Exp, rows, Exp::COLS>(static_cast<Exp const&>(A), i, 0);axis of rotation and an angle magnitude of rotation about that axis.

Definition at line 33 of file axis_angle.h.

Member Typedef Documentation

template<typename Scalar>
typedef Matrix<Scalar, 3, 1> fiber::AxisAngle< Scalar >::AxisType

Definition at line 35 of file axis_angle.h.

Constructor & Destructor Documentation

template<typename Scalar>
fiber::AxisAngle< Scalar >::AxisAngle ( )
inline

Definition at line 37 of file axis_angle.h.

template<typename Scalar>
template<typename Derived >
fiber::AxisAngle< Scalar >::AxisAngle ( const _RValue< Scalar, Derived > &  axis,
Scalar  angle 
)
inline

Definition at line 40 of file axis_angle.h.

template<typename Scalar>
fiber::AxisAngle< Scalar >::AxisAngle ( const Quaternion< Scalar > &  q)
inline

Definition at line 43 of file axis_angle.h.

Member Function Documentation

template<typename Scalar>
Scalar fiber::AxisAngle< Scalar >::GetAngle ( ) const
inline

Definition at line 58 of file axis_angle.h.

template<typename Scalar>
const AxisType& fiber::AxisAngle< Scalar >::GetAxis ( ) const
inline

Definition at line 47 of file axis_angle.h.

template<typename Scalar>
void fiber::AxisAngle< Scalar >::SetAngle ( const Scalar  angle)
inline

Definition at line 62 of file axis_angle.h.

template<typename Scalar>
template<class Exp >
void fiber::AxisAngle< Scalar >::SetAxis ( const _RValue< Scalar, Exp > &  axis)
inline

Definition at line 52 of file axis_angle.h.

Member Data Documentation

template<typename Scalar>
Scalar fiber::AxisAngle< Scalar >::angle_
private

Definition at line 68 of file axis_angle.h.

template<typename Scalar>
AxisType fiber::AxisAngle< Scalar >::axis_
private

Definition at line 67 of file axis_angle.h.


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