Computer Assited Medical Intervention Tool Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
DicomComponentExtension Class Reference

#include <DicomComponentExtension.h>

+ Inheritance diagram for DicomComponentExtension:

Public Member Functions

 DicomComponentExtension ()
 the constructor (do nothing really)
virtual QString getDescription () const
 get the plugin description (can be html)
virtual QStringList getFileExtensions () const
 get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
virtual QString getName () const
 get the plugin name
virtual bool hasDataDirectory () const
 this method returns true as DICOM do not use file extension but directory
virtual Componentopen (const QString &) throw (AbortException)
 get a new instance from data stored in a file (this is the most important method to redefine in your subclass)

Protected Member Functions

bool chooseDicomSeriesIds () throw (AbortException)
 Shows a dialog to the user to choose which volume should be read.
bool findAllDicomSeries (const QString &)
 Explores the dicom directory to find all dicom volumes and needed info.
virtual ~DicomComponentExtension ()
 the destructor
- Protected Member Functions inherited from camitk::ImageComponentExtension
 ImageComponentExtension ()
 Constructor protected because the class is virtual.
virtual ~ImageComponentExtension ()
 the destructor
- Protected Member Functions inherited from camitk::ComponentExtension
 ComponentExtension ()
 protected constructor,

Protected Attributes

std::map< SomeDicomInfo
*, FileNamesContainerType
theSeries

Private Member Functions

 Q_INTERFACES (camitk::ComponentExtension)

Constructor & Destructor Documentation

DicomComponentExtension::DicomComponentExtension ( )
inline

the constructor (do nothing really)

virtual DicomComponentExtension::~DicomComponentExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

bool DicomComponentExtension::chooseDicomSeriesIds ( ) throw (AbortException)
protected

Shows a dialog to the user to choose which volume should be read.

References CAMITK_INFO, description, and theSeries.

bool DicomComponentExtension::findAllDicomSeries ( const QString &  directoryName)
protected
QString DicomComponentExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::ImageComponentExtension.

QStringList DicomComponentExtension::getFileExtensions ( ) const
virtual

get the list of managed extensions (each file with an extension in the list can be loaded by this Extension

Implements camitk::ComponentExtension.

QString DicomComponentExtension::getName ( ) const
virtual

get the plugin name

Reimplemented from camitk::ImageComponentExtension.

bool DicomComponentExtension::hasDataDirectory ( ) const
virtual

this method returns true as DICOM do not use file extension but directory

Reimplemented from camitk::ComponentExtension.

Component * DicomComponentExtension::open ( const QString &  directoryName) throw (AbortException)
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().

DicomComponentExtension::Q_INTERFACES ( camitk::ComponentExtension  )
private

Member Data Documentation

std::map<SomeDicomInfo *, FileNamesContainerType> DicomComponentExtension::theSeries
protected

The documentation for this class was generated from the following files: