Lines Matching refs:Quaternion
106 …EIGEN_DEVICE_FUNC static inline Quaternion<Scalar> Identity() { return Quaternion<Scalar>(Scalar(1… in Identity()
127 …EIGEN_DEVICE_FUNC inline Quaternion<Scalar> normalized() const { return Quaternion<Scalar>(coeffs(… in normalized()
145 …template<class OtherDerived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion<Scalar> operator* (c…
149 EIGEN_DEVICE_FUNC Quaternion<Scalar> inverse() const;
152 EIGEN_DEVICE_FUNC Quaternion<Scalar> conjugate() const;
154 …template<class OtherDerived> EIGEN_DEVICE_FUNC Quaternion<Scalar> slerp(const Scalar& t, const Qua…
173 …EIGEN_DEVICE_FUNC inline typename internal::cast_return_type<Derived,Quaternion<NewScalarType> >::… in cast()
175 return typename internal::cast_return_type<Derived,Quaternion<NewScalarType> >::type(derived()); in cast()
214 struct traits<Quaternion<_Scalar,_Options> >
216 typedef Quaternion<_Scalar,_Options> PlainObject;
227 class Quaternion : public QuaternionBase<Quaternion<_Scalar,_Options> >
230 typedef QuaternionBase<Quaternion<_Scalar,_Options> > Base;
231 enum { NeedsAlignment = internal::traits<Quaternion>::Alignment>0 };
235 EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Quaternion)
238 typedef typename internal::traits<Quaternion>::Coefficients Coefficients;
242 EIGEN_DEVICE_FUNC inline Quaternion() {}
251 …EIGEN_DEVICE_FUNC inline Quaternion(const Scalar& w, const Scalar& x, const Scalar& y, const Scala…
254 EIGEN_DEVICE_FUNC explicit inline Quaternion(const Scalar* data) : m_coeffs(data) {}
257 …template<class Derived> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion(const QuaternionBase<Deri…
260 EIGEN_DEVICE_FUNC explicit inline Quaternion(const AngleAxisType& aa) { *this = aa; }
267 EIGEN_DEVICE_FUNC explicit inline Quaternion(const MatrixBase<Derived>& other) { *this = other; }
271 EIGEN_DEVICE_FUNC explicit inline Quaternion(const Quaternion<OtherScalar, OtherOptions>& other)
274 EIGEN_DEVICE_FUNC static Quaternion UnitRandom();
277 …EIGEN_DEVICE_FUNC static Quaternion FromTwoVectors(const MatrixBase<Derived1>& a, const MatrixBase…
302 typedef Quaternion<float> Quaternionf;
305 typedef Quaternion<double> Quaterniond;
313 …struct traits<Map<Quaternion<_Scalar>, _Options> > : traits<Quaternion<_Scalar, (int(_Options)&Ali…
321 …struct traits<Map<const Quaternion<_Scalar>, _Options> > : traits<Quaternion<_Scalar, (int(_Option…
324 …typedef traits<Quaternion<_Scalar, (int(_Options)&Aligned)==Aligned ? AutoAlign : DontAlign> > Tra…
343 class Map<const Quaternion<_Scalar>, _Options >
344 : public QuaternionBase<Map<const Quaternion<_Scalar>, _Options> >
347 typedef QuaternionBase<Map<const Quaternion<_Scalar>, _Options> > Base;
380 class Map<Quaternion<_Scalar>, _Options >
381 : public QuaternionBase<Map<Quaternion<_Scalar>, _Options> >
384 typedef QuaternionBase<Map<Quaternion<_Scalar>, _Options> > Base;
408 typedef Map<Quaternion<float>, 0> QuaternionMapf;
411 typedef Map<Quaternion<double>, 0> QuaternionMapd;
414 typedef Map<Quaternion<float>, Aligned> QuaternionMapAlignedf;
417 typedef Map<Quaternion<double>, Aligned> QuaternionMapAlignedd;
428 …EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE Quaternion<Scalar> run(const QuaternionBase<Derived1>…
429 return Quaternion<Scalar>
443 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Quaternion<typename internal::traits<Derived>::Scalar>
618 EIGEN_DEVICE_FUNC Quaternion<Scalar,Options> Quaternion<Scalar,Options>::UnitRandom()
628 return Quaternion (a * sin(u2), a * cos(u2), b * sin(u3), b * cos(u3));
644 EIGEN_DEVICE_FUNC Quaternion<Scalar,Options> Quaternion<Scalar,Options>::FromTwoVectors(const Matri…
646 Quaternion quat;
659 EIGEN_DEVICE_FUNC inline Quaternion<typename internal::traits<Derived>::Scalar> QuaternionBase<Deri…
664 return Quaternion<Scalar>(conjugate().coeffs() / n2);
668 return Quaternion<Scalar>(Coefficients::Zero());
676 …EIGEN_DEVICE_FUNC static EIGEN_STRONG_INLINE Quaternion<Scalar> run(const QuaternionBase<Derived>&…
677 return Quaternion<Scalar>(q.w(),-q.x(),-q.y(),-q.z());
689 EIGEN_DEVICE_FUNC inline Quaternion<typename internal::traits<Derived>::Scalar>
706 Quaternion<Scalar> d = (*this) * other.conjugate();
720 EIGEN_DEVICE_FUNC Quaternion<typename internal::traits<Derived>::Scalar>
748 return Quaternion<Scalar>(scale0 * coeffs() + scale1 * other.coeffs());