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 380 of file Geometry/Quaternion.h.
typedef QuaternionBase<Map<Quaternion<_Scalar>, _Options> > Map< Quaternion< _Scalar >, _Options >::Base [private] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 383 of file Geometry/Quaternion.h.
typedef internal::traits<Map>::Coefficients Map< Quaternion< _Scalar >, _Options >::Coefficients |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 387 of file Geometry/Quaternion.h.
typedef _Scalar Map< Quaternion< _Scalar >, _Options >::Scalar |
the scalar type of the coefficients
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 386 of file Geometry/Quaternion.h.
EIGEN_STRONG_INLINE 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 397 of file Geometry/Quaternion.h.
Coefficients& Map< Quaternion< _Scalar >, _Options >::coeffs | ( | ) | [inline] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 399 of file Geometry/Quaternion.h.
const Coefficients& Map< Quaternion< _Scalar >, _Options >::coeffs | ( | ) | const [inline] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, _Options > >.
Definition at line 400 of file Geometry/Quaternion.h.
Coefficients Map< Quaternion< _Scalar >, _Options >::m_coeffs [protected] |
Definition at line 403 of file Geometry/Quaternion.h.