15 #ifndef __vtkITKImageToImageFilter2DFF_h 16 #define __vtkITKImageToImageFilter2DFF_h 19 #include "vtkImageAlgorithm.h" 20 #include "itkImageToImageFilter.h" 21 #include "itkVTKImageExport.h" 22 #include "itkVTKImageImport.h" 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)
float OutputImagePixelType
ImageExportType::Pointer itkExporter
~vtkITKImageToImageFilter2DFF()
static vtkITKImageToImageFilter2DFF * New()
ImageImportType::Pointer itkImporter
Abstract base class for connecting ITK and VTK.
vtkITKImageToImageFilter2DFF(GenericFilterType *filter)
GenericFilterType::Pointer m_Filter
itk::Image< InputImagePixelType, 2 > InputImageType
itk::VTKImageExport< OutputImageType > ImageExportType
itk::Image< OutputImagePixelType, 2 > OutputImageType
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
void PrintSelf(ostream &os, vtkIndent indent)
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
itk::VTKImageImport< InputImageType > ImageImportType