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>
shared_ptr< Filter< PointT > > Ptr
shared_ptr< const Filter< PointT > > ConstPtr
std::string filter_name_
The filter name.
FilterIndices represents the base class for filters that are about binary point removal.
typename PointCloud::Ptr PointCloudPtr
typename PointCloud::ConstPtr PointCloudConstPtr
PointCloud represents the base class in PCL for storing collections of 3D points.
shared_ptr< PointCloud< PointT > > Ptr
shared_ptr< const PointCloud< PointT > > ConstPtr
ShadowPoints removes the ghost points appearing on edge discontinuties
void setNormals(const NormalsPtr &normals)
Set the normals computed on the input point cloud.
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.
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.
A point structure representing Euclidean xyz coordinates, and the RGB color.