ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvMatchScalesDlg.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_matchScalesDlg.h>
11 
12 // Local
13 #include "ecvLibAlgorithms.h"
14 
16 class ccMatchScalesDlg : public QDialog, public Ui::MatchScalesDialog {
17  Q_OBJECT
18 
19 public:
21  ccMatchScalesDlg(const ccHObject::Container& entities,
22  int defaultSelectedIndex = 0,
23  QWidget* parent = 0);
24 
26  int getSelectedIndex() const;
27 
31 
34 };
std::vector< ccHObject * > Container
Standard instances container (for children, etc.)
Definition: ecvHObject.h:337
Scales matching tool dialog.
ccLibAlgorithms::ScaleMatchingAlgorithm getSelectedAlgorithm() const
Returns the selected matching algorithm.
ccMatchScalesDlg(const ccHObject::Container &entities, int defaultSelectedIndex=0, QWidget *parent=0)
Default constructor.
int getSelectedIndex() const
Returns selected index.
void setSelectedAlgorithm(ccLibAlgorithms::ScaleMatchingAlgorithm algorithm)
Sets the selected matching algorithm.
ScaleMatchingAlgorithm
Scale matching algorithms.