X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvAnimatedGIFWriter.cxx;h=0ab7cb806d5c7aa7100ea1e620b73169f3763c2a;hb=1b76473a92cb470240527e6495b4adcca5bc3bdb;hp=5dbf51abc300d251e94d48b880467229ed235f2a;hpb=3a823a03d4a2217e41e4dd3b05a8ea825bb762a5;p=clitk.git diff --git a/vv/vvAnimatedGIFWriter.cxx b/vv/vvAnimatedGIFWriter.cxx index 5dbf51a..0ab7cb8 100644 --- a/vv/vvAnimatedGIFWriter.cxx +++ b/vv/vvAnimatedGIFWriter.cxx @@ -74,7 +74,7 @@ void vvAnimatedGIFWriter::End() #if VTK_MAJOR_VERSION <= 5 quant->SetInput(RGBvolume->GetOutput()); #else - quant->SetInputData(RGBvolume->GetOutput()); + quant->SetInputConnection(RGBvolume->GetOutputPort()); #endif quant->Update(); @@ -83,7 +83,7 @@ void vvAnimatedGIFWriter::End() #if VTK_MAJOR_VERSION <= 5 cast->SetInput( quant->GetOutput() ); #else - cast->SetInputData( quant->GetOutput() ); + cast->SetInputConnection( quant->GetOutputPort() ); #endif cast->SetOutputScalarTypeToUnsignedChar(); cast->Update();