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 };
DgmOctree.h
cloudViewer::DgmOctree::MAX_OCTREE_LEVEL
static const int MAX_OCTREE_LEVEL
Max octree subdivision level.
Definition: DgmOctree.h:67
ccLabelingDlg
Dialog to define connected components labelinng parameters.
Definition: ecvLabelingDlg.h:13
Ui
Definition: sfEditDlg.h:16
ccLabelingDlg::ccLabelingDlg
ccLabelingDlg(QWidget *parent=0)
Default constructor.
Definition: ecvLabelingDlg.cpp:13
ecvLabelingDlg.h
ccLabelingDlg::randomColors
bool randomColors()
Specifies whether each extracted CC should get a random color.
Definition: ecvLabelingDlg.cpp:24
ccLabelingDlg::getOctreeLevel
int getOctreeLevel()
Returns octree level (defines grid step)
Definition: ecvLabelingDlg.cpp:20
ccLabelingDlg::getMinPointsNb
int getMinPointsNb()
Returns min number of points per extracted CC.
Definition: ecvLabelingDlg.cpp:22