15 #ifndef __vtkITKImageToImageFilterFF_h 16 #define __vtkITKImageToImageFilterFF_h 19 #include "vtkImageAlgorithm.h" 20 #include "itkImageToImageFilter.h" 21 #include "itkVTKImageExport.h" 22 #include "itkVTKImageImport.h" 30 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE
32 Superclass::PrintSelf ( os, indent );
39 typedef float InputImagePixelType;
56 this->itkImporter = ImageImportType::New();
57 this->itkExporter = ImageExportType::New();
63 m_Filter->SetInput ( this->itkImporter->GetOutput() );
64 this->itkExporter->SetInput ( m_Filter->GetOutput() );
65 this->vtkCast->SetOutputScalarTypeToFloat();
void ConnectPipelines(ITK_Exporter exporter, VTK_Importer *importer)
itk::VTKImageExport< OutputImageType > ImageExportType
static vtkITKImageToImageFilterFF * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
GenericFilterType::Pointer m_Filter
ImageExportType::Pointer itkExporter
~vtkITKImageToImageFilterFF()
Abstract base class for connecting ITK and VTK.
itk::VTKImageImport< InputImageType > ImageImportType
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
float OutputImagePixelType
ImageImportType::Pointer itkImporter
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
itk::Image< InputImagePixelType, 3 > InputImageType
vtkITKImageToImageFilterFF(GenericFilterType *filter)
itk::Image< OutputImagePixelType, 3 > OutputImageType