17 #ifndef ROOT_Math_GenVector_3DConversions
18 #define ROOT_Math_GenVector_3DConversions 1
37 struct ERROR_This_Rotation_Conversion_is_NOT_Supported {
38 ERROR_This_Rotation_Conversion_is_NOT_Supported();
40 template<
class R1,
class R2>
41 void convert( R1
const &, R2
const) {
42 ERROR_This_Rotation_Conversion_is_NOT_Supported();
53 void convert( Rotation3D
const & from, AxisAngle & to);
54 void convert( Rotation3D
const & from, EulerAngles & to);
55 void convert( Rotation3D
const & from, Quaternion & to);
56 void convert( Rotation3D
const & from, RotationZYX & to);
62 void convert( AxisAngle
const & from, Rotation3D & to);
63 void convert( AxisAngle
const & from, EulerAngles & to);
64 void convert( AxisAngle
const & from, Quaternion & to);
65 void convert( AxisAngle
const & from, RotationZYX & to);
71 void convert( EulerAngles
const & from, Rotation3D & to);
72 void convert( EulerAngles
const & from, AxisAngle & to);
73 void convert( EulerAngles
const & from, Quaternion & to);
74 void convert( EulerAngles
const & from, RotationZYX & to);
80 void convert( Quaternion
const & from, Rotation3D & to);
81 void convert( Quaternion
const & from, AxisAngle & to);
82 void convert( Quaternion
const & from, EulerAngles & to);
83 void convert( Quaternion
const & from, RotationZYX & to);
88 void convert( RotationZYX
const & from, Rotation3D & to);
89 void convert( RotationZYX
const & from, AxisAngle & to);
90 void convert( RotationZYX
const & from, EulerAngles & to);
91 void convert( RotationZYX
const & from, Quaternion & to);
97 void convert( RotationX
const & from, Rotation3D & to);
98 void convert( RotationX
const & from, RotationZYX & to);
99 void convert( RotationX
const & from, AxisAngle & to);
100 void convert( RotationX
const & from, EulerAngles & to);
101 void convert( RotationX
const & from, Quaternion & to);
107 void convert( RotationY
const & from, Rotation3D & to);
108 void convert( RotationY
const & from, RotationZYX & to);
109 void convert( RotationY
const & from, AxisAngle & to);
110 void convert( RotationY
const & from, EulerAngles & to);
111 void convert( RotationY
const & from, Quaternion & to);
117 void convert( RotationZ
const & from, Rotation3D & to);
118 void convert( RotationZ
const & from, RotationZYX & to);
119 void convert( RotationZ
const & from, AxisAngle & to);
120 void convert( RotationZ
const & from, EulerAngles & to);
121 void convert( RotationZ
const & from, Quaternion & to);
128 #endif // ROOT_Math_GenVector_3DConversions