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

This allows you to manipulate a limited number of dicom images. More...

#include <DicomComponentExtension.h>

+ Inheritance diagram for DicomComponentExtension:

Public Member Functions

 DicomComponentExtension ()
 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::Componentopen (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...
 
- Public Member Functions inherited from camitk::ComponentExtension
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...
 

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 ~DicomComponentExtension ()
 the destructor More...
 
- Protected Member Functions inherited from camitk::ImageComponentExtension
 ImageComponentExtension ()
 Constructor protected because the class is virtual. More...
 
virtual ~ImageComponentExtension ()
 the destructor More...
 
- Protected Member Functions inherited from camitk::ComponentExtension
 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)
 

Detailed Description

This allows you to manipulate a limited number of dicom images.

Constructor & Destructor Documentation

DicomComponentExtension::DicomComponentExtension ( )
inline

the constructor (do nothicamitk::ng really)

virtual DicomComponentExtension::~DicomComponentExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

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

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

bool DicomComponentExtension::findAllDicomSeries ( const QString &  )
protected

Explores the dicom directory to find all dicom volumes and needed info.

virtual QString DicomComponentExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::ImageComponentExtension.

virtual 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.

virtual QString DicomComponentExtension::getName ( ) const
virtual

get the plugin name

Reimplemented from camitk::ImageComponentExtension.

virtual bool DicomComponentExtension::hasDataDirectory ( ) const
virtual

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

Reimplemented from camitk::ComponentExtension.

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

DicomComponentExtension::Q_INTERFACES ( camitk::ComponentExtension  )
private

Member Data Documentation

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

Map storing series For each series, it contains:

  • Key: some infos read in the dicom headers (SomeDicomInfo)
  • Data: set of filenames needed to build the 3D Volume

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