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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstMeshFromVoxelsPostProcessingParams arg0)
None __init__ (self, float voxelSize, int reduceAngleNumIters, bool decimate, float tinyEdgeLength, UndirectedEdgeBitSet sharpEdges)
MeshFromVoxelsPostProcessingParams assign (self, ConstMeshFromVoxelsPostProcessingParams other)
bool decimate (self)
None decimate (self, bool arg1)
int reduceAngleNumIters (self)
None reduceAngleNumIters (self, int arg1)
UndirectedEdgeBitSet sharpEdges (self)
None sharpEdges (self, UndirectedEdgeBitSet arg1)
float tinyEdgeLength (self)
None tinyEdgeLength (self, float arg1)
float voxelSize (self)
None voxelSize (self, float arg1)
Public Member Functions inherited from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams
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__() [1/4]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.__init__ ( self,
ConstMeshFromVoxelsPostProcessingParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.__init__ ( self,
float voxelSize,
int reduceAngleNumIters,
bool decimate,
float tinyEdgeLength,
UndirectedEdgeBitSet sharpEdges )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

MeshFromVoxelsPostProcessingParams mrmeshpy.MeshFromVoxelsPostProcessingParams.assign ( self,
ConstMeshFromVoxelsPostProcessingParams other )

◆ decimate() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ decimate() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.decimate ( self,
bool arg1 )
whether to decimate resulting mesh

Reimplemented from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ reduceAngleNumIters() [1/2]

int mrmeshpy.MeshFromVoxelsPostProcessingParams.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 from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ reduceAngleNumIters() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.reduceAngleNumIters ( self,
int arg1 )
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 from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ sharpEdges() [1/2]

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

Reimplemented from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ sharpEdges() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.sharpEdges ( self,
UndirectedEdgeBitSet arg1 )
sharp edges that are maintained during post-processing

Reimplemented from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ tinyEdgeLength() [1/2]

float mrmeshpy.MeshFromVoxelsPostProcessingParams.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 from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ tinyEdgeLength() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.tinyEdgeLength ( self,
float arg1 )
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 from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ voxelSize() [1/2]

float mrmeshpy.MeshFromVoxelsPostProcessingParams.voxelSize ( self)
The size of voxel that was used for mesh creation, must be set

Reimplemented from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.

◆ voxelSize() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.voxelSize ( self,
float arg1 )
The size of voxel that was used for mesh creation, must be set

Reimplemented from mrmeshpy.ConstMeshFromVoxelsPostProcessingParams.


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