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> >;
126#ifdef PCL_NO_PRECOMPILE
127#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.
FilterIndices represents the base class for filters that are about binary point removal.
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.
bool negative_
False = normal filter behavior (default), true = inverted behavior.
PointCloudConstPtr input_
The input point cloud dataset.
IndicesPtr indices_
A pointer to the vector of point indices to use.
shared_ptr< const PointCloud< PointT > > ConstPtr
shared_ptr< PointCloud< PointT > > Ptr
ShadowPoints removes the ghost points appearing on edge discontinuties
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.
A point structure representing Euclidean xyz coordinates, and the RGB color.