]> 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 9394d8d5798d06ea2af9489822e37edf1716610f..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 
 {
@@ -98,7 +102,6 @@ namespace clitk
     //----------------------------------------  
     template <unsigned int Dimension>  void UpdateWithDim(std::string PixelType);
     template <unsigned int Dimension, class PixelType>  void UpdateWithDimAndPixelType();
-    template<class DisplacementFieldType> typename DisplacementFieldType::Pointer CoeffsToDVF(std::string fileName, std::string likeFileName);
 
     //----------------------------------------  
     // Data members