MeshLib Documentation
Loading...
Searching...
No Matches
MR::InflateSettings Struct Reference

#include <MRPositionVertsSmoothly.h>

Public Attributes

float pressure = 0
 
int iterations = 3
 
bool preSmooth = true
 
bool gradualPressureGrowth = true
 whether to increase the pressure gradually during the iterations (recommended for best quality)
 

Member Data Documentation

◆ gradualPressureGrowth

bool MR::InflateSettings::gradualPressureGrowth = true

whether to increase the pressure gradually during the iterations (recommended for best quality)

◆ iterations

int MR::InflateSettings::iterations = 3

the number of internal iterations (>=1); larger number of iterations makes the performance slower, but the quality better

◆ preSmooth

bool MR::InflateSettings::preSmooth = true

smooths the area before starting inflation; please set to false only if the region is known to be already smooth

◆ pressure

float MR::InflateSettings::pressure = 0

the amount of pressure applied to mesh region: positive pressure moves the vertices outside, negative - inside; please specify a value by magnitude about the region diagonal


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