15 #ifndef __vtkITKImageToImageFilterF2F_h 16 #define __vtkITKImageToImageFilterF2F_h 20 #include "vtkImageAlgorithm.h" 21 #include "itkImageToImageFilter.h" 22 #include "itkVTKImageExport.h" 23 #include "itkVTKImageImport.h" 34 Superclass::PrintSelf ( os, indent );
58 this->itkImporter = ImageImportType::New();
59 this->itkExporter = ImageExportType::New();
65 m_Filter->SetInput ( this->itkImporter->GetOutput() );
66 this->itkExporter->SetInput ( m_Filter->GetOutput() );
67 this->vtkCast->SetOutputScalarTypeToFloat();
void ConnectPipelines(ITK_Exporter exporter, VTK_Importer *importer)
void PrintSelf(ostream &os, vtkIndent indent)
itk::VTKImageExport< OutputImageType > ImageExportType
itk::Image< InputImagePixelType, 3 > InputImageType
itk::Vector< float, 2 > InputImagePixelType
To/from ITK.
Abstract base class for connecting ITK and VTK.
vtkITKImageToImageFilterF2F(GenericFilterType *filter)
ImageImportType::Pointer itkImporter
float OutputImagePixelType
GenericFilterType::Pointer m_Filter
ImageExportType::Pointer itkExporter
itk::VTKImageImport< InputImageType > ImageImportType
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
~vtkITKImageToImageFilterF2F()
static vtkITKImageToImageFilterF2F * New()
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
itk::Image< OutputImagePixelType, 3 > OutputImageType