Easy3D 2.5.3
SurfaceMeshSimplification Class Reference

Surface mesh simplification based on approximation error and fairness criteria. More...

#include <easy3d/algo/surface_mesh_simplification.h>

Public Member Functions

 SurfaceMeshSimplification (SurfaceMesh *mesh)
 Construct with mesh to be simplified.
 
void initialize (float aspect_ratio=0.0, float edge_length=0.0, unsigned int max_valence=0, float normal_deviation=0.0, float hausdorff_error=0.0)
 Initialize with given parameters.
 
void simplify (unsigned int n_vertices)
 Simplify mesh to n vertices.
 

Detailed Description

Surface mesh simplification based on approximation error and fairness criteria.

It performs incremental greedy mesh simplification based on halfedge collapses. See the following paper for more details:

  • Michael Garland and Paul Seagrave Heckbert. Surface simplification using quadric error metrics. SIGGRAPH 1997.
  • Leif Kobbelt et al. A general framework for mesh decimation. In Proceedings of Graphics Interface, 1998.

The documentation for this class was generated from the following files: