Home
last modified time | relevance | path

Searched refs:Quaternion (Results 1 – 22 of 22) sorted by relevance

/external/eigen/Eigen/src/Eigen2Support/Geometry/
DQuaternion.h41 template<typename _Scalar> struct ei_traits<Quaternion<_Scalar> >
47 class Quaternion : public RotationBase<Quaternion<_Scalar>,3>
49 typedef RotationBase<Quaternion<_Scalar>,3> Base;
99 inline Quaternion() {}
108 inline Quaternion(Scalar w, Scalar x, Scalar y, Scalar z)
112 inline Quaternion(const Quaternion& other) { m_coeffs = other.m_coeffs; }
115 explicit inline Quaternion(const AngleAxisType& aa) { *this = aa; }
123 explicit inline Quaternion(const MatrixBase<Derived>& other) { *this = other; }
125 Quaternion& operator=(const Quaternion& other);
126 Quaternion& operator=(const AngleAxisType& aa);
[all …]
DAll.h29 #define Quaternion eigen2_Quaternion macro
84 #undef Quaternion
DAngleAxis.h59 typedef Quaternion<Scalar> QuaternionType;
/external/eigen/Eigen/src/Geometry/
DQuaternion.h105 static inline Quaternion<Scalar> Identity() { return Quaternion<Scalar>(1, 0, 0, 0); } in Identity()
126 inline Quaternion<Scalar> normalized() const { return Quaternion<Scalar>(coeffs().normalized()); } in normalized()
144 …template<class OtherDerived> EIGEN_STRONG_INLINE Quaternion<Scalar> operator* (const QuaternionBas…
148 Quaternion<Scalar> inverse() const;
151 Quaternion<Scalar> conjugate() const;
153 …template<class OtherDerived> Quaternion<Scalar> slerp(const Scalar& t, const QuaternionBase<OtherD…
172 inline typename internal::cast_return_type<Derived,Quaternion<NewScalarType> >::type cast() const in cast()
174 return typename internal::cast_return_type<Derived,Quaternion<NewScalarType> >::type(derived()); in cast()
213 struct traits<Quaternion<_Scalar,_Options> >
215 typedef Quaternion<_Scalar,_Options> PlainObject;
[all …]
DAngleAxis.h62 typedef Quaternion<Scalar> QuaternionType;
/external/eigen/test/
Dgeo_quaternion.cpp53 typedef Quaternion<Scalar,Options> Quaternionx; in quaternion()
145 Quaternion<float> q1f = q1.template cast<float>(); in quaternion()
147 Quaternion<double> q1d = q1.template cast<double>(); in quaternion()
172 typedef Map<Quaternion<Scalar>, Aligned> MQuaternionA; in mapQuaternion()
173 typedef Map<const Quaternion<Scalar>, Aligned> MCQuaternionA; in mapQuaternion()
174 typedef Map<Quaternion<Scalar> > MQuaternionUA; in mapQuaternion()
175 typedef Map<const Quaternion<Scalar> > MCQuaternionUA; in mapQuaternion()
176 typedef Quaternion<Scalar> Quaternionx; in mapQuaternion()
232 typedef Quaternion<Scalar,AutoAlign> QuaternionA; in quaternionAlignment()
233 typedef Quaternion<Scalar,DontAlign> QuaternionUA; in quaternionAlignment()
Dgeo_eulerangles.cpp64 typedef Quaternion<Scalar> Quaternionx; in eulerangles()
Dgeo_transformations.cpp21 typedef Quaternion<Scalar> Quaternionx; in non_projective_only()
87 typedef Quaternion<Scalar> Quaternionx; in transformations()
/external/eigen/Eigen/src/Geometry/arch/
DGeometry_SSE.h21 …static inline Quaternion<float> run(const QuaternionBase<Derived>& _a, const QuaternionBase<OtherD…
24 Quaternion<float> res;
62 …static inline Quaternion<double> run(const QuaternionBase<Derived>& _a, const QuaternionBase<Other…
66 Quaternion<double> res;
/external/eigen/bench/
Dgeometry.cpp33 EIGEN_DONT_INLINE void transform(const Quaternion<Scalar>& t, Data& data) in transform()
104 Quaternion<Scalar> quat;quat.setIdentity(); in main()
105 ToRotationMatrixWrapper<Quaternion<Scalar> > quatmat(quat); in main()
Dquat_slerp.cpp105 return Quaternion<Scalar>(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_rw()
141 return Quaternion<Scalar>(scale0 * a.coeffs() + scale1 * b.coeffs()); in slerp_gael()
149 typedef Quaternion<RefScalar> Qd; in main()
150 typedef Quaternion<TestScalar> Qf; in main()
/external/eigen/doc/
DTutorialGeometry.dox10 …rotations (represented by \ref AngleAxis "angle and axis" or by a \ref Quaternion "quaternion"), \…
43 3D rotation as a \ref Quaternion "quaternion"</td><td>\code
44 Quaternion<float> q; q = AngleAxis<float>(angle_in_radian, axis);\endcode</td></tr>
70 representations are rotation matrices, while for other usages Quaternion is the
107 <tr class="alt"><td>Spherical interpolation \n (Rotation2D and Quaternion only)</td><td>\code
DA10_Eigen2SupportModes.dox51 \li the whole Geometry module. For example, replace \c Quaternion by \c eigen2_Quaternion, replace …
DQuickReference.dox17 …</td><td>Transform, Translation, Scaling, Rotation2D and 3D rotations (Quaternion, AngleAxis)</td>…
/external/eigen/Eigen/
DGeometry40 #include "src/Geometry/Quaternion.h"
/external/eigen/test/eigen2/
Deigen2_geometry.cpp27 typedef Quaternion<Scalar> Quaternionx; in geometry()
372 Quaternion<float> q1f = q1.template cast<float>(); in geometry()
374 Quaternion<double> q1d = q1.template cast<double>(); in geometry()
/external/ceres-solver/internal/ceres/
Drotation_test.cc837 TEST(Quaternion, RotatePointGivesSameAnswerAsRotationByMatrixCanned) { in TEST() argument
867 TEST(Quaternion, RotatePointGivesSameAnswerAsRotationByMatrix) { in TEST() argument
894 TEST(Quaternion, MultiplicationIsAssociative) { in TEST() argument
/external/eigen/Eigen/src/Core/util/
DForwardDeclarations.h252 template<typename Scalar> class Quaternion;
260 template<typename Scalar, int Options = AutoAlign> class Quaternion;
/external/eigen/demos/opengl/
Dquaternion_demo.cpp142 typedef Quaternion<Scalar> QuaternionType;
/external/eigen/unsupported/Eigen/
DOpenGLSupport39 * Quaternion q;
/external/vulkan-validation-layers/libs/glm/gtx/
Ddual_quaternion.inl288 // Dual Quaternion Linear blend aka DLB:
/external/ceres-solver/docs/source/
Dmodeling.rst1662 where :math:`*` is the Quaternion product between 4-vectors.