Resampling of point clouds
(PCCResampler)
Short Description
This tool allows to resample point clouds or selections within point clouds. Two modes are available.
If the selection flag is true, then only selected points within the point clouds are used. Otherwise
the point cloud that is defined in the source field is resampled.
Note: the newly created resampled point clouds have the same VertexDescriptor but old attribute
values (apart from flags and position) are not copied into the new point clouds.
Upsampling
(currently only supported in the selection mode)
If the number of points specified by the numPoints field is larger than the number of selected
points, then a local regression plane and the corresponding convex hull of the given points is
computed. Then, numPoints new points are created within the plane and within the convex hull
and added to the point cloud.
Downsampling
(currently only supported in the not selection mode)
If the number of points specified by the numPoints field is smaller than the
number of points in the point cloud specified by source, a subset of the
point cloud is chosen with size numPoints. This subset of points is used
to replace the original point cloud.