Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | closeHolesInHoleWindingNumber (self) |
| bool | decimate (self) |
| IFastWindingNumber | fwn (self) |
| OffsetMode | offsetMode (self) |
| Const_func_void_from_SignDetectionMode | onSignDetectionModeSelected (self) |
| UndirectedEdgeBitSet | outSharpEdges (self) |
| bool | preSubdivide (self) |
| Const_func_bool_from_float | progress (self) |
| int | reduceAngleNumIters (self) |
| SignDetectionModeShort | signMode (self) |
| float | tinyEdgeLength (self) |
| float | voxelSize (self) |
| float | windingNumberBeta (self) |
| float | windingNumberThreshold (self) |
Static Protected Attributes | |
| typing | _offsetof_closeHolesInHoleWindingNumber = 12 |
| typing | _offsetof_decimate = 60 |
| typing | _offsetof_fwn = 40 |
| typing | _offsetof_offsetMode = 16 |
| typing | _offsetof_onSignDetectionModeSelected = 104 |
| typing | _offsetof_outSharpEdges = 24 |
| typing | _offsetof_preSubdivide = 0 |
| typing | _offsetof_progress = 72 |
| typing | _offsetof_reduceAngleNumIters = 56 |
| typing | _offsetof_signMode = 8 |
| typing | _offsetof_tinyEdgeLength = 64 |
| typing | _offsetof_voxelSize = 4 |
| typing | _offsetof_windingNumberBeta = 36 |
| typing | _offsetof_windingNumberThreshold = 32 |
Generated from: MR::RebuildMeshSettings
| mrmeshpy.ConstRebuildMeshSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstRebuildMeshSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstRebuildMeshSettings, arg0: meshlib.mrmeshpy.ConstRebuildMeshSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstRebuildMeshSettings, preSubdivide: bool, voxelSize: float, signMode: meshlib.mrmeshpy.SignDetectionModeShort, closeHolesInHoleWindingNumber: bool, offsetMode: meshlib.mrmeshpy.OffsetMode, outSharpEdges: meshlib.mrmeshpy.UndirectedEdgeBitSet, windingNumberThreshold: float, windingNumberBeta: float, fwn: meshlib.mrmeshpy.IFastWindingNumber, reduceAngleNumIters: int, decimate: bool, tinyEdgeLength: float, progress: meshlib.mrmeshpy.Const_func_bool_from_float, onSignDetectionModeSelected: meshlib.mrmeshpy.Const_func_void_from_SignDetectionMode) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstRebuildMeshSettings, : meshlib.mrmeshpy.ConstRebuildMeshSettings) -> None
| bool mrmeshpy.ConstRebuildMeshSettings.closeHolesInHoleWindingNumber | ( | self | ) |
whether to construct closed mesh in signMode = SignDetectionModeShort::HoleWindingNumber
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| bool mrmeshpy.ConstRebuildMeshSettings.decimate | ( | self | ) |
whether to decimate resulting mesh
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| IFastWindingNumber mrmeshpy.ConstRebuildMeshSettings.fwn | ( | self | ) |
defines particular implementation of IFastWindingNumber interface that will compute windings (if required). If it is not specified, default FastWindingNumber is used
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| OffsetMode mrmeshpy.ConstRebuildMeshSettings.offsetMode | ( | self | ) |
| Const_func_void_from_SignDetectionMode mrmeshpy.ConstRebuildMeshSettings.onSignDetectionModeSelected | ( | self | ) |
this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort::Auto), but before actual work begins
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| UndirectedEdgeBitSet mrmeshpy.ConstRebuildMeshSettings.outSharpEdges | ( | self | ) |
if non-null then created sharp edges (only if offsetMode = OffsetMode::Sharpening) will be saved here
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| bool mrmeshpy.ConstRebuildMeshSettings.preSubdivide | ( | self | ) |
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
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| Const_func_bool_from_float mrmeshpy.ConstRebuildMeshSettings.progress | ( | self | ) |
To report algorithm's progress and cancel it on user demand
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| int mrmeshpy.ConstRebuildMeshSettings.reduceAngleNumIters | ( | self | ) |
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
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| SignDetectionModeShort mrmeshpy.ConstRebuildMeshSettings.signMode | ( | self | ) |
| float mrmeshpy.ConstRebuildMeshSettings.tinyEdgeLength | ( | self | ) |
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
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| float mrmeshpy.ConstRebuildMeshSettings.voxelSize | ( | self | ) |
Size of voxel in grid conversions; The user is responsible for setting some positive value here
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| float mrmeshpy.ConstRebuildMeshSettings.windingNumberBeta | ( | self | ) |
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
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
| float mrmeshpy.ConstRebuildMeshSettings.windingNumberThreshold | ( | self | ) |
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
Reimplemented in mrmeshpy.RebuildMeshSettings, and mrmeshpy.RebuildMeshSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |