ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
qM3C2.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
// qCC
11
#include "
ecvStdPluginInterface.h
"
12
13
// CV_DB_LIB
14
#include <
ecvHObject.h
>
15
17
21
class
qM3C2Plugin
:
public
QObject,
public
ccStdPluginInterface
{
22
Q_OBJECT
23
Q_INTERFACES(
ccPluginInterface
ccStdPluginInterface
)
24
Q_PLUGIN_METADATA(IID
"ecvcorp.cloudviewer.plugin.qM3C2"
FILE
25
"../info.json"
)
26
27
public
:
29
qM3C2Plugin
(QObject* parent =
nullptr
);
30
31
virtual
~
qM3C2Plugin
() =
default
;
32
33
// inherited from ccStdPluginInterface
34
virtual
void
onNewSelection(
35
const
ccHObject::Container
& selectedEntities)
override
;
36
virtual
QList<QAction*> getActions()
override
;
37
virtual
void
registerCommands(
ccCommandLineInterface
* cmd)
override
;
38
39
private
:
40
void
doAction();
41
43
QAction* m_action;
44
46
ccHObject::Container
m_selectedEntities;
47
};
ccCommandLineInterface
Command line interface.
Definition:
ecvCommandLineInterface.h:112
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition:
ecvHObject.h:337
ccPluginInterface
Standard ECV plugin interface.
Definition:
ecvPluginInterface.h:33
ccStdPluginInterface
Standard ECV plugin interface.
Definition:
ecvStdPluginInterface.h:31
qM3C2Plugin
M3C2 plugin.
Definition:
qM3C2.h:21
ecvHObject.h
ecvStdPluginInterface.h
plugins
core
Standard
qM3C2
include
qM3C2.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1