#include "clitkBSplineDeformableTransform.h"
#include "itkBSplineDeformableTransform.h"
#if ITK_VERSION_MAJOR >= 4
#include "clitkBSplineDeformableTransform.h"
#include "itkBSplineDeformableTransform.h"
#if ITK_VERSION_MAJOR >= 4
-#include "itkTransformToDisplacementFieldSource.h"
-#else
-#include "itkTransformToDeformationFieldSource.h"
+# if ITK_VERSION_MINOR < 6
+# include "itkTransformToDisplacementFieldSource.h"
+# else
+# include "itkTransformToDisplacementFieldFilter.h"
+# endif
typedef itk::Transform< double, TDVFType::ImageDimension, TDVFType::ImageDimension> GenericTransformType;
#if ITK_VERSION_MAJOR >= 4
typedef itk::Transform< double, TDVFType::ImageDimension, TDVFType::ImageDimension> GenericTransformType;
#if ITK_VERSION_MAJOR >= 4