![]() |
Computer Assited Medical Intervention Tool Kit
version 4.0
|
Manage the STL extension. More...
#include <StlExtension.h>
Inherits camitk::ComponentExtension.
Public Member Functions | |
virtual QString | getDescription () const |
Method returning the component extension description. 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 |
Method returning the component extension name. More... | |
camitk::Component * | open (const QString &) throw (camitk::AbortException) |
Get a new instance from data stored in a file (this is the most important method to redefine in your subclass) More... | |
bool | save (camitk::Component *component) const |
Save a given Component (does not have to be top-level) into one of the currently managed format. More... | |
StlExtension () | |
Constructor. More... | |
![]() | |
virtual | ~ComponentExtension () |
protected destructor, 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 | |
virtual | ~StlExtension () |
Destructor. More... | |
![]() | |
ComponentExtension () | |
protected constructor, More... | |
Manage the STL extension.
Exporting to STL is supported very simply thanks to vtkSTLWriter.
|
inline |
Constructor.
References getDescription(), getFileExtensions(), getName(), open(), and save().
|
inlineprotectedvirtual |
Destructor.
|
virtual |
Method returning the component extension description.
Implements camitk::ComponentExtension.
Referenced by StlExtension().
|
virtual |
Get the list of managed extensions (each file with an extension in the list can be loaded by this extension)
Implements camitk::ComponentExtension.
Referenced by StlExtension().
|
virtual |
Method returning the component extension name.
Implements camitk::ComponentExtension.
Referenced by StlExtension().
|
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.
Referenced by StlExtension().
|
virtual |
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().
Referenced by StlExtension().