DICOM image Component manager.
More...
#include <DicomComponentExtension.h>
DICOM image Component manager.
- Note
- This Component requires the GDCM library in order to work correctly.
-
This class represents the controller (in the MVP design pattern) of the DICOM Component
◆ DicomComponentExtension()
DicomComponentExtension::DicomComponentExtension |
( |
| ) |
|
|
inline |
◆ ~DicomComponentExtension()
virtual DicomComponentExtension::~DicomComponentExtension |
( |
| ) |
|
|
protectedvirtualdefault |
◆ getDescription()
virtual QString DicomComponentExtension::getDescription |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getFileExtensions()
QStringList DicomComponentExtension::getFileExtensions |
( |
| ) |
const |
|
overridevirtual |
Get the list of managed extensions (each file with an extension in the list can be loaded by this extension)
Implements camitk::ComponentExtension.
◆ getName()
virtual QString DicomComponentExtension::getName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ hasDataDirectory()
bool DicomComponentExtension::hasDataDirectory |
( |
| ) |
const |
|
overridevirtual |
this method returns true as this component loads images from a directory (not a single file)
Reimplemented from camitk::ComponentExtension.
◆ open()
Component * DicomComponentExtension::open |
( |
const QString & |
path | ) |
|
|
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 DicomSeries::getAcquisitionDate(), DicomSeries::getAcquisitionTime(), DicomSeries::getPatientName(), DicomSeries::getSeriesDescription(), DicomDialogEntry::getSeriesName(), DicomSeries::getSeriesName(), DicomDialogEntry::getStudyName(), DicomSeries::getStudyName(), DicomParser::parseDirectory(), DicomDialogEntry::setAcquisitionDate(), DicomDialogEntry::setAcquisitionTime(), DicomDialogEntry::setPatientName(), DicomDialogEntry::setSelected(), DicomDialogEntry::setSeriesDescription(), DicomDialogEntry::setSeriesName(), and DicomDialogEntry::setStudyName().
◆ save()
Save a given Component (does not have to be top-level) into one of the currently managed format.
- Returns
- false if the operation was not performed properly or not performed at all.
Reimplemented from camitk::ComponentExtension.
◆ dialog
The dialog that asks the user which dicom image files he wishes to open.
◆ lastOpenedComponent
Last opened component.
When opening the directory, create 1 component per files Return at least one for the application to know it manages to open the files
◆ seriesDialogEntries
The series dialog entries representation in the VIEW.
◆ seriesParsed
QList<DicomSeries*> DicomComponentExtension::seriesParsed |
|
private |
The different Dicom SERIES parsed.
The documentation for this class was generated from the following files: