17#include "ui_MeshQualitySelection.h"
39 bool getHistogram()
const {
return this->histogramCheckBox->isChecked(); }
Definition of mesh-related Enumerations.
A dialog for selecting a mesh quality metric.
MeshLib::MeshQualityType _metric
std::string getHistogramPath() const
Returns selected path for histogram (or empty string if no histogram is required)
bool getHistogram() const
Returns true if a histogram needs to be calculated.
~MeshQualitySelectionDialog() override
void accept() override
Instructions if the OK-Button has been pressed.
MeshQualitySelectionDialog(QDialog *parent=nullptr)
Constructor.
MeshLib::MeshQualityType getSelectedMetric() const
Returns selected metric.
std::string _histogram_path
void on_histogramPathButton_pressed()
void reject() override
Instructions if the Cancel-Button has been pressed.
void on_histogramCheckBox_toggled(bool is_checked) const
MeshQualityType
Describes a mesh quality metric.