]> Creatis software - creaRigidRegistration.git/blob - lib/Transformer.h
*** empty log message ***
[creaRigidRegistration.git] / lib / Transformer.h
1
2 #ifndef Transformer_h
3 #define Transformer_h
4
5 #include "vtkTransform.h"
6 #include <vector>
7
8 class Transformer{
9 public: 
10         Transformer();
11     ~Transformer();
12         void SetTransform(vtkTransform *transform);
13         void SetCenterPoint(std::vector<int> point);
14         void SetAngle(double angle);
15         void SetScaleX(double scaleX);
16         void SetScaleY(double scaleY);
17         void SetScaleZ(double scaleZ);
18         void Run();
19         
20     vtkTransform *GetResult();
21 private:
22         std::vector<int> _centerPoint;
23         
24         double _angle;
25         double _scaleX;
26         double _scaleY;
27         double _scaleZ;
28         //vtkImageData *_image;
29         vtkTransform *_transform;
30
31         //
32         vtkMatrix4x4 *_matrix;
33 };
34
35 #endif