open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Loading...
Searching...
No Matches
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>

Public Types

typedef itk::ProcessObject::Pointer ProcessObjectPointer
 

Public Member Functions

 iAConnector ()
 
iAITKIO::ImagePtr itkImage () const
 Get the ITK image.
 
iAITKIO::PixelType itkPixelType () const
 Get the type of the pixel (SCALAR or RGBA)
 
iAITKIO::ScalarType itkScalarType () const
 Get the data type of a single scalar (double, float, int, ...)
 
void modified ()
 Set the linked ITK/VTK images as modified.
 
void setImage (iAITKIO::ImagePtr image)
 Sets the ITK image and make it available as VTK image.
 
void setImage (vtkSmartPointer< vtkImageData > image)
 Set the VTK image and make it available as ITK image.
 
vtkSmartPointer< vtkImageData > vtkImage () const
 Get the VTK image.
 

Detailed Description

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

Member Typedef Documentation

◆ ProcessObjectPointer

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

Constructor & Destructor Documentation

◆ iAConnector()

iAConnector::iAConnector ( )

Member Function Documentation

◆ itkImage()

iAITKIO::ImagePtr iAConnector::itkImage ( ) const

Get the ITK image.

◆ itkPixelType()

iAITKIO::PixelType iAConnector::itkPixelType ( ) const

Get the type of the pixel (SCALAR or RGBA)

◆ itkScalarType()

iAITKIO::ScalarType iAConnector::itkScalarType ( ) 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 ( iAITKIO::ImagePtr  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: