]> Creatis software - clitk.git/blobdiff - registration/clitkMatrixTransformToVFGenericFilter.h
COMP: ITK v4.6
[clitk.git] / registration / clitkMatrixTransformToVFGenericFilter.h
old mode 100755 (executable)
new mode 100644 (file)
index 34648cb..cc6ae00
 
 //itk include
 #include "itkLightObject.h"
-#include "itkTransformToDeformationFieldSource.h"
+#if ITK_VERSION_MAJOR >= 4
+#  if ITK_VERSION_MINOR < 6
+#    include "itkTransformToDisplacementFieldSource.h"
+#  else
+#    include "itkTransformToDisplacementFieldFilter.h"
+#  endif
+#else
+#  include "itkTransformToDeformationFieldSource.h"
+#endif
 #include "itkAffineTransform.h"
 
 namespace clitk