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

Mesh change settings. More...

#include <MRViewer/MRSurfaceManipulationWidget.h>

Public Attributes

WorkMode workMode = WorkMode::Add
float radius = 1.f
 radius of editing region
float relaxForce = 0.2f
 speed of relaxing, typical values (0 - 0.5]
float editForce = 1.f
 material thickness added or removed to the surface
float sharpness = 50.f
 effect of force on points far from center editing area. [0 - 100]
float relaxForceAfterEdit = 0.25f
 force of relaxing modified area after editing (add / remove) is complete. [0 - 0.5], 0 - not relax
EdgeWeights edgeWeights = EdgeWeights::Cotan
 edge weights for Laplacian and Patch
VertexMass vmass = VertexMass::NeiArea
 vertex weights for Laplacian and Patch
bool laplacianBasedAddRemove = false
 if true in Add/Remove modes, the modification will be done using Laplacian solver, where the closest vertices will be attracted toward mouse cursor to form ideal ridges or grooves
bool subdivideGrooves = false
 if true in Add/Remove modes, changed parts of mesh will be subdivided on mouse up

Detailed Description

Mesh change settings.


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