MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Const_DetectTunnelSettings:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_DetectTunnelSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_DetectTunnelSettings (float maxTunnelLength, int maxIters, MR.Std._ByValue_Function_Float_From_MREdgeId metric, bool buildCoLoops, bool filterEquivalentCoLoops, MR.Std._ByValue_Function_Bool_From_Float progress)
 Constructs MR.DetectTunnelSettings elementwise.
unsafe Const_DetectTunnelSettings (MR._ByValue_DetectTunnelSettings _other)
 Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.
 Const_DetectTunnelSettings (Const_DetectTunnelSettings _other)
 Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.
 Const_DetectTunnelSettings (DetectTunnelSettings _other)
 Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_maxTunnelLength
unsafe int * __ref_storage_maxIters
unsafe bool * __ref_storage_buildCoLoops
unsafe bool * __ref_storage_filterEquivalentCoLoops

Properties

unsafe float maxTunnelLength [get]
 maximal euclidean length of tunnel loops to detect
unsafe int maxIters [get]
 maximal number of iterations to detect all tunnels; on a big mesh with many tunnels even one iteration can take a while
unsafe MR.Std.Const_Function_Float_From_MREdgeId metric [get, protected 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
unsafe bool 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
unsafe bool 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
unsafe MR.Std.Const_Function_Bool_From_Float progress [get, protected set]
 to report algorithm progress and cancel from outside

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_DetectTunnelSettings() [1/5]

unsafe MR.Const_DetectTunnelSettings.Const_DetectTunnelSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_DetectTunnelSettings() [2/5]

unsafe MR.Const_DetectTunnelSettings.Const_DetectTunnelSettings ( float maxTunnelLength,
int maxIters,
MR.Std._ByValue_Function_Float_From_MREdgeId metric,
bool buildCoLoops,
bool filterEquivalentCoLoops,
MR.Std._ByValue_Function_Bool_From_Float progress )
inline

Constructs MR.DetectTunnelSettings elementwise.

◆ Const_DetectTunnelSettings() [3/5]

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

Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

◆ Const_DetectTunnelSettings() [4/5]

MR.Const_DetectTunnelSettings.Const_DetectTunnelSettings ( Const_DetectTunnelSettings _other)
inline

Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

◆ Const_DetectTunnelSettings() [5/5]

MR.Const_DetectTunnelSettings.Const_DetectTunnelSettings ( DetectTunnelSettings _other)
inline

Generated from constructor MR.DetectTunnelSettings.DetectTunnelSettings.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_DetectTunnelSettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_DetectTunnelSettings.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ref_storage_buildCoLoops

unsafe bool* MR.Const_DetectTunnelSettings.__ref_storage_buildCoLoops
protected

◆ __ref_storage_filterEquivalentCoLoops

unsafe bool* MR.Const_DetectTunnelSettings.__ref_storage_filterEquivalentCoLoops
protected

◆ __ref_storage_maxIters

unsafe int* MR.Const_DetectTunnelSettings.__ref_storage_maxIters
protected

◆ __ref_storage_maxTunnelLength

unsafe float* MR.Const_DetectTunnelSettings.__ref_storage_maxTunnelLength
protected

Property Documentation

◆ buildCoLoops

unsafe bool MR.Const_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

unsafe bool MR.Const_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

unsafe int MR.Const_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

unsafe float MR.Const_DetectTunnelSettings.maxTunnelLength
get

maximal euclidean length of tunnel loops to detect

◆ metric

unsafe MR.Std.Const_Function_Float_From_MREdgeId MR.Const_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

unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_DetectTunnelSettings.progress
getprotected set

to report algorithm progress and cancel from outside


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