RandomSample
https://pointclouds.org/documentation/classpcl_1_1_random_sample.html
RandomSample
applies a random sampling with uniform probability.
Constructor
new PCL.RandomSample(pointType, extractRemovedIndices);
Parameters:
Name | Type | Default | Description |
---|---|---|---|
pointType | PointType | PointXYZ | The point cloud type. |
extractRemovedIndices | boolean | false | Initializing with true will allow us to extract the removed indices. |
Methods
setSample
setSample(sample);
Set number of indices to be sampled.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
sample | number | Number of indices to be sampled. |
getSample
getSample();
setSeed
setSeed(seed);
Set seed of random function.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
seed | number | seed of random function. |
getSeed
getSeed();
setNegative
getNegative
setKeepOrganized
See PassThrough.setKeepOrganized
getKeepOrganized
See PassThrough.getKeepOrganized
setUserFilterValue
See PassThrough.setUserFilterValue