ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvLabelingDlg.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_labelingDlg.h>
11 
13 class ccLabelingDlg : public QDialog, public Ui::LabelingDialog {
14  Q_OBJECT
15 
16 public:
18  explicit ccLabelingDlg(QWidget* parent = 0);
19 
21  int getOctreeLevel();
22 
24  int getMinPointsNb();
25 
27  bool randomColors();
28 };
Dialog to define connected components labelinng parameters.
bool randomColors()
Specifies whether each extracted CC should get a random color.
int getOctreeLevel()
Returns octree level (defines grid step)
int getMinPointsNb()
Returns min number of points per extracted CC.
ccLabelingDlg(QWidget *parent=0)
Default constructor.