Generated from class MR.FixMeshDegeneraciesParams. This is the const half of the class.
More...
|
| virtual unsafe void | Dispose (bool disposing) |
|
| unsafe float | maxDeviation [get] |
| | maximum permitted deviation from the original surface
|
| unsafe float | tinyEdgeLength [get] |
| | edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
|
| unsafe float | criticalTriAspectRatio [get] |
| | the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio
|
| unsafe float | maxAngleChange [get] |
| | Permit edge flips if it does not change dihedral angle more than on this value.
|
| unsafe float | stabilizer [get] |
| | Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero.
|
| unsafe MR.? FaceBitSet | region [get] |
| | degenerations will be fixed only in given region, it is updated during the operation
|
| unsafe MR.FixMeshDegeneraciesParams.Mode | mode [get] |
| unsafe bool | mimicPatch [get] |
| | trying to stay close to initial surface when patching also disables smoothing on patch
|
| unsafe bool | protectAttributeBorders [get] |
| | only for fixMeshDataDegeneracies (fixMeshDegeneracies ignores it): never flip the edges between faces with different colors or texture ids, the selected edges and the creases, so that the fixing does not move them, but their vertices can still shift by up to max( maxDeviation, tinyEdgeLength ) in the collapses of nearby edges; a degenerate triangle with the longest edge among them is then fixed only if its opposite vertex is within max( maxDeviation, tinyEdgeLength ) from that edge, or by Mode.RemeshPatch
|
| unsafe MR.Std.Const_Function_Bool_From_Float | cb [get, protected set] |
Generated from class MR.FixMeshDegeneraciesParams. This is the const half of the class.
◆ Mode
| Enumerator |
|---|
| Decimate | use decimation only to fix degeneracies
|
| Remesh | if decimation does not succeed, perform subdivision too
|
| RemeshPatch | if both decimation and subdivision does not succeed, removes degenerate areas and fills occurred holes
|
◆ Const_FixMeshDegeneraciesParams() [1/5]
| unsafe MR.Const_FixMeshDegeneraciesParams.Const_FixMeshDegeneraciesParams |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_FixMeshDegeneraciesParams() [2/5]
| unsafe MR.Const_FixMeshDegeneraciesParams.Const_FixMeshDegeneraciesParams |
( |
float | maxDeviation, |
|
|
float | tinyEdgeLength, |
|
|
float | criticalTriAspectRatio, |
|
|
float | maxAngleChange, |
|
|
float | stabilizer, |
|
|
MR.FaceBitSet? | region, |
|
|
MR.FixMeshDegeneraciesParams.Mode | mode, |
|
|
bool | mimicPatch, |
|
|
bool | protectAttributeBorders, |
|
|
MR.Std._ByValue_Function_Bool_From_Float | cb ) |
|
inline |
◆ Const_FixMeshDegeneraciesParams() [3/5]
| unsafe MR.Const_FixMeshDegeneraciesParams.Const_FixMeshDegeneraciesParams |
( |
MR._ByValue_FixMeshDegeneraciesParams | _other | ) |
|
|
inline |
◆ Const_FixMeshDegeneraciesParams() [4/5]
◆ Const_FixMeshDegeneraciesParams() [5/5]
◆ Dispose() [1/2]
| virtual void MR.Const_FixMeshDegeneraciesParams.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_FixMeshDegeneraciesParams.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ __ptr_storage_region
| unsafe MR.FaceBitSet._Underlying** MR.Const_FixMeshDegeneraciesParams.__ptr_storage_region |
|
protected |
◆ __ref_storage_criticalTriAspectRatio
| unsafe float* MR.Const_FixMeshDegeneraciesParams.__ref_storage_criticalTriAspectRatio |
|
protected |
◆ __ref_storage_maxAngleChange
| unsafe float* MR.Const_FixMeshDegeneraciesParams.__ref_storage_maxAngleChange |
|
protected |
◆ __ref_storage_maxDeviation
| unsafe float* MR.Const_FixMeshDegeneraciesParams.__ref_storage_maxDeviation |
|
protected |
◆ __ref_storage_mimicPatch
| unsafe bool* MR.Const_FixMeshDegeneraciesParams.__ref_storage_mimicPatch |
|
protected |
◆ __ref_storage_mode
◆ __ref_storage_protectAttributeBorders
| unsafe bool* MR.Const_FixMeshDegeneraciesParams.__ref_storage_protectAttributeBorders |
|
protected |
◆ __ref_storage_stabilizer
| unsafe float* MR.Const_FixMeshDegeneraciesParams.__ref_storage_stabilizer |
|
protected |
◆ __ref_storage_tinyEdgeLength
| unsafe float* MR.Const_FixMeshDegeneraciesParams.__ref_storage_tinyEdgeLength |
|
protected |
◆ cb
| unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_FixMeshDegeneraciesParams.cb |
|
getprotected set |
◆ criticalTriAspectRatio
| unsafe float MR.Const_FixMeshDegeneraciesParams.criticalTriAspectRatio |
|
get |
the algorithm will ignore dihedral angle check if one of triangles had aspect ratio equal or more than this value; and the algorithm will permit temporary increase in aspect ratio after collapse, if before collapse one of the triangles had larger aspect ratio
◆ maxAngleChange
| unsafe float MR.Const_FixMeshDegeneraciesParams.maxAngleChange |
|
get |
Permit edge flips if it does not change dihedral angle more than on this value.
◆ maxDeviation
| unsafe float MR.Const_FixMeshDegeneraciesParams.maxDeviation |
|
get |
maximum permitted deviation from the original surface
◆ mimicPatch
| unsafe bool MR.Const_FixMeshDegeneraciesParams.mimicPatch |
|
get |
trying to stay close to initial surface when patching also disables smoothing on patch
◆ mode
◆ protectAttributeBorders
| unsafe bool MR.Const_FixMeshDegeneraciesParams.protectAttributeBorders |
|
get |
only for fixMeshDataDegeneracies (fixMeshDegeneracies ignores it): never flip the edges between faces with different colors or texture ids, the selected edges and the creases, so that the fixing does not move them, but their vertices can still shift by up to max( maxDeviation, tinyEdgeLength ) in the collapses of nearby edges; a degenerate triangle with the longest edge among them is then fixed only if its opposite vertex is within max( maxDeviation, tinyEdgeLength ) from that edge, or by Mode.RemeshPatch
◆ region
| unsafe MR.? FaceBitSet MR.Const_FixMeshDegeneraciesParams.region |
|
get |
degenerations will be fixed only in given region, it is updated during the operation
◆ stabilizer
| unsafe float MR.Const_FixMeshDegeneraciesParams.stabilizer |
|
get |
Small stabilizer is important to achieve good results on completely planar mesh parts, if your mesh is not-planer everywhere, then you can set it to zero.
◆ tinyEdgeLength
| unsafe float MR.Const_FixMeshDegeneraciesParams.tinyEdgeLength |
|
get |
edges not longer than this value will be collapsed ignoring normals and aspect ratio checks
The documentation for this class was generated from the following file: