open_iA  2020.01
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 <vtkImageData.h>
#include <vtkImageExport.h>
#include <vtkImageImport.h>
#include <itkVTKImageImport.h>
#include <itkVTKImageExport.h>
Include dependency graph for iAConnector.cpp:

Functions

template<typename ITK_Exporter , typename VTK_Importer >
void ConnectPipelines (ITK_Exporter exporter, VTK_Importer *importer)
 Connects the given itk::VTKImageExport filter to the given vtkImageImport filter. More...
 
template<typename VTK_Exporter , typename ITK_Importer >
void ConnectPipelines (VTK_Exporter *exporter, ITK_Importer importer)
 Connects the given vtkImageExport filter to the given 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() [1/2]

template<typename ITK_Exporter , typename VTK_Importer >
void ConnectPipelines ( ITK_Exporter  exporter,
VTK_Importer *  importer 
)

Connects the given itk::VTKImageExport filter to the given vtkImageImport filter.

◆ ConnectPipelines() [2/2]

template<typename VTK_Exporter , typename ITK_Importer >
void ConnectPipelines ( VTK_Exporter *  exporter,
ITK_Importer  importer 
)

Connects the given vtkImageExport filter to the given 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 
)