Lines Matching refs:AngleAxisx
22 typedef AngleAxis<Scalar> AngleAxisx; in non_projective_only() typedef
36 q1 = AngleAxisx(a, v0.normalized()); in non_projective_only()
88 typedef AngleAxis<Scalar> AngleAxisx; in transformations() typedef
108 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0); in transformations()
109 VERIFY_IS_APPROX(-v0, AngleAxisx(Scalar(M_PI), v0.unitOrthogonal()) * v0); in transformations()
112 VERIFY_IS_APPROX(cos(a)*v0.squaredNorm(), v0.dot(AngleAxisx(a, v0.unitOrthogonal()) * v0)); in transformations()
114 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint(); in transformations()
115 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized())); in transformations()
116 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m); in transformations()
119 q1 = AngleAxisx(a, v0.normalized()); in transformations()
120 q2 = AngleAxisx(a, v1.normalized()); in transformations()
123 matrot1 = AngleAxisx(Scalar(0.1), Vector3::UnitX()) in transformations()
124 * AngleAxisx(Scalar(0.2), Vector3::UnitY()) in transformations()
125 * AngleAxisx(Scalar(0.3), Vector3::UnitZ()); in transformations()
127 AngleAxisx(Scalar(0.1), Vector3(1,0,0)).toRotationMatrix() in transformations()
128 * (AngleAxisx(Scalar(0.2), Vector3(0,1,0)).toRotationMatrix() in transformations()
129 * (AngleAxisx(Scalar(0.3), Vector3(0,0,1)).toRotationMatrix() * v1))); in transformations()
132 AngleAxisx aa = AngleAxisx(q1); in transformations()
137 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); in transformations()
144 VERIFY( !(q1 * v1).isApprox(Quaternionx(AngleAxisx(aa.angle()*2,aa.axis())) * v1) ); in transformations()
148 VERIFY_IS_APPROX(AngleAxisx(a,v1.normalized()).toRotationMatrix(), in transformations()
149 Quaternionx(AngleAxisx(a,v1.normalized())).toRotationMatrix()); in transformations()
151 AngleAxisx aa1; in transformations()
154 VERIFY_IS_APPROX(AngleAxisx(m).toRotationMatrix(), in transformations()
162 q1 = AngleAxisx(a, v0.normalized()); in transformations()
191 t0.setIdentity(); t0.scale(v0).rotate(AngleAxisx(q1)); in transformations()
209 AngleAxisx aa3(a3, v3); in transformations()
214 t4.rotate(AngleAxisx(-a3,v3)); in transformations()