![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
This allows you to manipulate a limited number of dicom images. More...
#include <DicomItkComponentExtension.h>
Inherits camitk::ImageComponentExtension.
Public Member Functions | |
DicomItkComponentExtension () | |
the constructor (do nothicamitk::ng really) More... | |
virtual QString | getDescription () const |
get the plugin description (can be html) More... | |
virtual QStringList | getFileExtensions () const |
get the list of managed extensions (each file with an extension in the list can be loaded by this Extension More... | |
virtual QString | getName () const |
get the plugin name More... | |
virtual bool | hasDataDirectory () const |
this method returns true as DICOM do not use file extension but directory More... | |
virtual camitk::Component * | open (const QString &) throw (camitk::AbortException) |
get a new instance from data stored in a file (this is the most important method to redefine in your subclass) More... | |
![]() | |
virtual | ~ComponentExtension () |
protected destructor, More... | |
virtual bool | save (Component *component) const |
save a given Component (does not have to be top-level) into one of the currently managed format (check the component QFileInfo(component->getFileName()).completeSuffix(). More... | |
QString | getLocation () const |
get the file path (location of the .dll/.so/.dylib) of this plugin More... | |
void | setLocation (const QString loc) |
set the file path (once loaded as a dynamic library) More... | |
void | initResources () |
Load, for the selected langage (asked to the Application), the associated .qm file. More... | |
Protected Member Functions | |
bool | chooseDicomSeriesIds () throw (camitk::AbortException) |
Shows a dialog to the user to choose which volume should be read. More... | |
bool | findAllDicomSeries (const QString &) |
Explores the dicom directory to find all dicom volumes and needed info. More... | |
virtual | ~DicomItkComponentExtension () |
the destructor More... | |
![]() | |
ImageComponentExtension () | |
Constructor protected because the class is virtual. More... | |
virtual | ~ImageComponentExtension () |
the destructor More... | |
![]() | |
ComponentExtension () | |
protected constructor, More... | |
Protected Attributes | |
std::map< SomeDicomInfo *, FileNamesContainerType > | theSeries |
Map storing series For each series, it contains: More... | |
Private Member Functions | |
Q_INTERFACES (camitk::ComponentExtension) | |
This allows you to manipulate a limited number of dicom images.
|
inline |
the constructor (do nothicamitk::ng really)
References getDescription(), getFileExtensions(), getName(), hasDataDirectory(), and open().
|
inlineprotectedvirtual |
the destructor
References chooseDicomSeriesIds(), and findAllDicomSeries().
|
protected |
Shows a dialog to the user to choose which volume should be read.
References CAMITK_INFO, and description.
Referenced by ~DicomItkComponentExtension().
|
protected |
Explores the dicom directory to find all dicom volumes and needed info.
References SomeDicomInfo::bitsAllocated, CAMITK_INFO, SomeDicomInfo::columns, ComponentM_BitsAllocated, ComponentM_Columns, ComponentM_HighBit, ComponentM_Modality, ComponentM_NumberOfTemporalPositions, ComponentM_ProtocolName, ComponentM_Rows, ComponentM_SeriesDescription, ComponentM_StudyDescription, SomeDicomInfo::highBit, SomeDicomInfo::modality, SomeDicomInfo::numberOfTemporalPositions, SomeDicomInfo::protocolName, SomeDicomInfo::rows, SomeDicomInfo::seriesDescription, SomeDicomInfo::slices, and SomeDicomInfo::studyDescription.
Referenced by ~DicomItkComponentExtension().
|
virtual |
get the plugin description (can be html)
Reimplemented from camitk::ImageComponentExtension.
Referenced by DicomItkComponentExtension().
|
virtual |
get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
Implements camitk::ComponentExtension.
Referenced by DicomItkComponentExtension().
|
virtual |
get the plugin name
Reimplemented from camitk::ImageComponentExtension.
Referenced by DicomItkComponentExtension().
|
virtual |
this method returns true as DICOM do not use file extension but directory
Reimplemented from camitk::ComponentExtension.
Referenced by DicomItkComponentExtension().
|
virtual |
get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
Implements camitk::ImageComponentExtension.
References camitk::AbortException::what().
Referenced by DicomItkComponentExtension().
|
private |
|
protected |
Map storing series For each series, it contains: