]> Creatis software - clitk.git/blob - vv/vvInfoPanel.h
add memory usage info in panel (need libstatgrab)
[clitk.git] / vv / vvInfoPanel.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
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.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17   ======================================================================-====*/
18 #ifndef vvInfoPanel_h
19 #define vvInfoPanel_h
20 #include <iostream>
21 #include <vector>
22
23 #include "ui_vvInfoPanel.h"
24
25 class vvInfoPanel : public QWidget, private Ui::vvInfoPanel
26 {
27   Q_OBJECT
28
29   public:
30   vvInfoPanel(QWidget * parent=0):QWidget(parent) {
31     setupUi(this);
32   }
33   ~vvInfoPanel() {}
34
35   void setFileName(QString text);
36   void setSizeMM(QString text);
37   void setOrigin(QString text);
38   void setSpacing(QString text);
39   void setNPixel(QString text);
40   void setDimension(QString text);
41   void setSizePixel(QString text);
42   void setCurrentInfo(int visibility, double x, double y, double z, double X, double Y, double Z, double value);
43   void setViews(int window, int view, int slice);
44   void setMemoryInMb(QString text);
45
46 public slots:
47
48 private:
49
50 };
51
52 #endif