#include <MRPositionVertsSmoothly.h>
Public Attributes | |
const VertBitSet * | region = nullptr |
vertices to be moved by the algorithm, nullptr means all valid vertices | |
UndirectedEdgeMetric | dist |
target distance of each edge in the mesh (for at least one edge's vertex in the region) | |
int | numIters = 10 |
the algorithm is iterative, the more iterations the closer result to exact solution | |
float | stabilizer = 3 |
too small number here can lead to instability, too large - to slow convergence | |
float | maxSumNegW = 0.1f |
maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically | |
FacePredicate | isInverted |
if this predicated is given, then all inverted faces will be converted in degenerate faces at the end of each iteration | |
UndirectedEdgeMetric MR::SpacingSettings::dist |
target distance of each edge in the mesh (for at least one edge's vertex in the region)
FacePredicate MR::SpacingSettings::isInverted |
if this predicated is given, then all inverted faces will be converted in degenerate faces at the end of each iteration
float MR::SpacingSettings::maxSumNegW = 0.1f |
maximum sum of minus negative weights, if it is exceeded then stabilizer is increased automatically
int MR::SpacingSettings::numIters = 10 |
the algorithm is iterative, the more iterations the closer result to exact solution
const VertBitSet* MR::SpacingSettings::region = nullptr |
vertices to be moved by the algorithm, nullptr means all valid vertices
float MR::SpacingSettings::stabilizer = 3 |
too small number here can lead to instability, too large - to slow convergence