MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstDenoiseViaNormalsSettings Class Reference
Inheritance diagram for mrmeshpy.ConstDenoiseViaNormalsSettings:

Public Member Functions

 __init__ (self, *args, **kwargs)
float beta (self)
bool fastIndicatorComputation (self)
float gamma (self)
float guideWeight (self)
bool limitNearInitial (self)
float maxInitialDist (self)
int normalIters (self)
UndirectedEdgeBitSet outCreases (self)
int pointIters (self)
FaceBitSet region (self)

Static Protected Attributes

typing _offsetof_beta = 4
typing _offsetof_fastIndicatorComputation = 0
typing _offsetof_gamma = 8
typing _offsetof_guideWeight = 20
typing _offsetof_limitNearInitial = 24
typing _offsetof_maxInitialDist = 28
typing _offsetof_normalIters = 12
typing _offsetof_outCreases = 40
typing _offsetof_pointIters = 16
typing _offsetof_region = 32

Detailed Description

Generated from:  MR::DenoiseViaNormalsSettings

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstDenoiseViaNormalsSettings.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstDenoiseViaNormalsSettings) -> None

2. __init__(self: meshlib.mrmeshpy.ConstDenoiseViaNormalsSettings, arg0: meshlib.mrmeshpy.ConstDenoiseViaNormalsSettings) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstDenoiseViaNormalsSettings, fastIndicatorComputation: bool, beta: float, gamma: float, normalIters: int, pointIters: int, guideWeight: float, limitNearInitial: bool, maxInitialDist: float, region: meshlib.mrmeshpy.ConstFaceBitSet, outCreases: meshlib.mrmeshpy.UndirectedEdgeBitSet) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstDenoiseViaNormalsSettings, : meshlib.mrmeshpy.ConstDenoiseViaNormalsSettings) -> None

Member Function Documentation

◆ beta()

float mrmeshpy.ConstDenoiseViaNormalsSettings.beta ( self)
0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ fastIndicatorComputation()

bool mrmeshpy.ConstDenoiseViaNormalsSettings.fastIndicatorComputation ( self)
use approximated computation, which is much faster than precise solution

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ gamma()

float mrmeshpy.ConstDenoiseViaNormalsSettings.gamma ( self)
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ...

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ guideWeight()

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

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ limitNearInitial()

bool mrmeshpy.ConstDenoiseViaNormalsSettings.limitNearInitial ( self)
if true then maximal displacement of each point during denoising will be limited

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ maxInitialDist()

float mrmeshpy.ConstDenoiseViaNormalsSettings.maxInitialDist ( self)
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ normalIters()

int mrmeshpy.ConstDenoiseViaNormalsSettings.normalIters ( self)
the number of iterations to smooth normals and find creases; the more the better quality, but longer computation

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ outCreases()

UndirectedEdgeBitSet mrmeshpy.ConstDenoiseViaNormalsSettings.outCreases ( self)
optionally returns creases found during smoothing, only among the edges with both incident faces in the region

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ pointIters()

int mrmeshpy.ConstDenoiseViaNormalsSettings.pointIters ( self)
the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

◆ region()

FaceBitSet mrmeshpy.ConstDenoiseViaNormalsSettings.region ( self)
if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved

Reimplemented in mrmeshpy.DenoiseViaNormalsSettings, and mrmeshpy.DenoiseViaNormalsSettings.

Member Data Documentation

◆ _offsetof_beta

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_beta = 4
staticprotected

◆ _offsetof_fastIndicatorComputation

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_fastIndicatorComputation = 0
staticprotected

◆ _offsetof_gamma

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_gamma = 8
staticprotected

◆ _offsetof_guideWeight

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_guideWeight = 20
staticprotected

◆ _offsetof_limitNearInitial

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_limitNearInitial = 24
staticprotected

◆ _offsetof_maxInitialDist

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_maxInitialDist = 28
staticprotected

◆ _offsetof_normalIters

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_normalIters = 12
staticprotected

◆ _offsetof_outCreases

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_outCreases = 40
staticprotected

◆ _offsetof_pointIters

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_pointIters = 16
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstDenoiseViaNormalsSettings._offsetof_region = 32
staticprotected

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