X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;h=0410637f396b79a1f08faad0502c97b0918aef7e;hb=5c7d0fb1118c51f5441a667af081b5703ad55442;hp=5b7939de346e209a590b2ac0472a82f364385c47;hpb=3c408355c0ce7a9927b16e9bd98764c995d10a72;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 5b7939d..0410637 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -18,10 +18,11 @@ #ifndef VVTOOLPROFILE_H #define VVTOOLPROFILE_H -#if QT_VERSION < 0x050000 -#include -#else +#include +#if QT_VERSION >= 0x050000 #include +#else +#include #endif #include "vvToolBase.h" @@ -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