1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
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
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.
13 It is distributed under dual licence
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
21 #if QT_VERSION < 0x050000
22 #include <QtDesigner/QDesignerExportWidget>
24 #include <QtUiPlugin/QDesignerExportWidget>
27 #include "vvToolBase.h"
28 #include "vvToolWidgetBase.h"
29 #include "ui_vvToolImageArithm.h"
30 #include "clitkImageArithm_ggo.h"
32 //------------------------------------------------------------------------------
33 class vvToolImageArithm:
34 public vvToolWidgetBase,
35 public vvToolBase<vvToolImageArithm>,
36 private Ui::vvToolImageArithm
40 vvToolImageArithm(vvMainWindowBase* parent=0, Qt::WindowFlags f=0);
43 static void Initialize();
44 void GetArgsInfoFromGUI();
45 virtual void InputIsSelected(std::vector<vvSlicerManager *> & m);
46 virtual void InputIsSelected(vvSlicerManager * m);
52 Ui::vvToolImageArithm ui;
53 vvSlicerManager * mInput1;
54 vvSlicerManager * mInput2;
55 args_info_clitkImageArithm mArgsInfo;
58 }; // end class vvToolImageArithm
59 //------------------------------------------------------------------------------