]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkVecImageGaussianSmooth.cxx
#3107 BBTK Bug New Normal - branch vtk7itk4 compilation with vtk7
[bbtk.git] / packages / vtk / src / bbvtkVecImageGaussianSmooth.cxx
index 33af404643cc8de4484d5722c58b5136f4856e9e..689b9b14f3def9440e59e2c00ec08c8ad13a43a1 100644 (file)
@@ -82,7 +82,15 @@ BBTK_BLACK_BOX_IMPLEMENTATION(VecImageGaussianSmooth,bbtk::AtomicBlackBox);
                for (i=0 ;  i<size ; i++)
                {       
                        vtkimagegaussiansmooth = vtkImageGaussianSmooth::New();
+
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
                        vtkimagegaussiansmooth->SetInput( bbGetInputIn()[i] );
+#else
+                       vtkimagegaussiansmooth->SetInputData( bbGetInputIn()[i] );
+#endif
+
                        vtkimagegaussiansmooth->SetStandardDeviation( stdvX,stdvY, stdvZ ); 
                        vtkimagegaussiansmooth->Modified();
                        vtkimagegaussiansmooth->Update();