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

#include <MRImproveSampling.h>

Public Attributes

int numIters = 1
 the number of algorithm iterations to perform
 
int minPointsInSample = 1
 
VertMap * pt2sm = nullptr
 optional output: mapping from input point id to sample id
 
PointCloudcloudOfSamples = nullptr
 optional output: new cloud containing averaged points and normals for each sample
 
Vector< int, VertId > * ptsInSm = nullptr
 optional output: the number of points in each sample
 
const VertColors * ptColors = nullptr
 optional input: colors of input points
 
VertColors * smColors = nullptr
 optional output: averaged colors of samples
 
ProgressCallback progress
 output progress status and receive cancel signal
 

Member Data Documentation

◆ cloudOfSamples

PointCloud* MR::ImproveSamplingSettings::cloudOfSamples = nullptr

optional output: new cloud containing averaged points and normals for each sample

◆ minPointsInSample

int MR::ImproveSamplingSettings::minPointsInSample = 1

if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers

◆ numIters

int MR::ImproveSamplingSettings::numIters = 1

the number of algorithm iterations to perform

◆ progress

ProgressCallback MR::ImproveSamplingSettings::progress

output progress status and receive cancel signal

◆ pt2sm

VertMap* MR::ImproveSamplingSettings::pt2sm = nullptr

optional output: mapping from input point id to sample id

◆ ptColors

const VertColors* MR::ImproveSamplingSettings::ptColors = nullptr

optional input: colors of input points

◆ ptsInSm

Vector<int, VertId>* MR::ImproveSamplingSettings::ptsInSm = nullptr

optional output: the number of points in each sample

◆ smColors

VertColors* MR::ImproveSamplingSettings::smColors = nullptr

optional output: averaged colors of samples


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