Eigen::Map< const Quaternion< _Scalar >, _Options > Class Template Reference
[Geometry_Module]

Quaternion expression mapping a constant memory buffer. More...

#include <Quaternion.h>

Inheritance diagram for Eigen::Map< const Quaternion< _Scalar >, _Options >:

Eigen::QuaternionBase< Derived > Eigen::RotationBase< Derived, 3 > List of all members.

Public Types

typedef _Scalar Scalar
typedef internal::traits<
Map >::Coefficients 
Coefficients

Public Member Functions

EIGEN_STRONG_INLINE Map (const Scalar *coeffs)
const Coefficientscoeffs () const

Protected Attributes

const Coefficients m_coeffs

Detailed Description

template<typename _Scalar, int _Options>
class Eigen::Map< const Quaternion< _Scalar >, _Options >

Quaternion expression mapping a constant memory buffer.

_Scalar the type of the Quaternion coefficients _Options 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.

See also:
class Map, class Quaternion, class QuaternionBase

Definition at line 334 of file Quaternion.h.


Member Typedef Documentation

template<typename _Scalar, int _Options>
typedef internal::traits<Map>::Coefficients Eigen::Map< const Quaternion< _Scalar >, _Options >::Coefficients

Reimplemented from Eigen::QuaternionBase< Derived >.

Definition at line 341 of file Quaternion.h.

template<typename _Scalar, int _Options>
typedef _Scalar Eigen::Map< const Quaternion< _Scalar >, _Options >::Scalar

Reimplemented from Eigen::QuaternionBase< Derived >.

Definition at line 340 of file Quaternion.h.


Constructor & Destructor Documentation

template<typename _Scalar, int _Options>
EIGEN_STRONG_INLINE Eigen::Map< const Quaternion< _Scalar >, _Options >::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:

 *coeffs == {x, y, z, w} 

If the template parameter _Options is set to Aligned, then the pointer coeffs must be aligned.

Definition at line 351 of file Quaternion.h.


Member Function Documentation

template<typename _Scalar, int _Options>
const Coefficients& Eigen::Map< const Quaternion< _Scalar >, _Options >::coeffs (  )  const [inline]

Returns:
a read-only vector expression of the coefficients (x,y,z,w)

Reimplemented from Eigen::QuaternionBase< Derived >.

Definition at line 353 of file Quaternion.h.


Member Data Documentation

template<typename _Scalar, int _Options>
const Coefficients Eigen::Map< const Quaternion< _Scalar >, _Options >::m_coeffs [protected]

Definition at line 356 of file Quaternion.h.


The documentation for this class was generated from the following file:
Generated on 19 Dec 2016 for PSDMSoftware by  doxygen 1.4.7