Commit 4aa7d2a3 authored by Jan Möbius's avatar Jan Möbius

Primitives generator Python Interface

parent 2542eae7
include (plugin)
openflipper_plugin ( INSTALLDATA Icons
openflipper_plugin ( PYTHONINTERFACE
INSTALLDATA Icons
OPTDEPS OpenVolumeMesh
TYPES POLYMESH TRIANGLEMESH
OPT_TYPES BSPLINESURFACE BSPLINECURVE HEXAHEDRALMESH POLYHEDRALMESH )
......@@ -49,6 +49,7 @@
#include <OpenFlipper/BasePlugin/LoadSaveInterface.hh>
#include <OpenFlipper/BasePlugin/RPCInterface.hh>
#include <OpenFlipper/BasePlugin/BackupInterface.hh>
#include <OpenFlipper/BasePlugin/PythonInterface.hh>
#include <OpenFlipper/common/Types.hh>
#include <ObjectTypes/TriangleMesh/TriangleMesh.hh>
......@@ -59,7 +60,7 @@
#endif
class PrimitivesGeneratorPlugin: public QObject, BaseInterface, LoggingInterface, MenuInterface, LoadSaveInterface, RPCInterface, BackupInterface {
class PrimitivesGeneratorPlugin: public QObject, BaseInterface, LoggingInterface, MenuInterface, LoadSaveInterface, RPCInterface, BackupInterface, PythonInterface {
Q_OBJECT
Q_INTERFACES(BaseInterface)
Q_INTERFACES(LoggingInterface)
......@@ -67,6 +68,7 @@ class PrimitivesGeneratorPlugin: public QObject, BaseInterface, LoggingInterface
Q_INTERFACES(LoadSaveInterface)
Q_INTERFACES(RPCInterface)
Q_INTERFACES(BackupInterface)
Q_INTERFACES(PythonInterface)
Q_PLUGIN_METADATA(IID "org.OpenFlipper.Plugins.Plugin-PrimitiveGenerator")
......@@ -96,7 +98,7 @@ public:
~PrimitivesGeneratorPlugin();
// BaseInterface
QString name() { return (QString("Primitives Generator")); } ;
QString name() { return (QString("PrimitivesGenerator")); } ;
QString description() { return (QString("Plugin used for generating basic primitives")); } ;
private slots:
......
This diff is collapsed.
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