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

#include <MRWeightedPointsShell.h>

+ Inheritance diagram for MR::WeightedShell::ParametersRegions:

Classes

struct  Region
 

Public Attributes

std::vector< Regionregions
 
float interpolationDist = 0
 
bool bidirectionalMode = true
 
- Public Attributes inherited from MR::WeightedShell::ParametersBase
float offset = 0
 build iso-surface of minimal distance to points corresponding to this value
 
float voxelSize = 0
 
float numLayers = 1.001f
 number of voxels to compute near the offset (should be left default unless used for debugging)
 
ProgressCallback progress
 Progress callback.
 

Member Data Documentation

◆ bidirectionalMode

bool MR::WeightedShell::ParametersRegions::bidirectionalMode = true

if true the distances grow in both directions from each triangle, reaching minimum in the triangle; if false the distances grow to infinity in the direction of triangle's normals, and decrease to minus infinity in the opposite direction

◆ interpolationDist

float MR::WeightedShell::ParametersRegions::interpolationDist = 0

interpolation distance between the weights of the regions determines the sharpness of transitions between different regions

◆ regions

std::vector<Region> MR::WeightedShell::ParametersRegions::regions

list of regions (overlappings are allowed) with corresponding offsets the additional offset in overlaps is set to the average of the regions


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