|
EIGEN_DEVICE_FUNC Scalar | x () const |
|
EIGEN_DEVICE_FUNC Scalar | y () const |
|
EIGEN_DEVICE_FUNC Scalar | z () const |
|
EIGEN_DEVICE_FUNC Scalar | w () const |
|
EIGEN_DEVICE_FUNC Scalar & | x () |
|
EIGEN_DEVICE_FUNC Scalar & | y () |
|
EIGEN_DEVICE_FUNC Scalar & | z () |
|
EIGEN_DEVICE_FUNC Scalar & | w () |
|
EIGEN_DEVICE_FUNC const VectorBlock< const Coefficients, 3 > | vec () const |
|
EIGEN_DEVICE_FUNC VectorBlock< Coefficients, 3 > | vec () |
|
EIGEN_DEVICE_FUNC const internal::traits< Derived >::Coefficients & | coeffs () const |
|
EIGEN_DEVICE_FUNC internal::traits< Derived >::Coefficients & | coeffs () |
|
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) |
|
EIGEN_DEVICE_FUNC Derived & | operator= (const AngleAxisType &aa) |
| Set *this from an angle-axis aa and returns a reference to *this .
|
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator= (const MatrixBase< OtherDerived > &m) |
|
EIGEN_DEVICE_FUNC QuaternionBase & | setIdentity () |
|
EIGEN_DEVICE_FUNC Scalar | squaredNorm () const |
|
EIGEN_DEVICE_FUNC Scalar | norm () const |
|
EIGEN_DEVICE_FUNC void | normalize () |
| Normalizes the quaternion *this . More...
|
|
EIGEN_DEVICE_FUNC Quaternion< Scalar > | normalized () const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Scalar | dot (const QuaternionBase< OtherDerived > &other) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Scalar | angularDistance (const QuaternionBase< OtherDerived > &other) const |
|
EIGEN_DEVICE_FUNC Matrix3 | toRotationMatrix () const |
| Convert the quaternion to a 3x3 rotation matrix. More...
|
|
template<typename Derived1 , typename Derived2 > |
EIGEN_DEVICE_FUNC Derived & | setFromTwoVectors (const MatrixBase< Derived1 > &a, const MatrixBase< Derived2 > &b) |
| Sets *this to be a quaternion representing a rotation between the two arbitrary vectors a and b. More...
|
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< Scalar > | operator* (const QuaternionBase< OtherDerived > &q) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator*= (const QuaternionBase< OtherDerived > &q) |
|
EIGEN_DEVICE_FUNC Quaternion< Scalar > | inverse () const |
|
EIGEN_DEVICE_FUNC Quaternion< Scalar > | conjugate () const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC Quaternion< Scalar > | slerp (const Scalar &t, const QuaternionBase< OtherDerived > &other) const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC bool | isApprox (const QuaternionBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Vector3 | _transformVector (const Vector3 &v) const |
| return the result vector of v through the rotation More...
|
|
template<typename NewScalarType > |
EIGEN_DEVICE_FUNC internal::cast_return_type< Derived, Quaternion< NewScalarType > >::type | cast () const |
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion< typename internal::traits< Derived >::Scalar > | operator* (const QuaternionBase< OtherDerived > &other) const |
|
template<class MatrixDerived > |
EIGEN_DEVICE_FUNC Derived & | operator= (const MatrixBase< MatrixDerived > &xpr) |
| Set *this from the expression xpr: More...
|
|
template<class OtherDerived > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | angularDistance (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 const Derived & | derived () const |
|
EIGEN_DEVICE_FUNC Derived & | derived () |
|
EIGEN_DEVICE_FUNC RotationMatrixType | toRotationMatrix () const |
|
EIGEN_DEVICE_FUNC RotationMatrixType | matrix () const |
|
EIGEN_DEVICE_FUNC Derived | inverse () 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< Derived, 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 VectorType | _transformVector (const OtherVectorType &v) const |
|
template<class Derived>
class Eigen::QuaternionBase< Derived >
Base class for quaternion expressions
- Template Parameters
-
Derived | derived type (CRTP) |
- See also
- class Quaternion