]> Creatis software - creaRigidRegistration.git/blob - lib/VectorMath.h
\ No newline at end of file
[creaRigidRegistration.git] / lib / VectorMath.h
1 #ifndef _$PROJECT_NAME$SOURCE01_H_
2 #define _$PROJECT_NAME$SOURCE01_H_
3
4 #include "vtkMath.h"
5 #include <vector>
6
7 class VectorMath{
8 public: 
9         VectorMath();
10     ~VectorMath();
11         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);
12         void Run();
13         /*
14     int[3]* GetPoints();
15         double[3]* GetScales();
16         double GetAngle();*/
17 private:
18         //float[3] _points;
19
20         int _pointx1a;
21         int _pointx1b;
22         int _pointx2a;
23         int _pointx2b;
24
25         int _pointy1a;
26         int _pointy1b;
27         int _pointy2a;
28         int _pointy2b;
29
30         int _pointz1a;
31         int _pointz1b;
32         int _pointz2a;
33         int _pointz2b;
34
35         vtkMath *_math;
36 };
37
38 #endif
39