X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FitkVTKImageToImageFilter.txx;h=5fddba28f6d49f17db81cd18ae91f8435a234e88;hb=a523f5be1e221995c0d4d29a0077b5e8b984c96d;hp=27a6595385a3fc2ef2daf2b8d36b318c0edc07e9;hpb=a360b70353c02d20482d950c96ba7b289deca184;p=clitk.git diff --git a/itk/itkVTKImageToImageFilter.txx b/itk/itkVTKImageToImageFilter.txx index 27a6595..5fddba2 100644 --- a/itk/itkVTKImageToImageFilter.txx +++ b/itk/itkVTKImageToImageFilter.txx @@ -77,7 +77,11 @@ void VTKImageToImageFilter ::SetInput( vtkImageData * inputImage ) { +#if VTK_MAJOR_VERSION <= 5 m_Exporter->SetInput( inputImage ); +#else + m_Exporter->SetInputData( inputImage ); +#endif }