ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qHoughNormals.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 
14 
18 class qHoughNormals : public QObject, public ccStdPluginInterface {
19  Q_OBJECT
21 
22  Q_PLUGIN_METADATA(IID "ecvcorp.cloudviewer.plugin.qHoughNormals" FILE
23  "../info.json")
24 
25 public:
27  explicit qHoughNormals(QObject* parent = nullptr);
28 
29  virtual ~qHoughNormals() = default;
30 
31  // inherited from ccStdPluginInterface
32  virtual void onNewSelection(
33  const ccHObject::Container& selectedEntities) override;
34  virtual QList<QAction*> getActions() override;
35 
36 protected:
38  void doAction();
39 
40 protected:
42  QAction* m_action;
43 };
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
Standard ECV plugin interface.
Standard ECV plugin interface.
QAction * m_action
Associated action.
Definition: qHoughNormals.h:42
void doAction()
Slot called when associated action is triggered.