Generated from class MR.RemeshSettings. This is the const half of the class.
More...
|
|
virtual void | Dispose () |
| |
|
unsafe | Const_RemeshSettings () |
| | Constructs an empty (default-constructed) instance.
|
| |
|
unsafe | Const_RemeshSettings (float targetEdgeLen, int maxEdgeSplits, float maxAngleChangeAfterFlip, bool frozenBoundary, float maxBdShift, bool useCurvature, float maxSplittableTriAspectRatio, int finalRelaxIters, bool finalRelaxNoShrinkage, MR.FaceBitSet? region, MR.UndirectedEdgeBitSet? notFlippable, bool packMesh, bool projectOnOriginalMesh, MR.Std._ByValue_Function_VoidFuncFromMREdgeIdMREdgeId onEdgeSplit, MR.Std._ByValue_Function_VoidFuncFromMREdgeIdMREdgeId onEdgeDel, MR.Std._ByValue_Function_BoolFuncFromMREdgeIdConstMRVector3fRef preCollapse, MR.Std._ByValue_Function_BoolFuncFromFloat progressCallback) |
| | Constructs MR.RemeshSettings elementwise.
|
| |
|
unsafe | Const_RemeshSettings (MR._ByValue_RemeshSettings _other) |
| | Generated from constructor MR.RemeshSettings.RemeshSettings.
|
| |
|
|
virtual unsafe void | Dispose (bool disposing) |
| |
Generated from class MR.RemeshSettings. This is the const half of the class.
◆ finalRelaxIters
| unsafe int MR.Const_RemeshSettings.finalRelaxIters |
|
get |
the number of iterations of final relaxation of mesh vertices; few iterations can give almost perfect uniformity of the vertices and edge lengths but deviate from the original surface
◆ frozenBoundary
| unsafe bool MR.Const_RemeshSettings.frozenBoundary |
|
get |
Allows or prohibits splitting and/or collapse boundary edges it recommended to keep default value here for better quality
◆ maxBdShift
| unsafe float MR.Const_RemeshSettings.maxBdShift |
|
get |
Maximal shift of a boundary during one edge collapse only makes sense if frozenBoundary=false
◆ maxSplittableTriAspectRatio
| unsafe float MR.Const_RemeshSettings.maxSplittableTriAspectRatio |
|
get |
An edge is subdivided only if both its left and right triangles have aspect ratio below or equal to this value. So this is a maximum aspect ratio of a triangle that can be split on two before Delone optimization. Please set it to a smaller value only if frozenBoundary==true, otherwise many narrow triangles can appear near border
◆ notFlippable
Edges specified by this bit-set will never be flipped or collapsed, but they can be replaced during collapse of nearby edges so it is updated during the operation; also the vertices incident to these edges are excluded from relaxation
◆ preCollapse
The user can provide this optional callback that is invoked immediately before edge collapse;.
It receives the edge being collapsed: its destination vertex will disappear, and its origin vertex will get new position (provided as the second argument) after collapse; If the callback returns false, then the collapse is prohibited
◆ projectOnOriginalMesh
| unsafe bool MR.Const_RemeshSettings.projectOnOriginalMesh |
|
get |
if true, then every new vertex after subdivision will be projected on the original mesh (before smoothing); this does not affect the vertices moved on other stages of the processing
◆ targetEdgeLen
| unsafe float MR.Const_RemeshSettings.targetEdgeLen |
|
get |
the algorithm will try to keep the length of all edges close to this value, splitting the edges longer than targetEdgeLen, and then eliminating the edges shorter than targetEdgeLen
◆ useCurvature
| unsafe bool MR.Const_RemeshSettings.useCurvature |
|
get |
This option in subdivision works best for natural surfaces, where all triangles are close to equilateral and have similar area, and no sharp edges in between
The documentation for this class was generated from the following file: