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

Public Member Functions

None __init__ (self)
 
None __init__ (self, SharpenMarchingCubesMeshSettings arg0)
 
None __init__ (self, float minNewVertDev, float maxNewRank2VertDev, float maxNewRank3VertDev, float offset, float maxOldVertPosCorrection, int posSelIters, UndirectedEdgeBitSet outSharpEdges)
 
float maxNewRank2VertDev (self)
 
None maxNewRank2VertDev (self, float arg1)
 
float maxNewRank3VertDev (self)
 
None maxNewRank3VertDev (self, float arg1)
 
float maxOldVertPosCorrection (self)
 
None maxOldVertPosCorrection (self, float arg1)
 
float minNewVertDev (self)
 
None minNewVertDev (self, float arg1)
 
float offset (self)
 
None offset (self, float arg1)
 
UndirectedEdgeBitSet outSharpEdges (self)
 
None outSharpEdges (self, UndirectedEdgeBitSet arg1)
 
int posSelIters (self)
 
None posSelIters (self, int arg1)
 

Detailed Description

Generated from:  MR::SharpenMarchingCubesMeshSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.__init__ ( self,
float minNewVertDev,
float maxNewRank2VertDev,
float maxNewRank3VertDev,
float offset,
float maxOldVertPosCorrection,
int posSelIters,
UndirectedEdgeBitSet outSharpEdges )
Implicit aggregate constructor.

Member Function Documentation

◆ maxNewRank2VertDev() [1/2]

float meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.maxNewRank2VertDev ( self)
maximal surface deviation to introduce new rank 2 vertex (on intersection of 2 planes);
recommended set equal to ( 5 * voxel size )

◆ maxNewRank2VertDev() [2/2]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.maxNewRank2VertDev ( self,
float arg1 )

◆ maxNewRank3VertDev() [1/2]

float meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.maxNewRank3VertDev ( self)
maximal surface deviation to introduce new rank 3 vertex (on intersection of 3 planes);
recommended set equal to ( 2 * voxel size )

◆ maxNewRank3VertDev() [2/2]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.maxNewRank3VertDev ( self,
float arg1 )

◆ maxOldVertPosCorrection() [1/2]

float meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.maxOldVertPosCorrection ( self)
correct positions of the input vertices using reference mesh by not more than this distance;
big correction can be wrong and result from self-intersections in the reference mesh
recommended set equal to ( voxel size / 2 )

◆ maxOldVertPosCorrection() [2/2]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.maxOldVertPosCorrection ( self,
float arg1 )

◆ minNewVertDev() [1/2]

float meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.minNewVertDev ( self)
minimal surface deviation to introduce new vertex in a voxel;
recommended set equal to ( voxel size / 25 )

◆ minNewVertDev() [2/2]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.minNewVertDev ( self,
float arg1 )

◆ offset() [1/2]

float meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.offset ( self)
relative to reference mesh

◆ offset() [2/2]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.offset ( self,
float arg1 )

◆ outSharpEdges() [1/2]

UndirectedEdgeBitSet meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.outSharpEdges ( self)
if non-null then created sharp edges will be saved here

◆ outSharpEdges() [2/2]

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

◆ posSelIters() [1/2]

int meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.posSelIters ( self)
the number of iterations to best select positions for new vertices,
the probability of self-intersections and spikes are higher if posSelIters = 0

◆ posSelIters() [2/2]

None meshlib.mrmeshpy.SharpenMarchingCubesMeshSettings.posSelIters ( self,
int arg1 )

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