ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvStatisticalTestDlg.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_statisticalTestDlg.h>
11 
13 class ccStatisticalTestDlg : public QDialog, public Ui::StatisticalTestDialog {
14 public:
16  ccStatisticalTestDlg(QString param1Label,
17  QString param2Label,
18  QString param3Label = QString(),
19  QString windowTitle = QString(),
20  QWidget* parent = 0);
21 
23  double getParam1() const;
25  double getParam2() const;
27  double getParam3() const;
28 
30  int getNeighborsNumber() const;
32  double getProba() const;
33 };
ccStatisticalTestDlg::getParam1
double getParam1() const
Returns 1st parameter value.
Definition: ecvStatisticalTestDlg.cpp:32
Ui
Definition: sfEditDlg.h:16
ccStatisticalTestDlg
Dialog for the Local Statistical Test tool.
Definition: ecvStatisticalTestDlg.h:13
ccStatisticalTestDlg::getParam3
double getParam3() const
Returns 3rd parameter value.
Definition: ecvStatisticalTestDlg.cpp:40
ccStatisticalTestDlg::ccStatisticalTestDlg
ccStatisticalTestDlg(QString param1Label, QString param2Label, QString param3Label=QString(), QString windowTitle=QString(), QWidget *parent=0)
Default constructor (for distributions with up to 3 parameters)
Definition: ecvStatisticalTestDlg.cpp:10
ccStatisticalTestDlg::getParam2
double getParam2() const
Returns 2nd parameter value.
Definition: ecvStatisticalTestDlg.cpp:36
ecvStatisticalTestDlg.h
ccStatisticalTestDlg::getProba
double getProba() const
Returns the associated probability.
Definition: ecvStatisticalTestDlg.cpp:48
ccStatisticalTestDlg::getNeighborsNumber
int getNeighborsNumber() const
Returns the number of neighbors.
Definition: ecvStatisticalTestDlg.cpp:44