Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Additional Inherited Members | |
| Static Protected Attributes inherited from mrmeshpy.ConstDetectTunnelSettings | |
| typing | _offsetof_buildCoLoops = 40 |
| typing | _offsetof_filterEquivalentCoLoops = 41 |
| typing | _offsetof_loopType = 44 |
| typing | _offsetof_maxIters = 4 |
| typing | _offsetof_maxTunnelLength = 0 |
| typing | _offsetof_metric = 8 |
| typing | _offsetof_progress = 48 |
Generated from: MR::DetectTunnelSettings
|
static |
| None mrmeshpy.DetectTunnelSettings.__init__ | ( | self | ) |
| None mrmeshpy.DetectTunnelSettings.__init__ | ( | self, | |
| ConstDetectTunnelSettings | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.DetectTunnelSettings.__init__ | ( | self, | |
| float | maxTunnelLength, | ||
| int | maxIters, | ||
| Const_func_float_from_Id_EdgeTag | metric, | ||
| bool | buildCoLoops, | ||
| bool | filterEquivalentCoLoops, | ||
| TunnelLoopType | loopType, | ||
| Const_func_bool_from_float | progress ) |
Implicit aggregate constructor.
| DetectTunnelSettings mrmeshpy.DetectTunnelSettings.assign | ( | self, | |
| ConstDetectTunnelSettings | other ) |
| bool mrmeshpy.DetectTunnelSettings.buildCoLoops | ( | self | ) |
if true then for every basis loop, findSmallestMetricCoLoop will be called; it typically results in shorter tunnels found, but requires more time per iteration, and more iterations to find all tunnels
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.buildCoLoops | ( | self, | |
| bool | arg1 ) |
if true then for every basis loop, findSmallestMetricCoLoop will be called; it typically results in shorter tunnels found, but requires more time per iteration, and more iterations to find all tunnels
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| bool mrmeshpy.DetectTunnelSettings.filterEquivalentCoLoops | ( | self | ) |
if ( buildCoLoops ) then some tunnel loops can be equivalent (e.g. they cut the same handle twice), this option activates their filtering out, but it is very slow
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.filterEquivalentCoLoops | ( | self, | |
| bool | arg1 ) |
if ( buildCoLoops ) then some tunnel loops can be equivalent (e.g. they cut the same handle twice), this option activates their filtering out, but it is very slow
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| TunnelLoopType mrmeshpy.DetectTunnelSettings.loopType | ( | self | ) |
selects what kind of loops to return
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.loopType | ( | self, | |
| TunnelLoopType | arg1 ) |
selects what kind of loops to return
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| int mrmeshpy.DetectTunnelSettings.maxIters | ( | self | ) |
maximal number of iterations to detect all tunnels; on a big mesh with many tunnels even one iteration can take a while
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.maxIters | ( | self, | |
| int | arg1 ) |
maximal number of iterations to detect all tunnels; on a big mesh with many tunnels even one iteration can take a while
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| float mrmeshpy.DetectTunnelSettings.maxTunnelLength | ( | self | ) |
maximal euclidean length of tunnel loops to detect
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.maxTunnelLength | ( | self, | |
| float | arg1 ) |
maximal euclidean length of tunnel loops to detect
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| func_float_from_Id_EdgeTag mrmeshpy.DetectTunnelSettings.metric | ( | self | ) |
edge metric that will be used in optimizations, if co-loops are enabled then this metric must be not-negative, if no metric is given then either discreteMinusAbsMeanCurvatureMetric (if buildCoLoops = false) or edgeLengthMetric (if buildCoLoops = true) will be used, using caching via edgeTableSymMetric function can improve the performance, especially in buildCoLoops = true mode
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.metric | ( | self, | |
| Const_func_float_from_Id_EdgeTag | arg1 ) |
edge metric that will be used in optimizations, if co-loops are enabled then this metric must be not-negative, if no metric is given then either discreteMinusAbsMeanCurvatureMetric (if buildCoLoops = false) or edgeLengthMetric (if buildCoLoops = true) will be used, using caching via edgeTableSymMetric function can improve the performance, especially in buildCoLoops = true mode
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| func_bool_from_float mrmeshpy.DetectTunnelSettings.progress | ( | self | ) |
to report algorithm progress and cancel from outside
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.
| None mrmeshpy.DetectTunnelSettings.progress | ( | self, | |
| Const_func_bool_from_float | arg1 ) |
to report algorithm progress and cancel from outside
Reimplemented from mrmeshpy.ConstDetectTunnelSettings.