Searched defs:quaternion (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dtransform_util.h30 SkMScalar quaternion[4]; member in struct:gfx::DecomposedTransform
/external/ceres-solver/include/ceres/
H A Drotation.h79 // 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 [
223 AngleAxisToQuaternion(const T* angle_axis, T* quaternion) argument
252 QuaternionToAngleAxis(const T* quaternion, T* angle_axis) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Drotation_test.cc62 // 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[ 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...]

Completed in 120 milliseconds