|
Developer Documentation
|
Public Slots | |
| QString | version () |
Signals | |
| void | log (Logtype _type, QString _message) |
| void | log (QString _message) |
| void | emptyObjectAdded (int _id) |
Signals inherited from BaseInterface | |
| virtual void | updateView () |
| Update current view in Main Application. | |
| virtual void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
| Set a description for a public slot. | |
| virtual void | setRenderer (unsigned int _viewer, QString _rendererName) |
| Set a renderer for the given viewer. | |
Signals inherited from LoadSaveInterface | |
| virtual void | save (int _id, QString _filename) |
| Save object to a file. | |
| virtual void | load (QString _filename, DataType _type, int &_id) |
| Load object from file with a specific DataType. | |
Signals inherited from LoggingInterface | |
| virtual void | log (Logtype _type, QString _message)=0 |
| virtual void | log (QString _message)=0 |
Signals inherited from TypeInterface | |
| virtual void | emptyObjectAdded (int _id) |
| Emit this signal if an empty object has been created. | |
Public Member Functions | |
| QString | name () |
| Return a name for the plugin. | |
| QString | description () |
| Return a description of what the plugin is doing. | |
| bool | registerType () |
| int | addEmpty () |
| Create an empty object. | |
| DataType | supportedType () |
| Return your supported object type( e.g. DATA_TRIANGLE_MESH ) | |
| void | generateBackup (int _id, QString _name, UpdateType _type) |
| This slot should be implemented in a TypePlugin to generate type specific backups. | |
Private Slots | |
| void | noguiSupported () |
Private Slots inherited from BaseInterface | |
| virtual void | exit () |
| virtual QString | version () |
| Return a version string for your plugin. | |
Private Slots inherited from TypeInterface | |
Additional Inherited Members | |
Private Member Functions inherited from BaseInterface | |
| virtual void | noguiSupported () |
| virtual | ~BaseInterface () |
| Destructor. | |
| virtual void | blockScenegraphUpdates (bool _block) |
| Tell the core to prevent scenegraph updates. | |
| virtual void | updatedObject (int _objectId) |
| An object has been changed or added by this plugin. | |
| virtual void | updatedObject (int _identifier, const UpdateType &_type) |
| An object has been changed or added by this plugin. | |
| virtual void | nodeVisibilityChanged (int _identifier) |
| A scenegraph node has been shown or hidden. | |
| virtual void | getCurrentRenderer (unsigned int _viewer, QString &_rendererName) |
| Get the current renderer for the given viewer. | |
Private Member Functions inherited from LoadSaveInterface | |
| virtual | ~LoadSaveInterface () |
| Destructor. | |
| virtual void | addEmptyObject (DataType _type, int &_id) |
| virtual void | copyObject (int _oldId, int &_newId) |
| virtual void | emptyObjectAdded (int _id) |
| DEPRECATED HERE (Moved to Type Interface)! Emit this signal if an empty object has been created. | |
| virtual void | deleteObject (int _id) |
| Delete an object This signal can be called from any thread. . | |
| virtual void | deleteAllObjects () |
| Delete all Objects. | |
| virtual void | getAllFileFilters (QStringList &_filters) |
| Get all file filters that are registered. | |
Private Member Functions inherited from LoggingInterface | |
| virtual | ~LoggingInterface () |
| Destructor. | |
Private Member Functions inherited from TypeInterface | |
| virtual | ~TypeInterface () |
| Destructor. | |
Definition at line 60 of file TypePolyMesh.hh.
|
inline |
Definition at line 84 of file TypePolyMesh.hh.
| TypePolyMeshPlugin::TypePolyMeshPlugin | ( | ) |
Definition at line 53 of file TypePolyMesh.cc.
|
virtual |
Create an empty object.
When this slot is called you have to create an object of your supported type.
Implements TypeInterface.
Definition at line 68 of file TypePolyMesh.cc.
|
inlinevirtual |
Return a description of what the plugin is doing.
This function has to return a basic description of the plugin
Implements BaseInterface.
Definition at line 88 of file TypePolyMesh.hh.
|
virtual |
This slot should be implemented in a TypePlugin to generate type specific backups.
| _id | Id of the added object |
| _name | name of the backup |
| _type | the type of backup that needs to be done |
Reimplemented from TypeInterface.
Definition at line 108 of file TypePolyMesh.cc.
|
inlinevirtual |
Return a name for the plugin.
This Function has to return the name of the plugin.
Implements BaseInterface.
Definition at line 87 of file TypePolyMesh.hh.
|
inlineprivateslot |
Definition at line 80 of file TypePolyMesh.hh.
|
virtual |
Implements TypeInterface.
Definition at line 59 of file TypePolyMesh.cc.
|
inlinevirtual |
Return your supported object type( e.g. DATA_TRIANGLE_MESH )
The function is used from addEmpty in the core to check if your plugin can create an object of a given dataType. If so, your addEmpty function will be invoked to create it.
Implements TypeInterface.
Definition at line 99 of file TypePolyMesh.hh.
|
inlineslot |
Definition at line 95 of file TypePolyMesh.hh.