template<class Derived>
 class Eigen::QuaternionBase< Derived >
 Base class for quaternion expressions. 
 This is defined in the Geometry module.
#include <Eigen/Geometry> 
- Template Parameters
-   
| Derived | derived type (CRTP) |  
 
- See also
- class Quaternion 
   |  | 
 
| Vector3 | _transformVector (const Vector3 &v) const | 
 |  | 
 | template<class OtherDerived > | 
 
| internal::traits< Derived >::Scalar | angularDistance (const QuaternionBase< OtherDerived > &other) const | 
 |  | 
 | template<typename NewScalarType > | 
 
| internal::cast_return_type< Derived, Quaternion< NewScalarType > >::type | cast () const | 
 |  | 
 
| internal::traits< Derived >::Coefficients & | coeffs () | 
 |  | 
 
| const internal::traits< Derived >::Coefficients & | coeffs () const | 
 |  | 
 
| Quaternion< Scalar > | conjugate () const | 
 |  | 
 | template<class OtherDerived > | 
 
| Scalar | dot (const QuaternionBase< OtherDerived > &other) const | 
 |  | 
 
| Quaternion< Scalar > | inverse () const | 
 |  | 
 | template<class OtherDerived > | 
 
| bool | isApprox (const QuaternionBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const | 
 |  | 
 
| Scalar | norm () const | 
 |  | 
 
| void | normalize () | 
 |  | 
 
| Quaternion< Scalar > | normalized () const | 
 |  | 
 | template<class OtherDerived > | 
 
| bool | operator!= (const QuaternionBase< OtherDerived > &other) const | 
 |  | 
 | template<class OtherDerived > | 
 
| Quaternion< typename internal::traits< Derived >::Scalar > | operator* (const QuaternionBase< OtherDerived > &other) const | 
 |  | 
 | template<class OtherDerived > | 
 
| Derived & | operator*= (const QuaternionBase< OtherDerived > &q) | 
 |  | 
 
| Derived & | operator= (const AngleAxisType &aa) | 
 |  | 
 | template<class MatrixDerived > | 
 
| Derived & | operator= (const MatrixBase< MatrixDerived > &xpr) | 
 |  | 
 | template<class OtherDerived > | 
 
| bool | operator== (const QuaternionBase< OtherDerived > &other) const | 
 |  | 
 | template<typename Derived1 , typename Derived2 > | 
 
| Derived & | setFromTwoVectors (const MatrixBase< Derived1 > &a, const MatrixBase< Derived2 > &b) | 
 |  | 
 
| QuaternionBase & | setIdentity () | 
 |  | 
 | template<class OtherDerived > | 
 
| Quaternion< typename internal::traits< Derived >::Scalar > | slerp (const Scalar &t, const QuaternionBase< OtherDerived > &other) const | 
 |  | 
 
| Scalar | squaredNorm () const | 
 |  | 
 
| Matrix3 | toRotationMatrix () const | 
 |  | 
 
| VectorBlock< Coefficients, 3 > | vec () | 
 |  | 
 
| const VectorBlock< const Coefficients, 3 > | vec () const | 
 |  | 
 
| NonConstCoeffReturnType | w () | 
 |  | 
 
| CoeffReturnType | w () const | 
 |  | 
 
| NonConstCoeffReturnType | x () | 
 |  | 
 
| CoeffReturnType | x () const | 
 |  | 
 
| NonConstCoeffReturnType | y () | 
 |  | 
 
| CoeffReturnType | y () const | 
 |  | 
 
| NonConstCoeffReturnType | z () | 
 |  | 
 
| CoeffReturnType | z () const | 
 |  | 
 |  Public Member Functions inherited from Eigen::RotationBase< Derived, 3 > | 
 
| Derived | inverse () const | 
 |  | 
 
| RotationMatrixType | matrix () const | 
 |  | 
 
| internal::rotation_base_generic_product_selector< Derived, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const | 
 |  | 
 
| Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) const | 
 |  | 
 
| Transform< Scalar, Dim, Isometry > | operator* (const Translation< Scalar, Dim > &t) const | 
 |  | 
 
| RotationMatrixType | operator* (const UniformScaling< Scalar > &s) const | 
 |  | 
 
| RotationMatrixType | toRotationMatrix () const | 
 |  | 
 
   template<class Derived > 
  template<typename Derived1 , typename Derived2 > 
   
 
- Returns
- the quaternion which transform a into b through a rotation
Sets *this to be a quaternion representing a rotation between the two arbitrary vectors a and b. In other words, the built rotation represent a rotation sending the line of direction a to the line of direction b, both lines passing through the origin.
 
- Returns
- a reference to *this.
Note that the two input vectors do not have to be normalized, and do not need to have the same norm.