ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qHoughNormalsDialog.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 <QDialog>
11 
12 namespace Ui {
13 class HoughNormalsDialog;
14 }
15 
16 class qHoughNormalsDialog : public QDialog {
17 public:
19  explicit qHoughNormalsDialog(QWidget* parent = nullptr);
20 
22 
23  // Settings
24  struct Parameters {
25  int K = 100;
26  int T = 1000;
27  int n_phi = 15;
28  int n_rot = 5;
29  bool use_density = false;
30  float tol_angle_rad = 0.79f;
31  int k_density = 5;
32  };
33 
34  void setParameters(const Parameters& params);
36 
37 private:
38  Ui::HoughNormalsDialog* m_ui;
39 };
cmdLineReadable * params[]
qHoughNormalsDialog(QWidget *parent=nullptr)
Default constructor.
void setParameters(const Parameters &params)
void getParameters(Parameters &params)