|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef VTK_IMAGE_COMPONENT_H
27 #define VTK_IMAGE_COMPONENT_H
29 #include <vtkImageData.h>
34 #include <QMetaProperty>
57 void createComponent(
const QString&);
67 vtkSmartPointer<vtkMatrix4x4> readMetaImageTransformMatrix(
const QString& fileName);
73 #endif // VTK_IMAGE_COMPONENT_H
vtkSmartPointer< vtkMatrix4x4 > rotationMatrix
The rotation matrix, that might have been altered by the user Will be saved in header file informatio...
Definition: ImageComponent.h:343
This class manage vtk images, i.e images that can be loaded in CamiTK by using an VTK importer.
Definition: VtkImageComponent.h:42
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
void createComponent(const QString &)
actually create the component from the file This method may throw an AbortException if a problem occu...
Definition: VtkImageComponent.cpp:61
VtkImageComponent(const QString &)
default constructor: give it the name of the file containing the data This method may throw an AbortE...
Definition: VtkImageComponent.cpp:55
Exception class to handle abortion in component instantiation. Particularly useful to handle construc...
Definition: AbortException.h:66
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
#define VTK_IMAGE_COMPONENT_API
Definition: VtkImageComponentAPI.h:54
vtkSmartPointer< vtkMatrix4x4 > readMetaImageTransformMatrix(const QString &fileName)
Read the TranformMatrix tag (rotation of the image) from the input MHA/MHD image.
Definition: VtkImageComponent.cpp:139
void setName(const QString &) override
set the name to be displayed
Definition: sdk/libraries/core/component/Component.h:932
void setImageData(vtkSmartPointer< vtkImageData > anImageData, bool copy, ImageOrientationHelper::PossibleImageOrientations initialOrientation=ImageOrientationHelper::RAI, vtkSmartPointer< vtkMatrix4x4 > initialTransformMatrix=nullptr)
Set the image data of the volumic images with the given orientation options.
Definition: ImageComponent.cpp:251
PossibleImageOrientations
For each axis (x, y or z), 6 possibilities:
Definition: ImageOrientationHelper.h:52
Definition: Action.cpp:35