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.
Definition at line 312 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 (const Scalar *coeffs) |
Constructs a Mapped Quaternion object from the pointer coeffs. | |
const Coefficients & | coeffs () const |
Protected Attributes | |
const Coefficients | m_coeffs |
Private Types | |
typedef QuaternionBase< Map < Quaternion< _Scalar > , PacketAccess > > | Base |
typedef QuaternionBase<Map<Quaternion<_Scalar>, PacketAccess> > Map< const Quaternion< _Scalar >, PacketAccess >::Base [private] |
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
Definition at line 315 of file Quaternion.h.
typedef internal::traits<Map>::Coefficients Map< const Quaternion< _Scalar >, PacketAccess >::Coefficients |
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
Definition at line 319 of file Quaternion.h.
typedef _Scalar Map< const Quaternion< _Scalar >, PacketAccess >::Scalar |
the scalar type of the coefficients
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
Definition at line 318 of file Quaternion.h.
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.
Definition at line 329 of file Quaternion.h.
const Coefficients& Map< const Quaternion< _Scalar >, PacketAccess >::coeffs | ( | ) | const [inline] |
Reimplemented from QuaternionBase< Map< const Quaternion< _Scalar >, PacketAccess > >.
Definition at line 331 of file Quaternion.h.
const Coefficients Map< const Quaternion< _Scalar >, PacketAccess >::m_coeffs [protected] |
Definition at line 334 of file Quaternion.h.
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN:exported at Tue Jan 25 21:56:31 UTC 2011 |