44 #include <pcl/filters/filter_indices.h>
45 #include <pcl/search/search.h>
59 template <
typename Po
intT>
132 #ifdef PCL_NO_PRECOMPILE
133 #include <pcl/filters/impl/local_maximum.hpp>
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.
LocalMaximum downsamples the cloud, by eliminating points that are locally maximal.
LocalMaximum(bool extract_removed_indices=false)
Empty constructor.
void setRadius(float radius)
Set the radius to use to determine if a point is the local max.
void applyFilter(PointCloud &output) override
Downsample a Point Cloud by eliminating points that are locally maximal in z.
float getRadius() const
Get the radius to use to determine if a point is the local max.
typename pcl::search::Search< PointT >::Ptr SearcherPtr
void applyFilterIndices(Indices &indices)
Filtered results are indexed by an indices array.
void setSearchMethod(const SearcherPtr &searcher)
Provide a pointer to the search object.
void applyFilter(Indices &indices) override
Filtered results are indexed by an indices array.
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< pcl::search::Search< PointT > > Ptr
IndicesAllocator<> Indices
Type used for indices in PCL.
A point structure representing Euclidean xyz coordinates, and the RGB color.