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

Public Member Functions

 __init__ (self, *args, **kwargs)
int degree (self)
float intermediateSmoothForce (self)
int iters (self)
float outlierThreshold (self)
float preparationSmoothForce (self)
int samplePoints (self)

Static Protected Attributes

typing _offsetof_degree = 8
typing _offsetof_intermediateSmoothForce = 16
typing _offsetof_iters = 0
typing _offsetof_outlierThreshold = 12
typing _offsetof_preparationSmoothForce = 20
typing _offsetof_samplePoints = 4

Detailed Description

Generated from:  MR::MoveMeshToVoxelMaxDerivSettings

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings, iters: int, samplePoints: int, degree: int, outlierThreshold: float, intermediateSmoothForce: float, preparationSmoothForce: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ degree()

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

Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.

◆ intermediateSmoothForce()

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

Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.

◆ iters()

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

Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.

◆ outlierThreshold()

float mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings.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.

Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.

◆ preparationSmoothForce()

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

Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.

◆ samplePoints()

int mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings.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

Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.

Member Data Documentation

◆ _offsetof_degree

typing mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings._offsetof_degree = 8
staticprotected

◆ _offsetof_intermediateSmoothForce

typing mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings._offsetof_intermediateSmoothForce = 16
staticprotected

◆ _offsetof_iters

typing mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings._offsetof_iters = 0
staticprotected

◆ _offsetof_outlierThreshold

typing mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings._offsetof_outlierThreshold = 12
staticprotected

◆ _offsetof_preparationSmoothForce

typing mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings._offsetof_preparationSmoothForce = 20
staticprotected

◆ _offsetof_samplePoints

typing mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings._offsetof_samplePoints = 4
staticprotected

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