1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef _vvSurfaceViewerDialog_H
19 #define _vvSurfaceViewerDialog_H
20 #include <vtkVersion.h>
21 #if (VTK_MAJOR_VERSION == 8 && VTK_MINOR_VERSION >= 2) || VTK_MAJOR_VERSION >= 9
22 #include "ui_vvSurfaceViewerDialog.h"
24 #include "ui_vvSurfaceViewerDialogVTK7.h"
27 class vtkPolyDataMapper;
31 #if QT_VERSION >= 0x050000
32 #include <QtUiPlugin/QDesignerExportWidget>
34 #include <QtDesigner/QDesignerExportWidget>
36 #include <QTreeWidget>
38 //====================================================================
39 class vvSurfaceViewerDialog : public QDialog, private Ui::vvSurfaceViewerDialog {
44 // constructor - destructor
45 vvSurfaceViewerDialog(QWidget * parent=0, Qt::WindowFlags f=0);
46 ~vvSurfaceViewerDialog();
54 std::vector<vtkOBJReader*> mReaders;
55 vtkPolyDataMapper* mMapper;
57 vtkRenderer * mRenderer;
60 }; // end class vvSurfaceViewerDialog
61 //====================================================================
63 #endif /* end #define _vvSurfaceViewerDialog_H */