ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvPoissonReconDlg.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 // dialog
11 #include "ecvHObject.h"
12 #include "ui_poissonReconParametersDlg.h"
13 
15 
20 class ccPointCloud;
21 class ecvPoissonReconDlg : public QDialog, public Ui::PoissonReconParamDialog {
22  Q_OBJECT
23 public:
24  explicit ecvPoissonReconDlg(QWidget* parent = 0);
25 
26  bool start();
27  bool addEntity(ccHObject* ent);
29 
30 protected:
31  bool showDialog();
32  bool doComputation();
33  void updateParams();
34  void adjustParams(ccPointCloud* cloud);
35 
36 private:
37  QWidget* m_app;
38  bool m_applyAllClouds;
39  ccHObject::Container m_clouds;
40  ccHObject::Container m_result;
41  std::vector<bool> m_normalsMask;
42 };
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
void adjustParams(ccPointCloud *cloud)
ecvPoissonReconDlg(QWidget *parent=0)
ccHObject::Container & getReconstructions()
bool addEntity(ccHObject *ent)