MCPcopy Create free account
hub / github.com/Kitware/TeleSculptor / DepthMapFilterOptions

Method DepthMapFilterOptions

gui/DepthMapFilterOptions.cxx:25–52  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

23
24//-----------------------------------------------------------------------------
25DepthMapFilterOptions::DepthMapFilterOptions(
26 const QString& settingsGroup, QWidget* parent, Qt::WindowFlags flags)
27 : QWidget(parent, flags), d_ptr(new DepthMapFilterOptionsPrivate)
28{
29 QTE_D();
30
31 d->UI.setupUi(this);
32
33 connect(d->UI.weightMinimum,
34 QOverload<double>::of(&QDoubleSpinBox::valueChanged),
35 this, &DepthMapFilterOptions::updateWeightMinimum);
36 connect(d->UI.weightMaximum,
37 QOverload<double>::of(&QDoubleSpinBox::valueChanged),
38 this, &DepthMapFilterOptions::updateWeightMaximum);
39 connect(d->UI.uncertaintyMinimum,
40 QOverload<double>::of(&QDoubleSpinBox::valueChanged),
41 this, &DepthMapFilterOptions::updateUncertaintyMinimum);
42 connect(d->UI.uncertaintyMaximum,
43 QOverload<double>::of(&QDoubleSpinBox::valueChanged),
44 this, &DepthMapFilterOptions::updateUncertaintyMaximum);
45
46 connect(d->UI.buttonBox->button(QDialogButtonBox::Apply),
47 &QAbstractButton::clicked,
48 this, &DepthMapFilterOptions::filtersChanged);
49 connect(d->UI.buttonBox->button(QDialogButtonBox::Reset),
50 &QAbstractButton::clicked,
51 this, &DepthMapFilterOptions::resetFilters);
52}
53
54//-----------------------------------------------------------------------------
55DepthMapFilterOptions::~DepthMapFilterOptions()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected