]> Creatis software - creaRigidRegistration.git/blob - lib/Transformer3D1Point.h
Black box that generates a grid over an image in order to visualize the deformation...
[creaRigidRegistration.git] / lib / Transformer3D1Point.h
1
2 #ifndef Transformer3DV1_h
3 #define Transformer3DV1_h
4
5 #include "vtkTransform.h"
6 #include "vtkMatrix4x4.h"
7 #include <vector>
8
9 class Transformer3D1Point{
10 public: 
11         Transformer3D1Point();
12     ~Transformer3D1Point();
13         void SetTransform(vtkTransform *transform);
14         void SetCenterPoint(std::vector<int> point);
15         void SetAngleX(double angle);
16         void SetAngleY(double angle);
17         void SetAngleZ(double angle);
18         void SetScaleX(double scaleX);
19         void SetScaleY(double scaleY);
20         void SetScaleZ(double scaleZ);
21         void Run();
22         
23     vtkTransform *GetResult();
24 private:
25         std::vector<int> _centerPoint;
26         double _angleX;
27         double _angleY;
28         double _angleZ;
29         double _scaleX;
30         double _scaleY;
31         double _scaleZ;
32         
33         vtkTransform *_transform;
34         vtkMatrix4x4 *_matrix;
35 };
36
37 #endif