Represents a 3D rotation as a rotation angle around an arbitrary 3D axis
| _Scalar | the scalar type, i.e., the type of the coefficients. |
The following two typedefs are provided for convenience:
AngleAxisf for float AngleAxisd for double Combined with MatrixBase::Unit{X,Y,Z}, AngleAxis can be used to easily mimic Euler-angles. Here is an example:
Output:

Public Types | |
| enum | { Dim = 3 } |
| typedef _Scalar | Scalar |
| the scalar type of the coefficients | |
| typedef Matrix< Scalar, 3, 3 > | Matrix3 |
| typedef Matrix< Scalar, 3, 1 > | Vector3 |
| typedef Quaternion< Scalar > | QuaternionType |
| enum | |
| typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
| corresponding linear transformation matrix type | |
| typedef Matrix< Scalar, Dim, 1 > | VectorType |
Public Member Functions | |
| AngleAxis () | |
| Default constructor without initialization. | |
| template<typename Derived > | |
| AngleAxis (Scalar angle, const MatrixBase< Derived > &axis) | |
| Constructs and initialize the angle-axis rotation from an angle in radian and an axis which must be normalized. | |
| template<typename QuatDerived > | |
| AngleAxis (const QuaternionBase< QuatDerived > &q) | |
| Constructs and initialize the angle-axis rotation from a quaternion q. | |
| template<typename Derived > | |
| AngleAxis (const MatrixBase< Derived > &m) | |
| Constructs and initialize the angle-axis rotation from a 3x3 rotation matrix. | |
| Scalar | angle () const |
| Scalar & | angle () |
| const Vector3 & | axis () const |
| Vector3 & | axis () |
| QuaternionType | operator* (const AngleAxis &other) const |
| Concatenates two rotations. | |
| QuaternionType | operator* (const QuaternionType &other) const |
| Concatenates two rotations. | |
| AngleAxis | inverse () const |
| template<class QuatDerived > | |
| AngleAxis & | operator= (const QuaternionBase< QuatDerived > &q) |
Set *this from a unit quaternion. | |
| template<typename Derived > | |
| AngleAxis & | operator= (const MatrixBase< Derived > &m) |
Set *this from a 3x3 rotation matrix mat. | |
| template<typename Derived > | |
| AngleAxis & | fromRotationMatrix (const MatrixBase< Derived > &m) |
Sets *this from a 3x3 rotation matrix. | |
| Matrix3 | toRotationMatrix (void) const |
| Constructs and. | |
| template<typename NewScalarType > | |
| internal::cast_return_type < AngleAxis, AngleAxis < NewScalarType > >::type | cast () const |
| template<typename OtherScalarType > | |
| AngleAxis (const AngleAxis< OtherScalarType > &other) | |
| Copy constructor with scalar type conversion. | |
| bool | isApprox (const AngleAxis &other, typename NumTraits< Scalar >::Real prec=NumTraits< Scalar >::dummy_precision()) const |
| const AngleAxis< _Scalar > & | derived () const |
| AngleAxis< _Scalar > & | derived () |
| RotationMatrixType | matrix () const |
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
| EIGEN_STRONG_INLINE internal::rotation_base_generic_product_selector < AngleAxis< _Scalar > , OtherDerived, OtherDerived::IsVectorAtCompileTime > ::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| VectorType | _transformVector (const OtherVectorType &v) const |
Static Public Member Functions | |
| static const AngleAxis | Identity () |
Protected Attributes | |
| Vector3 | m_axis |
| Scalar | m_angle |
Private Types | |
| typedef RotationBase < AngleAxis< _Scalar >, 3 > | Base |
Friends | |
| QuaternionType | operator* (const QuaternionType &a, const AngleAxis &b) |
| Concatenates two rotations. | |
| RotationMatrixType | operator* (const EigenBase< OtherDerived > &l, const AngleAxis< _Scalar > &r) |
| Transform< Scalar, Dim, Affine > | operator* (const DiagonalMatrix< Scalar, Dim > &l, const AngleAxis< _Scalar > &r) |
typedef RotationBase<AngleAxis<_Scalar>,3> Eigen::AngleAxis< _Scalar >::Base [private] |
| typedef Matrix<Scalar,3,3> Eigen::AngleAxis< _Scalar >::Matrix3 |
| typedef Quaternion<Scalar> Eigen::AngleAxis< _Scalar >::QuaternionType |
typedef Matrix<Scalar,Dim,Dim> Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::RotationMatrixType [inherited] |
| typedef _Scalar Eigen::AngleAxis< _Scalar >::Scalar |
the scalar type of the coefficients
Reimplemented from Eigen::RotationBase< AngleAxis< _Scalar >, 3 >.
| typedef Matrix<Scalar,3,1> Eigen::AngleAxis< _Scalar >::Vector3 |
typedef Matrix<Scalar,Dim,1> Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::VectorType [inherited] |
| Eigen::AngleAxis< _Scalar >::AngleAxis | ( | ) | [inline] |
| Eigen::AngleAxis< _Scalar >::AngleAxis | ( | Scalar | angle, |
| const MatrixBase< Derived > & | axis | ||
| ) | [inline] |
| Eigen::AngleAxis< _Scalar >::AngleAxis | ( | const QuaternionBase< QuatDerived > & | q | ) | [inline, explicit] |
| Eigen::AngleAxis< _Scalar >::AngleAxis | ( | const MatrixBase< Derived > & | m | ) | [inline, explicit] |
| Eigen::AngleAxis< _Scalar >::AngleAxis | ( | const AngleAxis< OtherScalarType > & | other | ) | [inline, explicit] |
| VectorType Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::_transformVector | ( | const OtherVectorType & | v | ) | const [inline, inherited] |
| Scalar Eigen::AngleAxis< _Scalar >::angle | ( | ) | const [inline] |
| Scalar& Eigen::AngleAxis< _Scalar >::angle | ( | ) | [inline] |
| Vector3& Eigen::AngleAxis< _Scalar >::axis | ( | ) | [inline] |
| const Vector3& Eigen::AngleAxis< _Scalar >::axis | ( | ) | const [inline] |
| internal::cast_return_type<AngleAxis,AngleAxis<NewScalarType> >::type Eigen::AngleAxis< _Scalar >::cast | ( | ) | const [inline] |
| AngleAxis< _Scalar > & Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::derived | ( | ) | [inline, inherited] |
| const AngleAxis< _Scalar > & Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::derived | ( | ) | const [inline, inherited] |
| AngleAxis< Scalar > & Eigen::AngleAxis< Scalar >::fromRotationMatrix | ( | const MatrixBase< Derived > & | m | ) |
| static const AngleAxis Eigen::AngleAxis< _Scalar >::Identity | ( | ) | [inline, static] |
| AngleAxis Eigen::AngleAxis< _Scalar >::inverse | ( | ) | const [inline] |
Reimplemented from Eigen::RotationBase< AngleAxis< _Scalar >, 3 >.
| bool Eigen::AngleAxis< _Scalar >::isApprox | ( | const AngleAxis< _Scalar > & | other, |
| typename NumTraits< Scalar >::Real | prec = NumTraits<Scalar>::dummy_precision() |
||
| ) | const [inline] |
true if *this is approximately equal to other, within the precision determined by prec.| RotationMatrixType Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::matrix | ( | ) | const [inline, inherited] |
| QuaternionType Eigen::AngleAxis< _Scalar >::operator* | ( | const AngleAxis< _Scalar > & | other | ) | const [inline] |
| EIGEN_STRONG_INLINE internal::rotation_base_generic_product_selector<AngleAxis< _Scalar > ,OtherDerived,OtherDerived::IsVectorAtCompileTime>::ReturnType Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::operator* | ( | const EigenBase< OtherDerived > & | e | ) | const [inline, inherited] |
| Transform<Scalar,Dim,Isometry> Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::operator* | ( | const Translation< Scalar, Dim > & | t | ) | const [inline, inherited] |
| RotationMatrixType Eigen::RotationBase< AngleAxis< _Scalar > , _Dim >::operator* | ( | const UniformScaling< Scalar > & | s | ) | const [inline, inherited] |
| QuaternionType Eigen::AngleAxis< _Scalar >::operator* | ( | const QuaternionType & | other | ) | const [inline] |
| AngleAxis< Scalar > & Eigen::AngleAxis< Scalar >::operator= | ( | const MatrixBase< Derived > & | m | ) |
| AngleAxis< Scalar > & Eigen::AngleAxis< Scalar >::operator= | ( | const QuaternionBase< QuatDerived > & | q | ) |
| AngleAxis< Scalar >::Matrix3 Eigen::AngleAxis< Scalar >::toRotationMatrix | ( | void | ) | const |
Constructs and.
Reimplemented from Eigen::RotationBase< AngleAxis< _Scalar >, 3 >.
| QuaternionType operator* | ( | const QuaternionType & | a, |
| const AngleAxis< _Scalar > & | b | ||
| ) | [friend] |
| Transform<Scalar,Dim,Affine> operator* | ( | const DiagonalMatrix< Scalar, Dim > & | l, |
| const AngleAxis< _Scalar > & | r | ||
| ) | [friend, inherited] |
| RotationMatrixType operator* | ( | const EigenBase< OtherDerived > & | l, |
| const AngleAxis< _Scalar > & | r | ||
| ) | [friend, inherited] |
Scalar Eigen::AngleAxis< _Scalar >::m_angle [protected] |
Vector3 Eigen::AngleAxis< _Scalar >::m_axis [protected] |
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |