#define MRMESH_API
Definition MRMeshFwd.h:80
VertColors * colorMap
optional colors of vertices; if provided then elements corresponding to new vertices will be added th...
Definition MRFillHoleNicely.h:52
FillHoleParams triangulateParams
how to triangulate the hole, must be specified by the user
Definition MRFillHoleNicely.h:61
int maxEdgeSplits
Maximum number of edge splits allowed during subdivision.
Definition MRFillHoleNicely.h:22
EdgeWeights edgeWeights
edge weighting scheme for smoothCurvature mode
Definition MRFillHoleNicely.h:40
SubdivideFillingSettings subdivideSettings
if triangulateOnly is false - this settings are used to subdivide new filling
Definition MRFillHoleNicely.h:96
bool naturalSmooth
Additionally smooth 3 layers of vertices near hole boundary both inside and outside of the hole.
Definition MRFillHoleNicely.h:37
VertUVCoords * uvCoords
optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be ...
Definition MRFillHoleNicely.h:49
bool smoothCurvature
Whether to make patch over the hole smooth both inside and on its boundary with existed surface.
Definition MRFillHoleNicely.h:99
bool triangulateOnly
If false then additional vertices are created inside the patch for best mesh quality.
Definition MRFillHoleNicely.h:93
VertexMass vmass
vertex mass scheme for smoothCurvature mode
Definition MRFillHoleNicely.h:43
SmoothFillingSettings smoothSeettings
if smoothCurvature is true and `triangulateOnly is false - these settings are used to smooth new fill...
Definition MRFillHoleNicely.h:102
EdgeWeights
determines the weight of each edge in applications like Laplacian
Definition MREnums.h:44
FaceBitSet stitchHolesNicely(Mesh &mesh, EdgeId hole0Edge, EdgeId hole1Edge, const StitchHolesNicelySettings &settings)
bool triangulateOnly
If false then additional vertices are created inside the patch for best mesh quality.
Definition MRFillHoleNicely.h:64
std::function< bool(EdgeId e)> beforeEdgeSplit
(If this is set) this function is called in subdivision each time edge (e) is going to split,...
Definition MRFillHoleNicely.h:28
SubdivideFillingSettings subdivideSettings
if triangulateOnly is false - this settings are used to subdivide new filling
Definition MRFillHoleNicely.h:67
float maxEdgeLen
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than thi...
Definition MRFillHoleNicely.h:19
StitchHolesParams triangulateParams
how to triangulate the cylinder between holes, must be specified by the user
Definition MRFillHoleNicely.h:90
UndirectedEdgeBitSet * notFlippable
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped,...
Definition MRFillHoleNicely.h:16
OutAttributesFillingSettings outAttributes
structure with optional output attributes
Definition MRFillHoleNicely.h:105
bool smoothCurvature
Whether to make patch over the hole smooth both inside and on its boundary with existed surface.
Definition MRFillHoleNicely.h:70
FaceColors * faceColors
optional colors of faces; if provided then elements corresponding to new faces will be added there
Definition MRFillHoleNicely.h:55
std::function< void(EdgeId e1, EdgeId e)> onEdgeSplit
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e),...
Definition MRFillHoleNicely.h:31
FaceBitSet fillHoleNicely(Mesh &mesh, EdgeId holeEdge, const FillHoleNicelySettings &settings)
fills a hole in mesh specified by one of its edge, optionally subdivides new patch on smaller triangl...
SmoothFillingSettings smoothSeettings
if smoothCurvature is true and `triangulateOnly is false - these settings are used to smooth new fill...
Definition MRFillHoleNicely.h:73
VertexMass
determines the weight or mass of each vertex in applications like Laplacian
Definition MREnums.h:34
float maxAngleChangeAfterFlip
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than ...
Definition MRFillHoleNicely.h:25
OutAttributesFillingSettings outAttributes
structure with optional output attributes
Definition MRFillHoleNicely.h:76
@ Cotan
edge weight depends on local geometry and uses cotangent values
Definition MREnums.h:49
@ Unit
all vertices have same mass=1
Definition MREnums.h:36
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRFillHoleNicely.h:59
Parameters structure for MR::fillHole Structure has some options to control MR::fillHole.
Definition MRMeshFillHole.h:26
Definition MRFillHoleNicely.h:47
Definition MRFillHoleNicely.h:35
Definition MRFillHoleNicely.h:88
Parameters structure for MR::stitchHoles Structure has some options to control MR::stitchHoles.
Definition MRMeshFillHole.h:84
Definition MRFillHoleNicely.h:14