Easy3D 2.6.1
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
SurfaceMeshRemeshing Class Reference

A class for uniform and adaptive surface remeshing. More...

#include <easy3d/algo/surface_mesh_remeshing.h>

Public Member Functions

 SurfaceMeshRemeshing (SurfaceMesh *mesh)
 Constructor that initializes the remeshing with a given mesh.
 
 ~SurfaceMeshRemeshing ()
 Destructor.
 
void uniform_remeshing (float edge_length, unsigned int iterations=10, bool use_projection=true)
 Perform uniform remeshing.
 
void adaptive_remeshing (float min_edge_length, float max_edge_length, float approx_error, unsigned int iterations=10, bool use_projection=true)
 Perform adaptive remeshing.
 

Detailed Description

A class for uniform and adaptive surface remeshing.

The algorithm implemented here performs incremental remeshing based on edge collapse, split, flip, and tangential relaxation. See the following papers for more details:

  • Mario Botsch and Leif Kobbelt. A remeshing approach to multiresolution modeling. SGP, 2004.
  • Marion Dunyach et al. Adaptive remeshing for real-time mesh deformation. EG (Short Papers) 2013.

Constructor & Destructor Documentation

◆ SurfaceMeshRemeshing()

SurfaceMeshRemeshing ( SurfaceMesh * mesh)
explicit

Constructor that initializes the remeshing with a given mesh.

Parameters
meshThe surface mesh to be remeshed.

Member Function Documentation

◆ adaptive_remeshing()

void adaptive_remeshing ( float min_edge_length,
float max_edge_length,
float approx_error,
unsigned int iterations = 10,
bool use_projection = true )

Perform adaptive remeshing.

Parameters
min_edge_lengththe minimum edge length.
max_edge_lengththe maximum edge length.
approx_errorthe maximum approximation error
iterationsthe number of iterations
use_projectionuse back-projection to the input surface

◆ uniform_remeshing()

void uniform_remeshing ( float edge_length,
unsigned int iterations = 10,
bool use_projection = true )

Perform uniform remeshing.

Parameters
edge_lengththe target edge length.
iterationsthe number of iterations
use_projectionuse back-projection to the input surface

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