50 #ifndef ISOTROPICREMESHERPLUGIN_HH 51 #define ISOTROPICREMESHERPLUGIN_HH 65 #include "IsotropicRemesherToolbox.hh" 66 #include "ProgressEmitter.hh" 68 #if QT_VERSION >= 0x050000 87 #if QT_VERSION >= 0x050000 88 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-IsotropicRemesher")
96 void updatedObject(
int _id,
const UpdateType& _type);
98 void setSlotDescription(QString _slotName, QString _slotDescription,
99 QStringList _parameters, QStringList _descriptions);
102 void log(
Logtype _type, QString _message );
103 void log( QString _message );
106 void pluginExists( QString _pluginName ,
bool& _exists ) ;
107 void functionExists( QString _pluginName , QString _functionName ,
bool& _exists );
110 void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
113 void startJob( QString _jobId, QString _description,
int _min,
int _max,
bool _blocking =
false);
114 void setJobState(QString _jobId,
int _value);
115 void setJobName(QString _jobId, QString _name);
116 void finishJob(QString _jobId);
117 void setJobDescription(QString _jobId, QString _description);
123 void scriptInfo(QString _functionName);
135 QString
name() {
return (QString(
"IsotropicRemesher")); };
136 QString
description( ) {
return (QString(
"an isotropic remesher")); };
149 void slotRemeshButtonClicked();
150 void slotSetMinLength();
151 void slotSetMaxLength();
152 void slotSetMeanLength();
154 void threadFinished(QString _jobId);
158 void isotropicRemesh(
int _objectID,
double _targetEdgeLength );
162 QString version() {
return QString(
"1.0"); };
166 #endif //ISOTROPICREMESHERPLUGIN_HH Logtype
Log types for Message Window.
void initializePlugin()
init the Toolbox
Interface for all Plugins which provide scriptable Functions.
Interface class from which all plugins have to be created.
Interface class for Thread handling.
Thread handling class for OpenFlipper.
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.
void pluginsInitialized()
Initialize the plugin.
QString name()
Return a name for the plugin.
const UpdateType UPDATE_ALL(UpdateTypeSet(1))
Identifier for all updates.
QString description()
Return a description of what the plugin is doing.
Interface to call functions across plugins.
Interface class for backup handling.