15 #ifndef __vtkITKImageToImageFilterUSF 16 #define __vtkITKImageToImageFilterUSF 19 #include "vtkImageAlgorithm.h" 20 #include "itkImageToImageFilter.h" 21 #include "itkVTKImageExport.h" 22 #include "itkVTKImageImport.h" 33 Superclass::PrintSelf ( os, indent );
57 this->itkImporter = ImageImportType::New();
58 this->itkExporter = ImageExportType::New();
64 m_Filter->SetInput ( this->itkImporter->GetOutput() );
65 this->itkExporter->SetInput ( m_Filter->GetOutput() );
66 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
unsigned short InputImagePixelType
To/from ITK.
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
static vtkITKImageToImageFilterUSF * New()
itk::VTKImageImport< InputImageType > ImageImportType
void PrintSelf(ostream &os, vtkIndent indent)
GenericFilterType::Pointer m_Filter