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 /*=========================================================================
21 Module: $RCSfile: vvToolMIP.h,v $
23 Date: $Date: 2010/10/26 12:37:59 $
24 Version: $Revision: 1.1 $
25 Author : Joel Schaerer (joel.schaerer@gmail.com)
28 Léon Bérard cancer center http://www.centreleonberard.fr
29 CREATIS http://www.creatis.insa-lyon.fr
31 This program is free software: you can redistribute it and/or modify
32 it under the terms of the GNU General Public License as published by
33 the Free Software Foundation, version 3 of the License.
35 This program is distributed in the hope that it will be useful,
36 but WITHOUT ANY WARRANTY; without even the implied warranty of
37 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38 GNU General Public License for more details.
40 You should have received a copy of the GNU General Public License
41 along with this program. If not, see <http://www.gnu.org/licenses/>.
43 =========================================================================*/
51 #if QT_VERSION < 0x050000
52 #include <QtDesigner/QDesignerExportWidget>
54 #include <QtUiPlugin/QDesignerExportWidget>
56 #include "vvToolBase.h"
58 #include "vvToolWidgetBase.h"
59 #include "ui_vvToolMIP.h"
62 //------------------------------------------------------------------------------
64 public vvToolWidgetBase,
65 public vvToolBase<vvToolMIP>,
70 vvToolMIP(vvMainWindowBase* parent=0, Qt::WindowFlags f=0);
73 static void Initialize();
74 virtual void InputIsSelected(vvSlicerManager * m);
78 template<class PixelType,int Dim> void Update_WithDimAndPixelType(vvImage::Pointer);
79 template<class PixelType> void Update_WithPixelType(vvImage::Pointer);
83 }; // end class vvToolMIP
84 //------------------------------------------------------------------------------