Commit 9aeee83b authored by Mike Kremer's avatar Mike Kremer

Added script info logging to isotropic remesher plugin.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9753 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 584ab19b
......@@ -185,6 +185,8 @@ void IsotropicRemesherPlugin::isotropicRemesh(int _objectID, double _targetEdgeL
emit updatedObject( object->id(), UPDATE_ALL );
emit createBackup(object->id(),"Isotropic Remeshing with Target length: " + QString::number(edgeLength_) );
emit scriptInfo(tr("isotropicRemesh(%1, %2)").arg(QString::number(_objectID), QString::number(_targetEdgeLength)));
emit updateView();
......
#ifndef ISOTROPICREMESHERPLUGIN_HH
#define ISOTROPICREMESHERPLUGIN_HH
......@@ -9,6 +8,7 @@
#include <OpenFlipper/BasePlugin/LoggingInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
#include <OpenFlipper/BasePlugin/ProcessInterface.hh>
#include <OpenFlipper/BasePlugin/ScriptInterface.hh>
#include <OpenFlipper/BasePlugin/BackupInterface.hh>
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
......@@ -18,7 +18,8 @@
#include "ProgressEmitter.hh"
class IsotropicRemesherPlugin : public QObject, BaseInterface, BackupInterface , ToolboxInterface, LoggingInterface, RPCInterface, ProcessInterface
class IsotropicRemesherPlugin : public QObject, BaseInterface, BackupInterface , ToolboxInterface, LoggingInterface,
RPCInterface, ProcessInterface, ScriptInterface
{
Q_OBJECT
Q_INTERFACES(BaseInterface)
......@@ -26,6 +27,7 @@ Q_INTERFACES(ToolboxInterface)
Q_INTERFACES(LoggingInterface)
Q_INTERFACES(RPCInterface)
Q_INTERFACES(ProcessInterface)
Q_INTERFACES(ScriptInterface)
Q_INTERFACES(BackupInterface)
......@@ -58,6 +60,9 @@ signals:
// BackupInterface
void createBackup( int _id , QString _name );
// ScriptInterface
void scriptInfo(QString _functionName);
private slots:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment