This VRML Component allows you to manipulate VRML files (unstructured grid and polydata files).
More...
#include <VRMLComponentExtension.h>
Public Member Functions |
virtual QString | getDescription () const |
| get the plugin description (can be html)
|
virtual QStringList | getFileExtensions () const |
| get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
|
virtual QString | getName () const |
| get the plugin name
|
virtual Component * | open (const QString &) throw (AbortException) |
| get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
|
virtual bool | save (Component *) const |
| save the given MeshComponent to VRML (does not have to be top-level).
|
| VRMLComponentExtension () |
| the constructor (do nothing really)
|
Detailed Description
This VRML Component allows you to manipulate VRML files (unstructured grid and polydata files).
This component shows:
- how to build subcomponents
- how to extend a MeshComponent
- add an save to facility,
- See Also
- save()
Thanks to this extension, any mesh component of CamiTK can now be exported to VRML (Although this is not really a good example as VTK does not know how to export a single component to VRML but can only export the whole scene, see save() comment).
- Author
- Emmanuel Promayon
Constructor & Destructor Documentation
VRMLComponentExtension::VRMLComponentExtension |
( |
| ) |
|
|
inline |
the constructor (do nothing really)
virtual VRMLComponentExtension::~VRMLComponentExtension |
( |
| ) |
|
|
inlineprotectedvirtual |
Member Function Documentation
QString VRMLComponentExtension::getDescription |
( |
| ) |
const |
|
virtual |
QStringList VRMLComponentExtension::getFileExtensions |
( |
| ) |
const |
|
virtual |
get the list of managed extensions (each file with an extension in the list can be loaded by this Extension
Implements camitk::ComponentExtension.
QString VRMLComponentExtension::getName |
( |
| ) |
const |
|
virtual |
get a new instance from data stored in a file (this is the most important method to redefine in your subclass)
Implements camitk::MeshComponentExtension.
bool VRMLComponentExtension::save |
( |
Component * |
component | ) |
const |
|
virtual |
The documentation for this class was generated from the following files: