Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
SubdivideSettings | operator (*args, **kwargs) |
SubdivideSettings | operator (*args, **kwargs) |
Static Protected Attributes | |
typing | _offsetof_beforeEdgeSplit = 72 |
typing | _offsetof_criticalAspectRatioFlip = 16 |
typing | _offsetof_maxAngleChangeAfterFlip = 12 |
typing | _offsetof_maxDeviationAfterFlip = 8 |
typing | _offsetof_maxEdgeLen = 0 |
typing | _offsetof_maxEdgeSplits = 4 |
typing | _offsetof_maxSplittableTriAspectRatio = 56 |
typing | _offsetof_maxTriAspectRatio = 52 |
typing | _offsetof_minSharpDihedralAngle = 64 |
typing | _offsetof_newVerts = 40 |
typing | _offsetof_notFlippable = 32 |
typing | _offsetof_onEdgeSplit = 200 |
typing | _offsetof_onVertCreated = 136 |
typing | _offsetof_progressCallback = 264 |
typing | _offsetof_projectOnOriginalMesh = 68 |
typing | _offsetof_region = 24 |
typing | _offsetof_smoothMode = 60 |
typing | _offsetof_subdivideBorder = 48 |
Generated from: MR::SubdivideSettings \\defgroup MeshSubdivideGroup Mesh Subdivide \\ingroup MeshAlgorithmGroup \\{
|
static |
None mrmeshpy.SubdivideSettings.__init__ | ( | self | ) |
None 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_bool_from_Id_EdgeTag | beforeEdgeSplit, | ||
func_void_from_Id_VertTag | onVertCreated, | ||
func_void_from_Id_EdgeTag_Id_EdgeTag | onEdgeSplit, | ||
func_bool_from_float | progressCallback ) |
Implicit aggregate constructor.
func_bool_from_Id_EdgeTag 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 mrmeshpy.SubdivideSettings.beforeEdgeSplit | ( | self, | |
func_bool_from_Id_EdgeTag | arg1 ) |
float 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 mrmeshpy.SubdivideSettings.criticalAspectRatioFlip | ( | self, | |
float | arg1 ) |
float 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 mrmeshpy.SubdivideSettings.maxAngleChangeAfterFlip | ( | self, | |
float | arg1 ) |
float mrmeshpy.SubdivideSettings.maxDeviationAfterFlip | ( | self | ) |
Improves local mesh triangulation by doing edge flips if it does not make too big surface deviation
None mrmeshpy.SubdivideSettings.maxDeviationAfterFlip | ( | self, | |
float | arg1 ) |
float 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 mrmeshpy.SubdivideSettings.maxEdgeLen | ( | self, | |
float | arg1 ) |
int mrmeshpy.SubdivideSettings.maxEdgeSplits | ( | self | ) |
Maximum number of edge splits allowed
None mrmeshpy.SubdivideSettings.maxEdgeSplits | ( | self, | |
int | arg1 ) |
float 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 mrmeshpy.SubdivideSettings.maxSplittableTriAspectRatio | ( | self, | |
float | arg1 ) |
float 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 mrmeshpy.SubdivideSettings.maxTriAspectRatio | ( | self, | |
float | arg1 ) |
float mrmeshpy.SubdivideSettings.minSharpDihedralAngle | ( | self | ) |
30 degrees
None mrmeshpy.SubdivideSettings.minSharpDihedralAngle | ( | self, | |
float | arg1 ) |
VertBitSet mrmeshpy.SubdivideSettings.newVerts | ( | self | ) |
New vertices appeared during subdivision will be added here
None mrmeshpy.SubdivideSettings.newVerts | ( | self, | |
VertBitSet | arg1 ) |
UndirectedEdgeBitSet 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 mrmeshpy.SubdivideSettings.notFlippable | ( | self, | |
UndirectedEdgeBitSet | arg1 ) |
func_void_from_Id_EdgeTag_Id_EdgeTag 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 mrmeshpy.SubdivideSettings.onEdgeSplit | ( | self, | |
func_void_from_Id_EdgeTag_Id_EdgeTag | arg1 ) |
func_void_from_Id_VertTag mrmeshpy.SubdivideSettings.onVertCreated | ( | self | ) |
this function is called each time a new vertex has been created, but before the ring is made Delone
None mrmeshpy.SubdivideSettings.onVertCreated | ( | self, | |
func_void_from_Id_VertTag | arg1 ) |
|
static |
|
static |
func_bool_from_float mrmeshpy.SubdivideSettings.progressCallback | ( | self | ) |
callback to report algorithm progress and cancel it by user request
None mrmeshpy.SubdivideSettings.progressCallback | ( | self, | |
func_bool_from_float | arg1 ) |
bool mrmeshpy.SubdivideSettings.projectOnOriginalMesh | ( | self | ) |
if true, then every new vertex will be projected on the original mesh (before smoothing)
None mrmeshpy.SubdivideSettings.projectOnOriginalMesh | ( | self, | |
bool | arg1 ) |
FaceBitSet mrmeshpy.SubdivideSettings.region | ( | self | ) |
Region on mesh to be subdivided, it is updated during the operation
None mrmeshpy.SubdivideSettings.region | ( | self, | |
FaceBitSet | arg1 ) |
bool 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 mrmeshpy.SubdivideSettings.smoothMode | ( | self, | |
bool | arg1 ) |
bool 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 mrmeshpy.SubdivideSettings.subdivideBorder | ( | self, | |
bool | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |