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