1 Star 0 Fork 0

吴显锋/mplane-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
qMPlane.h 2.08 KB
一键复制 编辑 原始数据 按行查看 历史
//##########################################################################
//# #
//# CLOUDCOMPARE PLUGIN: qMPlane #
//# #
//# This program is free software; you can redistribute it and/or modify #
//# it under the terms of the GNU General Public License as published by #
//# the Free Software Foundation; version 2 of the License. #
//# #
//# This program is distributed in the hope that it will be useful, #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU General Public License for more details. #
//# #
//# COPYRIGHT: AIT Austrian Institute of Technology GmbH #
//# #
//##########################################################################
#ifndef Q_MPLANE_PLUGIN_HEADER
#define Q_MPLANE_PLUGIN_HEADER
// std
#include <memory>
//CloudCompare
#include <ccPickingListener.h>
#include <ccPointCloud.h>
#include <ccStdPluginInterface.h>
//qMPlane
#include "src/ccMPlaneDlgController.h"
#ifdef USE_VLD
//VLD
#include <vld.h>
#endif
class qMPlane : public QObject, public ccStdPluginInterface
{
Q_OBJECT
Q_INTERFACES( ccPluginInterface ccStdPluginInterface )
Q_PLUGIN_METADATA(IID "cccorp.cloudcompare.plugin.MPlane" FILE "info.json")
public:
explicit qMPlane( QObject *parent = nullptr );
~qMPlane() override = default;
void onNewSelection( const ccHObject::Container &selectedEntities ) override;
QList<QAction *> getActions() override;
protected slots:
void doAction();
private:
QAction* m_action = nullptr;
ccPointCloud *m_selectedCloud = nullptr;
std::unique_ptr<ccMPlaneDlgController> m_controller;
};
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wxf2wm/mplane-plugin.git
git@gitee.com:wxf2wm/mplane-plugin.git
wxf2wm
mplane-plugin
mplane-plugin
master

搜索帮助