Common base class for compact rotation representations. More...
#include <RotationBase.h>
Public Types | |
enum | { Dim } |
typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
typedef internal::traits < Derived >::Scalar | Scalar |
typedef Matrix< Scalar, Dim, 1 > | VectorType |
Public Member Functions | |
template<typename OtherVectorType > | |
VectorType | _transformVector (const OtherVectorType &v) const |
const Derived & | derived () const |
Derived & | derived () |
Derived | inverse () const |
RotationMatrixType | matrix () const |
Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
RotationMatrixType | operator* (const UniformScaling< Scalar > &s) 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 |
RotationMatrixType | toRotationMatrix () 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> RotationMatrixType |
corresponding linear transformation matrix type
the scalar type of the coefficients
Reimplemented in Map< Quaternion< _Scalar >, _Options >, Map< const Quaternion< _Scalar >, _Options >, Quaternion< _Scalar, _Options >, AngleAxis< _Scalar >, Rotation2D< _Scalar >, QuaternionBase< Derived >, QuaternionBase< Map< const Quaternion< _Scalar >, _Options > >, QuaternionBase< Map< Quaternion< _Scalar >, _Options > >, and QuaternionBase< Quaternion< _Scalar, _Options > >.
typedef Matrix<Scalar,Dim,1> VectorType |
|
inline |
|
inline |
|
inline |
|
inline |
Reimplemented in QuaternionBase< Derived >, QuaternionBase< Map< const Quaternion< _Scalar >, _Options > >, QuaternionBase< Map< Quaternion< _Scalar >, _Options > >, QuaternionBase< Quaternion< _Scalar, _Options > >, AngleAxis< _Scalar >, and Rotation2D< _Scalar >.
|
inline |
*this
with a translation t
|
inline |
*this
with a uniform scaling s
|
inline |
*this
with a generic expression e e can be:
|
inline |
*this
with a transformation t
|
inline |
Reimplemented in QuaternionBase< Derived >, QuaternionBase< Map< const Quaternion< _Scalar >, _Options > >, QuaternionBase< Map< Quaternion< _Scalar >, _Options > >, QuaternionBase< Quaternion< _Scalar, _Options > >, AngleAxis< _Scalar >, and Rotation2D< _Scalar >.
Referenced by RotationBase< Derived, 3 >::_transformVector(), Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >::Matrix(), RotationBase< Derived, 3 >::operator*(), UniformScaling< _Scalar >::operator*(), Transform< _Scalar, _Dim, _Mode, _Options >::operator*=(), and Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >::operator=().
|
friend |
|
friend |