56 #include "IsotropicRemesherToolbox.hh" 57 #include "ProgressEmitter.hh" 75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-IsotropicRemesher")
82 void updatedObject(
int _id,
const UpdateType& _type);
84 void setSlotDescription(QString _slotName, QString _slotDescription,
85 QStringList _parameters, QStringList _descriptions);
88 void log(
Logtype _type, QString _message );
89 void log( QString _message );
92 void pluginExists( QString _pluginName ,
bool& _exists ) ;
93 void functionExists( QString _pluginName , QString _functionName ,
bool& _exists );
96 void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
99 void startJob( QString _jobId, QString _description,
int _min,
int _max,
bool _blocking =
false);
100 void setJobState(QString _jobId,
int _value);
101 void setJobName(QString _jobId, QString _name);
102 void finishJob(QString _jobId);
103 void setJobDescription(QString _jobId, QString _description);
109 void scriptInfo(QString _functionName);
121 QString
name() {
return (QString(
"IsotropicRemesher")); };
122 QString
description( ) {
return (QString(
"an isotropic remesher")); };
135 void slotRemeshButtonClicked();
136 void slotSetMinLength();
137 void slotSetMaxLength();
138 void slotSetMeanLength();
140 void threadFinished(QString _jobId);
144 void isotropicRemesh(
int _objectID,
double _targetEdgeLength );
148 QString version() {
return QString(
"1.0"); };
Interface to call functions across plugins.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
QString description()
Return a description of what the plugin is doing.
Interface class for Thread handling.
Logtype
Log types for Message Window.
Interface for all Plugins which provide scriptable Functions.
QString name()
Return a name for the plugin.
Interface for all Plugins which do logging to the logging window of the framework.
Plugins can add its own toolbox to the main widget's toolbox area by using this interface.
void initializePlugin()
init the Toolbox
Interface class from which all plugins have to be created.
Thread handling class for OpenFlipper.
Interface class for backup handling.
void pluginsInitialized()
Initialize the plugin.
Interface class for exporting functions to python.