#include <MRUniformSampling.h>
Public Attributes | |
| float | distance |
| minimal distance between samples | |
| float | minNormalDot |
| bool | lexicographicalOrder |
| MRProgressCallback | progress |
| to report progress and cancel processing | |
| float MRUniformSamplingSettings::distance |
minimal distance between samples
| 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
| 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)
| MRProgressCallback MRUniformSamplingSettings::progress |
to report progress and cancel processing