//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