Expression of a quaternion from a memory buffer. More...
#include <Quaternion.h>
Public Types | |
typedef _Scalar | Scalar |
typedef internal::traits< Map > ::Coefficients | Coefficients |
Public Member Functions | |
EIGEN_STRONG_INLINE | Map (Scalar *coeffs) |
Coefficients & | coeffs () |
const Coefficients & | coeffs () const |
Protected Attributes | |
Coefficients | m_coeffs |
Expression of a quaternion from a memory buffer.
_Scalar | the type of the Quaternion coefficients | |
PacketAccess | 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.
typedef internal::traits<Map>::Coefficients Map< Quaternion< _Scalar >, PacketAccess >::Coefficients |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
typedef _Scalar Map< Quaternion< _Scalar >, PacketAccess >::Scalar |
the scalar type of the coefficients
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
EIGEN_STRONG_INLINE Map< Quaternion< _Scalar >, PacketAccess >::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 PacketAccess is set to Aligned, then the pointer coeffs must be aligned.
Coefficients& Map< Quaternion< _Scalar >, PacketAccess >::coeffs | ( | ) | [inline] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
const Coefficients& Map< Quaternion< _Scalar >, PacketAccess >::coeffs | ( | ) | const [inline] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Coefficients Map< Quaternion< _Scalar >, PacketAccess >::m_coeffs [protected] |