Expression of a quaternion from a memory buffer. More...
Inherits QuaternionBase< Derived >.
Public Types | |
typedef _Scalar | Scalar |
Public Member Functions | |
Map (Scalar *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 _Scalar Scalar |
the scalar type of the coefficients
Reimplemented from RotationBase< Derived, 3 >.
Constructs a Mapped Quaternion object from the pointer coeffs
The pointer coeffs must reference the four coeffecients of Quaternion in the following order:
*coeffs == {x, y, z, w}
If the template parameter PacketAccess is set to Aligned, then the pointer coeffs must be aligned.