Generated from: MR::SubdivideSettings \\defgroup MeshSubdivideGroup Mesh Subdivide \\ingroup MeshAlgorithmGroup \\{
None meshlib.mrmeshpy.SubdivideSettings.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.SubdivideSettings.__init__ | ( | self, | |
SubdivideSettings | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.SubdivideSettings.__init__ | ( | self, | |
float | maxEdgeLen, | ||
int | maxEdgeSplits, | ||
float | maxDeviationAfterFlip, | ||
float | maxAngleChangeAfterFlip, | ||
float | criticalAspectRatioFlip, | ||
FaceBitSet | region, | ||
UndirectedEdgeBitSet | notFlippable, | ||
VertBitSet | newVerts, | ||
bool | subdivideBorder, | ||
float | maxTriAspectRatio, | ||
float | maxSplittableTriAspectRatio, | ||
bool | smoothMode, | ||
float | minSharpDihedralAngle, | ||
bool | projectOnOriginalMesh, | ||
func_void_from_Id_VertTag | onVertCreated, | ||
func_void_from_Id_EdgeTag_Id_EdgeTag | onEdgeSplit, | ||
func_bool_from_Id_EdgeTag | beforeEdgeSplit, | ||
func_bool_from_float | progressCallback ) |
Implicit aggregate constructor.
func_bool_from_Id_EdgeTag meshlib.mrmeshpy.SubdivideSettings.beforeEdgeSplit | ( | self | ) |
this function is called each time edge (e) is going to split, if it returns false then this split will be skipped
None meshlib.mrmeshpy.SubdivideSettings.beforeEdgeSplit | ( | self, | |
func_bool_from_Id_EdgeTag | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.criticalAspectRatioFlip | ( | self | ) |
If this value is less than FLT_MAX then edge flips will ignore dihedral angle check if one of triangles has aspect ratio more than this value Unit: rad
None meshlib.mrmeshpy.SubdivideSettings.criticalAspectRatioFlip | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.maxAngleChangeAfterFlip | ( | self | ) |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians)
None meshlib.mrmeshpy.SubdivideSettings.maxAngleChangeAfterFlip | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.maxDeviationAfterFlip | ( | self | ) |
Improves local mesh triangulation by doing edge flips if it does not make too big surface deviation
None meshlib.mrmeshpy.SubdivideSettings.maxDeviationAfterFlip | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.maxEdgeLen | ( | self | ) |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value
None meshlib.mrmeshpy.SubdivideSettings.maxEdgeLen | ( | self, | |
float | arg1 ) |
int meshlib.mrmeshpy.SubdivideSettings.maxEdgeSplits | ( | self | ) |
Maximum number of edge splits allowed
None meshlib.mrmeshpy.SubdivideSettings.maxEdgeSplits | ( | self, | |
int | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.maxSplittableTriAspectRatio | ( | self | ) |
An edge is subdivided only if both its left and right triangles have aspect ratio below or equal to this value. So this is a maximum aspect ratio of a triangle that can be split on two before Delone optimization. Please set it to a smaller value only if subdivideBorder==false, otherwise many narrow triangles can appear near border
None meshlib.mrmeshpy.SubdivideSettings.maxSplittableTriAspectRatio | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.maxTriAspectRatio | ( | self | ) |
The subdivision stops as soon as all triangles (in the region) have aspect ratio below or equal to this value
None meshlib.mrmeshpy.SubdivideSettings.maxTriAspectRatio | ( | self, | |
float | arg1 ) |
float meshlib.mrmeshpy.SubdivideSettings.minSharpDihedralAngle | ( | self | ) |
30 degrees
None meshlib.mrmeshpy.SubdivideSettings.minSharpDihedralAngle | ( | self, | |
float | arg1 ) |
VertBitSet meshlib.mrmeshpy.SubdivideSettings.newVerts | ( | self | ) |
New vertices appeared during subdivision will be added here
None meshlib.mrmeshpy.SubdivideSettings.newVerts | ( | self, | |
VertBitSet | arg1 ) |
UndirectedEdgeBitSet meshlib.mrmeshpy.SubdivideSettings.notFlippable | ( | self | ) |
Edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation
None meshlib.mrmeshpy.SubdivideSettings.notFlippable | ( | self, | |
UndirectedEdgeBitSet | arg1 ) |
func_void_from_Id_EdgeTag_Id_EdgeTag meshlib.mrmeshpy.SubdivideSettings.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.SubdivideSettings.onEdgeSplit | ( | self, | |
func_void_from_Id_EdgeTag_Id_EdgeTag | arg1 ) |
func_void_from_Id_VertTag meshlib.mrmeshpy.SubdivideSettings.onVertCreated | ( | self | ) |
this function is called each time a new vertex has been created, but before the ring is made Delone
None meshlib.mrmeshpy.SubdivideSettings.onVertCreated | ( | self, | |
func_void_from_Id_VertTag | arg1 ) |
func_bool_from_float meshlib.mrmeshpy.SubdivideSettings.progressCallback | ( | self | ) |
callback to report algorithm progress and cancel it by user request
None meshlib.mrmeshpy.SubdivideSettings.progressCallback | ( | self, | |
func_bool_from_float | arg1 ) |
bool meshlib.mrmeshpy.SubdivideSettings.projectOnOriginalMesh | ( | self | ) |
if true, then every new vertex will be projected on the original mesh (before smoothing)
None meshlib.mrmeshpy.SubdivideSettings.projectOnOriginalMesh | ( | self, | |
bool | arg1 ) |
FaceBitSet meshlib.mrmeshpy.SubdivideSettings.region | ( | self | ) |
Region on mesh to be subdivided, it is updated during the operation
None meshlib.mrmeshpy.SubdivideSettings.region | ( | self, | |
FaceBitSet | arg1 ) |
bool meshlib.mrmeshpy.SubdivideSettings.smoothMode | ( | self | ) |
Puts new vertices so that they form a smooth surface together with existing vertices. This option works best for natural surfaces without sharp edges in between triangles
None meshlib.mrmeshpy.SubdivideSettings.smoothMode | ( | self, | |
bool | arg1 ) |
bool meshlib.mrmeshpy.SubdivideSettings.subdivideBorder | ( | self | ) |
If false do not touch border edges (cannot subdivide lone faces)\\n use \\ref MR::findRegionOuterFaces to find boundary faces
None meshlib.mrmeshpy.SubdivideSettings.subdivideBorder | ( | self, | |
bool | arg1 ) |