]> Creatis software - clitk.git/blobdiff - vv/vvToolProfile.h
Merge branch 'master' into GammaIndex3D
[clitk.git] / vv / vvToolProfile.h
index 7467cf4c49455e9c9216a66793ef0d883c9cdc95..2f64bb3a656e28f10b93cf0107f35abe430714fb 100644 (file)
@@ -18,7 +18,8 @@
 #ifndef VVTOOLPROFILE_H
 #define VVTOOLPROFILE_H
 
-#include <QtUiPlugin/QDesignerExportWidget>
+#include <QtGlobal>
+#include <QtDesigner/QDesignerExportWidget>
 
 #include "vvToolBase.h"
 #include "vvToolWidgetBase.h"
@@ -32,6 +33,7 @@
 #include <vtkTable.h>
 #include <vtkContextView.h>
 #include <vtkContextScene.h>
+#include <vtkTransformPolyDataFilter.h>
 
 //------------------------------------------------------------------------------
 class vvToolProfile:
@@ -73,8 +75,8 @@ class vvToolProfile:
   Ui::vvToolProfile ui;
   args_info_clitkProfileImage mArgsInfo;
   
-  int* mPoint1;
-  int* mPoint2;
+  double* mPoint1;
+  double* mPoint2;
   bool mPoint1Selected;
   bool mPoint2Selected;
   vtkSmartPointer<vtkContextView> mView;
@@ -82,6 +84,7 @@ class vvToolProfile:
   std::string mTextFileName;
   std::vector<vtkSmartPointer<vtkActor> > mLineActors;
   vtkSmartPointer<vtkPolyData> mLinesPolyData;
+  vtkSmartPointer<vtkTransformPolyDataFilter> mLineTransform;
 
 
 }; // end class vvToolProfile