Quaternion expression mapping a constant memory buffer. More...
#include <Quaternion.h>
Public Types | |
typedef _Scalar | Scalar |
typedef internal::traits< Map > ::Coefficients | Coefficients |
Public Member Functions | |
EIGEN_STRONG_INLINE | Map (const Scalar *coeffs) |
const Coefficients & | coeffs () const |
Protected Attributes | |
const Coefficients | m_coeffs |
Quaternion expression mapping a constant 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< const Quaternion< _Scalar >, PacketAccess >::Coefficients |
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
typedef _Scalar Map< const Quaternion< _Scalar >, PacketAccess >::Scalar |
the scalar type of the coefficients
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
EIGEN_STRONG_INLINE Map< const Quaternion< _Scalar >, PacketAccess >::Map | ( | const 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.
const Coefficients& Map< const Quaternion< _Scalar >, PacketAccess >::coeffs | ( | ) | const [inline] |
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
const Coefficients Map< const Quaternion< _Scalar >, PacketAccess >::m_coeffs [protected] |