open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Functions
iAConnector.cpp File Reference
#include "iAConnector.h"
#include "iAExtendedTypedCallHelper.h"
#include "iAToolsITK.h"
#include <itkVTKImageImport.h>
#include <itkVTKImageExport.h>
#include <vtkImageData.h>

Functions

template<typename ExporterT , typename ImporterT >
void ConnectPipelines (ExporterT exporter, ImporterT importer)
 Connects the given vtkImageExport / itk::VTKImageExport filter to the given vtkImageImport / itk::VTKImageImport filter. More...
 
template<class T >
void SetupPipelineITKtoVTK (iAConnector::ImagePointer &imageBase, iAConnector::ProcessObjectPointer &exporter, vtkImageImport *importer)
 Takes care of instantiating the appropriate ITK Export class corresponding to the actual pixel type of the input image. More...
 
template<class T >
void SetupPipelineVTKtoITK (vtkImageData *inputImage, vtkImageExport *vtkExporter, iAConnector::ProcessObjectPointer &itkImporter)
 

Function Documentation

◆ ConnectPipelines()

template<typename ExporterT , typename ImporterT >
void ConnectPipelines ( ExporterT  exporter,
ImporterT  importer 
)

Connects the given vtkImageExport / itk::VTKImageExport filter to the given vtkImageImport / itk::VTKImageImport filter.

◆ SetupPipelineITKtoVTK()

template<class T >
void SetupPipelineITKtoVTK ( iAConnector::ImagePointer imageBase,
iAConnector::ProcessObjectPointer exporter,
vtkImageImport *  importer 
)

Takes care of instantiating the appropriate ITK Export class corresponding to the actual pixel type of the input image.

◆ SetupPipelineVTKtoITK()

template<class T >
void SetupPipelineVTKtoITK ( vtkImageData *  inputImage,
vtkImageExport *  vtkExporter,
iAConnector::ProcessObjectPointer itkImporter 
)