15 #ifndef __vtkITKImageToImageFilterUSUS_h 16 #define __vtkITKImageToImageFilterUSUS_h 20 #include "vtkImageAlgorithm.h" 21 #include "itkImageToImageFilter.h" 22 #include "itkVTKImageExport.h" 23 #include "itkVTKImageImport.h" 34 Superclass::PrintSelf ( os, indent );
41 typedef unsigned short InputImagePixelType;
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->SetOutputScalarTypeToUnsignedShort();
itk::ImageToImageFilter< InputImageType, OutputImageType > GenericFilterType
void ConnectPipelines(ITK_Exporter exporter, VTK_Importer *importer)
itk::VTKImageImport< InputImageType > ImageImportType
void PrintSelf(ostream &os, vtkIndent indent)
~vtkITKImageToImageFilterUSUS()
Abstract base class for connecting ITK and VTK.
itk::VTKImageExport< OutputImageType > ImageExportType
ImageExportType::Pointer itkExporter
vtkITKImageToImageFilterUSUS(GenericFilterType *filter)
ImageImportType::Pointer itkImporter
GenericFilterType::Pointer m_Filter
itk::Image< OutputImagePixelType, 3 > OutputImageType
unsigned short OutputImagePixelType
void LinkITKProgressToVTKProgress(itk::ProcessObject *process)
BTX.
itk::Image< InputImagePixelType, 3 > InputImageType
static vtkITKImageToImageFilterUSUS * New()