ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvFilterByValueDlg.cpp
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 #include "ecvFilterByValueDlg.h"
9 
11  double maxRange,
12  double minVal /*=-1.0e9*/,
13  double maxVal /*=1.0e9*/,
14  QWidget* parent /*=0*/)
15  : QDialog(parent, Qt::Tool), Ui::FilterByValueDialog(), m_mode(CANCEL) {
16  setupUi(this);
17 
18  minDoubleSpinBox->setRange(minVal, maxVal);
19  maxDoubleSpinBox->setRange(minVal, maxVal);
20  minDoubleSpinBox->setValue(minRange);
21  maxDoubleSpinBox->setValue(maxRange);
22 
23  connect(exportPushButton, &QAbstractButton::clicked, this,
25  connect(splitPushButton, &QAbstractButton::clicked, this,
27 }
ccFilterByValueDlg(double minRange, double maxRange, double minVal=-1.0e9, double maxVal=1.0e9, QWidget *parent=0)
Default constructor.