12 #include <pcl/filters/filter_indices.h>
25 template<
typename Po
intT>
43 seed_ (std::random_device()())
98 #ifdef PCL_NO_PRECOMPILE
99 #include <pcl/filters/impl/farthest_point_sampling.hpp>
FarthestPointSampling applies farthest point sampling using euclidean distance, starting with a rando...
unsigned int seed_
Random number seed.
void setSample(std::size_t sample_size)
Set number of points to be sampled.
std::size_t getSample() const
Get the value of the internal sample_size parameter.
unsigned int getSeed() const
Get the value of the internal seed_ parameter.
void applyFilter(pcl::Indices &indices) override
Sample of point indices.
std::size_t sample_size_
Number of points that will be returned.
void setSeed(unsigned int seed)
Set seed of random function.
FarthestPointSampling(bool extract_removed_indices=false)
Empty constructor.
Filter represents the base filter class.
std::string filter_name_
The filter name.
FilterIndices represents the base class for filters that are about binary point removal.
PointCloud represents the base class in PCL for storing collections of 3D points.
IndicesAllocator<> Indices
Type used for indices in PCL.
A point structure representing Euclidean xyz coordinates, and the RGB color.