X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvSurfaceViewerDialog.h;h=9601e9af51a4d270a2b150a6a21feeb6bb19e2b6;hb=d786b4f836c0f12ba4a6dd06803cbe771ac371e3;hp=f6a440fbcfd5e6f5b565c5068e42a77ef903adb5;hpb=7799c187328c3c00f84f820adb9341ca632f78ff;p=clitk.git diff --git a/vv/vvSurfaceViewerDialog.h b/vv/vvSurfaceViewerDialog.h index f6a440f..9601e9a 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 >= 2) || VTK_MAJOR_VERSION >= 9 #include "ui_vvSurfaceViewerDialog.h" +#else +#include "ui_vvSurfaceViewerDialogVTK7.h" +#endif class vtkPolyDataMapper; class vtkActor; class vtkOBJReader; -#if QT_VERSION < QT_VERSION_CHECK(5, 5, 0) -#include -#else +#if QT_VERSION >= 0x050000 #include +#else +#include #endif #include