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
NiftiImageComponentExtension Class Reference

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

#include <NiftiImageComponentExtension.h>

+ Inheritance diagram for NiftiImageComponentExtension:

Public Member Functions

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
 NiftiImageComponentExtension ()
 the constructor (do nothing really)
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)
virtual bool save (Component *component) const
 save a given Component (does not have to be top-level) into one of the currently managed format.

Protected Member Functions

virtual ~NiftiImageComponentExtension ()
 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,

Static Protected Member Functions

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

Private Member Functions

 Q_INTERFACES (camitk::ComponentExtension)

Detailed Description

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

Constructor & Destructor Documentation

NiftiImageComponentExtension::NiftiImageComponentExtension ( )
inline

the constructor (do nothing really)

virtual NiftiImageComponentExtension::~NiftiImageComponentExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

QString NiftiImageComponentExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::ImageComponentExtension.

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

get the plugin name

Reimplemented from camitk::ImageComponentExtension.

Component * NiftiImageComponentExtension::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.

NiftiImageComponentExtension::Q_INTERFACES ( camitk::ComponentExtension  )
private
bool NiftiImageComponentExtension::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 >
bool NiftiImageComponentExtension::saveImage ( ImageComponent img)
staticprotected

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