]> Creatis software - creaImageIO.git/blobdiff - lib/TransformDicom3D/matrixRotation.h
#3326 bbtk_Transform3Ddicom_PKG
[creaImageIO.git] / lib / TransformDicom3D / matrixRotation.h
diff --git a/lib/TransformDicom3D/matrixRotation.h b/lib/TransformDicom3D/matrixRotation.h
new file mode 100644 (file)
index 0000000..00e6d9f
--- /dev/null
@@ -0,0 +1,39 @@
+\r
+#ifndef __MATRIX__ROTATION_h_INCLUDED__\r
+#define __MATRIX__ROTATION_h_INCLUDED__\r
+\r
+#include<vtkTransform.h>\r
+\r
+class matrixRotation \r
+{\r
+public:\r
+       matrixRotation();\r
+       ~matrixRotation();\r
+       \r
+       void SetSpacing(double, double, double);\r
+       void SetOrigin(double, double, double);\r
+       void SetVector1(double, double, double);\r
+       void SetVector2(double, double, double);\r
+       void GetTransformation(vtkTransform *transform);\r
+       void CrossProduct(double *vecZx, double *vecZy, double *vecZz);\r
+       \r
+private:\r
+     double spcX;\r
+     double spcY;\r
+     double spcZ;\r
+        \r
+     double orgX;\r
+     double orgY;\r
+     double orgZ;\r
+\r
+        double vec1X;\r
+        double vec1Y;\r
+        double vec1Z;\r
+        double vec2X;\r
+        double vec2Y;\r
+        double vec2Z;\r
+protected:\r
+\r
+}; \r
+\r
+#endif // __MATRIX__ROTATION_h_INCLUDED__\r