X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;h=0410637f396b79a1f08faad0502c97b0918aef7e;hb=5c7d0fb1118c51f5441a667af081b5703ad55442;hp=7467cf4c49455e9c9216a66793ef0d883c9cdc95;hpb=8e35d3afc7b626ac517905e7f8b846d94894110c;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 7467cf4..0410637 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -18,7 +18,12 @@ #ifndef VVTOOLPROFILE_H #define VVTOOLPROFILE_H +#include +#if QT_VERSION >= 0x050000 #include +#else +#include +#endif #include "vvToolBase.h" #include "vvToolWidgetBase.h" @@ -32,6 +37,7 @@ #include #include #include +#include //------------------------------------------------------------------------------ class vvToolProfile: @@ -73,8 +79,8 @@ class vvToolProfile: Ui::vvToolProfile ui; args_info_clitkProfileImage mArgsInfo; - int* mPoint1; - int* mPoint2; + double* mPoint1; + double* mPoint2; bool mPoint1Selected; bool mPoint2Selected; vtkSmartPointer mView; @@ -82,6 +88,7 @@ class vvToolProfile: std::string mTextFileName; std::vector > mLineActors; vtkSmartPointer mLinesPolyData; + vtkSmartPointer mLineTransform; }; // end class vvToolProfile