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>
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.
FarthestPointSampling(bool extract_removed_indices=false)
Empty constructor.
unsigned int seed_
Random number seed.
FilterIndices represents the base class for filters that are about binary point removal.
Filter represents the base filter class.
unsigned int getSeed() const
Get the value of the internal seed_ parameter.
void applyFilter(pcl::Indices &indices) override
Sample of point indices.
IndicesAllocator<> Indices
Type used for indices in PCL.
PointCloud represents the base class in PCL for storing collections of 3D points. ...
std::size_t sample_size_
Number of points that will be returned.
std::string filter_name_
The filter name.
A point structure representing Euclidean xyz coordinates, and the RGB color.
void setSeed(unsigned int seed)
Set seed of random function.
FarthestPointSampling applies farthest point sampling using euclidean distance, starting with a rando...