Compilation with v2.12

This commit is contained in:
Daniel Girardeau-Montaut
2020-06-04 00:32:27 +02:00
parent 46fae57879
commit 56ce4071ee
24 changed files with 171 additions and 146 deletions
+8 -13
View File
@@ -1,3 +1,5 @@
#pragma once
//##########################################################################
//# #
//# CLOUDCOMPARE PLUGIN: q3DMASC #
@@ -15,33 +17,28 @@
//# #
//##########################################################################
#ifndef Q_3DMASC_PLUGIN_HEADER
#define Q_3DMASC_PLUGIN_HEADER
//qCC
#include <ccStdPluginInterface.h>
//qCC_db
#include <ccHObject.h>
//! 3DMASC plugin
/** 3D Multi-cloud, multi-Attribute, multi-Scale, multi-Class classification
**/
class q3DMASCPlugin : public QObject, public ccStdPluginInterface
{
Q_OBJECT
Q_INTERFACES(ccStdPluginInterface)
Q_INTERFACES(ccPluginInterface ccStdPluginInterface)
Q_PLUGIN_METADATA(IID "cccorp.cloudcompare.plugin.q3DMASC" FILE "info.json")
public:
//! Default constructor
q3DMASCPlugin(QObject* parent = nullptr);
explicit q3DMASCPlugin(QObject* parent = nullptr);
//inherited from ccStdPluginInterface
void onNewSelection(const ccHObject::Container& selectedEntities) override;
virtual QList<QAction*> getActions() override;
virtual void registerCommands(ccCommandLineInterface* cmd) override;
QList<QAction*> getActions() override;
void registerCommands(ccCommandLineInterface* cmd) override;
protected slots:
@@ -50,7 +47,7 @@ protected slots:
protected:
//! Calssift action
//! Calssify action
QAction* m_classifyAction;
//! Train action
QAction* m_trainAction;
@@ -58,5 +55,3 @@ protected:
//! Currently selected entities
ccHObject::Container m_selectedEntities;
};
#endif //Q_3DMASC_PLUGIN_HEADER