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