Eigen  3.4.90 (git rev a4098ac676528a83cfb73d4d26ce1b42ec05f47c)
Eigen::RotationBase< Derived, Dim_ > Class Template Reference

Detailed Description

template<typename Derived, int Dim_>
class Eigen::RotationBase< Derived, Dim_ >

Common base class for compact rotation representations.

Template Parameters
Derivedis the derived type, i.e., a rotation type
Dim_the dimension of the space
+ Inheritance diagram for Eigen::RotationBase< Derived, Dim_ >:

Public Types

typedef Matrix< Scalar, Dim, Dim > RotationMatrixType
 
typedef internal::traits< Derived >::Scalar Scalar
 

Public Member Functions

Derived inverse () const
 
RotationMatrixType matrix () const
 
template<typename OtherDerived >
internal::rotation_base_generic_product_selector< Derived, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType operator* (const EigenBase< OtherDerived > &e) const
 
template<int Mode, int Options>
Transform< Scalar, Dim, Mode > operator* (const Transform< Scalar, Dim, Mode, Options > &t) const
 
Transform< Scalar, Dim, Isometryoperator* (const Translation< Scalar, Dim > &t) const
 
RotationMatrixType operator* (const UniformScaling< Scalar > &s) const
 
RotationMatrixType toRotationMatrix () const
 

Member Typedef Documentation

◆ RotationMatrixType

template<typename Derived , int Dim_>
typedef Matrix<Scalar,Dim,Dim> Eigen::RotationBase< Derived, Dim_ >::RotationMatrixType

corresponding linear transformation matrix type

◆ Scalar

template<typename Derived , int Dim_>
typedef internal::traits<Derived>::Scalar Eigen::RotationBase< Derived, Dim_ >::Scalar

the scalar type of the coefficients

Member Function Documentation

◆ inverse()

template<typename Derived , int Dim_>
Derived Eigen::RotationBase< Derived, Dim_ >::inverse ( ) const
inline
Returns
the inverse rotation

◆ matrix()

template<typename Derived , int Dim_>
RotationMatrixType Eigen::RotationBase< Derived, Dim_ >::matrix ( ) const
inline
Returns
an equivalent rotation matrix This function is added to be conform with the Transform class' naming scheme.

◆ operator*() [1/4]

template<typename Derived , int Dim_>
template<typename OtherDerived >
internal::rotation_base_generic_product_selector< Derived, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType Eigen::RotationBase< Derived, Dim_ >::operator* ( const EigenBase< OtherDerived > &  e) const
inline
Returns
the concatenation of the rotation *this with a generic expression e e can be:
  • a DimxDim linear transformation matrix
  • a DimxDim diagonal matrix (axis aligned scaling)
  • a vector of size Dim

◆ operator*() [2/4]

template<typename Derived , int Dim_>
template<int Mode, int Options>
Transform< Scalar, Dim, Mode > Eigen::RotationBase< Derived, Dim_ >::operator* ( const Transform< Scalar, Dim, Mode, Options > &  t) const
inline
Returns
the concatenation of the rotation *this with a transformation t

◆ operator*() [3/4]

template<typename Derived , int Dim_>
Transform< Scalar, Dim, Isometry > Eigen::RotationBase< Derived, Dim_ >::operator* ( const Translation< Scalar, Dim > &  t) const
inline
Returns
the concatenation of the rotation *this with a translation t

◆ operator*() [4/4]

template<typename Derived , int Dim_>
RotationMatrixType Eigen::RotationBase< Derived, Dim_ >::operator* ( const UniformScaling< Scalar > &  s) const
inline
Returns
the concatenation of the rotation *this with a uniform scaling s

◆ toRotationMatrix()

template<typename Derived , int Dim_>
RotationMatrixType Eigen::RotationBase< Derived, Dim_ >::toRotationMatrix ( void  ) const
inline
Returns
an equivalent rotation matrix

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