]> Creatis software - clitk.git/blob - vv/vvLandmarksPanel.h
remove antique RCS headers
[clitk.git] / vv / vvLandmarksPanel.h
1 #ifndef _vvLandmarksPanel_H
2 #define _vvLandmarksPanel_H
3
4 /*=========================================================================
5
6  Program:   vv
7  Language:  C++
8  Author :   Pierre Seroul (pierre.seroul@gmail.com)
9
10 Copyright (C) 200COLUMN_IMAGE_NAME
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 #include <iostream>
29 #include <vector>
30 #include "vvLandmarks.h"
31
32 #include "ui_vvLandmarksPanel.h"
33
34 //====================================================================
35 class vvLandmarksPanel : public QWidget, private Ui::vvLandmarksPanel
36 {
37
38     Q_OBJECT
39
40 public:
41     // constructor - destructor
42     vvLandmarksPanel(QWidget * parent=0);
43     ~vvLandmarksPanel() {}
44     void SetCurrentLandmarks(vvLandmarks *lm, int time);
45     void SetCurrentPath(std::string path) {
46         mCurrentPath = path;
47     }
48     void SetCurrentImage(std::string filename);
49
50 public slots:
51     void Load();
52     void Save();
53     void RemoveLastPoint();
54     void AddPoint();
55     void CommentsChanged(int row, int column);
56 signals:
57     void UpdateRenderWindows();
58
59 private:
60     void AddPoint(int);
61     vvLandmarks* mCurrentLandmarks;
62     std::string mCurrentPath;
63 }; // end class vvLandmarksPanel
64 //====================================================================
65
66 #endif /* end #define _vvLandmarksPanel_H */
67