Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| ConstVector3i | dims (self) |
| ConstAffineXf3f | gridToMeshXf (self) |
| int | maxDeletedComponentFaces (self) |
| float | maxNewRank2VertDev (self) |
| float | maxNewRank3VertDev (self) |
| float | maxOldVertPosCorrection (self) |
| float | minNewVertDev (self) |
| float | offset (self) |
| UndirectedEdgeBitSet | outSharpEdges (self) |
| int | posSelIters (self) |
| bool | voxelClamp (self) |
Static Protected Attributes | |
| typing | _offsetof_dims = 32 |
| typing | _offsetof_gridToMeshXf = 44 |
| typing | _offsetof_maxDeletedComponentFaces = 28 |
| typing | _offsetof_maxNewRank2VertDev = 4 |
| typing | _offsetof_maxNewRank3VertDev = 8 |
| typing | _offsetof_maxOldVertPosCorrection = 16 |
| typing | _offsetof_minNewVertDev = 0 |
| typing | _offsetof_offset = 12 |
| typing | _offsetof_outSharpEdges = 96 |
| typing | _offsetof_posSelIters = 20 |
| typing | _offsetof_voxelClamp = 24 |
Generated from: MR::SharpenMarchingCubesMeshSettings
| mrmeshpy.ConstSharpenMarchingCubesMeshSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstSharpenMarchingCubesMeshSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstSharpenMarchingCubesMeshSettings, arg0: meshlib.mrmeshpy.ConstSharpenMarchingCubesMeshSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstSharpenMarchingCubesMeshSettings, minNewVertDev: float, maxNewRank2VertDev: float, maxNewRank3VertDev: float, offset: float, maxOldVertPosCorrection: float, posSelIters: int, voxelClamp: bool, maxDeletedComponentFaces: int, dims: meshlib.mrmeshpy.ConstVector3i, gridToMeshXf: meshlib.mrmeshpy.ConstAffineXf3f, outSharpEdges: meshlib.mrmeshpy.UndirectedEdgeBitSet) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstSharpenMarchingCubesMeshSettings, : meshlib.mrmeshpy.ConstSharpenMarchingCubesMeshSettings) -> None
| ConstVector3i mrmeshpy.ConstSharpenMarchingCubesMeshSettings.dims | ( | self | ) |
Marching Cubes volume dimensions
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| ConstAffineXf3f mrmeshpy.ConstSharpenMarchingCubesMeshSettings.gridToMeshXf | ( | self | ) |
transform from integer Marching Cubes grid locations to the mesh reference frame: the node with integer coordinates (i,j,k) is located in gridToMeshXf( Vector3f( i, j, k ) )
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| int mrmeshpy.ConstSharpenMarchingCubesMeshSettings.maxDeletedComponentFaces | ( | self | ) |
if positive, then in the end every connected component with not more than this number of triangles intersecting a component with at least as many triangles is deleted; such tiny fragments appear near sharp creases
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| float mrmeshpy.ConstSharpenMarchingCubesMeshSettings.maxNewRank2VertDev | ( | self | ) |
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes); recommended set equal to ( 5 * voxel size )
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| float mrmeshpy.ConstSharpenMarchingCubesMeshSettings.maxNewRank3VertDev | ( | self | ) |
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes); recommended set equal to ( 2 * voxel size )
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| float mrmeshpy.ConstSharpenMarchingCubesMeshSettings.maxOldVertPosCorrection | ( | self | ) |
correct positions of the input vertices using reference mesh by not more than this distance; big correction can be wrong and result from self-intersections in the reference mesh recommended set equal to ( voxel size / 2 )
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| float mrmeshpy.ConstSharpenMarchingCubesMeshSettings.minNewVertDev | ( | self | ) |
minimal surface deviation to introduce new vertex in a voxel; recommended set equal to ( voxel size / 25 )
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| float mrmeshpy.ConstSharpenMarchingCubesMeshSettings.offset | ( | self | ) |
relative to reference mesh
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| UndirectedEdgeBitSet mrmeshpy.ConstSharpenMarchingCubesMeshSettings.outSharpEdges | ( | self | ) |
if non-null then created sharp edges will be saved here
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| int mrmeshpy.ConstSharpenMarchingCubesMeshSettings.posSelIters | ( | self | ) |
the number of iterations to best select positions for new vertices, the probability of self-intersections and spikes are higher if posSelIters = 0
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
| bool mrmeshpy.ConstSharpenMarchingCubesMeshSettings.voxelClamp | ( | self | ) |
if true, the displacement of a new vertex from the average point is shortened to keep the vertex within its voxel's box (so the geometry of a voxel can never reach another one), and the in-plane elevation check is skipped; requires dims and gridToMeshXf to be set
Reimplemented in mrmeshpy.SharpenMarchingCubesMeshSettings, and mrmeshpy.SharpenMarchingCubesMeshSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |