|
virtual const std::string & | name () const override |
| Set module's name. More...
|
|
| ModQuadricT (MeshT &_mesh) |
| Constructor. More...
|
|
virtual | ~ModQuadricT () |
| Destructor.
|
|
virtual void | initialize (void) override |
| Initalize the module and prepare the mesh for decimation. More...
|
|
virtual float | collapse_priority (const CollapseInfo &_ci) override |
| Compute collapse priority based on error quadrics. More...
|
|
virtual void | postprocess_collapse (const CollapseInfo &_ci) override |
| Post-process halfedge collapse (accumulate quadrics) More...
|
|
void | set_error_tolerance_factor (double _factor) override |
| set the percentage of maximum quadric error More...
|
|
void | set_max_err (double _err, bool _binary=true) |
| Set maximum quadric error constraint and enable binary mode. More...
|
|
void | unset_max_err (void) |
| Unset maximum quadric error constraint and restore non-binary mode. More...
|
|
double | max_err () const |
| Return value of max. allowed error.
|
|
virtual | ~ModBaseT () |
| Virtual desctructor.
|
|
virtual const std::string & | name () const |
| Set module's name. More...
|
|
bool | is_binary (void) const |
| Returns true if criteria returns a binary value.
|
|
void | set_binary (bool _b) |
| Set whether module is binary or not.
|
|
virtual void | initialize () |
| Initialize module-internal stuff. More...
|
|
virtual float | collapse_priority (const CollapseInfoT< MeshT > &) |
| Return collapse priority. More...
|
|
virtual void | preprocess_collapse (const CollapseInfoT< MeshT > &) |
| Before _from_vh has been collapsed into _to_vh, this method will be called.
|
|
virtual void | postprocess_collapse (const CollapseInfoT< MeshT > &) |
| After _from_vh has been collapsed into _to_vh, this method will be called. More...
|
|
virtual void | set_error_tolerance_factor (double _factor) |
| This provides a function that allows the setting of a percentage of the original contraint. More...
|
|
template<class MeshT>
class OpenMesh::Decimater::ModQuadricT< MeshT >
Mesh decimation module computing collapse priority based on error quadrics.
This module can be used as a binary and non-binary module.