Manage the STL extension. More...
#include <StlExtension.h>
Public Member Functions | |
virtual QString | getDescription () const override |
Method returning the component extension description. | |
virtual QStringList | getFileExtensions () const override |
Get the list of managed extensions. | |
virtual QString | getName () const override |
Method returning the component extension name. | |
camitk::Component * | open (const QString &) override |
Get a new instance from data stored in a file. | |
bool | save (camitk::Component *component) const override |
Save a given Component (does not have to be top-level) into one of the currently managed format. | |
StlExtension () | |
Constructor. | |
![]() | |
~ComponentExtension () override=default | |
protected destructor, | |
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) | |
QString | getLocation () const |
get the file path (location of the .dll/.so/.dylib) of this plugin | |
void | setLocation (const QString loc) |
set the file path (once loaded as a dynamic library) | |
void | initResources () |
Load, for the selected langage (asked to the Application), the associated .qm file. | |
Protected Member Functions | |
virtual | ~StlExtension ()=default |
Destructor. | |
![]() | |
MeshComponentExtension () | |
Constructor protected because the class is virtual. | |
~MeshComponentExtension ()=default | |
the destructor | |
![]() | |
ComponentExtension () | |
protected constructor, | |
Manage the STL extension.
Exporting to STL is supported very simply thanks to vtkSTLWriter.
|
inline |
Constructor.
|
protectedvirtualdefault |
Destructor.
|
overridevirtual |
Method returning the component extension description.
Reimplemented from camitk::MeshComponentExtension.
|
overridevirtual |
Get the list of managed extensions.
Implements camitk::ComponentExtension.
|
overridevirtual |
Method returning the component extension name.
Reimplemented from camitk::MeshComponentExtension.
|
overridevirtual |
Get a new instance from data stored in a file.
This method may throw an AbortException if a problem occurs.
Implements camitk::MeshComponentExtension.
|
overridevirtual |
Save a given Component (does not have to be top-level) into one of the currently managed format.
Reimplemented from camitk::ComponentExtension.
References camitk::Component::getDataPort, camitk::Component::getFileName(), and camitk::Component::refresh().