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.
Definition at line 348 of file Quaternion.h.
#include <src/Geometry/Quaternion.h>
Public Types | |
typedef _Scalar | Scalar |
the scalar type of the coefficients | |
typedef internal::traits< Map > ::Coefficients | Coefficients |
Public Member Functions | |
EIGEN_STRONG_INLINE | Map (Scalar *coeffs) |
Constructs a Mapped Quaternion object from the pointer coeffs. | |
Coefficients & | coeffs () |
const Coefficients & | coeffs () const |
Protected Attributes | |
Coefficients | m_coeffs |
Private Types | |
typedef QuaternionBase< Map < Quaternion< _Scalar > , PacketAccess > > | Base |
typedef QuaternionBase<Map<Quaternion<_Scalar>, PacketAccess> > Map< Quaternion< _Scalar >, PacketAccess >::Base [private] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Definition at line 351 of file Quaternion.h.
typedef internal::traits<Map>::Coefficients Map< Quaternion< _Scalar >, PacketAccess >::Coefficients |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Definition at line 355 of file Quaternion.h.
typedef _Scalar Map< Quaternion< _Scalar >, PacketAccess >::Scalar |
the scalar type of the coefficients
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Definition at line 354 of file Quaternion.h.
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.
Definition at line 365 of file Quaternion.h.
Coefficients& Map< Quaternion< _Scalar >, PacketAccess >::coeffs | ( | ) | [inline] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Definition at line 367 of file Quaternion.h.
const Coefficients& Map< Quaternion< _Scalar >, PacketAccess >::coeffs | ( | ) | const [inline] |
Reimplemented from QuaternionBase< Map< Quaternion< _Scalar >, PacketAccess > >.
Definition at line 368 of file Quaternion.h.
Coefficients Map< Quaternion< _Scalar >, PacketAccess >::m_coeffs [protected] |
Definition at line 371 of file Quaternion.h.
Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011 |