HomeSort by relevance Sort by last modified time
    Searched refs:quaternion (Results 1 - 12 of 12) sorted by null

  /external/ceres-solver/internal/ceres/
rotation_test.cc 62 // double quaternion[4];
63 // EXPECT_THAT(quaternion, IsNormalizedQuaternion());
66 *result_listener << "Null quaternion";
86 *result_listener << "Null quaternion";
197 // Transforms a zero axis/angle to a quaternion.
200 double quaternion[4]; local
202 AngleAxisToQuaternion(axis_angle, quaternion);
203 EXPECT_THAT(quaternion, IsNormalizedQuaternion());
204 EXPECT_THAT(quaternion, IsNearQuaternion(expected));
212 double quaternion[4] local
224 double quaternion[4]; local
234 double quaternion[4]; local
243 double quaternion[4] = { 1, 0, 0, 0 }; local
252 double quaternion[4] = { 0, 0, 1, 0 }; local
262 double quaternion[4] = { sqrt(3) \/ 2, 0, 0, 0.5 }; local
273 double quaternion[4] = { cos(theta\/2), sin(theta\/2.0), 0, 0 }; local
284 double quaternion[4] = { cos(theta\/2), sin(theta\/2.0), 0, 0 }; local
292 double quaternion[4]; local
331 double quaternion[4]; local
348 double quaternion[4]; local
732 J3 quaternion[4]; local
752 J3 quaternion[4]; local
770 J3 quaternion[4]; local
789 J4 quaternion[4] = { J4(c, 0), J4(s, 1), J4(0, 2), J4(0, 3) }; local
809 J4 quaternion[4] = { J4(c, 0), J4(s, 1), J4(0, 2), J4(0, 3) }; local
826 J4 quaternion[4] = { J4(1, 0), J4(0, 1), J4(0, 2), J4(0, 3) }; local
    [all...]
  /frameworks/rs/api/
rs_quaternion.spec 18 summary: Quaternion Functions
26 arg: rs_quaternion* q, "Destination quaternion to add to."
27 arg: const rs_quaternion* rhs, "Quaternion to add."
42 arg: rs_quaternion* q, "Quaternion to modify."
43 summary: Conjugate a quaternion
45 Conjugates the quaternion.
56 arg: const rs_quaternion* q0, "First quaternion."
57 arg: const rs_quaternion* q1, "Second quaternion."
70 arg: const rs_quaternion* q, "Normalized quaternion."
71 summary: Get a rotation matrix from a quaternion
    [all...]
  /external/ceres-solver/include/ceres/
rotation.h 79 // Convert a value in combined axis-angle representation to a quaternion.
82 // and quaternion is a 4-tuple that will contain the resulting quaternion.
86 void AngleAxisToQuaternion(const T* angle_axis, T* quaternion);
88 // Convert a quaternion to the equivalent combined axis-angle representation.
89 // The value quaternion must be a unit quaternion - it is not normalized first,
95 void QuaternionToAngleAxis(const T* quaternion, T* angle_axis);
132 // The choice of rotation is such that the quaternion [1 0 0 0] goes to an
133 // identity matrix and for small a, b, c the quaternion [1 a b c] goes t
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
OcclusionBuffer.java 52 boolean evaluate (Quaternion[] vertices) {
60 for (Quaternion vertex : vertices) {
88 static class Quaternion extends com.badlogic.gdx.math.Quaternion {
89 /** Left-multiplies the quaternion by the given matrix.
92 public Quaternion mul (final Matrix4 matrix) {
100 /** Multiply the x,y,z,w components of the passed in quaternion with the scalar and add them to the components of this
101 * quaternion */
102 public Quaternion mulAdd (final Quaternion quaternion, float scalar)
    [all...]
  /external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
matrix-decomposition.js 185 var quaternion;
189 quaternion = [
197 quaternion = [
205 quaternion = [
213 quaternion = [
221 return [translate, scale, skew, quaternion, perspective];
  /external/libgdx/gdx/src/com/badlogic/gdx/math/
Quaternion.java 23 /** A simple quaternion class.
24 * @see <a href="http://en.wikipedia.org/wiki/Quaternion">http://en.wikipedia.org/wiki/Quaternion</a>
28 public class Quaternion implements Serializable {
30 private static Quaternion tmp1 = new Quaternion(0, 0, 0, 0);
31 private static Quaternion tmp2 = new Quaternion(0, 0, 0, 0);
38 /** Constructor, sets the four components of the quaternion.
43 public Quaternion (float x, float y, float z, float w) {
    [all...]
Matrix4.java 98 /** Constructs a rotation matrix from the given {@link Quaternion}.
99 * @param quaternion The quaternion to be copied. (The quaternion is not modified) */
100 public Matrix4 (Quaternion quaternion) {
101 this.set(quaternion);
108 public Matrix4 (Vector3 position, Quaternion rotation, Vector3 scale) {
131 /** Sets the matrix to a rotation matrix representing the quaternion.
133 * @param quaternion The quaternion that is to be used to set this matrix.
    [all...]
  /external/eigen/test/
geo_quaternion.cpp 45 template<typename Scalar, int Options> void quaternion(void)
48 Quaternion.h
53 typedef Quaternion<Scalar,Options> Quaternionx;
70 // Quaternion: Identity(), setIdentity();
145 Quaternion<float> q1f = q1.template cast<float>();
147 Quaternion<double> q1d = q1.template cast<double>();
172 typedef Map<Quaternion<Scalar>, Aligned> MQuaternionA;
173 typedef Map<const Quaternion<Scalar>, Aligned> MCQuaternionA;
174 typedef Map<Quaternion<Scalar> > MQuaternionUA;
175 typedef Map<const Quaternion<Scalar> > MCQuaternionUA
    [all...]
  /external/vulkan-validation-layers/libs/glm/detail/
glm.cpp 30 #include <glm/gtc/quaternion.hpp>
  /external/opencv3/modules/python/test/
transformations.py 68 Vector, point, quaternion, and matrix function arguments are expected to be
118 (11) From quaternion to matrix and back. JMP van Waveren. 2005.
875 quaternion based algorithm by B. Horn [9] is used (slower when using
    [all...]
  /external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/math/
Matrix4.java 100 /** Constructs a rotation matrix from the given {@link Quaternion}.
101 * @param quaternion The quaternion to be copied. (The quaternion is not modified) */
102 public Matrix4 (Quaternion quaternion) {
103 this.set(quaternion);
110 public Matrix4 (Vector3 position, Quaternion rotation, Vector3 scale) {
148 /** Sets the matrix to a rotation matrix representing the quaternion.
150 * @param quaternion The quaternion that is to be used to set this matrix.
    [all...]
  /external/libgdx/backends/gdx-backend-moe/libs/
intel-moe-ios.jar 

Completed in 602 milliseconds