Lines Matching refs:q1

34   Quaternionx q1, q2;  in non_projective_only()  local
36 q1 = AngleAxisx(a, v0.normalized()); in non_projective_only()
41 t0.linear() = q1.toRotationMatrix(); in non_projective_only()
51 t0.linear() = q1.toRotationMatrix(); in non_projective_only()
54 t1.linear() = q1.conjugate().toRotationMatrix(); in non_projective_only()
60 t1.fromPositionOrientationScale(v0, q1, v1); in non_projective_only()
118 Quaternionx q1, q2; in transformations() local
119 q1 = AngleAxisx(a, v0.normalized()); in transformations()
132 AngleAxisx aa = AngleAxisx(q1); in transformations()
133 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); in transformations()
137 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); in transformations()
141 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1); in transformations()
144 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); in transformations()
152 m = q1.toRotationMatrix(); in transformations()
162 q1 = AngleAxisx(a, v0.normalized()); in transformations()
175 t0.linear() = q1.toRotationMatrix(); in transformations()
178 t1.linear() = q1.conjugate().toRotationMatrix(); in transformations()
184 t1.fromPositionOrientationScale(v0, q1, v1); in transformations()
187 t0.setIdentity(); t0.scale(v0).rotate(q1.toRotationMatrix()); in transformations()
188 t1.setIdentity(); t1.scale(v0).rotate(q1); in transformations()
191 t0.setIdentity(); t0.scale(v0).rotate(AngleAxisx(q1)); in transformations()
268 t0.rotate(q1).scale(v0).translate(v0); in transformations()
270 t1 = (Matrix3(q1) * AlignedScaling3(v0)) * Translation3(v0); in transformations()
272 t1 = (Matrix3(q1) * Eigen::Scaling(v0)) * Translation3(v0); in transformations()
274 t1 = (q1 * Eigen::Scaling(v0)) * Translation3(v0); in transformations()
277 t1 = Matrix3(q1) * (AlignedScaling3(v0) * Translation3(v0)); in transformations()
306 t0.prerotate(q1).prescale(v0).pretranslate(v0); in transformations()
308 t1 = (Translation3(v0) * AlignedScaling3(v0)) * Transform3(q1); in transformations()
311 t1 = Translation3(v0) * (AlignedScaling3(v0) * Transform3(q1)); in transformations()
315 t0.scale(v0).translate(v0).rotate(q1); in transformations()
317 t1 = AlignedScaling3(v0) * (Translation3(v0) * Transform3(q1)); in transformations()
333 t0.rotate(q1); in transformations()
334 t1 = t1 * q1; in transformations()
338 t0.translate(v1).rotate(q1); in transformations()
339 t1 = t1 * (Translation3(v1) * q1); in transformations()
343 t0.scale(v1).rotate(q1); in transformations()
344 t1 = t1 * (AlignedScaling3(v1) * q1); in transformations()
348 t0.prerotate(q1); in transformations()
349 t1 = q1 * t1; in transformations()
353 t0.rotate(q1).translate(v1); in transformations()
354 t1 = t1 * (q1 * Translation3(v1)); in transformations()
358 t0.rotate(q1).scale(v1); in transformations()
359 t1 = t1 * (q1 * AlignedScaling3(v1)); in transformations()
373 t0.translate(v0).rotate(q1); in transformations()
381 t0.translate(v0).rotate(q1).scale(v1); in transformations()