Common base class for compact rotation representations. More...
#include <RotationBase.h>
Public Types | |
enum | { Dim = _Dim } |
enum | { Dim = _Dim } |
typedef ei_traits< Derived > ::Scalar | Scalar |
typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
typedef internal::traits < Derived >::Scalar | Scalar |
typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
typedef Matrix< Scalar, Dim, 1 > | VectorType |
Public Member Functions | |
const Derived & | derived () const |
Derived & | derived () |
RotationMatrixType | toRotationMatrix () const |
Derived | inverse () const |
Transform< Scalar, Dim > | operator* (const Translation< Scalar, Dim > &t) const |
RotationMatrixType | operator* (const Scaling< Scalar, Dim > &s) const |
Transform< Scalar, Dim > | operator* (const Transform< Scalar, Dim > &t) const |
const Derived & | derived () const |
Derived & | derived () |
RotationMatrixType | toRotationMatrix () const |
RotationMatrixType | matrix () const |
Derived | inverse () const |
Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
template<typename OtherDerived > | |
EIGEN_STRONG_INLINE 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 |
template<typename OtherVectorType > | |
VectorType | _transformVector (const OtherVectorType &v) const |
Friends | |
template<typename OtherDerived > | |
RotationMatrixType | operator* (const EigenBase< OtherDerived > &l, const Derived &r) |
Transform< Scalar, Dim, Affine > | operator* (const DiagonalMatrix< Scalar, Dim > &l, const Derived &r) |
Common base class for compact rotation representations.
Derived | is the derived type, i.e., a rotation type | |
_Dim | the dimension of the space |
typedef Matrix<Scalar,Dim,Dim> RotationBase< Derived, _Dim >::RotationMatrixType |
corresponding linear transformation matrix type
typedef Matrix<Scalar,Dim,Dim> RotationBase< Derived, _Dim >::RotationMatrixType |
corresponding linear transformation matrix type
typedef ei_traits<Derived>::Scalar RotationBase< Derived, _Dim >::Scalar |
the scalar type of the coefficients
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, Rotation2D< _Scalar >, AngleAxis< _Scalar >, QuaternionBase< Derived >, Quaternion< _Scalar >, Map< const Quaternion< _Scalar >, PacketAccess >, Map< Quaternion< _Scalar >, PacketAccess >, Rotation2D< _Scalar >, QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >, QuaternionBase< Quaternion< _Scalar, _Options > >, and QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
typedef internal::traits<Derived>::Scalar RotationBase< Derived, _Dim >::Scalar |
the scalar type of the coefficients
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, Rotation2D< _Scalar >, AngleAxis< _Scalar >, QuaternionBase< Derived >, Quaternion< _Scalar >, Map< const Quaternion< _Scalar >, PacketAccess >, Map< Quaternion< _Scalar >, PacketAccess >, Rotation2D< _Scalar >, QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >, QuaternionBase< Quaternion< _Scalar, _Options > >, and QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
typedef Matrix<Scalar,Dim,1> RotationBase< Derived, _Dim >::VectorType |
VectorType RotationBase< Derived, _Dim >::_transformVector | ( | const OtherVectorType & | v | ) | const [inline] |
const Derived& RotationBase< Derived, _Dim >::derived | ( | ) | const [inline] |
Derived& RotationBase< Derived, _Dim >::derived | ( | ) | [inline] |
const Derived& RotationBase< Derived, _Dim >::derived | ( | ) | const [inline] |
Derived& RotationBase< Derived, _Dim >::derived | ( | ) | [inline] |
Derived RotationBase< Derived, _Dim >::inverse | ( | void | ) | const [inline] |
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, Rotation2D< _Scalar >, AngleAxis< _Scalar >, QuaternionBase< Derived >, Rotation2D< _Scalar >, QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >, QuaternionBase< Quaternion< _Scalar, _Options > >, and QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Derived RotationBase< Derived, _Dim >::inverse | ( | void | ) | const [inline] |
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, Rotation2D< _Scalar >, AngleAxis< _Scalar >, QuaternionBase< Derived >, Rotation2D< _Scalar >, QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >, QuaternionBase< Quaternion< _Scalar, _Options > >, and QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
RotationMatrixType RotationBase< Derived, _Dim >::matrix | ( | ) | const [inline] |
Transform<Scalar,Dim> RotationBase< Derived, _Dim >::operator* | ( | const Translation< Scalar, Dim > & | t | ) | const [inline] |
*this
with a translation t Transform<Scalar,Dim,Mode> RotationBase< Derived, _Dim >::operator* | ( | const Transform< Scalar, Dim, Mode, Options > & | t | ) | const [inline] |
*this
with a transformation t RotationMatrixType RotationBase< Derived, _Dim >::operator* | ( | const UniformScaling< Scalar > & | s | ) | const [inline] |
*this
with a uniform scaling s Transform<Scalar,Dim> RotationBase< Derived, _Dim >::operator* | ( | const Transform< Scalar, Dim > & | t | ) | const [inline] |
*this
with an affine transformation t EIGEN_STRONG_INLINE internal::rotation_base_generic_product_selector<Derived,OtherDerived,OtherDerived::IsVectorAtCompileTime>::ReturnType RotationBase< Derived, _Dim >::operator* | ( | const EigenBase< OtherDerived > & | e | ) | const [inline] |
*this
with a generic expression e e can be:Transform<Scalar,Dim,Isometry> RotationBase< Derived, _Dim >::operator* | ( | const Translation< Scalar, Dim > & | t | ) | const [inline] |
*this
with a translation t RotationMatrixType RotationBase< Derived, _Dim >::operator* | ( | const Scaling< Scalar, Dim > & | s | ) | const [inline] |
*this
with a scaling s RotationMatrixType RotationBase< Derived, _Dim >::toRotationMatrix | ( | void | ) | const [inline] |
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, Rotation2D< _Scalar >, AngleAxis< _Scalar >, QuaternionBase< Derived >, Rotation2D< _Scalar >, QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >, QuaternionBase< Quaternion< _Scalar, _Options > >, and QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
RotationMatrixType RotationBase< Derived, _Dim >::toRotationMatrix | ( | void | ) | const [inline] |
Reimplemented in AngleAxis< _Scalar >, Quaternion< _Scalar >, Rotation2D< _Scalar >, AngleAxis< _Scalar >, QuaternionBase< Derived >, Rotation2D< _Scalar >, QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >, QuaternionBase< Quaternion< _Scalar, _Options > >, and QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
RotationMatrixType operator* | ( | const EigenBase< OtherDerived > & | l, | |
const Derived & | r | |||
) | [friend] |
Transform<Scalar,Dim,Affine> operator* | ( | const DiagonalMatrix< Scalar, Dim > & | l, | |
const Derived & | r | |||
) | [friend] |