]> Creatis software - clitk.git/blob - vv/vvToolImageArithm.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolImageArithm.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 VVTOOLImageArithm_H
19 #define VVTOOLImageArithm_H
20
21 #include <QtGlobal>
22 #if QT_VERSION >= 0x050000
23 #include <QtUiPlugin/QDesignerExportWidget>
24 #else
25 #include <QtDesigner/QDesignerExportWidget>
26 #endif
27
28 #include "vvToolBase.h"
29 #include "vvToolWidgetBase.h"
30 #include "ui_vvToolImageArithm.h"
31 #include "clitkImageArithm_ggo.h"
32
33 //------------------------------------------------------------------------------
34 class vvToolImageArithm:
35   public vvToolWidgetBase,
36   public vvToolBase<vvToolImageArithm>, 
37   private Ui::vvToolImageArithm
38 {
39   Q_OBJECT
40     public:
41   vvToolImageArithm(vvMainWindowBase* parent=0, Qt::WindowFlags f=0);
42   ~vvToolImageArithm();
43
44   static void Initialize();
45   void GetArgsInfoFromGUI();
46   virtual void InputIsSelected(std::vector<vvSlicerManager *> & m);
47   virtual void InputIsSelected(vvSlicerManager * m);
48
49 public slots:
50   virtual void apply();
51
52  protected:
53   Ui::vvToolImageArithm ui;
54   vvSlicerManager * mInput1;
55   vvSlicerManager * mInput2;
56   args_info_clitkImageArithm mArgsInfo;
57   bool mTwoInputs;
58
59 }; // end class vvToolImageArithm
60 //------------------------------------------------------------------------------
61
62 #endif
63