]> Creatis software - creaImageIO.git/blob - lib/TransformDicom3D/matrixRotation.h
#3326 bbtk_Transform3Ddicom_PKG
[creaImageIO.git] / lib / TransformDicom3D / matrixRotation.h
1 \r
2 #ifndef __MATRIX__ROTATION_h_INCLUDED__\r
3 #define __MATRIX__ROTATION_h_INCLUDED__\r
4 \r
5 #include<vtkTransform.h>\r
6 \r
7 class matrixRotation \r
8 {\r
9 public:\r
10         matrixRotation();\r
11         ~matrixRotation();\r
12         \r
13         void SetSpacing(double, double, double);\r
14         void SetOrigin(double, double, double);\r
15         void SetVector1(double, double, double);\r
16         void SetVector2(double, double, double);\r
17         void GetTransformation(vtkTransform *transform);\r
18         void CrossProduct(double *vecZx, double *vecZy, double *vecZz);\r
19         \r
20 private:\r
21      double spcX;\r
22      double spcY;\r
23      double spcZ;\r
24          \r
25      double orgX;\r
26      double orgY;\r
27      double orgZ;\r
28 \r
29          double vec1X;\r
30          double vec1Y;\r
31          double vec1Z;\r
32          double vec2X;\r
33          double vec2Y;\r
34          double vec2Z;\r
35 protected:\r
36 \r
37 }; \r
38 \r
39 #endif // __MATRIX__ROTATION_h_INCLUDED__\r