|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Vector3 | _transformVector (const Vector3 &v) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Scalar | angularDistance (const QuaternionBase< OtherDerived > &other) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | angularDistance (const QuaternionBase< OtherDerived > &other) const |
|
template<typename NewScalarType > |
EIGEN_DEVICE_FUNC internal::enable_if< internal::is_same< Scalar, NewScalarType >::value, const Derived & >::type | cast () const |
|
template<typename NewScalarType > |
EIGEN_DEVICE_FUNC internal::enable_if<!internal::is_same< Scalar, NewScalarType >::value, Quaternion< NewScalarType > >::type | cast () const |
|
EIGEN_DEVICE_FUNC internal::traits< Derived >::Coefficients & | coeffs () |
|
const EIGEN_DEVICE_FUNC internal::traits< Derived >::Coefficients & | coeffs () const |
|
EIGEN_DEVICE_FUNC Quaternion< Scalar > | conjugate () const |
|
EIGEN_DEVICE_FUNC Derived & | derived () |
|
const EIGEN_DEVICE_FUNC Derived & | derived () const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Scalar | dot (const QuaternionBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC Quaternion< Scalar > | inverse () const |
|
template<class OtherDerived > |
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 |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC bool | operator!= (const QuaternionBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::rotation_base_generic_product_selector< Derived, OtherDerived, OtherDerived::IsVectorAtCompileTime >::ReturnType | operator* (const EigenBase< OtherDerived > &e) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< typename internal::traits< Derived >::Scalar > | operator* (const QuaternionBase< OtherDerived > &other) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< Scalar > | operator* (const QuaternionBase< OtherDerived > &q) const |
|
template<int Mode, int Options> |
EIGEN_DEVICE_FUNC Transform< Scalar, Dim, Mode > | operator* (const Transform< Scalar, Dim, Mode, Options > &t) 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 |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator*= (const QuaternionBase< OtherDerived > &q) |
|
EIGEN_DEVICE_FUNC Derived & | operator= (const AngleAxisType &aa) |
|
template<class Derived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const AngleAxisType &aa) |
|
template<class MatrixDerived > |
EIGEN_DEVICE_FUNC Derived & | operator= (const MatrixBase< MatrixDerived > &xpr) |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator= (const MatrixBase< OtherDerived > &m) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE QuaternionBase< Derived > & | operator= (const QuaternionBase< Derived > &other) |
|
template<class Derived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE QuaternionBase< Derived > & | operator= (const QuaternionBase< Derived > &other) |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const QuaternionBase< OtherDerived > &other) |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC bool | operator== (const QuaternionBase< OtherDerived > &other) const |
|
template<typename Derived1 , typename Derived2 > |
EIGEN_DEVICE_FUNC Derived & | setFromTwoVectors (const MatrixBase< Derived1 > &a, const MatrixBase< Derived2 > &b) |
|
EIGEN_DEVICE_FUNC QuaternionBase & | setIdentity () |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Quaternion< Scalar > | slerp (const Scalar &t, const QuaternionBase< OtherDerived > &other) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Quaternion< typename internal::traits< Derived >::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 VectorBlock< Coefficients, 3 > | vec () |
|
const EIGEN_DEVICE_FUNC VectorBlock< const Coefficients, 3 > | vec () const |
|
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | w () |
|
EIGEN_DEVICE_FUNC CoeffReturnType | w () const |
|
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | x () |
|
EIGEN_DEVICE_FUNC CoeffReturnType | x () const |
|
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | y () |
|
EIGEN_DEVICE_FUNC CoeffReturnType | y () const |
|
EIGEN_DEVICE_FUNC NonConstCoeffReturnType | z () |
|
EIGEN_DEVICE_FUNC CoeffReturnType | z () const |
|
Base class for quaternion expressions.
\geometry_module
- Template Parameters
-
Derived | derived type (CRTP) |
- See also
- class Quaternion
Definition at line 288 of file ForwardDeclarations.h.
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.
Definition at line 638 of file 3rdparty/Eigen/Eigen/src/Geometry/Quaternion.h.