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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstDenoiseViaNormalsSettings arg0)
None __init__ (self, bool fastIndicatorComputation, float beta, float gamma, int normalIters, int pointIters, float guideWeight, bool limitNearInitial, float maxInitialDist, ConstFaceBitSet region, UndirectedEdgeBitSet outCreases)
DenoiseViaNormalsSettings assign (self, ConstDenoiseViaNormalsSettings other)
float beta (self)
None beta (self, float arg1)
bool fastIndicatorComputation (self)
None fastIndicatorComputation (self, bool arg1)
float gamma (self)
None gamma (self, float arg1)
float guideWeight (self)
None guideWeight (self, float arg1)
bool limitNearInitial (self)
None limitNearInitial (self, bool arg1)
float maxInitialDist (self)
None maxInitialDist (self, float arg1)
int normalIters (self)
None normalIters (self, int arg1)
UndirectedEdgeBitSet outCreases (self)
None outCreases (self, UndirectedEdgeBitSet arg1)
int pointIters (self)
None pointIters (self, int arg1)
FaceBitSet region (self)
None region (self, ConstFaceBitSet arg1)
Public Member Functions inherited from mrmeshpy.ConstDenoiseViaNormalsSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstDenoiseViaNormalsSettings
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__() [1/4]

None mrmeshpy.DenoiseViaNormalsSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.DenoiseViaNormalsSettings.__init__ ( self)

◆ __init__() [3/4]

None mrmeshpy.DenoiseViaNormalsSettings.__init__ ( self,
ConstDenoiseViaNormalsSettings arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

None mrmeshpy.DenoiseViaNormalsSettings.__init__ ( self,
bool fastIndicatorComputation,
float beta,
float gamma,
int normalIters,
int pointIters,
float guideWeight,
bool limitNearInitial,
float maxInitialDist,
ConstFaceBitSet region,
UndirectedEdgeBitSet outCreases )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

DenoiseViaNormalsSettings mrmeshpy.DenoiseViaNormalsSettings.assign ( self,
ConstDenoiseViaNormalsSettings other )

◆ beta() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ beta() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ fastIndicatorComputation() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ fastIndicatorComputation() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ gamma() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ gamma() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ guideWeight() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ guideWeight() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ limitNearInitial() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ limitNearInitial() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ maxInitialDist() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ maxInitialDist() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ normalIters() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ normalIters() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ outCreases() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ outCreases() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ pointIters() [1/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ pointIters() [2/2]

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

Reimplemented from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ region() [1/2]

FaceBitSet mrmeshpy.DenoiseViaNormalsSettings.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 from mrmeshpy.ConstDenoiseViaNormalsSettings.

◆ region() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.region ( self,
ConstFaceBitSet arg1 )
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 from mrmeshpy.ConstDenoiseViaNormalsSettings.


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