![]() |
Eigen
3.4.90 (git rev 5a9f66fb35d03a4da9ef8976e67a61b30aa16dcf)
|
Expression of a quaternion from a memory buffer.
| Scalar_ | the type of the Quaternion coefficients |
| Options_ | see class Map |
This is a specialization of class Map for Quaternion. This class allows to view a 4 scalar memory buffer as an Eigen's Quaternion object.
Inheritance diagram for Eigen::Map< Quaternion< Scalar_ >, Options_ >:Public Member Functions | |
| Map (Scalar *coeffs) | |
Public Member Functions inherited from Eigen::QuaternionBase< Map< Quaternion< Scalar_ >, Options_ > > | |
| Vector3 | _transformVector (const Vector3 &v) const |
| internal::traits< Map< Quaternion< Scalar_ >, Options_ > >::Scalar | angularDistance (const QuaternionBase< OtherDerived > &other) const |
| internal::cast_return_type< Map< Quaternion< Scalar_ >, Options_ >, Quaternion< NewScalarType > >::type | cast () const |
| internal::traits< Map< Quaternion< Scalar_ >, Options_ > >::Coefficients & | coeffs () |
| const internal::traits< Map< Quaternion< Scalar_ >, Options_ > >::Coefficients & | coeffs () const |
| Quaternion< Scalar > | conjugate () const |
| Scalar | dot (const QuaternionBase< OtherDerived > &other) const |
| Quaternion< Scalar > | inverse () const |
| bool | isApprox (const QuaternionBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| Scalar | norm () const |
| void | normalize () |
| Quaternion< Scalar > | normalized () const |
| bool | operator!= (const QuaternionBase< OtherDerived > &other) const |
| Quaternion< typename internal::traits< Map< Quaternion< Scalar_ >, Options_ > >::Scalar > | operator* (const QuaternionBase< OtherDerived > &other) const |
| Map< Quaternion< Scalar_ >, Options_ > & | operator*= (const QuaternionBase< OtherDerived > &q) |
| Map< Quaternion< Scalar_ >, Options_ > & | operator= (const AngleAxisType &aa) |
| Map< Quaternion< Scalar_ >, Options_ > & | operator= (const MatrixBase< MatrixDerived > &xpr) |
| bool | operator== (const QuaternionBase< OtherDerived > &other) const |
| Map< Quaternion< Scalar_ >, Options_ > & | setFromTwoVectors (const MatrixBase< Derived1 > &a, const MatrixBase< Derived2 > &b) |
| QuaternionBase & | setIdentity () |
| Quaternion< typename internal::traits< Map< Quaternion< Scalar_ >, Options_ > >::Scalar > | slerp (const Scalar &t, const QuaternionBase< OtherDerived > &other) const |
| Scalar | squaredNorm () const |
| Matrix3 | toRotationMatrix () const |
| VectorBlock< Coefficients, 3 > | vec () |
| const VectorBlock< const Coefficients, 3 > | vec () const |
| EIGEN_CONSTEXPR NonConstCoeffReturnType | w () |
| EIGEN_CONSTEXPR CoeffReturnType | w () const |
| EIGEN_CONSTEXPR NonConstCoeffReturnType | x () |
| EIGEN_CONSTEXPR CoeffReturnType | x () const |
| EIGEN_CONSTEXPR NonConstCoeffReturnType | y () |
| EIGEN_CONSTEXPR CoeffReturnType | y () const |
| EIGEN_CONSTEXPR NonConstCoeffReturnType | z () |
| EIGEN_CONSTEXPR CoeffReturnType | z () const |
Public Member Functions inherited from Eigen::RotationBase< Map< Quaternion< Scalar_ >, Options_ >, 3 > | |
| Map< Quaternion< Scalar_ >, Options_ > | inverse () const |
| RotationMatrixType | matrix () const |
| internal::rotation_base_generic_product_selector< Map< Quaternion< Scalar_ >, Options_ >, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
| RotationMatrixType | toRotationMatrix () const |
Additional Inherited Members | |
Public Types inherited from Eigen::QuaternionBase< Map< Quaternion< Scalar_ >, Options_ > > | |
| typedef AngleAxis< Scalar > | AngleAxisType |
| typedef Matrix< Scalar, 3, 3 > | Matrix3 |
| typedef Matrix< Scalar, 3, 1 > | Vector3 |
Public Types inherited from Eigen::RotationBase< Map< Quaternion< Scalar_ >, Options_ >, 3 > | |
| typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
| typedef internal::traits< Map< Quaternion< Scalar_ >, Options_ > >::Scalar | Scalar |
Static Public Member Functions inherited from Eigen::QuaternionBase< Map< Quaternion< Scalar_ >, Options_ > > | |
| static Quaternion< Scalar > | Identity () |
|
inlineexplicit |
Constructs a Mapped Quaternion object from the pointer coeffs
The pointer coeffs must reference the four coefficients of Quaternion in the following order:
If the template parameter Options_ is set to Aligned, then the pointer coeffs must be aligned.