Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| SubdivideSettings | operator (*args, **kwargs) |
| SubdivideSettings | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_beforeEdgeSplit = 80 |
| typing | _offsetof_criticalAspectRatioFlip = 20 |
| typing | _offsetof_curvaturePriority = 4 |
| typing | _offsetof_maintainRegion = 32 |
| typing | _offsetof_maxAngleChangeAfterFlip = 16 |
| typing | _offsetof_maxDeviationAfterFlip = 12 |
| typing | _offsetof_maxEdgeLen = 0 |
| typing | _offsetof_maxEdgeSplits = 8 |
| typing | _offsetof_maxSplittableTriAspectRatio = 64 |
| typing | _offsetof_maxTriAspectRatio = 60 |
| typing | _offsetof_minSharpDihedralAngle = 72 |
| typing | _offsetof_newVerts = 48 |
| typing | _offsetof_notFlippable = 40 |
| typing | _offsetof_onEdgeSplit = 144 |
| typing | _offsetof_onVertCreated = 112 |
| typing | _offsetof_progressCallback = 176 |
| typing | _offsetof_projectOnOriginalMesh = 76 |
| typing | _offsetof_region = 24 |
| typing | _offsetof_smoothMode = 68 |
| typing | _offsetof_subdivideBorder = 56 |
Generated from: MR::SubdivideSettings
|
static |
| None mrmeshpy.SubdivideSettings.__init__ | ( | self | ) |
| None mrmeshpy.SubdivideSettings.__init__ | ( | self, | |
| SubdivideSettings | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.SubdivideSettings.__init__ | ( | self, | |
| float | maxEdgeLen, | ||
| float | curvaturePriority, | ||
| int | maxEdgeSplits, | ||
| float | maxDeviationAfterFlip, | ||
| float | maxAngleChangeAfterFlip, | ||
| float | criticalAspectRatioFlip, | ||
| FaceBitSet | region, | ||
| FaceBitSet | maintainRegion, | ||
| 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.curvaturePriority | ( | self | ) |
edge length will be magnified by the squared difference of normals at edge's ends times this factor, thus subdivision will be finer in the regions of high curvature compared to planar regions
| None mrmeshpy.SubdivideSettings.curvaturePriority | ( | self, | |
| float | arg1 ) |
| FaceBitSet mrmeshpy.SubdivideSettings.maintainRegion | ( | self | ) |
Additional region to update during subdivision: if a face from here is split, it is replaced with new sub-faces; note that Subdivide can split faces even outside of main \\p region, so it might be necessary to update another region
| None mrmeshpy.SubdivideSettings.maintainRegion | ( | self, | |
| FaceBitSet | 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 |
|
staticprotected |
|
staticprotected |