MeshLib C# Docs
Loading...
Searching...
No Matches
MR.DetectTunnelSettings Class Reference

Generated from class MR.DetectTunnelSettings. This is the non-const half of the class. More...

+ Inheritance diagram for MR.DetectTunnelSettings:

Public Member Functions

unsafe DetectTunnelSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe DetectTunnelSettings (float maxTunnelLength, int maxIters, MR.Std._ByValue_Function_FloatFuncFromMREdgeId metric, bool buildCoLoops, bool filterEquivalentCoLoops, MR.Std._ByValue_Function_BoolFuncFromFloat progress)
 Constructs MR.DetectTunnelSettings elementwise.
 
unsafe DetectTunnelSettings (MR._ByValue_DetectTunnelSettings _other)
 Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.
 
 DetectTunnelSettings (Const_DetectTunnelSettings _other)
 Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.
 
 DetectTunnelSettings (DetectTunnelSettings _other)
 Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.
 
unsafe MR.DetectTunnelSettings assign (MR._ByValue_DetectTunnelSettings _other)
 Generated from method MR.DetectTunnelSettings.operator=.
 

Properties

new unsafe ref float maxTunnelLength [get]
 maximal euclidean length of tunnel loops to detect
 
new unsafe ref int maxIters [get]
 
new unsafe MR.Std.Function_FloatFuncFromMREdgeId metric [get, protected set]
 
new unsafe ref bool buildCoLoops [get]
 
new unsafe ref bool filterEquivalentCoLoops [get]
 
new unsafe MR.Std.Function_BoolFuncFromFloat progress [get, protected set]
 to report algorithm progress and cancel from outside
 

Detailed Description

Generated from class MR.DetectTunnelSettings. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ DetectTunnelSettings() [1/5]

unsafe MR.DetectTunnelSettings.DetectTunnelSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ DetectTunnelSettings() [2/5]

unsafe MR.DetectTunnelSettings.DetectTunnelSettings ( float maxTunnelLength,
int maxIters,
MR.Std._ByValue_Function_FloatFuncFromMREdgeId metric,
bool buildCoLoops,
bool filterEquivalentCoLoops,
MR.Std._ByValue_Function_BoolFuncFromFloat progress )
inline

Constructs MR.DetectTunnelSettings elementwise.

◆ DetectTunnelSettings() [3/5]

unsafe MR.DetectTunnelSettings.DetectTunnelSettings ( MR._ByValue_DetectTunnelSettings _other)
inline

Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

◆ DetectTunnelSettings() [4/5]

MR.DetectTunnelSettings.DetectTunnelSettings ( Const_DetectTunnelSettings _other)
inline

Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

◆ DetectTunnelSettings() [5/5]

MR.DetectTunnelSettings.DetectTunnelSettings ( DetectTunnelSettings _other)
inline

Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

Member Function Documentation

◆ assign()

unsafe MR.DetectTunnelSettings MR.DetectTunnelSettings.assign ( MR._ByValue_DetectTunnelSettings _other)
inline

Generated from method MR.DetectTunnelSettings.operator=.

Property Documentation

◆ buildCoLoops

new unsafe ref bool MR.DetectTunnelSettings.buildCoLoops
get

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

◆ filterEquivalentCoLoops

new unsafe ref bool MR.DetectTunnelSettings.filterEquivalentCoLoops
get

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

◆ maxIters

new unsafe ref int MR.DetectTunnelSettings.maxIters
get

maximal number of iterations to detect all tunnels; on a big mesh with many tunnels even one iteration can take a while

◆ maxTunnelLength

new unsafe ref float MR.DetectTunnelSettings.maxTunnelLength
get

maximal euclidean length of tunnel loops to detect

◆ metric

new unsafe MR.Std.Function_FloatFuncFromMREdgeId MR.DetectTunnelSettings.metric
getprotected set

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

◆ progress

new unsafe MR.Std.Function_BoolFuncFromFloat MR.DetectTunnelSettings.progress
getprotected set

to report algorithm progress and cancel from outside


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