Generated from: MR::RemeshSettings
None meshlib.mrmeshpy.RemeshSettings.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.RemeshSettings.__init__ | ( | self, | |
RemeshSettings | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.RemeshSettings.__init__ | ( | self, | |
float | targetEdgeLen, | ||
int | maxEdgeSplits, | ||
float | maxAngleChangeAfterFlip, | ||
float | maxBdShift, | ||
bool | useCurvature, | ||
int | finalRelaxIters, | ||
bool | finalRelaxNoShrinkage, | ||
FaceBitSet | region, | ||
UndirectedEdgeBitSet | notFlippable, | ||
bool | packMesh, | ||
bool | projectOnOriginalMesh, | ||
func_void_from_Id_EdgeTag_Id_EdgeTag | onEdgeSplit, | ||
func_void_from_Id_EdgeTag_Id_EdgeTag | onEdgeDel, | ||
func_bool_from_Id_EdgeTag_Vector3_float | preCollapse, | ||
func_bool_from_float | progressCallback ) |
Implicit aggregate constructor.
int meshlib.mrmeshpy.RemeshSettings.finalRelaxIters | ( | self | ) |
the number of iterations of final relaxation of mesh vertices; few iterations can give almost perfect uniformity of the vertices and edge lengths but deviate from the original surface
None meshlib.mrmeshpy.RemeshSettings.finalRelaxIters | ( | self, | |
int | arg1 ) |
bool meshlib.mrmeshpy.RemeshSettings.finalRelaxNoShrinkage | ( | self | ) |
if true prevents the surface from shrinkage after many iterations
None meshlib.mrmeshpy.RemeshSettings.finalRelaxNoShrinkage | ( | self, | |
bool | arg1 ) |
float meshlib.mrmeshpy.RemeshSettings.maxAngleChangeAfterFlip | ( | self | ) |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value
None meshlib.mrmeshpy.RemeshSettings.maxAngleChangeAfterFlip | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.RemeshSettings.maxBdShift | ( | self | ) |
Maximal shift of a boundary during one edge collapse
None meshlib.mrmeshpy.RemeshSettings.maxBdShift | ( | self, | |
float | arg1 ) |
int meshlib.mrmeshpy.RemeshSettings.maxEdgeSplits | ( | self | ) |
Maximum number of edge splits allowed during subdivision
None meshlib.mrmeshpy.RemeshSettings.maxEdgeSplits | ( | self, | |
int | arg1 ) |
UndirectedEdgeBitSet meshlib.mrmeshpy.RemeshSettings.notFlippable | ( | self | ) |
Edges specified by this bit-set will never be flipped or collapsed, but they can be replaced during collapse of nearby edges so it is updated during the operation; also the vertices incident to these edges are excluded from relaxation
None meshlib.mrmeshpy.RemeshSettings.notFlippable | ( | self, | |
UndirectedEdgeBitSet | arg1 ) |
func_void_from_Id_EdgeTag_Id_EdgeTag meshlib.mrmeshpy.RemeshSettings.onEdgeDel | ( | self | ) |
if valid (e1) is given then dest(e) = dest(e1) and their origins are in different ends of collapsing edge, e1 shall take the place of e
None meshlib.mrmeshpy.RemeshSettings.onEdgeDel | ( | self, | |
func_void_from_Id_EdgeTag_Id_EdgeTag | arg1 ) |
func_void_from_Id_EdgeTag_Id_EdgeTag meshlib.mrmeshpy.RemeshSettings.onEdgeSplit | ( | self | ) |
this function is called each time edge (e) is split into (e1->e), but before the ring is made Delone
None meshlib.mrmeshpy.RemeshSettings.onEdgeSplit | ( | self, | |
func_void_from_Id_EdgeTag_Id_EdgeTag | arg1 ) |
bool meshlib.mrmeshpy.RemeshSettings.packMesh | ( | self | ) |
whether to pack mesh at the end
None meshlib.mrmeshpy.RemeshSettings.packMesh | ( | self, | |
bool | arg1 ) |
func_bool_from_Id_EdgeTag_Vector3_float meshlib.mrmeshpy.RemeshSettings.preCollapse | ( | self | ) |
\\brief The user can provide this optional callback that is invoked immediately before edge collapse; \\details It receives the edge being collapsed: its destination vertex will disappear, and its origin vertex will get new position (provided as the second argument) after collapse; If the callback returns false, then the collapse is prohibited
None meshlib.mrmeshpy.RemeshSettings.preCollapse | ( | self, | |
func_bool_from_Id_EdgeTag_Vector3_float | arg1 ) |
func_bool_from_float meshlib.mrmeshpy.RemeshSettings.progressCallback | ( | self | ) |
callback to report algorithm progress and cancel it by user request
None meshlib.mrmeshpy.RemeshSettings.progressCallback | ( | self, | |
func_bool_from_float | arg1 ) |
bool meshlib.mrmeshpy.RemeshSettings.projectOnOriginalMesh | ( | self | ) |
if true, then every new vertex after subdivision will be projected on the original mesh (before smoothing); this does not affect the vertices moved on other stages of the processing
None meshlib.mrmeshpy.RemeshSettings.projectOnOriginalMesh | ( | self, | |
bool | arg1 ) |
FaceBitSet meshlib.mrmeshpy.RemeshSettings.region | ( | self | ) |
Region on mesh to be changed, it is updated during the operation
None meshlib.mrmeshpy.RemeshSettings.region | ( | self, | |
FaceBitSet | arg1 ) |
float meshlib.mrmeshpy.RemeshSettings.targetEdgeLen | ( | self | ) |
the algorithm will try to keep the length of all edges close to this value, splitting the edges longer than targetEdgeLen, and then eliminating the edges shorter than targetEdgeLen
None meshlib.mrmeshpy.RemeshSettings.targetEdgeLen | ( | self, | |
float | arg1 ) |
bool meshlib.mrmeshpy.RemeshSettings.useCurvature | ( | self | ) |
This option in subdivision works best for natural surfaces, where all triangles are close to equilateral and have similar area, and no sharp edges in between
None meshlib.mrmeshpy.RemeshSettings.useCurvature | ( | self, | |
bool | arg1 ) |