]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageResampleBox.cxx
#3113 crea Rigid Registration Bug New Normal - branch vtk7itk4 compilation with...
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageResampleBox.cxx
index d4d4f78e3f49e6fd1d99ecd7d54b62c81aaf8997..2dd312603e16ac34898b6af1d383e6173e45ea9c 100644 (file)
@@ -36,7 +36,13 @@ void ResampleBox::Process()
     if(bbGetInputIn() != NULL && bbGetInputFactor() != 0)
        {
                double factor = bbGetInputFactor();
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
                resample->SetInput(bbGetInputIn());
+#else
+               resample->SetInputData(bbGetInputIn());
+#endif
+
                resample->SetAxisMagnificationFactor(0, factor);
                resample->SetAxisMagnificationFactor(1, factor);
                resample->SetAxisMagnificationFactor(2, factor);