10 #ifndef __vtkITKImageToImageFilterUSF 11 #define __vtkITKImageToImageFilterUSF 14 #include "vtkImageAlgorithm.h" 15 #include "itkImageToImageFilter.h" 16 #include "itkVTKImageExport.h" 17 #include "itkVTKImageImport.h" 28 Superclass::PrintSelf ( os, indent );
35 typedef unsigned short InputImagePixelType;
52 this->itkImporter = ImageImportType::New();
53 this->itkExporter = ImageExportType::New();
59 m_Filter->SetInput ( this->itkImporter->GetOutput() );
60 this->itkExporter->SetInput ( m_Filter->GetOutput() );
61 this->vtkCast->SetOutputScalarTypeToUnsignedShort();
void ConnectPipelines(ITK_Exporter exporter, VTK_Importer *importer)
vtkITKImageToImageFilterUSF(GenericFilterType *filter)
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
itk::Image< OutputImagePixelType, 3 > OutputImageType
ImageImportType::Pointer itkImporter
ImageExportType::Pointer itkExporter
Abstract base class for connecting ITK and VTK.
~vtkITKImageToImageFilterUSF()
float OutputImagePixelType
itk::VTKImageExport< OutputImageType > ImageExportType
itk::Image< InputImagePixelType, 3 > InputImageType
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
static vtkITKImageToImageFilterUSF * New()
itk::VTKImageImport< InputImageType > ImageImportType
void PrintSelf(ostream &os, vtkIndent indent)
GenericFilterType::Pointer m_Filter