Easy3D 2.5.3
SurfaceMeshSmoothing Class Reference

A class for Laplacian smoothing.See the following papers for more details: More...

#include <easy3d/algo/surface_mesh_smoothing.h>

Public Member Functions

 SurfaceMeshSmoothing (SurfaceMesh *mesh)
 Construct with mesh to be smoothed.
 
void explicit_smoothing (unsigned int iters=10, bool use_uniform_laplace=false)
 Perform iters iterations of explicit Laplacian smoothing. Decide whether to use uniform Laplacian or cotan Laplacian (default: cotan).
 
void implicit_smoothing (float timestep=0.001, bool use_uniform_laplace=false, bool rescale=true)
 Perform implicit Laplacian smoothing with timestep. Decide whether to use uniform Laplacian or cotan Laplacian (default: cotan). Decide whether to re-center and re-scale model after smoothing (default: true).
 
void initialize (bool use_uniform_laplace=false)
 Initialize edge and vertex weights.
 

Detailed Description

A class for Laplacian smoothing.

See the following papers for more details:

  • Mathieu Desbrun et al. Implicit fairing of irregular meshes using diffusion and curvature flow. SIGGRAPH, 1999.
  • Misha Kazhdan et al. Can mean‐curvature flow be modified to be non‐singular? CGF, 2012.

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