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. | |
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:
|
explicit |
Constructor that initializes the remeshing with a given mesh.
mesh | The surface mesh to be remeshed. |
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.
min_edge_length | the minimum edge length. |
max_edge_length | the maximum edge length. |
approx_error | the maximum approximation error |
iterations | the number of iterations |
use_projection | use back-projection to the input surface |
void uniform_remeshing | ( | float | edge_length, |
unsigned int | iterations = 10, | ||
bool | use_projection = true ) |
Perform uniform remeshing.
edge_length | the target edge length. |
iterations | the number of iterations |
use_projection | use back-projection to the input surface |