open_iA 2025.6
Loading...
Searching...
No Matches
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.
 
template<class T>
void SetupPipelineITKtoVTK (iAITKIO::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.
 
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 ( iAITKIO::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 )