]> Creatis software - creaRigidRegistration.git/blobdiff - lib/VectorMath.h
New items
[creaRigidRegistration.git] / lib / VectorMath.h
diff --git a/lib/VectorMath.h b/lib/VectorMath.h
new file mode 100644 (file)
index 0000000..b13aea2
--- /dev/null
@@ -0,0 +1,38 @@
+#ifndef _$PROJECT_NAME$SOURCE01_H_
+#define _$PROJECT_NAME$SOURCE01_H_
+
+#include "vtkMath.h"
+#include <vector>
+
+class VectorMath{
+public: 
+       VectorMath();
+    ~VectorMath();
+       void SetData(std::vector<int> pointsX1, std::vector<int> pointsX2, std::vector<int> pointsY1, std::vector<int> pointsY2, std::vector<int> pointsZ1, std::vector<int> pointsZ2);
+       void Run();
+       /*
+    int[3]* GetPoints();
+       double[3]* GetScales();
+       double GetAngle();*/
+private:
+       //float[3] _points;
+
+       int _pointx1a;
+       int _pointx1b;
+       int _pointx2a;
+       int _pointx2b;
+
+       int _pointy1a;
+       int _pointy1b;
+       int _pointy2a;
+       int _pointy2b;
+
+       int _pointz1a;
+       int _pointz1b;
+       int _pointz2a;
+       int _pointz2b;
+
+       vtkMath *_math;
+};
+
+#endif
\ No newline at end of file