|
| void | startProcessingInternal () |
| | start processing of a function
|
| |
| void | state (QString _jobId, int _state) |
| | Tell core about job state.
|
| |
| void | function (const QString _jobId="") |
| | job function
|
| |
| void | finished (QString _jobId) |
| | job done
|
| |
Definition at line 57 of file DecimateThread.hh.
◆ BaseDecimaterType
◆ DecimaterType
◆ McDecimaterType
◆ MixedDecimaterType
◆ DecimateThread()
| DecimateThread::DecimateThread |
( |
const Params & |
_param, |
|
|
const QString & |
_jobId, |
|
|
int |
_objId |
|
) |
| |
◆ ~DecimateThread()
| DecimateThread::~DecimateThread |
( |
| ) |
|
◆ abort()
| bool DecimateThread::abort |
( |
| ) |
const |
|
virtual |
Abort callback.
After each notification, this function is called by the decimater. If the function returns true, the decimater will stop at a consistent state. Otherwise it will continue.
- Returns
- abort Yes or No
Reimplemented from OpenMesh::Decimater::Observer.
Definition at line 52 of file DecimateThread.cc.
◆ baseDecimater()
| DecimateThread::BaseDecimaterType * DecimateThread::baseDecimater |
( |
| ) |
|
◆ cancel()
| void DecimateThread::cancel |
( |
| ) |
|
|
virtual |
Cancel the job.
Reimplement this function to correctly terminate your job. If your job is able to terminate correctly then you can reimplement this function and stop your process.
Reimplemented from OpenFlipperThread.
Definition at line 83 of file DecimateThread.cc.
◆ decimate
| void DecimateThread::decimate |
( |
| ) |
|
|
slot |
◆ notify()
| void DecimateThread::notify |
( |
size_t |
_step | ) |
|
|
virtual |
callback
This function has to be overloaded. It will be called regularly during the decimation process and will return the current step.
- Parameters
-
| _step | Current step of the decimater |
Implements OpenMesh::Decimater::Observer.
Definition at line 47 of file DecimateThread.cc.
◆ objectId()
| int DecimateThread::objectId |
( |
| ) |
const |
◆ abort_
| bool DecimateThread::abort_ |
|
private |
◆ baseDec_
| BaseDecimaterType* DecimateThread::baseDec_ |
|
private |
◆ jobId_
| QString DecimateThread::jobId_ |
|
private |
◆ maxCollapses_
| int DecimateThread::maxCollapses_ |
|
private |
◆ objId_
| int DecimateThread::objId_ |
|
private |
◆ param_
The documentation for this class was generated from the following files: