X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;h=28cf41f7c6bff23f8cf7f3f71dd36757bcce2f65;hb=46d6314164abf444b420f07539b8f7cbd817f88e;hp=5b7939de346e209a590b2ac0472a82f364385c47;hpb=3c408355c0ce7a9927b16e9bd98764c995d10a72;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 5b7939d..28cf41f 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -18,7 +18,8 @@ #ifndef VVTOOLPROFILE_H #define VVTOOLPROFILE_H -#if QT_VERSION < 0x050000 +#include +#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) #include #else #include @@ -36,6 +37,7 @@ #include #include #include +#include //------------------------------------------------------------------------------ class vvToolProfile: @@ -77,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; @@ -86,6 +88,7 @@ class vvToolProfile: std::string mTextFileName; std::vector > mLineActors; vtkSmartPointer mLinesPolyData; + vtkSmartPointer mLineTransform; }; // end class vvToolProfile