Home | History | Annotate | Download | only in Geometry

Lines Matching refs:AngleAxis

16   * \class AngleAxis
28 * Combined with MatrixBase::Unit{X,Y,Z}, AngleAxis can be used to easily
40 template<typename _Scalar> struct ei_traits<AngleAxis<_Scalar> >
46 class AngleAxis : public RotationBase<AngleAxis<_Scalar>,3>
48 typedef RotationBase<AngleAxis<_Scalar>,3> Base;
69 AngleAxis() {}
73 inline AngleAxis(Scalar angle, const MatrixBase<Derived>& axis) : m_axis(axis), m_angle(angle) {}
75 inline AngleAxis(const QuaternionType& q) { *this = q; }
78 inline explicit AngleAxis(const MatrixBase<Derived>& m) { *this = m; }
87 inline QuaternionType operator* (const AngleAxis& other) const
95 friend inline QuaternionType operator* (const QuaternionType& a, const AngleAxis& b)
103 inline friend Matrix3 operator* (const Matrix3& a, const AngleAxis& b)
111 AngleAxis inverse() const
112 { return AngleAxis(-m_angle, m_axis); }
114 AngleAxis& operator=(const QuaternionType& q);
116 AngleAxis& operator=(const MatrixBase<Derived>& m);
119 AngleAxis& fromRotationMatrix(const MatrixBase<Derived>& m);
128 inline typename internal::cast_return_type<AngleAxis,AngleAxis<NewScalarType> >::type cast() const
129 { return typename internal::cast_return_type<AngleAxis,AngleAxis<NewScalarType> >::type(*this); }
133 inline explicit AngleAxis(const AngleAxis<OtherScalarType>& other)
143 bool isApprox(const AngleAxis& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
149 typedef AngleAxis<float> AngleAxisf;
152 typedef AngleAxis<double> AngleAxisd;
158 AngleAxis<Scalar>& AngleAxis<Scalar>::operator=(const QuaternionType& q)
178 AngleAxis<Scalar>& AngleAxis<Scalar>::operator=(const MatrixBase<Derived>& mat)
188 typename AngleAxis<Scalar>::Matrix3
189 AngleAxis<Scalar>::toRotationMatrix(void) const