|
enum | { Flags = Eigen::internal::traits<Derived>::Flags
} |
|
typedef internal::traits< Derived >::Scalar | Scalar |
|
typedef NumTraits< Scalar >::Real | RealScalar |
|
typedef internal::traits< Derived >::Coefficients | Coefficients |
|
typedef Matrix< Scalar, 3, 1 > | Vector3 |
| the type of a 3D vector
|
|
typedef Matrix< Scalar, 3, 3 > | Matrix3 |
| the equivalent rotation matrix type
|
|
typedef AngleAxis< Scalar > | AngleAxisType |
| the equivalent angle-axis type
|
|
enum | |
|
enum | |
|
typedef ei_traits< Derived >::Scalar | Scalar |
| the scalar type of the coefficients
|
|
typedef internal::traits< Derived >::Scalar | Scalar |
| the scalar type of the coefficients
|
|
typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
| corresponding linear transformation matrix type
|
|
typedef Matrix< Scalar, Dim, Dim > | RotationMatrixType |
| corresponding linear transformation matrix type
|
|
typedef Matrix< Scalar, Dim, 1 > | VectorType |
|
|
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 . More...
|
|
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. More...
|
|
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. More...
|
|
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 More...
|
|
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: More...
|
|
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 () |
|
const Derived & | derived () const |
|
Derived & | derived () |
|
RotationMatrixType | toRotationMatrix () const |
|
RotationMatrixType | toRotationMatrix () const |
|
Derived | inverse () const |
|
Derived | inverse () const |
|
Transform< Scalar, Dim > | operator* (const Translation< Scalar, Dim > &t) const |
|
RotationMatrixType | operator* (const Scaling< Scalar, Dim > &s) const |
|
Transform< Scalar, Dim > | operator* (const Transform< Scalar, Dim > &t) 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 |
|
RotationMatrixType | matrix () const |
|
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