50#ifndef SMOOTHERPLUGIN_HH
51#define SMOOTHERPLUGIN_HH
72#include "SmootherToolbarWidget.hh"
90 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-Smoother")
99 void setSlotDescription(QString _slotName, QString _slotDescription,
100 QStringList _parameters, QStringList _descriptions);
103 void log(
Logtype _type, QString _message);
104 void log(QString _message);
107 void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
113 void scriptInfo(QString _functionName);
124 QString
name(){
return (QString(
"Smoother")); };
127 QString
description() {
return (QString(
"Mesh Smoothing ...")); };
131 void initializePlugin();
166 void smooth(
int _objectId ,
int _iterations , QString _direction , QString _continuity,
double _maxDistance = -1.0,
bool _respectFeatures =
true);
171 QString version() {
return QString(
"1.0"); };
Logtype
Log types for Message Window.
Interface class for backup handling.
Interface class from which all plugins have to be created.
Interface for all Plugins which do logging to the logging window of the framework.
Interface class for exporting functions to python.
Interface for all Plugins which provide scriptable Functions.
QIcon * toolIcon_
Icon of the toolbox.
QString name()
Name of the Plugin.
SmootherToolbarWidget * tool_
Widget for Toolbox.
QString description()
Description of the Plugin.
void pluginsInitialized()
Second initialization stage.
~SmootherPlugin()
default destructor
void smooth(int _objectId, int _iterations, QString _direction, QString _continuity, double _maxDistance=-1.0, bool _respectFeatures=true)
smooth an object
void noguiSupported()
Tell system that this plugin runs without ui.
SmootherPlugin()
default constructor
void slot_smooth()
Slot connected to the smooth button in the toolbox.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.