X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FitkVTKImageToImageFilter.txx;h=5fddba28f6d49f17db81cd18ae91f8435a234e88;hb=4a4934ca65d9d47729f2c7179f94b79de2f889bc;hp=27a6595385a3fc2ef2daf2b8d36b318c0edc07e9;hpb=34f45c6507a3605351e265f4d5eb5b4bb31a1fa6;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 }