]> Creatis software - clitk.git/blob - vv/vvToolTest.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolTest.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://www.centreleonberard.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 VVTOOLTEST_H
19 #define VVTOOLTEST_H
20
21 #include <QtUiPlugin/QDesignerExportWidget>
22
23 #include "vvToolBase.h"
24 #include "vvToolWidgetBase.h"
25 #include "vvImageContour.h"
26 #include "ui_vvToolTest.h"
27
28
29 //------------------------------------------------------------------------------
30 class vvToolTest:
31   public vvToolWidgetBase,
32   public vvToolBase<vvToolTest>,
33   private Ui::vvToolTest 
34 {
35   Q_OBJECT
36     public:
37   vvToolTest(vvMainWindowBase * parent=0, Qt::WindowFlags f=0);
38   ~vvToolTest();
39
40   //-----------------------------------------------------
41   static void Initialize();
42   //void GetArgsInfoFromGUI();
43   virtual void InputIsSelected(vvSlicerManager * m);
44
45   //-----------------------------------------------------
46   public slots:
47   virtual bool close();
48   virtual void reject();
49   virtual void apply();
50   void UpdateSlice(int slicer,int slices);
51   void valueChangedT1();
52
53  protected:
54   Ui::vvToolTest ui;
55   
56   void Update(int slicer);
57
58 }; // end class vvToolTest
59 //------------------------------------------------------------------------------
60
61 #endif
62