Home
last modified time | relevance | path

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

12345678910>>...18

/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 …]
/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 …]
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DQuaternion.java28 public class Quaternion implements Serializable { class
30 private static Quaternion tmp1 = new Quaternion(0, 0, 0, 0);
31 private static Quaternion tmp2 = new Quaternion(0, 0, 0, 0);
43 public Quaternion (float x, float y, float z, float w) { in Quaternion() method in Quaternion
47 public Quaternion () { in Quaternion() method in Quaternion
54 public Quaternion (Quaternion quaternion) { in Quaternion() method in Quaternion
62 public Quaternion (Vector3 axis, float angle) { in Quaternion() method in Quaternion
72 public Quaternion set (float x, float y, float z, float w) { in set()
83 public Quaternion set (Quaternion quaternion) { in set()
92 public Quaternion set (Vector3 axis, float angle) { in set()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/
DbtQuaternion.java13 import com.badlogic.gdx.math.Quaternion;
88 public float dot(Quaternion q) { in dot()
100 public Quaternion normalize() { in normalize()
104 public Quaternion normalized() { in normalized()
108 public float angle(Quaternion q) { in angle()
112 public float angleShortestPath(Quaternion q) { in angleShortestPath()
128 public Quaternion inverse() { in inverse()
132 public Quaternion farthest(Quaternion qd) { in farthest()
136 public Quaternion nearest(Quaternion qd) { in nearest()
140 public Quaternion slerp(Quaternion q, float t) { in slerp()
[all …]
DLinearMath.java13 import com.badlogic.gdx.math.Quaternion;
31 public final static Quaternion staticQuaternion = new Quaternion();
33 …final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.P…
35 protected Quaternion newObject() {
36 return new Quaternion();
252 public static float dot(Quaternion q1, Quaternion q2) { in dot()
256 public static float length(Quaternion q) { in length()
260 public static float btAngle(Quaternion q1, Quaternion q2) { in btAngle()
264 public static Quaternion inverse(Quaternion q) { in inverse()
268 public static Quaternion slerp(Quaternion q1, Quaternion q2, float t) { in slerp()
[all …]
DbtTransformUtil.java13 import com.badlogic.gdx.math.Quaternion;
64 …c void calculateVelocityQuaternion(Vector3 pos0, Vector3 pos1, Quaternion orn0, Quaternion orn1, f… in calculateVelocityQuaternion()
68 …public static void calculateDiffAxisAngleQuaternion(Quaternion orn0, Quaternion orn1a, Vector3 axi… in calculateDiffAxisAngleQuaternion()
DbtTransform.java13 import com.badlogic.gdx.math.Quaternion;
64 public btTransform(Quaternion q, Vector3 c) { in btTransform()
68 public btTransform(Quaternion q) { in btTransform()
96 public Quaternion getRotation() { in getRotation()
120 public void setRotation(Quaternion q) { in setRotation()
DLinearMathJNI.java13 import com.badlogic.gdx.math.Quaternion;
59 public final static native long new_btTransform__SWIG_1(Quaternion jarg1, Vector3 jarg2); in new_btTransform__SWIG_1()
60 public final static native long new_btTransform__SWIG_2(Quaternion jarg1); in new_btTransform__SWIG_2()
67 public final static native Quaternion btTransform_getRotation(long jarg1, btTransform jarg1_); in btTransform_getRotation()
73 …final static native void btTransform_setRotation(long jarg1, btTransform jarg1_, Quaternion jarg2); in btTransform_setRotation()
182 …public final static native float btQuaternion_dot(long jarg1, btQuaternion jarg1_, Quaternion jarg… in btQuaternion_dot()
185 public final static native Quaternion btQuaternion_normalize(long jarg1, btQuaternion jarg1_); in btQuaternion_normalize()
186 public final static native Quaternion btQuaternion_normalized(long jarg1, btQuaternion jarg1_); in btQuaternion_normalized()
187 …public final static native float btQuaternion_angle(long jarg1, btQuaternion jarg1_, Quaternion ja… in btQuaternion_angle()
188 …tic native float btQuaternion_angleShortestPath(long jarg1, btQuaternion jarg1_, Quaternion jarg2); in btQuaternion_angleShortestPath()
[all …]
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
DOcclusionBuffer.java52 boolean evaluate (Quaternion[] vertices) { in evaluate()
60 for (Quaternion vertex : vertices) { in evaluate()
88 static class Quaternion extends com.badlogic.gdx.math.Quaternion { class in OcclusionBuffer
92 public Quaternion mul (final Matrix4 matrix) { in mul()
102 public Quaternion mulAdd (final Quaternion quaternion, float scalar) { in mulAdd()
111 public Quaternion set (float x, float y, float z, float w) { in set()
112 return (Quaternion)super.set(x, y, z, w); in set()
115 public Quaternion set (Quaternion quaternion) { in set()
116 return (Quaternion)super.set(quaternion); in set()
120 public Quaternion sub (float qx, float qy, float qz, float qw) { in sub()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/extras/com/badlogic/gdx/physics/bullet/extras/
DExtras.java16 import com.badlogic.gdx.math.Quaternion;
34 public final static Quaternion staticQuaternion = new Quaternion();
36 …final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.P…
38 protected Quaternion newObject() {
39 return new Quaternion();
/external/libgdx/extensions/gdx-bullet/jni/swig-src/dynamics/com/badlogic/gdx/physics/bullet/dynamics/
DDynamics.java15 import com.badlogic.gdx.math.Quaternion;
33 public final static Quaternion staticQuaternion = new Quaternion();
35 …final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.P…
37 protected Quaternion newObject() {
38 return new Quaternion();
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
DParticleControllerComponent.java6 import com.badlogic.gdx.math.Quaternion;
24 protected static final Quaternion TMP_Q = new Quaternion(), TMP_Q2 = new Quaternion();
/external/libgdx/extensions/gdx-bullet/jni/swig/common/
DgdxMathTypes.i18 CREATE_POOLED_METHODS(Quaternion, "com/badlogic/gdx/physics/bullet/linearmath/LinearMath");
19 CREATE_POOLED_TYPEMAP(btQuaternion, Quaternion, "Lcom/badlogic/gdx/math/Quaternion;", Quaternion_to…
20 ENABLE_POOLED_TYPEMAP(btQuaternion, Quaternion, "Lcom/badlogic/gdx/math/Quaternion;");
DgdxJavaImports.i9 import com.badlogic.gdx.math.Quaternion;
16 import com.badlogic.gdx.math.Quaternion;
24 import com.badlogic.gdx.math.Quaternion;
/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()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
DBaseAnimationController.java25 import com.badlogic.gdx.math.Quaternion;
42 public final Quaternion rotation = new Quaternion();
55 public Transform set (final Vector3 t, final Quaternion r, final Vector3 s) { in set()
70 …public Transform lerp (final Vector3 targetT, final Quaternion targetR, final Vector3 targetS, fin… in lerp()
187 …private final static Quaternion getRotationAtTime (final NodeAnimation nodeAnim, final float time,… in getRotationAtTime()
193 out.set((Quaternion)firstKeyframe.value); in getRotationAtTime()
196 final NodeKeyframe<Quaternion> secondKeyframe = nodeAnim.rotation.get(index); in getRotationAtTime()
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/
DSoftbody.java16 import com.badlogic.gdx.math.Quaternion;
34 public final static Quaternion staticQuaternion = new Quaternion();
36 …final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.P…
38 protected Quaternion newObject() {
39 return new Quaternion();
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/loader/
DG3dModelLoader.java36 import com.badlogic.gdx.math.Quaternion;
288 private final Quaternion tempQ = new Quaternion();
304 …jsonNode.rotation = rotation == null ? null : new Quaternion(rotation.getFloat(0), rotation.getFlo… in parseNodesRecursively()
405 nodeAnim.rotation = new Array<ModelNodeKeyframe<Quaternion>>(); in parseAnimations()
406 ModelNodeKeyframe<Quaternion> rkf = new ModelNodeKeyframe<Quaternion>(); in parseAnimations()
408 …rkf.value = new Quaternion(rotation.getFloat(0), rotation.getFloat(1), rotation.getFloat(2), rotat… in parseAnimations()
439 nodeAnim.rotation = new Array<ModelNodeKeyframe<Quaternion>>(); in parseAnimations()
442 ModelNodeKeyframe<Quaternion> kf = new ModelNodeKeyframe<Quaternion>(); in parseAnimations()
447 …kf.value = new Quaternion(rotation.getFloat(0), rotation.getFloat(1), rotation.getFloat(2), rotati… in parseAnimations()
/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/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/model/data/
DModelNode.java19 import com.badlogic.gdx.math.Quaternion;
25 public Quaternion rotation;
DModelNodeAnimation.java19 import com.badlogic.gdx.math.Quaternion;
29 public Array<ModelNodeKeyframe<Quaternion>> rotation;
/external/libgdx/extensions/gdx-bullet/jni/swig/extras/
Dextras.i23 import com.badlogic.gdx.math.Quaternion;
33 import com.badlogic.gdx.math.Quaternion;
44 import com.badlogic.gdx.math.Quaternion;
/external/libgdx/extensions/gdx-bullet/jni/swig/softbody/
Dsoftbody.i21 import com.badlogic.gdx.math.Quaternion;
31 import com.badlogic.gdx.math.Quaternion;
42 import com.badlogic.gdx.math.Quaternion;
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DCollision.java14 import com.badlogic.gdx.math.Quaternion;
32 public final static Quaternion staticQuaternion = new Quaternion();
34 …final static com.badlogic.gdx.utils.Pool<Quaternion> poolQuaternion = new com.badlogic.gdx.utils.P…
36 protected Quaternion newObject() {
37 return new Quaternion();
/external/libgdx/extensions/gdx-bullet/jni/swig/dynamics/
Ddynamics.i30 import com.badlogic.gdx.math.Quaternion;
39 import com.badlogic.gdx.math.Quaternion;
49 import com.badlogic.gdx.math.Quaternion;

12345678910>>...18