#include <MRUniformSampling.h>
Public Attributes | |
float | distance = 0 |
minimal distance between samples | |
float | minNormalDot = 0 |
bool | lexicographicalOrder = true |
const VertNormals * | pNormals = nullptr |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself | |
ProgressCallback | progress |
to report progress and cancel processing | |
float MR::UniformSamplingSettings::distance = 0 |
minimal distance between samples
bool MR::UniformSamplingSettings::lexicographicalOrder = true |
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 MR::UniformSamplingSettings::minNormalDot = 0 |
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)
const VertNormals* MR::UniformSamplingSettings::pNormals = nullptr |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself
ProgressCallback MR::UniformSamplingSettings::progress |
to report progress and cancel processing