X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkProbeFilter.cxx;h=6dc66a9a49e6e98ea8742e51b14f1cb5099d8915;hb=d19c5512748aa8e2dd5c3d01d9ec680ded1f17ce;hp=4007cfbe93960a848c73032ecfffa4ef2e558f6b;hpb=088ed2b7bdbe14eb85a7245afaa693ddb7a53a97;p=bbtk.git diff --git a/packages/vtk/src/bbvtkProbeFilter.cxx b/packages/vtk/src/bbvtkProbeFilter.cxx index 4007cfb..6dc66a9 100644 --- a/packages/vtk/src/bbvtkProbeFilter.cxx +++ b/packages/vtk/src/bbvtkProbeFilter.cxx @@ -26,16 +26,19 @@ void ProbeFilter::Process() // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') -printf("EED ProbeFilter::Process() Start\n"); - +//EED 2017-01-01 Migration VTK7 +#if VTK_MAJOR_VERSION <= 5 _probefilter->SetSource( bbGetInputSource() ); _probefilter->SetInput( bbGetInputInput() ); +#else + _probefilter->SetSourceData( bbGetInputSource() ); + _probefilter->SetInputData( bbGetInputInput() ); +#endif + _probefilter->Update(); bbSetOutputOut( _probefilter->GetOutput() ); -printf("EED ProbeFilter::Process() End\n"); - } //===== // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)