A class for uniform and adaptive surface remeshing. More...
#include <pmp/algorithms/SurfaceRemeshing.h>
Public Member Functions | |
SurfaceRemeshing (SurfaceMesh &mesh) | |
Construct with mesh to be remeshed. More... | |
void | uniform_remeshing (Scalar edge_length, unsigned int iterations=10, bool use_projection=true) |
Perform uniform remeshing. More... | |
void | adaptive_remeshing (Scalar min_edge_length, Scalar max_edge_length, Scalar approx_error, unsigned int iterations=10, bool use_projection=true) |
Perform adaptive remeshing. More... | |
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 [2] and [8] for a more detailed description.
SurfaceRemeshing | ( | SurfaceMesh & | mesh | ) |
Construct with mesh to be remeshed.
InvalidInputException | if the input precondition is violated. |
void adaptive_remeshing | ( | Scalar | min_edge_length, |
Scalar | max_edge_length, | ||
Scalar | 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 | ( | Scalar | 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 |