MeshGui::DlgDecimating Class Reference

#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 ()
 

Constructor & Destructor Documentation

◆ DlgDecimating()

DlgDecimating::DlgDecimating ( QWidget parent = nullptr,
Qt::WindowFlags  fl = Qt::WindowFlags() 
)

◆ ~DlgDecimating()

DlgDecimating::~DlgDecimating ( )

Member Function Documentation

◆ isAbsoluteNumber()

bool DlgDecimating::isAbsoluteNumber ( ) const

◆ 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)

◆ targetNumberOfTriangles()

int DlgDecimating::targetNumberOfTriangles ( ) const

References reduction().

Referenced by MeshGui::TaskDecimating::accept().

◆ tolerance()


The documentation for this class was generated from the following files: