MeshLib Documentation
Loading...
Searching...
No Matches
MR::MoveMeshToVoxelMaxDerivSettings Struct Reference

#include <MRMoveMeshToVoxelMaxDeriv.h>

Public Attributes

int iters = 30
 number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts.
 
int samplePoints = 6
 
int degree = 3
 degree of the polynomial used to fit sampled points. Must be in range [3; 6]
 
float outlierThreshold = 1.f
 
float intermediateSmoothForce = 0.3f
 force of the smoothing (relaxation) of vector field of shifts on each iteration
 
float preparationSmoothForce = 0.1f
 force of initial smoothing of vertices, before applying the algorithm
 

Member Data Documentation

◆ degree

int MR::MoveMeshToVoxelMaxDerivSettings::degree = 3

degree of the polynomial used to fit sampled points. Must be in range [3; 6]

◆ intermediateSmoothForce

float MR::MoveMeshToVoxelMaxDerivSettings::intermediateSmoothForce = 0.3f

force of the smoothing (relaxation) of vector field of shifts on each iteration

◆ iters

int MR::MoveMeshToVoxelMaxDerivSettings::iters = 30

number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts.

◆ outlierThreshold

float MR::MoveMeshToVoxelMaxDerivSettings::outlierThreshold = 1.f

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

◆ preparationSmoothForce

float MR::MoveMeshToVoxelMaxDerivSettings::preparationSmoothForce = 0.1f

force of initial smoothing of vertices, before applying the algorithm

◆ samplePoints

int MR::MoveMeshToVoxelMaxDerivSettings::samplePoints = 6

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


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