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

Mesh change settings. More...

#include <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
 the force of changing mesh
 
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
 

Detailed Description

Mesh change settings.

Member Data Documentation

◆ edgeWeights

EdgeWeights MR::SurfaceManipulationWidget::Settings::edgeWeights = EdgeWeights::Cotan

edge weights for Laplacian and Patch

◆ editForce

float MR::SurfaceManipulationWidget::Settings::editForce = 1.f

the force of changing mesh

◆ radius

float MR::SurfaceManipulationWidget::Settings::radius = 1.f

radius of editing region

◆ relaxForce

float MR::SurfaceManipulationWidget::Settings::relaxForce = 0.2f

speed of relaxing, typical values (0 - 0.5]

◆ relaxForceAfterEdit

float MR::SurfaceManipulationWidget::Settings::relaxForceAfterEdit = 0.25f

force of relaxing modified area after editing (add / remove) is complete. [0 - 0.5], 0 - not relax

◆ sharpness

float MR::SurfaceManipulationWidget::Settings::sharpness = 50.f

effect of force on points far from center editing area. [0 - 100]

◆ workMode

WorkMode MR::SurfaceManipulationWidget::Settings::workMode = WorkMode::Add

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