MeshLib
 
Loading...
Searching...
No Matches
MR::MeshRelaxParams Struct Reference

#include <MRMeshRelax.h>

+ Inheritance diagram for MR::MeshRelaxParams:

Public Attributes

bool hardSmoothTetrahedrons { false }
 move all region vertices with exactly three neighbor vertices in the center of the neighbors
 
const VertScalars * weights = nullptr
 weight for each vertex. By default, all the vertices have equal weights.
 
- Public Attributes inherited from MR::RelaxParams
int iterations = 1
 number of iterations
 
const VertBitSetregion = nullptr
 region to relax
 
float force = 0.5f
 speed of relaxing, typical values (0.0, 0.5]
 
bool limitNearInitial = false
 if true then maximal displacement of each point during denoising will be limited
 
float maxInitialDist = 0
 maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false
 

Member Data Documentation

◆ hardSmoothTetrahedrons

bool MR::MeshRelaxParams::hardSmoothTetrahedrons { false }

move all region vertices with exactly three neighbor vertices in the center of the neighbors

◆ weights

const VertScalars* MR::MeshRelaxParams::weights = nullptr

weight for each vertex. By default, all the vertices have equal weights.


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