42#include <pcl/filters/filter_indices.h>
44#include <unordered_map>
59 template <
typename Po
intT>
74 using Ptr = shared_ptr<UniformSampling<PointT> >;
75 using ConstPtr = shared_ptr<const UniformSampling<PointT> >;
136 std::unordered_map<std::size_t, Leaf>
leaves_;
161#ifdef PCL_NO_PRECOMPILE
162#include <pcl/filters/impl/uniform_sampling.hpp>
Filter represents the base filter class.
bool extract_removed_indices_
Set to true if we want to return the indices of the removed points.
const std::string & getClassName() const
Get a string representation of the name of this class.
std::string filter_name_
The filter name.
IndicesPtr removed_indices_
Indices of the points that are removed.
FilterIndices(bool extract_removed_indices=false)
Constructor.
bool negative_
False = normal filter behavior (default), true = inverted behavior.
pcl::PointCloud< PointT > PointCloud
PointCloudConstPtr input_
The input point cloud dataset.
IndicesPtr indices_
A pointer to the vector of point indices to use.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
IndicesAllocator<> Indices
Type used for indices in PCL.