|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef ITK_IMAGES_COMPONENT_EXTENSION_H
27 #define ITK_IMAGES_COMPONENT_EXTENSION_H
42 Q_PLUGIN_METADATA(IID
"fr.imag.camitk.imaging.component.itkimage")
49 virtual QString
getName()
const override;
76 #endif // ITK_IMAGES_COMPONENT_EXTENSION_H
ItkImageComponentExtension()
the constructor (do nothing really)
Definition: ItkImageComponentExtension.h:69
virtual camitk::Component * open(const QString &) override
get a new instance from data stored in a file.
Definition: ItkImageComponentExtension.cpp:69
virtual QStringList getFileExtensions() const override
get the list of managed extensions (each file with an extension in the list can be loaded by this Ext...
Definition: ItkImageComponentExtension.cpp:62
const QString getFileName() const
get the file name where the data have to be stored/were stored
Definition: sdk/libraries/core/component/Component.cpp:461
This class describes what is a generic Component extension. To add a ComponentExtension to CamiTK cor...
Definition: ComponentExtension.h:83
virtual QString getName() const override
get the plugin name
Definition: ItkImageComponentExtension.cpp:38
virtual bool save(camitk::Component *) const override
save a given Component (does not have to be top-level) into one of the currently managed format.
Definition: ItkImageComponentExtension.cpp:82
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
This class manage Itk images, i.e images that can be loaded in CamiTK by using an ITK importer.
Definition: ItkImageComponent.h:40
ImageComponentExtension()
Constructor protected because the class is virtual.
Definition: ImageComponentExtension.cpp:55
Abstract class created to support export file formats for ImageComponent Any data component plugin cr...
Definition: ImageComponentExtension.h:75
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
This ItkImages Component allows you to manipulate several file provided by ITK.
Definition: ItkImageComponentExtension.h:39
static bool saveImage(camitk::ImageComponent *)
Definition: ItkImageComponentExtension.cpp:263
const char * what() const noexcept
get the detailed reason from the exception
Definition: AbortException.h:99
virtual QString getDescription() const override
get the plugin description (can be html)
Definition: ItkImageComponentExtension.cpp:43
vtkSmartPointer< vtkImageData > getImageData() const override
get the image volume managed by this Component
Definition: ImageComponent.h:123
virtual ~ItkImageComponentExtension()=default
the destructor
#define CAMITK_ERROR_ALT(MSG)
Definition: Log.h:277
Converts a VTK image into an ITK image and plugs a vtk data pipeline to an ITK datapipeline.
Definition: itkVTKImageToImageFilter.h:58
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35