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

Public Member Functions

None __init__ (self)
 
None __init__ (self, MoveMeshToVoxelMaxDerivSettings arg0)
 
None __init__ (self, int iters, int samplePoints, int degree, float outlierThreshold, float intermediateSmoothForce, float preparationSmoothForce)
 
int degree (self)
 
None degree (self, int arg1)
 
float intermediateSmoothForce (self)
 
None intermediateSmoothForce (self, float arg1)
 
int iters (self)
 
None iters (self, int arg1)
 
float outlierThreshold (self)
 
None outlierThreshold (self, float arg1)
 
float preparationSmoothForce (self)
 
None preparationSmoothForce (self, float arg1)
 
int samplePoints (self)
 
None samplePoints (self, int arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::MoveMeshToVoxelMaxDerivSettings

\\ingroup SubvoxelMeshCorrection

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.__init__ ( self,
int iters,
int samplePoints,
int degree,
float outlierThreshold,
float intermediateSmoothForce,
float preparationSmoothForce )
Implicit aggregate constructor.

Member Function Documentation

◆ _pybind11_conduit_v1_()

mrmeshpy.MoveMeshToVoxelMaxDerivSettings._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ degree() [1/2]

int mrmeshpy.MoveMeshToVoxelMaxDerivSettings.degree ( self)
degree of the polynomial used to fit sampled points. Must be in range [3; 6]

◆ degree() [2/2]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.degree ( self,
int arg1 )

◆ intermediateSmoothForce() [1/2]

float mrmeshpy.MoveMeshToVoxelMaxDerivSettings.intermediateSmoothForce ( self)
force of the smoothing (relaxation) of vector field of shifts on each iteration

◆ intermediateSmoothForce() [2/2]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.intermediateSmoothForce ( self,
float arg1 )

◆ iters() [1/2]

int mrmeshpy.MoveMeshToVoxelMaxDerivSettings.iters ( self)
number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts.

◆ iters() [2/2]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.iters ( self,
int arg1 )

◆ outlierThreshold() [1/2]

float mrmeshpy.MoveMeshToVoxelMaxDerivSettings.outlierThreshold ( self)
for each iteration, if target position of the vertex is greater than this threshold, it is disregarded.
For small degrees, this value should be small, for large degrees it may be larger.
Measured in number of voxels.

◆ outlierThreshold() [2/2]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.outlierThreshold ( self,
float arg1 )

◆ preparationSmoothForce() [1/2]

float mrmeshpy.MoveMeshToVoxelMaxDerivSettings.preparationSmoothForce ( self)
force of initial smoothing of vertices, before applying the algorithm

◆ preparationSmoothForce() [2/2]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.preparationSmoothForce ( self,
float arg1 )

◆ samplePoints() [1/2]

int mrmeshpy.MoveMeshToVoxelMaxDerivSettings.samplePoints ( self)
number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and
estimate the derivative based on it

◆ samplePoints() [2/2]

None mrmeshpy.MoveMeshToVoxelMaxDerivSettings.samplePoints ( self,
int arg1 )

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