]> Creatis software - clitk.git/blob - vv/vvSurfaceViewerDialog.h
remove antique RCS headers
[clitk.git] / vv / vvSurfaceViewerDialog.h
1 #ifndef _vvSurfaceViewerDialog_H
2 #define _vvSurfaceViewerDialog_H
3
4 /*=========================================================================
5
6 Program:   vv
7 Language:  C++
8 Author :   David Sarrut (david.sarrut@gmail.com)
9
10 Copyright (C) 2008
11 Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
12 CREATIS-LRMN http://www.creatis.insa-lyon.fr
13
14 This program is free software: you can redistribute it and/or modify
15 it under the terms of the GNU General Public License as published by
16 the Free Software Foundation, version 3 of the License.
17
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21 GNU General Public License for more details.
22
23 You should have received a copy of the GNU General Public License
24 along with this program.  If not, see <http://www.gnu.org/licenses/>.
25
26 =========================================================================*/
27
28
29 #include "ui_vvSurfaceViewerDialog.h"
30
31 class vtkPolyDataMapper;
32 class vtkActor;
33 class vtkOBJReader;
34
35 #include <QtDesigner/QDesignerExportWidget>
36 #include <QTreeWidget>
37
38 //====================================================================
39 class vvSurfaceViewerDialog : public QDialog, private Ui::vvSurfaceViewerDialog {
40
41     Q_OBJECT
42
43 public:
44     // constructor - destructor
45     vvSurfaceViewerDialog(QWidget * parent=0, Qt::WindowFlags f=0);
46     ~vvSurfaceViewerDialog();
47     void NextTime();
48     void PreviousTime();
49
50 public slots :
51     void LoadSurface();
52
53 private :
54     std::vector<vtkOBJReader*> mReaders;
55     vtkPolyDataMapper* mMapper;
56     vtkActor* mActor;
57     vtkRenderer * mRenderer;
58     unsigned int mCurrentTime;
59
60 }; // end class vvSurfaceViewerDialog
61 //====================================================================
62
63 #endif /* end #define _vvSurfaceViewerDialog_H */