MeshLib
 
Loading...
Searching...
No Matches
MR::FillHoleNicelySettings Struct Reference

#include <MRFillHoleNicely.h>

Public Attributes

FillHoleParams triangulateParams
 how to triangulate the hole, must be specified by the user
 
bool triangulateOnly = false
 If false then additional vertices are created inside the patch for best mesh quality.
 
float maxEdgeLen = 0
 Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value.
 
int maxEdgeSplits = 1000
 Maximum number of edge splits allowed during subdivision.
 
float maxAngleChangeAfterFlip = 30 * PI_F / 180.0f
 Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians)
 
bool smoothCurvature = true
 Whether to make patch over the hole smooth both inside and on its boundary with existed surface.
 
EdgeWeights edgeWeights = EdgeWeights::Cotan
 edge weighting scheme for smoothCurvature mode
 
VertUVCoords * uvCoords = {}
 optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there
 
VertColors * colorMap = {}
 optional colors of vertices; if provided then elements corresponding to new vertices will be added there
 

Member Data Documentation

◆ colorMap

VertColors* MR::FillHoleNicelySettings::colorMap = {}

optional colors of vertices; if provided then elements corresponding to new vertices will be added there

◆ edgeWeights

EdgeWeights MR::FillHoleNicelySettings::edgeWeights = EdgeWeights::Cotan

edge weighting scheme for smoothCurvature mode

◆ maxAngleChangeAfterFlip

float MR::FillHoleNicelySettings::maxAngleChangeAfterFlip = 30 * PI_F / 180.0f

Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians)

◆ maxEdgeLen

float MR::FillHoleNicelySettings::maxEdgeLen = 0

Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value.

◆ maxEdgeSplits

int MR::FillHoleNicelySettings::maxEdgeSplits = 1000

Maximum number of edge splits allowed during subdivision.

◆ smoothCurvature

bool MR::FillHoleNicelySettings::smoothCurvature = true

Whether to make patch over the hole smooth both inside and on its boundary with existed surface.

◆ triangulateOnly

bool MR::FillHoleNicelySettings::triangulateOnly = false

If false then additional vertices are created inside the patch for best mesh quality.

◆ triangulateParams

FillHoleParams MR::FillHoleNicelySettings::triangulateParams

how to triangulate the hole, must be specified by the user

◆ uvCoords

VertUVCoords* MR::FillHoleNicelySettings::uvCoords = {}

optional uv-coordinates of vertices; if provided then elements corresponding to new vertices will be added there


The documentation for this struct was generated from the following file: