OpenMesh.Tools.Decimater.ModQuadricT



class ModQuadricT (DecimaterType): ModBaseT!(DecimaterType);
Mesh decimation module computing collapse priority based on error quadrics.

This module can be used as a binary and non-binary module.

this(DecimaterType _dec);
Constructor \internal

void initialize ();
Initalize the module and prepare the mesh for decimation.

float collapse_priority (ref CollapseInfo _ci);
Compute collapse priority based on error quadrics.

See Also:
ModBaseT. collapse_priority () for return values, set_max_err()

void postprocess_collapse (ref CollapseInfo _ci);
Post-process halfedge collapse (accumulate quadrics)

void set_max_err (double _err, bool _binary = true);
Set maximum quadric error constraint and enable binary mode. \param err Maximum error allowed \param binary Let the module work in non-binary mode in spite of the enabled constraint.

See Also:
unset_max_err()

void unset_max_err ();
Unset maximum quadric error constraint and restore non-binary mode.

See Also:
set_max_err()

double max_err ();
Return value of max. allowed error.

Page was generated with CanDyDOC on Fri Oct 12 16:12:23 2007