MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.DenoiseViaNormalsSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, bool fastIndicatorComputation, float beta, float gamma, int normalIters, int pointIters, float guideWeight, bool limitNearInitial, float maxInitialDist, UndirectedEdgeBitSet outCreases, func_bool_from_float cb)
 
float beta (self)
 
None beta (self, float arg1)
 
func_bool_from_float cb (self)
 
None cb (self, func_bool_from_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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
DenoiseViaNormalsSettings operator (*args, **kwargs)
 
DenoiseViaNormalsSettings operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_beta = 4
 
typing _offsetof_cb = 40
 
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 = 32
 
typing _offsetof_pointIters = 16
 

Detailed Description

Generated from:  MR::DenoiseViaNormalsSettings

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.DenoiseViaNormalsSettings.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ beta() [1/2]

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

◆ beta() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.beta ( self,
float arg1 )

◆ cb() [1/2]

func_bool_from_float mrmeshpy.DenoiseViaNormalsSettings.cb ( self)
to get the progress and optionally cancel

◆ cb() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.cb ( self,
func_bool_from_float arg1 )

◆ fastIndicatorComputation() [1/2]

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

◆ fastIndicatorComputation() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.fastIndicatorComputation ( self,
bool arg1 )

◆ gamma() [1/2]

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

◆ gamma() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.gamma ( self,
float arg1 )

◆ 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

◆ guideWeight() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.guideWeight ( self,
float arg1 )

◆ limitNearInitial() [1/2]

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

◆ limitNearInitial() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.limitNearInitial ( self,
bool arg1 )

◆ maxInitialDist() [1/2]

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

◆ maxInitialDist() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.maxInitialDist ( self,
float arg1 )

◆ 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

◆ normalIters() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.normalIters ( self,
int arg1 )

◆ operator() [1/2]

DenoiseViaNormalsSettings mrmeshpy.DenoiseViaNormalsSettings.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

DenoiseViaNormalsSettings mrmeshpy.DenoiseViaNormalsSettings.operator ( * args,
** kwargs )
static

◆ outCreases() [1/2]

UndirectedEdgeBitSet mrmeshpy.DenoiseViaNormalsSettings.outCreases ( self)
optionally returns creases found during smoothing

◆ outCreases() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.outCreases ( self,
UndirectedEdgeBitSet arg1 )

◆ 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

◆ pointIters() [2/2]

None mrmeshpy.DenoiseViaNormalsSettings.pointIters ( self,
int arg1 )

Member Data Documentation

◆ _offsetof_beta

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_beta = 4
staticprotected

◆ _offsetof_cb

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_cb = 40
staticprotected

◆ _offsetof_fastIndicatorComputation

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_fastIndicatorComputation = 0
staticprotected

◆ _offsetof_gamma

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_gamma = 8
staticprotected

◆ _offsetof_guideWeight

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_guideWeight = 20
staticprotected

◆ _offsetof_limitNearInitial

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_limitNearInitial = 24
staticprotected

◆ _offsetof_maxInitialDist

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_maxInitialDist = 28
staticprotected

◆ _offsetof_normalIters

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_normalIters = 12
staticprotected

◆ _offsetof_outCreases

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_outCreases = 32
staticprotected

◆ _offsetof_pointIters

typing mrmeshpy.DenoiseViaNormalsSettings._offsetof_pointIters = 16
staticprotected

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