]> Creatis software - clitk.git/blobdiff - vv/vvToolResample.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolResample.h
index b12e940a85f1b88bcda4ddca63b2f9bdb3cecead..2a4c427c5d3e4b78a5b07ac2fcc60d6ecdebfa7d 100644 (file)
@@ -3,7 +3,7 @@
 
   Authors belong to: 
   - University of LYON              http://www.universite-lyon.fr/
-  - Léon Bérard cancer center       http://oncora1.lyon.fnclcc.fr
+  - Léon Bérard cancer center       http://www.centreleonberard.fr
   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
 
   This software is distributed WITHOUT ANY WARRANTY; without even
 
   - BSD        See included LICENSE.txt file
   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
-  ======================================================================-====*/
+  ===========================================================================**/
 
 #ifndef _VVTOOLRESAMPLE_H
 #define _VVTOOLRESAMPLE_H
 
+// clitk
+//#include "clitkImageResampleGenericFilter.h"
+#include "clitkResampleImageGenericFilter.h"
+
+// vv
 #include "ui_vvToolResample.h"
-#include "clitkCommon.h"
-#include "clitkImageResampleGenericFilter.h"
 #include "vvImage.h"
 #include "vvSlicerManager.h"
 #include "vvToolWidgetBase.h"
 #include "vvToolBase.h"
 
+// qt
+#if QT_VERSION >= 0x050000
+#include <QtUiPlugin/QDesignerExportWidget>
+#else
 #include <QtDesigner/QDesignerExportWidget>
+#endif
 #include <QTreeWidget>
 
 //------------------------------------------------------------------------------
@@ -66,9 +74,9 @@ public slots:
 protected:
   Ui::vvToolResample ui;
   vvImage::Pointer mOutput;
-  clitk::ImageResampleGenericFilter::Pointer mFilter;
+  clitk::ResampleImageGenericFilter::Pointer mFilter;
 
-  vvSlicerManager* mCurrentSlicerManager;
+  //  vvSlicerManager* mCurrentSlicerManager;
   vvImage::Pointer mCurrentImage;
   int mCurrentIndex;