Quaternion expression mapping a constant memory buffer. More...
#include <Quaternion.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC const Coefficients & | coeffs () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | Map (const Scalar *coeffs) |
Public Member Functions inherited from Eigen::QuaternionBase< Map< const Quaternion< _Scalar >, _Options > > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Vector3 | _transformVector (const Vector3 &v) const |
EIGEN_DEVICE_FUNC Scalar | angularDistance (const QuaternionBase< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC internal::cast_return_type< Map< const Quaternion< _Scalar >, _Options >, Quaternion< NewScalarType > >::type | cast () const |
EIGEN_DEVICE_FUNC const internal::traits< Map< const Quaternion< _Scalar >, _Options > >::Coefficients & | coeffs () const |
EIGEN_DEVICE_FUNC internal::traits< Map< const Quaternion< _Scalar >, _Options > >::Coefficients & | coeffs () |
EIGEN_DEVICE_FUNC Quaternion< Scalar > | conjugate () const |
EIGEN_DEVICE_FUNC Scalar | dot (const QuaternionBase< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC Quaternion< Scalar > | inverse () const |
EIGEN_DEVICE_FUNC bool | isApprox (const QuaternionBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
EIGEN_DEVICE_FUNC Scalar | norm () const |
EIGEN_DEVICE_FUNC void | normalize () |
EIGEN_DEVICE_FUNC Quaternion< Scalar > | normalized () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< Scalar > | operator* (const QuaternionBase< OtherDerived > &q) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Map< const Quaternion< _Scalar >, _Options > & | operator*= (const QuaternionBase< OtherDerived > &q) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE QuaternionBase< Map< const Quaternion< _Scalar >, _Options > > & | operator= (const QuaternionBase< Map< const Quaternion< _Scalar >, _Options > > &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Map< const Quaternion< _Scalar >, _Options > & | operator= (const QuaternionBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC Map< const Quaternion< _Scalar >, _Options > & | operator= (const AngleAxisType &aa) |
EIGEN_DEVICE_FUNC Map< const Quaternion< _Scalar >, _Options > & | operator= (const MatrixBase< OtherDerived > &m) |
EIGEN_DEVICE_FUNC Map< const Quaternion< _Scalar >, _Options > & | setFromTwoVectors (const MatrixBase< Derived1 > &a, const MatrixBase< Derived2 > &b) |
EIGEN_DEVICE_FUNC QuaternionBase & | setIdentity () |
EIGEN_DEVICE_FUNC Quaternion< Scalar > | slerp (const Scalar &t, const QuaternionBase< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC Scalar | squaredNorm () const |
EIGEN_DEVICE_FUNC Matrix3 | toRotationMatrix () const |
EIGEN_DEVICE_FUNC const VectorBlock< const Coefficients, 3 > | vec () const |
EIGEN_DEVICE_FUNC VectorBlock< Coefficients, 3 > | vec () |
EIGEN_DEVICE_FUNC CoeffReturnType | w () const |
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | w () |
EIGEN_DEVICE_FUNC CoeffReturnType | x () const |
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | x () |
EIGEN_DEVICE_FUNC CoeffReturnType | y () const |
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | y () |
EIGEN_DEVICE_FUNC CoeffReturnType | z () const |
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | z () |
Public Member Functions inherited from Eigen::RotationBase< Map< const Quaternion< _Scalar >, _Options >, 3 > | |
EIGEN_DEVICE_FUNC VectorType | _transformVector (const OtherVectorType &v) const |
EIGEN_DEVICE_FUNC const Map< const Quaternion< _Scalar >, _Options > & | derived () const |
EIGEN_DEVICE_FUNC Map< const Quaternion< _Scalar >, _Options > & | derived () |
EIGEN_DEVICE_FUNC Map< const Quaternion< _Scalar >, _Options > | inverse () const |
EIGEN_DEVICE_FUNC RotationMatrixType | matrix () const |
EIGEN_DEVICE_FUNC Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const |
EIGEN_DEVICE_FUNC RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::rotation_base_generic_product_selector< Map< const Quaternion< _Scalar >, _Options >, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
EIGEN_DEVICE_FUNC Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const |
EIGEN_DEVICE_FUNC RotationMatrixType | toRotationMatrix () const |
Protected Attributes | |
const Coefficients | m_coeffs |
Additional Inherited Members | |
Static Public Member Functions inherited from Eigen::QuaternionBase< Map< const Quaternion< _Scalar >, _Options > > | |
static EIGEN_DEVICE_FUNC Quaternion< Scalar > | Identity () |
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.
Definition at line 348 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.
typedef QuaternionBase<Map<const Quaternion<_Scalar>, _Options> > Eigen::Map< const Quaternion< _Scalar >, _Options >::Base |
Definition at line 352 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.
typedef internal::traits<Map>::Coefficients Eigen::Map< const Quaternion< _Scalar >, _Options >::Coefficients |
Definition at line 355 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.
typedef _Scalar Eigen::Map< const Quaternion< _Scalar >, _Options >::Scalar |
Definition at line 354 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.
|
inlineexplicit |
Constructs a Mapped Quaternion object from the pointer coeffs
The pointer coeffs must reference the four coefficients of Quaternion in the following order:
If the template parameter _Options is set to Aligned, then the pointer coeffs must be aligned.
Definition at line 365 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.
|
inline |
Definition at line 367 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.
|
protected |
Definition at line 370 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.