]> Creatis software - creaRigidRegistration.git/blobdiff - lib/Transformer3D.h
Added transformer changes
[creaRigidRegistration.git] / lib / Transformer3D.h
index 7f84d53594e6fd50b15aad3fc648dc71d850b8dc..cd25fd429abee3eb1211e070755cefd5c78cf684 100644 (file)
@@ -10,12 +10,23 @@ public:
        Transformer3D();
     ~Transformer3D();
        void SetTransform(vtkTransform *transform);
-       void SetCenterPoint(std::vector<int> point);    
+       void SetRotationAxis(double* axis);
+       void SetFirstTranslation(double* first);
+       void SetSecondTranslation(double* second);
+       void SetSecondRotationAxis(double* axis);
+       void SetAngle(double angle);
+       void SetSecondAngle(double angle);
        void Run();
        
     vtkTransform *GetResult();
+       vtkTransform *GetFirstResult();
 private:
-       std::vector<int> _centerPoint;
+       double _rotationAxis[3];
+       double _secondRotationAxis[3];
+       double _firstPoint[3];
+       double _secondPoint[3];
+       double _angle;
+       double _secondAngle;
        
        vtkTransform *_transform;
 };