]> Creatis software - clitk.git/blobdiff - tools/clitkWarpImageGenericFilter.h
With ITKv5, change VectorResample and VectorCast Image Filter to Resample and Cast...
[clitk.git] / tools / clitkWarpImageGenericFilter.h
index 93eda73a5c22bb62498fbb3aafc2a273f371b3f3..58da907bf7ac3e488464aa0d71115c48540980ae 100644 (file)
 //itk include
 #include "itkLightObject.h"
 #include "itkWarpImageFilter.h"
+#if ( ITK_VERSION_MAJOR < 5 )
 #include "itkVectorResampleImageFilter.h"
+#else
+#include "itkResampleImageFilter.h"
+#endif
 
 namespace clitk 
 {
@@ -99,7 +103,6 @@ namespace clitk
     template <unsigned int Dimension>  void UpdateWithDim(std::string PixelType);
     template <unsigned int Dimension, class PixelType>  void UpdateWithDimAndPixelType();
 
-
     //----------------------------------------  
     // Data members
     //----------------------------------------