15 #ifndef __vtkITKImageToImageFilterULUL_h 16 #define __vtkITKImageToImageFilterULUL_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<unsigned long, 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->SetOutputScalarTypeToUnsignedLong();
void ConnectPipelines(ITK_Exporter exporter, VTK_Importer *importer)
ImageImportType::Pointer itkImporter
vtkITKImageToImageFilterULUL(GenericFilterType *filter)
~vtkITKImageToImageFilterULUL()
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
itk::Image< unsigned long, 3 > OutputImageType
itk::VTKImageImport< InputImageType > ImageImportType
static vtkITKImageToImageFilterULUL * New()
Abstract base class for connecting ITK and VTK.
itk::VTKImageExport< OutputImageType > ImageExportType
GenericFilterType::Pointer m_Filter
ImageExportType::Pointer itkExporter
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
void PrintSelf(ostream &os, vtkIndent indent)