#include <ModQuadricT.hh>

Public Member Functions | |
| virtual float | collapse_priority (const CollapseInfo &_ci) |
| DECIMATING_MODULE (ModQuadricT, DecimaterType, Quadric) | |
| virtual void | initialize (void) |
| Initalize the module and prepare the mesh for decimation. | |
| double | max_err () const |
| Return value of max. allowed error. | |
| ModQuadricT (DecimaterType &_dec) | |
| virtual void | postprocess_collapse (const CollapseInfo &_ci) |
| Post-process halfedge collapse (accumulate quadrics). | |
| void | set_max_err (double _err, bool _binary=true) |
| void | unset_max_err (void) |
| virtual | ~ModQuadricT () |
| Destructor. | |
Private Attributes | |
| double | max_err_ |
| VPropHandleT < Geometry::QuadricT< double > > | quadrics_ |
Mesh decimation module computing collapse priority based on error quadrics.
This module can be used as a binary and non-binary module.
Definition at line 76 of file ModQuadricT.hh.
| OpenMesh::Decimater::ModQuadricT< DecimaterType >::ModQuadricT | ( | DecimaterType & | _dec | ) | [inline] |
Constructor
Definition at line 89 of file ModQuadricT.hh.
| virtual OpenMesh::Decimater::ModQuadricT< DecimaterType >::~ModQuadricT | ( | ) | [inline, virtual] |
Destructor.
Definition at line 98 of file ModQuadricT.hh.
| virtual float OpenMesh::Decimater::ModQuadricT< DecimaterType >::collapse_priority | ( | const CollapseInfo & | _ci | ) | [inline, virtual] |
Compute collapse priority based on error quadrics.
Definition at line 114 of file ModQuadricT.hh.
| OpenMesh::Decimater::ModQuadricT< DecimaterType >::DECIMATING_MODULE | ( | ModQuadricT< DecimaterType > | , | |
| DecimaterType | , | |||
| Quadric | ||||
| ) |
| void OpenMesh::Decimater::ModQuadricT< DecimaterType >::initialize | ( | void | ) | [inline, virtual] |
Initalize the module and prepare the mesh for decimation.
Reimplemented from OpenMesh::Decimater::ModBaseT< DecimaterType >.
Definition at line 66 of file ModQuadricT.cc.
| double OpenMesh::Decimater::ModQuadricT< DecimaterType >::max_err | ( | ) | const [inline] |
Return value of max. allowed error.
Definition at line 166 of file ModQuadricT.hh.
| virtual void OpenMesh::Decimater::ModQuadricT< DecimaterType >::postprocess_collapse | ( | const CollapseInfo & | _ci | ) | [inline, virtual] |
Post-process halfedge collapse (accumulate quadrics).
Definition at line 135 of file ModQuadricT.hh.
| void OpenMesh::Decimater::ModQuadricT< DecimaterType >::set_max_err | ( | double | _err, | |
| bool | _binary = true | |||
| ) | [inline] |
Set maximum quadric error constraint and enable binary mode.
| _err | Maximum error allowed | |
| _binary | Let the module work in non-binary mode in spite of the enabled constraint. |
Definition at line 151 of file ModQuadricT.hh.
| void OpenMesh::Decimater::ModQuadricT< DecimaterType >::unset_max_err | ( | void | ) | [inline] |
Unset maximum quadric error constraint and restore non-binary mode.
Definition at line 159 of file ModQuadricT.hh.
double OpenMesh::Decimater::ModQuadricT< DecimaterType >::max_err_ [private] |
Definition at line 172 of file ModQuadricT.hh.
VPropHandleT< Geometry::QuadricT<double> > OpenMesh::Decimater::ModQuadricT< DecimaterType >::quadrics_ [private] |
Definition at line 175 of file ModQuadricT.hh.