Developer Documentation
VolumeMeshConvertPlugin Class Reference
Inheritance diagram for VolumeMeshConvertPlugin:
BaseInterface LoggingInterface LoadSaveInterface ScriptInterface ToolbarInterface

Public Slots

int convertToHexMesh (int _id)
 
int convertToTetMesh (int _id)
 
int convertToPolyhedralMesh (int _id)
 
QString version () override
 

Signals

void log (Logtype _type, QString _message) override
 
void log (QString _message) override
 
void addToolbar (QToolBar *_toolbar) override
 
void getToolBar (QString _name, QToolBar *&_toolbar) override
 
void addEmptyObject (DataType _type, int &_id) override
 
void updatedObject (int, const UpdateType &_type) override
 
void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) override
 
- Signals inherited from BaseInterface
virtual void updateView ()
 Update current view in Main Application. More...
 
virtual void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 Set a description for a public slot. More...
 
virtual void setRenderer (unsigned int _viewer, QString _rendererName)
 Set a renderer for the given viewer. More...
 
- 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. More...
 
virtual void load (QString _filename, DataType _type, int &_id)
 Load object from file with a specific DataType. More...
 
- Signals inherited from ScriptInterface
virtual void scriptInfo (QString _functionWithParameters)
 Emit this signal if a scriptable function is executed. More...
 
virtual void getScriptingEngine (QScriptEngine *&_engine)
 
virtual void executeScript (QString _script)
 
virtual void getAvailableFunctions (QStringList &_functions)
 
- Signals inherited from ToolbarInterface
virtual void addToolbar (QToolBar *_toolbar)
 Adds a Toolbar to the main widget. More...
 

Public Member Functions

QString name () override
 Return a name for the plugin. More...
 
QString description () override
 Return a description of what the plugin is doing. More...
 

Private Slots

void initializePlugin () override
 BaseInterface.
 
void pluginsInitialized () override
 
void noguiSupported () override
 Tell system that this plugin runs without ui.
 
void handleQAction (QAction *)
 convert Converts polyhedralmesh to hex/tet mesh and vice versa depending on the Action that was called.
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin. More...
 

Private Attributes

QToolBar * toolbar_ = nullptr
 
QActionGroup * grp_ = nullptr
 
QAction * actionToHex_ = nullptr
 
QAction * actionToTet_ = nullptr
 
QAction * actionToPoly_ = nullptr
 

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. More...
 
virtual void updatedObject (int _objectId)
 An object has been changed or added by this plugin. More...
 
virtual void updatedObject (int _identifier, const UpdateType &_type)
 An object has been changed or added by this plugin. More...
 
virtual void nodeVisibilityChanged (int _identifier)
 A scenegraph node has been shown or hidden. More...
 
virtual void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 Get the current renderer for the given viewer. More...
 
- 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. More...
 
virtual void deleteObject (int _id)
 Delete an object
This signal can be called from any thread.
. More...
 
virtual void deleteAllObjects ()
 Delete all Objects. More...
 
virtual void getAllFileFilters (QStringList &_filters)
 Get all file filters that are registered. More...
 
- Private Member Functions inherited from ScriptInterface
virtual ~ScriptInterface ()
 Destructor.
 
virtual void executeFileScript (QString _filename)
 
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. More...
 
virtual void getToolBar (QString _name, QToolBar *&_toolbar)
 Get a pointer to a Toolbar of the given name or 0 if it does not exist. More...
 

Detailed Description

Definition at line 51 of file VolumeMeshConvert.hh.

Member Function Documentation

◆ description()

QString VolumeMeshConvertPlugin::description ( )
inlineoverridevirtual

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 92 of file VolumeMeshConvert.hh.

◆ name()

QString VolumeMeshConvertPlugin::name ( )
inlineoverridevirtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 91 of file VolumeMeshConvert.hh.


The documentation for this class was generated from the following files: