|
open_iA 2023.02
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
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. | |
Converts VTK images to ITK and vice versa. It is written to replace the ImageConverter of VTKEdge.
| typedef itk::ProcessObject::Pointer iAConnector::ProcessObjectPointer |
| iAConnector::iAConnector | ( | ) |
| iAITKIO::ImagePtr iAConnector::itkImage | ( | ) | const |
Get the ITK image.
| iAITKIO::PixelType iAConnector::itkPixelType | ( | ) | const |
Get the type of the pixel (SCALAR or RGBA)
| iAITKIO::ScalarType iAConnector::itkScalarType | ( | ) | const |
Get the data type of a single scalar (double, float, int, ...)
| void iAConnector::modified | ( | ) |
Set the linked ITK/VTK images as modified.
| void iAConnector::setImage | ( | iAITKIO::ImagePtr | image | ) |
Sets the ITK image and make it available as VTK image.
| void iAConnector::setImage | ( | vtkSmartPointer< vtkImageData > | image | ) |
Set the VTK image and make it available as ITK image.
| vtkSmartPointer< vtkImageData > iAConnector::vtkImage | ( | ) | const |
Get the VTK image.