26 #ifndef VTK_MESH_COMPONENTEXTENSION_H 27 #define VTK_MESH_COMPONENTEXTENSION_H 42 Q_PLUGIN_METADATA(IID
"fr.imag.camitk.sdk.component.vtkmesh")
49 virtual QString
getName()
const;
virtual bool save(camitk::Component *) const
save a MeshComponent to Vtk (does not have to be top-level).
Definition: VtkMeshComponentExtension.cpp:54
Exception class to handle abortion in component instanciation.
Definition: AbortException.h:43
virtual QString getName() const
get the plugin name
Definition: VtkMeshComponentExtension.cpp:32
This Vtk ComponentExtension allows you to manipulate VTK files (unstructured grid and polydata files)...
Definition: VtkMeshComponentExtension.h:39
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 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: VtkMeshComponentExtension.cpp:49
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: VtkMeshComponentExtension.cpp:42
virtual ~VtkMeshComponentExtension()
the destructor
Definition: VtkMeshComponentExtension.h:68
Abstract class created to support export file formats for MeshComponent Any data component plugin cre...
Definition: MeshComponentExtension.h:52
MeshComponentExtension()
Constructor protected because the class is virtual.
Definition: MeshComponentExtension.cpp:37
virtual QString getDescription() const
get the plugin description (can be html)
Definition: VtkMeshComponentExtension.cpp:37
VtkMeshComponentExtension()
the constructor (do nothing really)
Definition: VtkMeshComponentExtension.h:46