ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
qCanupoClassifDialog.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 <ui_qCanupoClassifDialog.h>
11 
13 class ccPointCloud;
14 
16 class qCanupoClassifDialog : public QDialog, public Ui::CanupoClassifDialog {
17  Q_OBJECT
18 
19 public:
22 
25 
28 
30 
36 
38  QString getMscFilename() const;
39 
41  double getConfidenceTrehshold() const;
44  bool useSF() const;
46  int getMaxThreadCount() const;
47 
52 
53 protected slots:
54 
55  void browseClassifierFile();
56  void browseMscFile();
57 
58 protected:
61 
64 };
#define slots
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Main application interface (for plugins)
CANUPO plugin's classification dialog.
ccPointCloud * m_cloud
Associated cloud.
void loadParamsFromPersistentSettings()
Loads parameters from persistent settings.
ccPointCloud * getCorePointsCloud()
Get core points cloud (if any)
QString getMscFilename() const
Returns MSC file name (if source == MSC_FILE)
void saveParamsToPersistentSettings()
Saves parameters to persistent settings.
ecvMainAppInterface * m_app
Gives access to the application (data-base, UI, etc.)
qCanupoClassifDialog(ccPointCloud *cloud, ecvMainAppInterface *app)
Default constructor.
CORE_CLOUD_SOURCES getCorePointsCloudSource() const
Returns the selected source for core points.
double getConfidenceTrehshold() const
Returns the confidence threshold.
int getMaxThreadCount() const
Returns the max number of threads to use.
CORE_CLOUD_SOURCES
"Sources" of core points