mirror of
https://github.com/dgirardeau/q3DMASC.git
synced 2026-08-29 08:34:48 +08:00
Compilation with v2.12
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user