15 #ifndef __vtkITKImageToImageFilterFUL_h 16 #define __vtkITKImageToImageFilterFUL_h 19 #include "vtkImageAlgorithm.h" 20 #include "itkImageToImageFilter.h" 21 #include "itkVTKImageExport.h" 22 #include "itkVTKImageImport.h" 33 Superclass::PrintSelf ( os, indent );
34 os << m_Filter << std::endl;
40 typedef itk::Image<float, 3> InputImageType;
55 this->itkImporter = ImageImportType::New();
56 this->itkExporter = ImageExportType::New();
60 m_Filter->SetInput ( this->itkImporter->GetOutput() );
61 this->itkExporter->SetInput ( m_Filter->GetOutput() );
63 this->vtkCast->SetOutputScalarTypeToFloat();
void ConnectPipelines(ITK_Exporter exporter, VTK_Importer *importer)
Abstract base class for connecting ITK and VTK.
itk::Image< unsigned long, 3 > OutputImageType
GenericFilterType::Pointer m_Filter
itk::VTKImageExport< OutputImageType > ImageExportType
~vtkITKImageToImageFilterFUL()
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
ImageExportType::Pointer itkExporter
void PrintSelf(ostream &os, vtkIndent indent)
static vtkITKImageToImageFilterFUL * New()
vtkITKImageToImageFilterFUL(GenericFilterType *filter)
itk::VTKImageImport< InputImageType > ImageImportType
ImageImportType::Pointer itkImporter