ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
qCloudLayers.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
// ##########################################################################
11
// # #
12
// # CloudViewer PLUGIN: qCloudLayers #
13
// # #
14
// # This program is free software; you can redistribute it and/or modify #
15
// # it under the terms of the GNU General Public License as published by #
16
// # the Free Software Foundation; version 2 of the License. #
17
// # #
18
// # This program is distributed in the hope that it will be useful, #
19
// # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20
// # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21
// # GNU General Public License for more details. #
22
// # #
23
// # COPYRIGHT: WigginsTech 2022 #
24
// # #
25
// ##########################################################################
26
27
#include "
ecvStdPluginInterface.h
"
28
29
class
ccCloudLayersDlg
;
30
31
class
qCloudLayers
:
public
QObject,
public
ccStdPluginInterface
{
32
Q_OBJECT
33
Q_INTERFACES(
ccPluginInterface
ccStdPluginInterface
)
34
Q_PLUGIN_METADATA(IID
"ecvcorp.cloudviewer.plugin.qCloudLayers"
FILE
35
"../info.json"
)
36
37
public
:
38
explicit
qCloudLayers
(QObject* parent =
nullptr
);
39
~
qCloudLayers
()
override
=
default
;
40
41
// Inherited from ccStdPluginInterface
42
void
onNewSelection(
const
ccHObject::Container
& selectedEntities)
override
;
43
QList<QAction*> getActions()
override
;
44
45
protected
:
47
void
doAction
();
48
49
private
:
51
QAction* m_action;
52
53
ccCloudLayersDlg
* m_cloudLayersDlg;
54
};
ccCloudLayersDlg
Definition:
ccCloudLayersDlg.h:39
ccHObject::Container
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition:
ecvHObject.h:337
qCloudLayers
Definition:
qCloudLayers.h:31
ecvStdPluginInterface.h
qCloudLayers::doAction
void doAction()
Slot called when associated action is triggered.
Definition:
qCloudLayers.cpp:52
ccPluginInterface
Standard ECV plugin interface.
Definition:
ecvPluginInterface.h:33
ccStdPluginInterface
Standard ECV plugin interface.
Definition:
ecvStdPluginInterface.h:31
plugins
core
Standard
qCloudLayers
include
qCloudLayers.h
Generated on Wed Nov 18 2026 14:48:10 for ACloudViewer by
1.8.17