|
| unsafe | RebuildMeshSettings () |
| | Constructs an empty (default-constructed) instance.
|
| unsafe | RebuildMeshSettings (bool preSubdivide, float voxelSize, MR.SignDetectionModeShort signMode, bool closeHolesInHoleWindingNumber, MR.OffsetMode offsetMode, MR.UndirectedEdgeBitSet? outSharpEdges, float windingNumberThreshold, float windingNumberBeta, MR.Std._ByValue_SharedPtr_MRIFastWindingNumber fwn, int reduceAngleNumIters, bool decimate, float tinyEdgeLength, MR.Std._ByValue_Function_Bool_From_Float progress, MR.Std._ByValue_Function_Void_From_MRSignDetectionMode onSignDetectionModeSelected) |
| | Constructs MR.RebuildMeshSettings elementwise.
|
| unsafe | RebuildMeshSettings (MR._ByValue_RebuildMeshSettings _other) |
| | Generated from constructor MR.RebuildMeshSettings.RebuildMeshSettings.
|
| | RebuildMeshSettings (Const_RebuildMeshSettings _other) |
| | Generated from constructor MR.RebuildMeshSettings.RebuildMeshSettings.
|
| | RebuildMeshSettings (RebuildMeshSettings _other) |
| | Generated from constructor MR.RebuildMeshSettings.RebuildMeshSettings.
|
| unsafe MR.RebuildMeshSettings | assign (MR._ByValue_RebuildMeshSettings _other) |
| | Generated from method MR::RebuildMeshSettings::operator=.
|
| virtual void | Dispose () |
| unsafe | Const_RebuildMeshSettings () |
| | Constructs an empty (default-constructed) instance.
|
| unsafe | Const_RebuildMeshSettings (bool preSubdivide, float voxelSize, MR.SignDetectionModeShort signMode, bool closeHolesInHoleWindingNumber, MR.OffsetMode offsetMode, MR.UndirectedEdgeBitSet? outSharpEdges, float windingNumberThreshold, float windingNumberBeta, MR.Std._ByValue_SharedPtr_MRIFastWindingNumber fwn, int reduceAngleNumIters, bool decimate, float tinyEdgeLength, MR.Std._ByValue_Function_Bool_From_Float progress, MR.Std._ByValue_Function_Void_From_MRSignDetectionMode onSignDetectionModeSelected) |
| | Constructs MR.RebuildMeshSettings elementwise.
|
| unsafe | Const_RebuildMeshSettings (MR._ByValue_RebuildMeshSettings _other) |
| | Generated from constructor MR.RebuildMeshSettings.RebuildMeshSettings.
|
| | Const_RebuildMeshSettings (Const_RebuildMeshSettings _other) |
| | Generated from constructor MR.RebuildMeshSettings.RebuildMeshSettings.
|
| | Const_RebuildMeshSettings (RebuildMeshSettings _other) |
| | Generated from constructor MR.RebuildMeshSettings.RebuildMeshSettings.
|
|
| new unsafe ref bool | preSubdivide [get] |
| | whether to make subdivision of initial mesh before conversion to voxels, despite time and memory required for the subdivision, it typically makes the whole rebuilding faster (or even much faster in case of large initial triangles), because AABB tree contains small triangles in leaves, which is good for both 1) search for closest triangle because the closest box more frequently contains the closest triangle, 2) and winding number approximation because of more frequent usage of approximation for distant dipoles
|
| new unsafe ref float | voxelSize [get] |
| | Size of voxel in grid conversions; The user is responsible for setting some positive value here.
|
| new unsafe ref MR.SignDetectionModeShort | signMode [get] |
| new unsafe ref bool | closeHolesInHoleWindingNumber [get] |
| | whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber
|
| new unsafe ref MR.OffsetMode | offsetMode [get] |
| new unsafe MR.? UndirectedEdgeBitSet | outSharpEdges [get, set] |
| | if non-null then created sharp edges (only if offsetMode = OffsetMode.Sharpening) will be saved here
|
| new unsafe ref float | windingNumberThreshold [get] |
| | if general winding number is used to differentiate inside from outside: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes
|
| new unsafe ref float | windingNumberBeta [get] |
| | if general winding number is used to differentiate inside from outside: determines the precision of fast approximation: the more the better, minimum value is 1
|
| new unsafe MR.Std.SharedPtr_MRIFastWindingNumber | fwn [get, protected set] |
| | defines particular implementation of IFastWindingNumber interface that will compute windings (if required). If it is not specified, default FastWindingNumber is used
|
| new unsafe ref int | reduceAngleNumIters [get] |
| | the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles
|
| new unsafe ref bool | decimate [get] |
| | whether to decimate resulting mesh
|
| new unsafe ref float | tinyEdgeLength [get] |
| | only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio
|
| new unsafe MR.Std.Function_Bool_From_Float | progress [get, protected set] |
| | To report algorithm's progress and cancel it on user demand.
|
| new unsafe MR.Std.Function_Void_From_MRSignDetectionMode | onSignDetectionModeSelected [get, protected set] |
| | this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort.Auto), but before actual work begins
|
| unsafe bool | preSubdivide [get] |
| | whether to make subdivision of initial mesh before conversion to voxels, despite time and memory required for the subdivision, it typically makes the whole rebuilding faster (or even much faster in case of large initial triangles), because AABB tree contains small triangles in leaves, which is good for both 1) search for closest triangle because the closest box more frequently contains the closest triangle, 2) and winding number approximation because of more frequent usage of approximation for distant dipoles
|
| unsafe float | voxelSize [get] |
| | Size of voxel in grid conversions; The user is responsible for setting some positive value here.
|
| unsafe MR.SignDetectionModeShort | signMode [get] |
| unsafe bool | closeHolesInHoleWindingNumber [get] |
| | whether to construct closed mesh in signMode = SignDetectionModeShort.HoleWindingNumber
|
| unsafe MR.OffsetMode | offsetMode [get] |
| unsafe MR.? UndirectedEdgeBitSet | outSharpEdges [get] |
| | if non-null then created sharp edges (only if offsetMode = OffsetMode.Sharpening) will be saved here
|
| unsafe float | windingNumberThreshold [get] |
| | if general winding number is used to differentiate inside from outside: positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes
|
| unsafe float | windingNumberBeta [get] |
| | if general winding number is used to differentiate inside from outside: determines the precision of fast approximation: the more the better, minimum value is 1
|
| unsafe MR.Std.Const_SharedPtr_MRIFastWindingNumber | fwn [get, protected set] |
| | defines particular implementation of IFastWindingNumber interface that will compute windings (if required). If it is not specified, default FastWindingNumber is used
|
| unsafe int | reduceAngleNumIters [get] |
| | the number of iterations to minimize summed deviation of triangle-triangle angles from plane; this mode highlights sharp edges; if decimation is on, this mode is performed before and after decimation and further reduces the number of triangles
|
| unsafe bool | decimate [get] |
| | whether to decimate resulting mesh
|
| unsafe float | tinyEdgeLength [get] |
| | only if decimate = true: edges not longer than this value will be collapsed even if it results in appearance of a triangle with high aspect ratio
|
| unsafe MR.Std.Const_Function_Bool_From_Float | progress [get, protected set] |
| | To report algorithm's progress and cancel it on user demand.
|
| unsafe MR.Std.Const_Function_Void_From_MRSignDetectionMode | onSignDetectionModeSelected [get, protected set] |
| | this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort.Auto), but before actual work begins
|
Generated from class MR.RebuildMeshSettings. This is the non-const half of the class.