X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSurfaceViewerDialog.h;h=c0a8840f2f20a4b1470c8dc48ef52123e5a996ba;hb=75719c377dd8aa759f32dd277cfd7b2f914ebfa8;hp=ff9f0be7a056f92aea349387c7fe0d982709261c;hpb=8dc75d1449323b08bf7378cded6f0bec24b2016f;p=clitk.git diff --git a/vv/vvSurfaceViewerDialog.h b/vv/vvSurfaceViewerDialog.h index ff9f0be..c0a8840 100644 --- a/vv/vvSurfaceViewerDialog.h +++ b/vv/vvSurfaceViewerDialog.h @@ -17,16 +17,21 @@ ===========================================================================**/ #ifndef _vvSurfaceViewerDialog_H #define _vvSurfaceViewerDialog_H +#include +#if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 1) || VTK_MAJOR_VERSION >= 9 #include "ui_vvSurfaceViewerDialog.h" +#else +#include "ui_vvSurfaceViewerDialogVTK7.h" +#endif class vtkPolyDataMapper; class vtkActor; class vtkOBJReader; -#if QT_VERSION < 0x050000 -#include -#else +#if QT_VERSION >= 0x050000 #include +#else +#include #endif #include