ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qVoxFall.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 #include "ecvStdPluginInterface.h"
11 
12 // qCC_db
13 #include <ecvHObject.h>
14 
15 class qVoxFall : public QObject, public ccStdPluginInterface {
16  Q_OBJECT
18  Q_PLUGIN_METADATA(IID "ecvcorp.cloudviewer.plugin.qVoxFall" FILE
19  "../info.json")
20 
21 public:
22  explicit qVoxFall(QObject *parent = nullptr);
23  ~qVoxFall() override = default;
24 
25  // Inherited from ccStdPluginInterface
26  void onNewSelection(const ccHObject::Container &selectedEntities) override;
27  QList<QAction *> getActions() override;
28 
29 private:
30  void doAction();
31 
33  QAction *m_action;
34 
36  ccHObject::Container m_selectedEntities;
37 };
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
Standard ECV plugin interface.
Standard ECV plugin interface.