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

This vtkImages ComponentExtension allows you to manipulate any files handled by vtk. More...

#include <VtkImageComponentExtension.h>

+ Inheritance diagram for VtkImageComponentExtension:

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...
 
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...
 
 VtkImageComponentExtension ()
 the constructor (do nothing really) More...
 

Protected Member Functions

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

Private Member Functions

 Q_INTERFACES (camitk::ComponentExtension)
 

Detailed Description

This vtkImages ComponentExtension allows you to manipulate any files handled by vtk.

Constructor & Destructor Documentation

VtkImageComponentExtension::VtkImageComponentExtension ( )
inline

the constructor (do nothing really)

virtual VtkImageComponentExtension::~VtkImageComponentExtension ( )
inlineprotectedvirtual

the destructor

Member Function Documentation

QString VtkImageComponentExtension::getDescription ( ) const
virtual

get the plugin description (can be html)

Reimplemented from camitk::ImageComponentExtension.

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

get the plugin name

Reimplemented from camitk::ImageComponentExtension.

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

VtkImageComponentExtension::Q_INTERFACES ( camitk::ComponentExtension  )
private
bool VtkImageComponentExtension::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::Component::getFileName(), and camitk::ImageComponent::getImageData().


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