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

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

+ Inheritance diagram for MR.DenoiseViaNormalsSettings:

Public Member Functions

unsafe DenoiseViaNormalsSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe DenoiseViaNormalsSettings (bool fastIndicatorComputation, float beta, float gamma, int normalIters, int pointIters, float guideWeight, bool limitNearInitial, float maxInitialDist, MR.UndirectedEdgeBitSet? outCreases, MR.Std._ByValue_Function_BoolFuncFromFloat cb)
 Constructs MR.DenoiseViaNormalsSettings elementwise.
 
unsafe DenoiseViaNormalsSettings (MR._ByValue_DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.
 
 DenoiseViaNormalsSettings (Const_DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.
 
 DenoiseViaNormalsSettings (DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.
 
unsafe MR.DenoiseViaNormalsSettings assign (MR._ByValue_DenoiseViaNormalsSettings _other)
 Generated from method MR.DenoiseViaNormalsSettings.operator=.
 

Properties

new unsafe ref bool fastIndicatorComputation [get]
 use approximated computation, which is much faster than precise solution
 
new unsafe ref float beta [get]
 0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges
 
new unsafe ref float gamma [get]
 the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...
 
new unsafe ref int normalIters [get]
 the number of iterations to smooth normals and find creases; the more the better quality, but longer computation
 
new unsafe ref int pointIters [get]
 the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation
 
new unsafe ref float guideWeight [get]
 how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0
 
new unsafe ref bool limitNearInitial [get]
 if true then maximal displacement of each point during denoising will be limited
 
new unsafe ref float maxInitialDist [get]
 maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false
 
new unsafe MR.? UndirectedEdgeBitSet outCreases [get, set]
 optionally returns creases found during smoothing
 
new unsafe MR.Std.Function_BoolFuncFromFloat cb [get, protected set]
 to get the progress and optionally cancel
 

Detailed Description

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

Constructor & Destructor Documentation

◆ DenoiseViaNormalsSettings() [1/5]

unsafe MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ DenoiseViaNormalsSettings() [2/5]

unsafe MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( bool fastIndicatorComputation,
float beta,
float gamma,
int normalIters,
int pointIters,
float guideWeight,
bool limitNearInitial,
float maxInitialDist,
MR.UndirectedEdgeBitSet? outCreases,
MR.Std._ByValue_Function_BoolFuncFromFloat cb )
inline

Constructs MR.DenoiseViaNormalsSettings elementwise.

◆ DenoiseViaNormalsSettings() [3/5]

unsafe MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( MR._ByValue_DenoiseViaNormalsSettings _other)
inline

Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.

◆ DenoiseViaNormalsSettings() [4/5]

MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( Const_DenoiseViaNormalsSettings _other)
inline

Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.

◆ DenoiseViaNormalsSettings() [5/5]

MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( DenoiseViaNormalsSettings _other)
inline

Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.

Member Function Documentation

◆ assign()

unsafe MR.DenoiseViaNormalsSettings MR.DenoiseViaNormalsSettings.assign ( MR._ByValue_DenoiseViaNormalsSettings _other)
inline

Generated from method MR.DenoiseViaNormalsSettings.operator=.

Property Documentation

◆ beta

new unsafe ref float MR.DenoiseViaNormalsSettings.beta
get

0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges

◆ cb

new unsafe MR.Std.Function_BoolFuncFromFloat MR.DenoiseViaNormalsSettings.cb
getprotected set

to get the progress and optionally cancel

◆ fastIndicatorComputation

new unsafe ref bool MR.DenoiseViaNormalsSettings.fastIndicatorComputation
get

use approximated computation, which is much faster than precise solution

◆ gamma

new unsafe ref float MR.DenoiseViaNormalsSettings.gamma
get

the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...

◆ guideWeight

new unsafe ref float MR.DenoiseViaNormalsSettings.guideWeight
get

how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0

◆ limitNearInitial

new unsafe ref bool MR.DenoiseViaNormalsSettings.limitNearInitial
get

if true then maximal displacement of each point during denoising will be limited

◆ maxInitialDist

new unsafe ref float MR.DenoiseViaNormalsSettings.maxInitialDist
get

maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false

◆ normalIters

new unsafe ref int MR.DenoiseViaNormalsSettings.normalIters
get

the number of iterations to smooth normals and find creases; the more the better quality, but longer computation

◆ outCreases

new unsafe MR.? UndirectedEdgeBitSet MR.DenoiseViaNormalsSettings.outCreases
getset

optionally returns creases found during smoothing

◆ pointIters

new unsafe ref int MR.DenoiseViaNormalsSettings.pointIters
get

the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation


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