open_iA  2020.01
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Types | Public Member Functions | List of all members
iAConnector Class Reference

Converts VTK images to ITK and vice versa. It is written to replace the ImageConverter of VTKEdge. More...

#include <iAConnector.h>

Collaboration diagram for iAConnector:

Public Types

typedef itk::ImageBase< 3 > ImageBaseType
 
typedef ImageBaseType::Pointer ImagePointer
 
typedef itk::ImageIOBase::IOPixelType ITKPixelType
 
typedef itk::ImageIOBase::IOComponentType ITKScalarPixelType
 
typedef itk::ProcessObject::Pointer ProcessObjectPointer
 

Public Member Functions

 iAConnector ()
 
ImageBaseTypeitkImage () const
 Get the ITK image. More...
 
ITKPixelType itkPixelType () const
 Get the type of the pixel (SCALAR or RGBA) More...
 
ITKScalarPixelType itkScalarPixelType () const
 Get the data type of a single scalar (double, float, int, ...) More...
 
void modified ()
 Set the linked ITK/VTK images as modified. More...
 
void setImage (ImageBaseType *image)
 Sets the ITK image and make it available as VTK image. More...
 
void setImage (vtkSmartPointer< vtkImageData > image)
 Set the VTK image and make it available as ITK image. More...
 
vtkSmartPointer< vtkImageData > vtkImage () const
 Get the VTK image. More...
 

Detailed Description

Converts VTK images to ITK and vice versa. It is written to replace the ImageConverter of VTKEdge.

Member Typedef Documentation

◆ ImageBaseType

typedef itk::ImageBase< 3 > iAConnector::ImageBaseType

◆ ImagePointer

typedef ImageBaseType::Pointer iAConnector::ImagePointer

◆ ITKPixelType

typedef itk::ImageIOBase::IOPixelType iAConnector::ITKPixelType

◆ ITKScalarPixelType

typedef itk::ImageIOBase::IOComponentType iAConnector::ITKScalarPixelType

◆ ProcessObjectPointer

typedef itk::ProcessObject::Pointer iAConnector::ProcessObjectPointer

Constructor & Destructor Documentation

◆ iAConnector()

iAConnector::iAConnector ( )

Member Function Documentation

◆ itkImage()

iAConnector::ImageBaseType * iAConnector::itkImage ( ) const

Get the ITK image.

◆ itkPixelType()

iAConnector::ITKPixelType iAConnector::itkPixelType ( ) const

Get the type of the pixel (SCALAR or RGBA)

◆ itkScalarPixelType()

iAConnector::ITKScalarPixelType iAConnector::itkScalarPixelType ( ) const

Get the data type of a single scalar (double, float, int, ...)

◆ modified()

void iAConnector::modified ( )

Set the linked ITK/VTK images as modified.

◆ setImage() [1/2]

void iAConnector::setImage ( ImageBaseType image)

Sets the ITK image and make it available as VTK image.

◆ setImage() [2/2]

void iAConnector::setImage ( vtkSmartPointer< vtkImageData >  image)

Set the VTK image and make it available as ITK image.

◆ vtkImage()

vtkSmartPointer< vtkImageData > iAConnector::vtkImage ( ) const

Get the VTK image.


The documentation for this class was generated from the following files: