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 |
Generated from: MR::MoveMeshToVoxelMaxDerivSettings
| 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
| 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.
| 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.
| 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.
| 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.
| float mrmeshpy.ConstMoveMeshToVoxelMaxDerivSettings.preparationSmoothForce | ( | self | ) |
force of initial smoothing of vertices, before applying the algorithm
Reimplemented in mrmeshpy.MoveMeshToVoxelMaxDerivSettings, and mrmeshpy.MoveMeshToVoxelMaxDerivSettings.
| 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.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |