#include <DlgDecimating.h>
Public Member Functions | |
DlgDecimating (QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
bool | isAbsoluteNumber () const |
double | reduction () const |
Returns the level of reduction in the range [0, 1]. More... | |
void | setNumberOfTriangles (int) |
int | targetNumberOfTriangles () const |
double | tolerance () const |
~DlgDecimating () | |
DlgDecimating::DlgDecimating | ( | QWidget * | parent = nullptr , |
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
DlgDecimating::~DlgDecimating | ( | ) |
bool DlgDecimating::isAbsoluteNumber | ( | ) | const |
Referenced by MeshGui::TaskDecimating::accept().
double DlgDecimating::reduction | ( | ) | const |
Returns the level of reduction in the range [0, 1].
0 means no reduction, 1 means full reduction.
Referenced by MeshGui::TaskDecimating::accept(), and targetNumberOfTriangles().
void DlgDecimating::setNumberOfTriangles | ( | int | num | ) |
Referenced by MeshGui::TaskDecimating::TaskDecimating().
int DlgDecimating::targetNumberOfTriangles | ( | ) | const |
References reduction().
Referenced by MeshGui::TaskDecimating::accept().
double DlgDecimating::tolerance | ( | ) | const |