MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.DetectTunnelSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, DetectTunnelSettings arg0)
 
None __init__ (self, float maxTunnelLength, int maxIters, func_float_from_Id_EdgeTag metric, bool buildCoLoops, bool filterEquivalentCoLoops, func_bool_from_float progress)
 
bool buildCoLoops (self)
 
None buildCoLoops (self, bool arg1)
 
bool filterEquivalentCoLoops (self)
 
None filterEquivalentCoLoops (self, bool arg1)
 
int maxIters (self)
 
None maxIters (self, int arg1)
 
float maxTunnelLength (self)
 
None maxTunnelLength (self, float arg1)
 
func_float_from_Id_EdgeTag metric (self)
 
None metric (self, func_float_from_Id_EdgeTag arg1)
 
func_bool_from_float progress (self)
 
None progress (self, func_bool_from_float arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
DetectTunnelSettings operator (*args, **kwargs)
 
DetectTunnelSettings operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_buildCoLoops = 40
 
typing _offsetof_filterEquivalentCoLoops = 41
 
typing _offsetof_maxIters = 4
 
typing _offsetof_maxTunnelLength = 0
 
typing _offsetof_metric = 8
 
typing _offsetof_progress = 48
 

Detailed Description

Generated from:  MR::DetectTunnelSettings

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.DetectTunnelSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.DetectTunnelSettings.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.DetectTunnelSettings.__init__ ( self,
DetectTunnelSettings arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.DetectTunnelSettings.__init__ ( self,
float maxTunnelLength,
int maxIters,
func_float_from_Id_EdgeTag metric,
bool buildCoLoops,
bool filterEquivalentCoLoops,
func_bool_from_float progress )
Implicit aggregate constructor.

Member Function Documentation

◆ buildCoLoops() [1/2]

bool mrmeshpy.DetectTunnelSettings.buildCoLoops ( self)
if true then for every basis loop, findShortestCoLoop will be called;
it typically results in shorter tunnels found, but requires more time per iteration, and more iterations to find all tunnels

◆ buildCoLoops() [2/2]

None mrmeshpy.DetectTunnelSettings.buildCoLoops ( self,
bool arg1 )

◆ filterEquivalentCoLoops() [1/2]

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

◆ filterEquivalentCoLoops() [2/2]

None mrmeshpy.DetectTunnelSettings.filterEquivalentCoLoops ( self,
bool arg1 )

◆ maxIters() [1/2]

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

◆ maxIters() [2/2]

None mrmeshpy.DetectTunnelSettings.maxIters ( self,
int arg1 )

◆ maxTunnelLength() [1/2]

float mrmeshpy.DetectTunnelSettings.maxTunnelLength ( self)
maximal length of tunnel loops to consider

◆ maxTunnelLength() [2/2]

None mrmeshpy.DetectTunnelSettings.maxTunnelLength ( self,
float arg1 )

◆ metric() [1/2]

func_float_from_Id_EdgeTag mrmeshpy.DetectTunnelSettings.metric ( self)
metric for detectBasisTunnels,
if no metric is given then discreteMinusAbsMeanCurvatureMetric will be used

◆ metric() [2/2]

None mrmeshpy.DetectTunnelSettings.metric ( self,
func_float_from_Id_EdgeTag arg1 )

◆ operator() [1/2]

DetectTunnelSettings mrmeshpy.DetectTunnelSettings.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

DetectTunnelSettings mrmeshpy.DetectTunnelSettings.operator ( * args,
** kwargs )
static

◆ progress() [1/2]

func_bool_from_float mrmeshpy.DetectTunnelSettings.progress ( self)
to report algorithm progress and cancel from outside

◆ progress() [2/2]

None mrmeshpy.DetectTunnelSettings.progress ( self,
func_bool_from_float arg1 )

Member Data Documentation

◆ _offsetof_buildCoLoops

typing mrmeshpy.DetectTunnelSettings._offsetof_buildCoLoops = 40
staticprotected

◆ _offsetof_filterEquivalentCoLoops

typing mrmeshpy.DetectTunnelSettings._offsetof_filterEquivalentCoLoops = 41
staticprotected

◆ _offsetof_maxIters

typing mrmeshpy.DetectTunnelSettings._offsetof_maxIters = 4
staticprotected

◆ _offsetof_maxTunnelLength

typing mrmeshpy.DetectTunnelSettings._offsetof_maxTunnelLength = 0
staticprotected

◆ _offsetof_metric

typing mrmeshpy.DetectTunnelSettings._offsetof_metric = 8
staticprotected

◆ _offsetof_progress

typing mrmeshpy.DetectTunnelSettings._offsetof_progress = 48
staticprotected

The documentation for this class was generated from the following file: