Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | decimate (self) |
| int | reduceAngleNumIters (self) |
| UndirectedEdgeBitSet | sharpEdges (self) |
| float | tinyEdgeLength (self) |
| float | voxelSize (self) |
Static Protected Attributes | |
| typing | _offsetof_decimate = 8 |
| typing | _offsetof_reduceAngleNumIters = 4 |
| typing | _offsetof_sharpEdges = 16 |
| typing | _offsetof_tinyEdgeLength = 12 |
| typing | _offsetof_voxelSize = 0 |
Generated from: MR::MeshFromVoxelsPostProcessingParams
| mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMeshFromVoxelsPostProcessingParams) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMeshFromVoxelsPostProcessingParams, arg0: meshlib.mrmeshpy.ConstMeshFromVoxelsPostProcessingParams) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstMeshFromVoxelsPostProcessingParams, voxelSize: float, reduceAngleNumIters: int, decimate: bool, tinyEdgeLength: float, sharpEdges: meshlib.mrmeshpy.UndirectedEdgeBitSet) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstMeshFromVoxelsPostProcessingParams, : meshlib.mrmeshpy.ConstMeshFromVoxelsPostProcessingParams) -> None
| bool mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.decimate | ( | self | ) |
whether to decimate resulting mesh
Reimplemented in mrmeshpy.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.
| int mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.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.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.
| UndirectedEdgeBitSet mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.sharpEdges | ( | self | ) |
sharp edges that are maintained during post-processing
Reimplemented in mrmeshpy.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.
| float mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.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.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.
| float mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.voxelSize | ( | self | ) |
The size of voxel that was used for mesh creation, must be set
Reimplemented in mrmeshpy.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |