MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.MeshFromVoxelsPostProcessingParams Class Reference

Public Member Functions

None __init__ (self)
None __init__ (self, MeshFromVoxelsPostProcessingParams arg0)
None __init__ (self, float voxelSize, int reduceAngleNumIters, bool decimate, float tinyEdgeLength, UndirectedEdgeBitSet sharpEdges)
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)

Static Public Member Functions

None __init__ (*args, **kwargs)
MeshFromVoxelsPostProcessingParams operator (*args, **kwargs)
MeshFromVoxelsPostProcessingParams operator (*args, **kwargs)

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__() [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,
MeshFromVoxelsPostProcessingParams 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

◆ decimate() [1/2]

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

◆ decimate() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.decimate ( self,
bool arg1 )

◆ operator() [1/2]

MeshFromVoxelsPostProcessingParams mrmeshpy.MeshFromVoxelsPostProcessingParams.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

MeshFromVoxelsPostProcessingParams mrmeshpy.MeshFromVoxelsPostProcessingParams.operator ( * args,
** kwargs )
static

◆ 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

◆ reduceAngleNumIters() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.reduceAngleNumIters ( self,
int arg1 )

◆ sharpEdges() [1/2]

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

◆ sharpEdges() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.sharpEdges ( self,
UndirectedEdgeBitSet arg1 )

◆ 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

◆ tinyEdgeLength() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.tinyEdgeLength ( self,
float arg1 )

◆ voxelSize() [1/2]

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

◆ voxelSize() [2/2]

None mrmeshpy.MeshFromVoxelsPostProcessingParams.voxelSize ( self,
float arg1 )

Member Data Documentation

◆ _offsetof_decimate

typing mrmeshpy.MeshFromVoxelsPostProcessingParams._offsetof_decimate = 8
staticprotected

◆ _offsetof_reduceAngleNumIters

typing mrmeshpy.MeshFromVoxelsPostProcessingParams._offsetof_reduceAngleNumIters = 4
staticprotected

◆ _offsetof_sharpEdges

typing mrmeshpy.MeshFromVoxelsPostProcessingParams._offsetof_sharpEdges = 16
staticprotected

◆ _offsetof_tinyEdgeLength

typing mrmeshpy.MeshFromVoxelsPostProcessingParams._offsetof_tinyEdgeLength = 12
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.MeshFromVoxelsPostProcessingParams._offsetof_voxelSize = 0
staticprotected

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