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

Primitives generator Python Interface

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