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

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

Inheritance diagram for MR.Const_DenoiseViaNormalsSettings:

Classes

struct  _Underlying

Public Member Functions

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.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

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

Properties

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

Detailed Description

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

Constructor & Destructor Documentation

◆ Const_DenoiseViaNormalsSettings() [1/4]

unsafe MR.Const_DenoiseViaNormalsSettings.Const_DenoiseViaNormalsSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_DenoiseViaNormalsSettings() [2/4]

unsafe MR.Const_DenoiseViaNormalsSettings.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 )
inline

Constructs MR.DenoiseViaNormalsSettings elementwise.

◆ Const_DenoiseViaNormalsSettings() [3/4]

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

◆ Const_DenoiseViaNormalsSettings() [4/4]

MR.Const_DenoiseViaNormalsSettings.Const_DenoiseViaNormalsSettings ( DenoiseViaNormalsSettings _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_DenoiseViaNormalsSettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

Member Data Documentation

◆ __ptr_storage_outCreases

unsafe MR.UndirectedEdgeBitSet._Underlying** MR.Const_DenoiseViaNormalsSettings.__ptr_storage_outCreases
protected

◆ __ptr_storage_region

unsafe MR.Const_FaceBitSet._Underlying** MR.Const_DenoiseViaNormalsSettings.__ptr_storage_region
protected

◆ __ref_storage_beta

unsafe float* MR.Const_DenoiseViaNormalsSettings.__ref_storage_beta
protected

◆ __ref_storage_fastIndicatorComputation

unsafe bool* MR.Const_DenoiseViaNormalsSettings.__ref_storage_fastIndicatorComputation
protected

◆ __ref_storage_gamma

unsafe float* MR.Const_DenoiseViaNormalsSettings.__ref_storage_gamma
protected

◆ __ref_storage_guideWeight

unsafe float* MR.Const_DenoiseViaNormalsSettings.__ref_storage_guideWeight
protected

◆ __ref_storage_limitNearInitial

unsafe bool* MR.Const_DenoiseViaNormalsSettings.__ref_storage_limitNearInitial
protected

◆ __ref_storage_maxInitialDist

unsafe float* MR.Const_DenoiseViaNormalsSettings.__ref_storage_maxInitialDist
protected

◆ __ref_storage_normalIters

unsafe int* MR.Const_DenoiseViaNormalsSettings.__ref_storage_normalIters
protected

◆ __ref_storage_pointIters

unsafe int* MR.Const_DenoiseViaNormalsSettings.__ref_storage_pointIters
protected

Property Documentation

◆ beta

unsafe float MR.Const_DenoiseViaNormalsSettings.beta
get

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

◆ fastIndicatorComputation

unsafe bool MR.Const_DenoiseViaNormalsSettings.fastIndicatorComputation
get

use approximated computation, which is much faster than precise solution

◆ gamma

unsafe float MR.Const_DenoiseViaNormalsSettings.gamma
get

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

◆ guideWeight

unsafe float MR.Const_DenoiseViaNormalsSettings.guideWeight
get

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

◆ limitNearInitial

unsafe bool MR.Const_DenoiseViaNormalsSettings.limitNearInitial
get

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

◆ maxInitialDist

unsafe float MR.Const_DenoiseViaNormalsSettings.maxInitialDist
get

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

◆ normalIters

unsafe int MR.Const_DenoiseViaNormalsSettings.normalIters
get

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

◆ outCreases

unsafe MR.? UndirectedEdgeBitSet MR.Const_DenoiseViaNormalsSettings.outCreases
get

optionally returns creases found during smoothing, only among the edges with both incident faces in the region

◆ pointIters

unsafe int MR.Const_DenoiseViaNormalsSettings.pointIters
get

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

◆ region

unsafe MR.? Const_FaceBitSet MR.Const_DenoiseViaNormalsSettings.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


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