]> Creatis software - clitk.git/blob - vv/vvLandmarksPanel.h
removed headers
[clitk.git] / vv / vvLandmarksPanel.h
1 #ifndef _vvLandmarksPanel_H
2 #define _vvLandmarksPanel_H
3 #include <iostream>
4 #include <vector>
5 #include "vvLandmarks.h"
6
7 #include "ui_vvLandmarksPanel.h"
8
9 //====================================================================
10 class vvLandmarksPanel : public QWidget, private Ui::vvLandmarksPanel
11 {
12
13     Q_OBJECT
14
15 public:
16     // constructor - destructor
17     vvLandmarksPanel(QWidget * parent=0);
18     ~vvLandmarksPanel() {}
19     void SetCurrentLandmarks(vvLandmarks *lm, int time);
20     void SetCurrentPath(std::string path) {
21         mCurrentPath = path;
22     }
23     void SetCurrentImage(std::string filename);
24
25 public slots:
26     void Load();
27     void Save();
28     void RemoveLastPoint();
29     void AddPoint();
30     void CommentsChanged(int row, int column);
31 signals:
32     void UpdateRenderWindows();
33
34 private:
35     void AddPoint(int);
36     vvLandmarks* mCurrentLandmarks;
37     std::string mCurrentPath;
38 }; // end class vvLandmarksPanel
39 //====================================================================
40
41 #endif /* end #define _vvLandmarksPanel_H */
42