|
virtual const std::string & | name () const override |
| Set module's name.
|
| ModNormalFlippingT (MeshT &_mesh) |
| Constructor.
|
float | collapse_priority (const CollapseInfo &_ci) override |
| Compute collapse priority due to angular deviation of face normals before and after a collapse.
|
void | set_error_tolerance_factor (double _factor) override |
| set the percentage of maximum normal deviation
|
double | max_normal_deviation () const |
| get normal deviation
|
void | set_max_normal_deviation (double _d) |
| Set normal deviation.
|
virtual | ~ModBaseT () |
| Virtual desctructor.
|
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.
|
virtual float | collapse_priority (const CollapseInfoT< MeshT > &) |
| Return collapse priority.
|
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.
|
template<typename MeshT>
class OpenMesh::Decimater::ModNormalFlippingT< MeshT >
Decimating module to avoid flipping of faces.
This module can be used only as a binary module. The criterion of allowing/disallowing the collapse is the angular deviation between the face normal of the original faces and normals of the faces after the collapse. The collapse will pass the test, if the deviation is below a given threshold.