]> Creatis software - clitk.git/blobdiff - itk/itkVTKImageToImageFilter.txx
Debug RTStruct conversion with empty struc
[clitk.git] / itk / itkVTKImageToImageFilter.txx
index 27a6595385a3fc2ef2daf2b8d36b318c0edc07e9..5fddba28f6d49f17db81cd18ae91f8435a234e88 100644 (file)
@@ -77,7 +77,11 @@ void
 VTKImageToImageFilter<TOutputImage>
 ::SetInput( vtkImageData * inputImage )
 {
+#if VTK_MAJOR_VERSION <= 5
   m_Exporter->SetInput( inputImage );
+#else
+  m_Exporter->SetInputData( inputImage );
+#endif
 }