26 #ifndef DICOMCOMPONENTEXTENSION_H
27 #define DICOMCOMPONENTEXTENSION_H
52 Q_PLUGIN_METADATA(IID
"fr.imag.camitk.sdk.component.dicom")
59 virtual QString
getName()
const override {
65 return "This extension adds support for DICOM single image file (.dcm) and series thanks to the gdcm library";
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
DICOM image Component manager.
Definition: DicomComponentExtension.h:49
virtual ~DicomComponentExtension()=default
Destructor.
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: DicomComponentExtension.cpp:43
virtual bool hasDataDirectory() const override
this method returns true as this component loads images from a directory (not a single file)
Definition: DicomComponentExtension.cpp:120
virtual QString getName() const override
Method returning the component extension name.
Definition: DicomComponentExtension.h:59
virtual QString getDescription() const override
Method returning the component extension description.
Definition: DicomComponentExtension.h:64
virtual camitk::Component * open(const QString &) override
Open a single .dcm image or a directory containing files to be read This method may throw an AbortExc...
Definition: DicomComponentExtension.cpp:51
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: DicomComponentExtension.cpp:110
DicomComponentExtension()
Constructor.
Definition: DicomComponentExtension.h:56
This class represents a line in the Dialog box of the DICOM series the user is prompted to open.
Definition: DicomDialogEntry.h:41
Dialog class to select the DICOM series to open, using a GUI.
Definition: DicomDialog.h:46
DicomSeries is a CamiTK high level class to represent a DICOM SERIES This class encapsulates GDCM obj...
Definition: DicomSeries.h:45
This class describes what is a generic Component extension.
Definition: ComponentExtension.h:60
ComponentExtension()
protected constructor,
Definition: ComponentExtension.cpp:35
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:303
Definition: Action.cpp:36