53 #ifndef SMOOTHERPLUGIN_HH 54 #define SMOOTHERPLUGIN_HH 72 #if QT_VERSION >= 0x050000 73 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-SimpleSmoother")
79 void updatedObject(
int _id,
const UpdateType& _type);
80 void setSlotDescription(QString _slotName, QString _slotDescription,
81 QStringList _parameters, QStringList _descriptions);
84 void log(
Logtype _type, QString _message);
85 void log(QString _message);
88 void addToolbox( QString _name , QWidget* _widget, QIcon* _icon);
91 void scriptInfo(QString _functionName);
102 QString
name() {
return (QString(
"Simple Smoother")); };
103 QString
description( ) {
return (QString(
"Smooths the active Mesh")); };
113 void initializePlugin();
122 QString version() {
return QString(
"1.0"); };
125 #endif //SMOOTHERPLUGIN_HH Logtype
Log types for Message Window.
void pluginsInitialized()
Set the scripting slot descriptions.
Interface for all Plugins which provide scriptable Functions.
Interface class from which all plugins have to be created.
QSpinBox * iterationsSpinbox_
SpinBox for Number of iterations.
Plugins can add its own toolbox to the main widget's toolbox area by using this interface.
Interface for all Plugins which do logging to the logging window of the framework.
QString name()
Return a name for the plugin.
QString description()
Return a description of what the plugin is doing.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
Interface class for backup handling.
void simpleLaplace()
simpleLaplace