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 );
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
float InputImagePixelType
To/from ITK.
ImageImportType::Pointer itkImporter
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
itk::Image< InputImagePixelType, 3 > InputImageType
vtkITKImageToImageFilterFF(GenericFilterType *filter)
itk::Image< OutputImagePixelType, 3 > OutputImageType