]> Creatis software - clitk.git/blob - vv/vvToolConvert.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolConvert.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
19 #ifndef VVTOOLCONVERT_H
20 #define VVTOOLCONVERT_H
21
22 #include "vvToolBase.h"
23
24 //------------------------------------------------------------------------------
25 class vvToolConvert: public QObject, public vvToolBase<vvToolConvert>
26 {
27   Q_OBJECT
28     public:
29   vvToolConvert(vvMainWindowBase* parent, Qt::WindowFlags f=0);
30   ~vvToolConvert();
31
32   static void Initialize();
33
34 public slots:
35   virtual void apply();
36   void show();
37   
38  protected:
39   static std::vector<std::string> mListOfPixelTypeNames;
40   static std::vector<std::string> mListOfPixelTypeIcons;
41   static std::map<std::string, QAction*> mMapOfPixelType;
42   static QAction * a;
43   static QAction * b;
44
45 }; // end class vvToolConvert
46 //------------------------------------------------------------------------------
47
48 #endif
49