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 | Static Protected Member Functions | Private Member Functions | List of all members
ItkImageComponentExtension Class Reference

This ItkImages ComponentExtension allows you to manipulate any files handled by itk. More...

#include <ItkImageComponentExtension.h>

+ Inheritance diagram for ItkImageComponentExtension:

Public Member Functions

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...
 
 ItkImageComponentExtension ()
 the constructor (do nothing really) More...
 
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) 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. More...
 
template<class ImageType >
bool saveImage (ImageComponent *img)
 

Protected Member Functions

virtual ~ItkImageComponentExtension ()
 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...
 

Static Protected Member Functions

template<class ImageType >
static bool saveImage (ImageComponent *img)
 

Private Member Functions

 Q_INTERFACES (camitk::ComponentExtension)
 

Detailed Description

This ItkImages ComponentExtension allows you to manipulate any files handled by itk.

Constructor & Destructor Documentation

ItkImageComponentExtension::ItkImageComponentExtension ( )
inline

the constructor (do nothing really)

virtual ItkImageComponentExtension::~ItkImageComponentExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

QString ItkImageComponentExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::ImageComponentExtension.

QStringList ItkImageComponentExtension::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 ItkImageComponentExtension::getName ( ) const
virtual

get the plugin name

Reimplemented from camitk::ImageComponentExtension.

Component * ItkImageComponentExtension::open ( const QString &  fileName) 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.

ItkImageComponentExtension::Q_INTERFACES ( camitk::ComponentExtension  )
private
bool ItkImageComponentExtension::save ( Component component) const
virtual

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.

References camitk::ImageComponent::getImageData().

template<class ImageType >
static bool ItkImageComponentExtension::saveImage ( ImageComponent img)
staticprotected
template<class ImageType >
bool ItkImageComponentExtension::saveImage ( ImageComponent img)

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