MeshGui::DlgDecimating Class Reference
#include <DlgDecimating.h>
Public Member Functions | |
DlgDecimating (QWidget *parent=0, Qt::WindowFlags fl=0) | |
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 () | |
Constructor & Destructor Documentation
◆ DlgDecimating()
DlgDecimating::DlgDecimating | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = 0 |
||
) |
◆ ~DlgDecimating()
DlgDecimating::~DlgDecimating | ( | ) |
Member Function Documentation
◆ isAbsoluteNumber()
bool DlgDecimating::isAbsoluteNumber | ( | ) | const |
Referenced by MeshGui::TaskDecimating::accept().
◆ reduction()
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().
◆ setNumberOfTriangles()
void DlgDecimating::setNumberOfTriangles | ( | int | num | ) |
Referenced by MeshGui::TaskDecimating::TaskDecimating().
◆ targetNumberOfTriangles()
int DlgDecimating::targetNumberOfTriangles | ( | ) | const |
References reduction().
Referenced by MeshGui::TaskDecimating::accept().
◆ tolerance()
double DlgDecimating::tolerance | ( | ) | const |
Referenced by MeshGui::TaskDecimating::accept().
The documentation for this class was generated from the following files:
- src/Mod/Mesh/Gui/DlgDecimating.h
- src/Mod/Mesh/Gui/DlgDecimating.cpp