DICOM image Component manager. More...
#include <DicomComponentExtension.h>
Inheritance diagram for DicomComponentExtension:
Collaboration diagram for DicomComponentExtension:Public Member Functions | |
| DicomComponentExtension () | |
| Constructor. | |
| virtual QString | getDescription () const override |
| Method returning the component extension description. | |
| virtual QStringList | getFileExtensions () const override |
| Get the list of managed extensions (each file with an extension in the list can be loaded by this extension) | |
| virtual QString | getName () const override |
| Method returning the component extension name. | |
| virtual bool | hasDataDirectory () const override |
| this method returns true as this component loads images from a directory (not a single file) | |
| 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 AbortException if a problem occurs. | |
| 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. | |
Public Member Functions inherited from camitk::ComponentExtension | |
| ~ComponentExtension () override=default | |
| protected destructor, | |
| QString | getLocation () const |
| get the file path (location of the .dll/.so/.dylib) of this plugin | |
| void | setLocation (const QString loc) |
| set the file path (once loaded as a dynamic library) | |
| void | initResources () |
| Load, for the selected langage (asked to the Application), the associated .qm file. | |
Protected Member Functions | |
| virtual | ~DicomComponentExtension ()=default |
| Destructor. | |
Protected Member Functions inherited from camitk::ComponentExtension | |
| ComponentExtension () | |
| protected constructor, | |
DICOM image Component manager.
|
inline |
Constructor.
|
protectedvirtualdefault |
Destructor.
|
inlineoverridevirtual |
Method returning the component extension description.
Implements camitk::ComponentExtension.
|
overridevirtual |
Get the list of managed extensions (each file with an extension in the list can be loaded by this extension)
Implements camitk::ComponentExtension.
|
inlineoverridevirtual |
Method returning the component extension name.
Implements camitk::ComponentExtension.
|
overridevirtual |
this method returns true as this component loads images from a directory (not a single file)
Reimplemented from camitk::ComponentExtension.
|
overridevirtual |
Open a single .dcm image or a directory containing files to be read This method may throw an AbortException if a problem occurs.
Implements camitk::ComponentExtension.
References DicomDialog::getSelectedDicomDialogEntries(), DicomParser::parseDirectory(), DicomDialogEntry::setAcquisitionDate(), DicomDialogEntry::setAcquisitionTime(), DicomDialogEntry::setPatientName(), DicomDialogEntry::setSelected(), DicomDialogEntry::setSeriesDescription(), DicomDialogEntry::setSeriesName(), and DicomDialogEntry::setStudyName().
Here is the call graph for this function:
|
overridevirtual |
Save a given Component (does not have to be top-level) into one of the currently managed format.
Reimplemented from camitk::ComponentExtension.