|
Developer Documentation
|
Public Slots | |
| void | convert (QAction *) |
| convert Converts trimesh to poly and vice versa depending on the Action that was called. | |
| int | convert (int _id, bool _toTriMesh) |
| convert Convert a mesh to PolyMesh or to TriMesh. The old mesh remains unchanged. | |
| QString | version () |
Signals | |
| void | log (Logtype _type, QString _message) |
| void | log (QString _message) |
| void | addToolbar (QToolBar *_toolbar) |
| void | getToolBar (QString _name, QToolBar *&_toolbar) |
| void | addEmptyObject (DataType _type, int &_id) |
| void | updatedObject (int, const UpdateType &_type) |
| void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
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 LoggingInterface | |
| virtual void | log (Logtype _type, QString _message)=0 |
| virtual void | log (QString _message)=0 |
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 ScriptInterface | |
| virtual void | scriptInfo (QString _functionWithParameters) |
| Emit this signal if a scriptable function is executed. | |
| virtual void | getScriptingEngine (QScriptEngine *&_engine) |
| virtual void | executeFileScript (QString _filename) |
| virtual void | getAvailableFunctions (QStringList &_functions) |
Signals inherited from ToolbarInterface | |
| virtual void | addToolbar (QToolBar *_toolbar) |
| Adds a Toolbar to the main widget. | |
Public Member Functions | |
| QString | name () |
| Return a name for the plugin. | |
| QString | description () |
| Return a description of what the plugin is doing. | |
Private Slots | |
| void | initializePlugin () |
| BaseInterface. | |
| void | pluginsInitialized () |
| void | noguiSupported () |
| Tell system that this plugin runs without ui. | |
Private Slots inherited from BaseInterface | |
| virtual void | exit () |
| virtual QString | version () |
| Return a version string for your plugin. | |
Private Attributes | |
| QToolBar * | toolbar |
| QActionGroup * | grp |
| QAction * | bidirectionalConversion |
| QAction * | polyConversion |
| QAction * | triConversion |
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 LoggingInterface | |
| virtual | ~LoggingInterface () |
| Destructor. | |
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 ScriptInterface | |
| virtual | ~ScriptInterface () |
| Destructor. | |
| virtual void | showScriptInEditor (QString _filename) |
| virtual void | executeScript (QString _script) |
| virtual void | getDescription (QString _function, QString &_description, QStringList &_parameters, QStringList &_descriptions) |
Private Member Functions inherited from ToolbarInterface | |
| virtual | ~ToolbarInterface () |
| Destructor. | |
| virtual void | removeToolbar (QToolBar *_toolbar) |
| Remove a Toolbar from the main widget. | |
| virtual void | getToolBar (QString _name, QToolBar *&_toolbar) |
| Get a pointer to a Toolbar of the given name or 0 if it does not exist. | |
Definition at line 51 of file MeshConvert.hh.
| MeshConvertPlugin::MeshConvertPlugin | ( | ) |
Definition at line 105 of file MeshConvert.cc.
| MeshConvertPlugin::~MeshConvertPlugin | ( | ) |
Definition at line 115 of file MeshConvert.cc.
|
slot |
convert Convert a mesh to PolyMesh or to TriMesh. The old mesh remains unchanged.
| _id | Object_ID to determine which object shall be converted. |
| _toTriMesh | Flag to indicate conversion to TriMesh or Polymesh if set to false. |
Definition at line 120 of file MeshConvert.cc.
|
slot |
convert Converts trimesh to poly and vice versa depending on the Action that was called.
Definition at line 151 of file MeshConvert.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 87 of file MeshConvert.hh.
|
privateslot |
Definition at line 58 of file MeshConvert.cc.
|
inlinevirtual |
Return a name for the plugin.
This Function has to return the name of the plugin.
Implements BaseInterface.
Definition at line 86 of file MeshConvert.hh.
|
inlineprivateslot |
Tell system that this plugin runs without ui.
Definition at line 96 of file MeshConvert.hh.
|
privateslot |
Definition at line 64 of file MeshConvert.cc.
|
inlineslot |
Definition at line 122 of file MeshConvert.hh.
|
private |
Definition at line 102 of file MeshConvert.hh.
|
private |
Definition at line 101 of file MeshConvert.hh.
|
private |
Definition at line 103 of file MeshConvert.hh.
|
private |
Definition at line 100 of file MeshConvert.hh.
|
private |
Definition at line 104 of file MeshConvert.hh.