Abstract class created to support export file formats for MeshComponent Any data component plugin creating a MeshComponent should inherit from this class.
More...
#include <MeshComponentExtension.h>
|
virtual QString | getDescription () const |
| get the plugin description (can be html) More...
|
|
virtual QString | getName () const |
| get the plugin name More...
|
|
virtual Component * | open (const QString &)=0 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 | ~ComponentExtension () |
| protected destructor, More...
|
|
virtual QStringList | getFileExtensions () const =0 |
| get the list of managed extensions (each file with an extension in the list can be loaded by this Component) 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...
|
|
virtual bool | hasDataDirectory () const |
| return true if this component manages directory instead of individual files (e.g. Dicom series are stored in directories, not files) 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...
|
|
Abstract class created to support export file formats for MeshComponent Any data component plugin creating a MeshComponent should inherit from this class.
camitk::MeshComponentExtension::MeshComponentExtension |
( |
) | |
|
|
protected |
Constructor protected because the class is virtual.
virtual camitk::MeshComponentExtension::~MeshComponentExtension |
( |
) | |
|
|
inlineprotectedvirtual |
virtual QString camitk::MeshComponentExtension::getDescription |
( |
) | |
const |
|
virtual |
virtual QString camitk::MeshComponentExtension::getName |
( |
) | |
const |
|
virtual |
get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
Implements camitk::ComponentExtension.
The documentation for this class was generated from the following file: