Expression of a quaternion from a memory buffer. More...
#include <Quaternion.h>
Public Types | |
typedef internal::traits< Map > ::Coefficients | Coefficients |
typedef _Scalar | Scalar |
Public Member Functions | |
Coefficients & | coeffs () |
const Coefficients & | coeffs () const |
EIGEN_STRONG_INLINE | Map (Scalar *coeffs) |
Protected Attributes | |
Coefficients | m_coeffs |
Private Types | |
typedef QuaternionBase< Map < Quaternion< _Scalar > , _Options > > | Base |
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.
Definition at line 385 of file Geometry/Quaternion.h.
typedef QuaternionBase<Map<Quaternion<_Scalar>, _Options> > Eigen::Map< Quaternion< _Scalar >, _Options >::Base [private] |
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 388 of file Geometry/Quaternion.h.
typedef internal::traits<Map>::Coefficients Eigen::Map< Quaternion< _Scalar >, _Options >::Coefficients |
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 392 of file Geometry/Quaternion.h.
typedef _Scalar Eigen::Map< Quaternion< _Scalar >, _Options >::Scalar |
the scalar type of the coefficients
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 391 of file Geometry/Quaternion.h.
EIGEN_STRONG_INLINE Eigen::Map< Quaternion< _Scalar >, _Options >::Map | ( | Scalar * | coeffs | ) | [inline] |
Constructs a Mapped Quaternion object from the pointer coeffs
The pointer coeffs must reference the four coeffecients of Quaternion in the following order:
If the template parameter _Options is set to Aligned, then the pointer coeffs must be aligned.
Definition at line 402 of file Geometry/Quaternion.h.
Coefficients& Eigen::Map< Quaternion< _Scalar >, _Options >::coeffs | ( | ) | [inline] |
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 404 of file Geometry/Quaternion.h.
const Coefficients& Eigen::Map< Quaternion< _Scalar >, _Options >::coeffs | ( | ) | const [inline] |
Reimplemented from Eigen::QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 405 of file Geometry/Quaternion.h.
Coefficients Eigen::Map< Quaternion< _Scalar >, _Options >::m_coeffs [protected] |
Definition at line 408 of file Geometry/Quaternion.h.