MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PositionVertsSmoothlyParams Struct Reference

#include <MRPositionVertsSmoothly.h>

Public Attributes

const VertBitSet * region = nullptr
 
const Vector< Vector3f, VertId > * vertShifts = nullptr
 optional additional shifts of each vertex relative to smooth position
 
float stabilizer = 0
 the more the value, the bigger attraction of each vertex to its original position
 
VertMetric vertStabilizers
 if specified then it is used instead of stabilizer
 
UndirectedEdgeMetric edgeWeights
 if specified then it is used for edge weights instead of default 1
 

Member Data Documentation

◆ edgeWeights

UndirectedEdgeMetric MR::PositionVertsSmoothlyParams::edgeWeights

if specified then it is used for edge weights instead of default 1

◆ region

const VertBitSet* MR::PositionVertsSmoothlyParams::region = nullptr

which vertices on mesh are smoothed, nullptr means all vertices; it must not include all vertices of a mesh connected component unless stabilizer > 0

◆ stabilizer

float MR::PositionVertsSmoothlyParams::stabilizer = 0

the more the value, the bigger attraction of each vertex to its original position

◆ vertShifts

const Vector<Vector3f, VertId>* MR::PositionVertsSmoothlyParams::vertShifts = nullptr

optional additional shifts of each vertex relative to smooth position

◆ vertStabilizers

VertMetric MR::PositionVertsSmoothlyParams::vertStabilizers

if specified then it is used instead of stabilizer


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