40#include <pcl/filters/filter_indices.h>
49 template<
typename Po
intT,
typename NormalT>
69 using Ptr = shared_ptr< ShadowPoints<PointT, NormalT> >;
70 using ConstPtr = shared_ptr< const ShadowPoints<PointT, NormalT> >;
121 float threshold_{0.1f};
125#ifdef PCL_NO_PRECOMPILE
126#include <pcl/filters/impl/shadowpoints.hpp>
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.
float user_filter_value_
The user given value that the filtered point dimensions should be set to (default = NaN).
bool keep_organized_
False = remove points (default), true = redefine points, keep structure.
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.
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
void setNormals(const NormalsPtr &normals)
Set the normals computed on the input point cloud.
shared_ptr< const ShadowPoints< PointT, NormalT > > ConstPtr
NormalsPtr input_normals_
The normals computed at each point in the input cloud.
NormalsPtr getNormals() const
Get the normals computed on the input point cloud.
float getThreshold() const
Get the threshold for shadow points rejection.
void applyFilter(PointCloud &output) override
Sample of point indices into a separate PointCloud.
shared_ptr< ShadowPoints< PointT, NormalT > > Ptr
void setThreshold(float threshold)
Set the threshold for shadow points rejection.
ShadowPoints(bool extract_removed_indices=false)
Empty constructor.
IndicesAllocator<> Indices
Type used for indices in PCL.