26 #ifndef STLEXTENSION_H 27 #define STLEXTENSION_H 42 Q_PLUGIN_METADATA(IID
"fr.imag.camitk.sdk.component.stl")
49 virtual QString
getName()
const;
76 #endif // STLEXTENSION_H StlExtension()
Constructor.
Definition: StlExtension.h:46
Exception class to handle abortion in component instanciation.
Definition: AbortException.h:43
This class describes what is a generic Component extension.
Definition: ComponentExtension.h:63
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:299
virtual ~StlExtension()
Destructor.
Definition: StlExtension.h:72
virtual QString getName() const
Method returning the component extension name.
Definition: StlExtension.cpp:35
camitk::Component * open(const QString &)
Get a new instance from data stored in a file (this is the most important method to redefine in your ...
Definition: StlExtension.cpp:54
ComponentExtension()
protected constructor,
Definition: ComponentExtension.cpp:39
virtual QString getDescription() const
Method returning the component extension description.
Definition: StlExtension.cpp:40
Manage the STL extension.
Definition: StlExtension.h:39
virtual QStringList getFileExtensions() const
Get the list of managed extensions (each file with an extension in the list can be loaded by this ext...
Definition: StlExtension.cpp:46
bool save(camitk::Component *component) const
Save a given Component (does not have to be top-level) into one of the currently managed format...
Definition: StlExtension.cpp:59