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>
Public Member Functions | |
QString | getDescription () const override |
get the plugin description (can be html) More... | |
QString | getName () const override |
get the plugin name More... | |
Component * | open (const QString &) override=0 |
get a new instance from data stored in a file This method may throw an AbortException if a problem occurs. More... | |
Public Member Functions inherited from camitk::ComponentExtension | |
~ComponentExtension () override=default | |
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... | |
void | initResources () |
Load, for the selected langage (asked to the Application), the associated .qm file. More... | |
Protected Member Functions | |
MeshComponentExtension () | |
Constructor protected because the class is virtual. More... | |
~MeshComponentExtension ()=default | |
the destructor More... | |
Protected Member Functions inherited from camitk::ComponentExtension | |
ComponentExtension () | |
protected constructor, More... | |
Abstract class created to support export file formats for MeshComponent Any data component plugin creating a MeshComponent should inherit from this class.
|
protected |
Constructor protected because the class is virtual.
|
protecteddefault |
the destructor
|
overridevirtual |
get the plugin description (can be html)
Implements camitk::ComponentExtension.
Reimplemented in VRMLComponentExtension, MshExtension, PMLComponentExtension, ObjExtension, OffExtension, VtkMeshComponentExtension, and StlExtension.
|
overridevirtual |
get the plugin name
Implements camitk::ComponentExtension.
Reimplemented in VRMLComponentExtension, MshExtension, PMLComponentExtension, ObjExtension, OffExtension, VtkMeshComponentExtension, and StlExtension.
|
overridepure virtual |
get a new instance from data stored in a file This method may throw an AbortException if a problem occurs.
Implements camitk::ComponentExtension.
Implemented in VRMLComponentExtension, PMLComponentExtension, MshExtension, ObjExtension, OffExtension, StlExtension, and VtkMeshComponentExtension.