X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolProfile.h;h=0f94ff3a9177c52b81afa0e25eaedfc865d2ea3c;hb=75719c377dd8aa759f32dd277cfd7b2f914ebfa8;hp=03fcd0c0a730fd637b481be83d217dfff046fbc5;hpb=ff4e821006c760607319ef7cc58dd9f4f17a7098;p=clitk.git diff --git a/vv/vvToolProfile.h b/vv/vvToolProfile.h index 03fcd0c..0f94ff3 100644 --- a/vv/vvToolProfile.h +++ b/vv/vvToolProfile.h @@ -19,17 +19,22 @@ #define VVTOOLPROFILE_H #include -#if QT_VERSION < 0x050000 -#include -#else +#if QT_VERSION >= 0x050000 #include +#else +#include #endif #include "vvToolBase.h" #include "vvToolWidgetBase.h" #include "vvImageContour.h" #include "vvLandmarks.h" +#include +#if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 1) || VTK_MAJOR_VERSION >= 9 #include "ui_vvToolProfile.h" +#else +#include "ui_vvToolProfileVTK7.h" +#endif #include "vvBinaryImageOverlayActor.h" #include "clitkProfileImage_ggo.h" @@ -37,6 +42,7 @@ #include #include #include +#include //------------------------------------------------------------------------------ class vvToolProfile: @@ -87,6 +93,7 @@ class vvToolProfile: std::string mTextFileName; std::vector > mLineActors; vtkSmartPointer mLinesPolyData; + vtkSmartPointer mLineTransform; }; // end class vvToolProfile