MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.RebuildMeshSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, RebuildMeshSettings arg0)
 
None __init__ (self, float voxelSize, SignDetectionModeShort signMode, OffsetMode offsetMode, UndirectedEdgeBitSet outSharpEdges, float windingNumberThreshold, float windingNumberBeta, IFastWindingNumber fwn, bool decimate, float tinyEdgeLength, func_bool_from_float progress, func_void_from_SignDetectionMode onSignDetectionModeSelected)
 
bool decimate (self)
 
None decimate (self, bool arg1)
 
IFastWindingNumber fwn (self)
 
None fwn (self, IFastWindingNumber arg1)
 
func_void_from_SignDetectionMode onSignDetectionModeSelected (self)
 
None onSignDetectionModeSelected (self, func_void_from_SignDetectionMode arg1)
 
UndirectedEdgeBitSet outSharpEdges (self)
 
None outSharpEdges (self, UndirectedEdgeBitSet arg1)
 
func_bool_from_float progress (self)
 
None progress (self, func_bool_from_float arg1)
 
float tinyEdgeLength (self)
 
None tinyEdgeLength (self, float arg1)
 
float voxelSize (self)
 
None voxelSize (self, float arg1)
 
float windingNumberBeta (self)
 
None windingNumberBeta (self, float arg1)
 
float windingNumberThreshold (self)
 
None windingNumberThreshold (self, float arg1)
 

Detailed Description

Generated from:  MR::RebuildMeshSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.RebuildMeshSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.RebuildMeshSettings.__init__ ( self,
RebuildMeshSettings arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.RebuildMeshSettings.__init__ ( self,
float voxelSize,
SignDetectionModeShort signMode,
OffsetMode offsetMode,
UndirectedEdgeBitSet outSharpEdges,
float windingNumberThreshold,
float windingNumberBeta,
IFastWindingNumber fwn,
bool decimate,
float tinyEdgeLength,
func_bool_from_float progress,
func_void_from_SignDetectionMode onSignDetectionModeSelected )
Implicit aggregate constructor.

Member Function Documentation

◆ decimate() [1/2]

bool meshlib.mrmeshpy.RebuildMeshSettings.decimate ( self)
whether to decimate resulting mesh

◆ decimate() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.decimate ( self,
bool arg1 )

◆ fwn() [1/2]

IFastWindingNumber meshlib.mrmeshpy.RebuildMeshSettings.fwn ( self)
defines particular implementation of IFastWindingNumber interface that will compute windings (if required).
If it is not specified, default FastWindingNumber is used

◆ fwn() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.fwn ( self,
IFastWindingNumber arg1 )

◆ onSignDetectionModeSelected() [1/2]

func_void_from_SignDetectionMode meshlib.mrmeshpy.RebuildMeshSettings.onSignDetectionModeSelected ( self)
this callback is invoked when SignDetectionMode is determined (useful if signMode = SignDetectionModeShort::Auto),
but before actual work begins

◆ onSignDetectionModeSelected() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.onSignDetectionModeSelected ( self,
func_void_from_SignDetectionMode arg1 )

◆ outSharpEdges() [1/2]

UndirectedEdgeBitSet meshlib.mrmeshpy.RebuildMeshSettings.outSharpEdges ( self)
if non-null then created sharp edges (only if offsetMode = OffsetMode::Sharpening) will be saved here

◆ outSharpEdges() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.outSharpEdges ( self,
UndirectedEdgeBitSet arg1 )

◆ progress() [1/2]

func_bool_from_float meshlib.mrmeshpy.RebuildMeshSettings.progress ( self)
To report algorithm's progress and cancel it on user demand

◆ progress() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.progress ( self,
func_bool_from_float arg1 )

◆ tinyEdgeLength() [1/2]

float meshlib.mrmeshpy.RebuildMeshSettings.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 meshlib.mrmeshpy.RebuildMeshSettings.tinyEdgeLength ( self,
float arg1 )

◆ voxelSize() [1/2]

float meshlib.mrmeshpy.RebuildMeshSettings.voxelSize ( self)
Size of voxel in grid conversions;
The user is responsible for setting some positive value here

◆ voxelSize() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.voxelSize ( self,
float arg1 )

◆ windingNumberBeta() [1/2]

float meshlib.mrmeshpy.RebuildMeshSettings.windingNumberBeta ( self)
if general winding number is used to differentiate inside from outside:
determines the precision of fast approximation: the more the better, minimum value is 1

◆ windingNumberBeta() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.windingNumberBeta ( self,
float arg1 )

◆ windingNumberThreshold() [1/2]

float meshlib.mrmeshpy.RebuildMeshSettings.windingNumberThreshold ( self)
if general winding number is used to differentiate inside from outside:
positive distance if winding number below or equal this threshold;
ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes

◆ windingNumberThreshold() [2/2]

None meshlib.mrmeshpy.RebuildMeshSettings.windingNumberThreshold ( self,
float arg1 )

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