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.Const_FaceBitSet? region, MR.UndirectedEdgeBitSet? outCreases)
 Constructs MR.DenoiseViaNormalsSettings elementwise.
unsafe DenoiseViaNormalsSettings (MR.Const_DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.
 DenoiseViaNormalsSettings (DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.
unsafe MR.DenoiseViaNormalsSettings assign (MR.Const_DenoiseViaNormalsSettings _other)
 Generated from method MR::DenoiseViaNormalsSettings::operator=.
Public Member Functions inherited from MR.Const_DenoiseViaNormalsSettings
virtual void Dispose ()
unsafe Const_DenoiseViaNormalsSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_DenoiseViaNormalsSettings (bool fastIndicatorComputation, float beta, float gamma, int normalIters, int pointIters, float guideWeight, bool limitNearInitial, float maxInitialDist, MR.Const_FaceBitSet? region, MR.UndirectedEdgeBitSet? outCreases)
 Constructs MR.DenoiseViaNormalsSettings elementwise.
unsafe Const_DenoiseViaNormalsSettings (MR.Const_DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.
 Const_DenoiseViaNormalsSettings (DenoiseViaNormalsSettings _other)
 Generated from constructor MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings.

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.? Const_FaceBitSet region [get, set]
 if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved
new unsafe MR.? UndirectedEdgeBitSet outCreases [get, set]
 optionally returns creases found during smoothing, only among the edges with both incident faces in the region
Properties inherited from MR.Const_DenoiseViaNormalsSettings
unsafe bool fastIndicatorComputation [get]
 use approximated computation, which is much faster than precise solution
unsafe float beta [get]
 0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges
unsafe float gamma [get]
 the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...
unsafe int normalIters [get]
 the number of iterations to smooth normals and find creases; the more the better quality, but longer computation
unsafe int pointIters [get]
 the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation
unsafe float guideWeight [get]
 how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0
unsafe bool limitNearInitial [get]
 if true then maximal displacement of each point during denoising will be limited
unsafe float maxInitialDist [get]
 maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false
unsafe MR.? Const_FaceBitSet region [get]
 if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved
unsafe MR.? UndirectedEdgeBitSet outCreases [get]
 optionally returns creases found during smoothing, only among the edges with both incident faces in the region

Additional Inherited Members

Protected Member Functions inherited from MR.Const_DenoiseViaNormalsSettings
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_DenoiseViaNormalsSettings
unsafe bool * __ref_storage_fastIndicatorComputation
unsafe float * __ref_storage_beta
unsafe float * __ref_storage_gamma
unsafe int * __ref_storage_normalIters
unsafe int * __ref_storage_pointIters
unsafe float * __ref_storage_guideWeight
unsafe bool * __ref_storage_limitNearInitial
unsafe float * __ref_storage_maxInitialDist
unsafe MR.Const_FaceBitSet._Underlying ** __ptr_storage_region
unsafe MR.UndirectedEdgeBitSet._Underlying ** __ptr_storage_outCreases

Detailed Description

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

Constructor & Destructor Documentation

◆ DenoiseViaNormalsSettings() [1/4]

unsafe MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ DenoiseViaNormalsSettings() [2/4]

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

Constructs MR.DenoiseViaNormalsSettings elementwise.

◆ DenoiseViaNormalsSettings() [3/4]

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

◆ DenoiseViaNormalsSettings() [4/4]

MR.DenoiseViaNormalsSettings.DenoiseViaNormalsSettings ( DenoiseViaNormalsSettings _other)
inline

Member Function Documentation

◆ assign()

unsafe MR.DenoiseViaNormalsSettings MR.DenoiseViaNormalsSettings.assign ( MR.Const_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

◆ 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, only among the edges with both incident faces in the region

◆ 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

◆ region

new unsafe MR.? Const_FaceBitSet MR.DenoiseViaNormalsSettings.region
getset

if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved


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