MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstMeshFromVoxelsPostProcessingParams Class Reference
Inheritance diagram for mrmeshpy.ConstMeshFromVoxelsPostProcessingParams:

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

Detailed Description

Generated from:  MR::MeshFromVoxelsPostProcessingParams

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ decimate()

bool mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.decimate ( self)
whether to decimate resulting mesh

Reimplemented in mrmeshpy.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.

◆ reduceAngleNumIters()

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.

◆ sharpEdges()

UndirectedEdgeBitSet mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.sharpEdges ( self)
sharp edges that are maintained during post-processing

Reimplemented in mrmeshpy.MeshFromVoxelsPostProcessingParams, and mrmeshpy.MeshFromVoxelsPostProcessingParams.

◆ tinyEdgeLength()

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.

◆ voxelSize()

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.

Member Data Documentation

◆ _offsetof_decimate

typing mrmeshpy.ConstMeshFromVoxelsPostProcessingParams._offsetof_decimate = 8
staticprotected

◆ _offsetof_reduceAngleNumIters

typing mrmeshpy.ConstMeshFromVoxelsPostProcessingParams._offsetof_reduceAngleNumIters = 4
staticprotected

◆ _offsetof_sharpEdges

typing mrmeshpy.ConstMeshFromVoxelsPostProcessingParams._offsetof_sharpEdges = 16
staticprotected

◆ _offsetof_tinyEdgeLength

typing mrmeshpy.ConstMeshFromVoxelsPostProcessingParams._offsetof_tinyEdgeLength = 12
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.ConstMeshFromVoxelsPostProcessingParams._offsetof_voxelSize = 0
staticprotected

The documentation for this class was generated from the following file: