]> Creatis software - clitk.git/blobdiff - registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.h
itk4 Rename DeformationField to DisplacementField when necessary
[clitk.git] / registration / clitkConvertBSplineDeformableTransformToVFGenericFilter.h
index e976f642a2039635856c1af7d4ed79370515ee9a..bcdf67ba43670a1b2b3efa0ca63f264d39ceb29e 100644 (file)
 //itk include
 #include "itkLightObject.h"
 #include "itkImageMaskSpatialObject.h"
-#include "itkTransformToDeformationFieldSource.h"
+#if ITK_VERSION_MAJOR >= 4
+  #include "itkTransformToDisplacementFieldSource.h"
+#else
+  #include "itkTransformToDeformationFieldSource.h"
+#endif
 
 
 namespace clitk