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