MeshLib C++ Docs
Loading...
Searching...
No Matches
MRUniformSamplingSettings Struct Reference

#include <MRUniformSampling.h>

Public Attributes

float distance
 minimal distance between samples
 
float minNormalDot
 
bool lexicographicalOrder
 
MRProgressCallback progress
 to report progress and cancel processing
 

Member Data Documentation

◆ distance

float MRUniformSamplingSettings::distance

minimal distance between samples

◆ lexicographicalOrder

bool MRUniformSamplingSettings::lexicographicalOrder

if true process the points in lexicographical order, which gives tighter and more uniform samples; if false process the points according to their ids, which is faster

◆ minNormalDot

float MRUniformSamplingSettings::minNormalDot

if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value; this is to make sampling denser in the regions of high curvature; value <=0 means ignore normals; value >=1 means select all points (practically useless)

◆ progress

MRProgressCallback MRUniformSamplingSettings::progress

to report progress and cancel processing


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