ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
MinimumCutSegmentationDlg.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_MinimumCutSegmentationDlg.h>
11 
12 // Qt
13 #include <QDialog>
14 
15 // system
16 #include <vector>
17 
19 class cc2DLabel;
20 class ccHObject;
21 
22 class MinimumCutSegmentationDlg : public QDialog,
23  public Ui::MinimumCutSegmentationDlg {
24  Q_OBJECT
25 public:
27 
28  void refreshLabelComboBox();
29 
30 public slots:
31  void updateForeGroundPoint();
32  void onLabelChanged(int);
33 
34 protected:
37 
38  QString getEntityName(ccHObject* obj);
39 
40  cc2DLabel* get2DLabelFromCombo(QComboBox* comboBox, ccHObject* dbRoot);
41 };
#define slots
QString getEntityName(ccHObject *obj)
MinimumCutSegmentationDlg(ecvMainAppInterface *app)
cc2DLabel * get2DLabelFromCombo(QComboBox *comboBox, ccHObject *dbRoot)
ecvMainAppInterface * m_app
Gives access to the application (data-base, UI, etc.)
2D label (typically attached to points)
Definition: ecv2DLabel.h:22
Hierarchical CLOUDVIEWER Object.
Definition: ecvHObject.h:25
Main application interface (for plugins)