Point Cloud Library (PCL)  1.7.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::ShadowPoints< PointT, NormalT > Class Template Reference

ShadowPoints removes the ghost points appearing on edge discontinuties More...

#include <pcl/filters/shadowpoints.h>

+ Inheritance diagram for pcl::ShadowPoints< PointT, NormalT >:

List of all members.

Public Types

typedef boost::shared_ptr
< ShadowPoints< PointT,
NormalT > > 
Ptr
typedef boost::shared_ptr
< const ShadowPoints< PointT,
NormalT > > 
ConstPtr

Public Member Functions

 ShadowPoints (bool extract_removed_indices=false)
 Empty constructor.
void setNormals (const NormalsPtr &normals)
 Set the normals computed on the input point cloud.
NormalsPtr getNormals () const
 Get the normals computed on the input point cloud.
void setThreshold (float threshold)
 Set the threshold for shadow points rejection.
float getThreshold () const
 Get the threshold for shadow points rejection.

Protected Member Functions

void applyFilter (PointCloud &output)
 Sample of point indices into a separate PointCloud.
void applyFilter (std::vector< int > &indices)
 Sample of point indices.

Protected Attributes

NormalsPtr input_normals_
 The normals computed at each point in the input cloud.

Detailed Description

template<typename PointT, typename NormalT>
class pcl::ShadowPoints< PointT, NormalT >

ShadowPoints removes the ghost points appearing on edge discontinuties

Author:
Aravindhan K Krishnan. This code is ported from libpointmatcher (https://github.com/ethz-asl/libpointmatcher)

Definition at line 53 of file shadowpoints.h.


Member Typedef Documentation

template<typename PointT , typename NormalT >
typedef boost::shared_ptr< const ShadowPoints<PointT, NormalT> > pcl::ShadowPoints< PointT, NormalT >::ConstPtr

Reimplemented from pcl::FilterIndices< PointT >.

Definition at line 73 of file shadowpoints.h.

template<typename PointT , typename NormalT >
typedef boost::shared_ptr< ShadowPoints<PointT, NormalT> > pcl::ShadowPoints< PointT, NormalT >::Ptr

Reimplemented from pcl::FilterIndices< PointT >.

Definition at line 72 of file shadowpoints.h.


Constructor & Destructor Documentation

template<typename PointT , typename NormalT >
pcl::ShadowPoints< PointT, NormalT >::ShadowPoints ( bool  extract_removed_indices = false) [inline]

Empty constructor.

Definition at line 76 of file shadowpoints.h.

References pcl::Filter< PointT >::filter_name_.


Member Function Documentation

template<typename PointT , typename NormalT >
void pcl::ShadowPoints< PointT, NormalT >::applyFilter ( PointCloud output) [protected, virtual]

Sample of point indices into a separate PointCloud.

Parameters:
[out]outputthe resultant point cloud

Implements pcl::Filter< PointT >.

Definition at line 47 of file shadowpoints.hpp.

References pcl::PointCloud< PointT >::height, pcl::PointCloud< PointT >::points, and pcl::PointCloud< PointT >::width.

template<typename PointT , typename NormalT >
void pcl::ShadowPoints< PointT, NormalT >::applyFilter ( std::vector< int > &  indices) [protected, virtual]

Sample of point indices.

Parameters:
[out]indicesthe resultant point cloud indices

Implements pcl::FilterIndices< PointT >.

Definition at line 84 of file shadowpoints.hpp.

template<typename PointT , typename NormalT >
NormalsPtr pcl::ShadowPoints< PointT, NormalT >::getNormals ( ) const [inline]

Get the normals computed on the input point cloud.

Definition at line 92 of file shadowpoints.h.

References pcl::ShadowPoints< PointT, NormalT >::input_normals_.

template<typename PointT , typename NormalT >
float pcl::ShadowPoints< PointT, NormalT >::getThreshold ( ) const [inline]

Get the threshold for shadow points rejection.

Definition at line 102 of file shadowpoints.h.

template<typename PointT , typename NormalT >
void pcl::ShadowPoints< PointT, NormalT >::setNormals ( const NormalsPtr &  normals) [inline]

Set the normals computed on the input point cloud.

Parameters:
[in]normalsthe normals computed for the input cloud

Definition at line 88 of file shadowpoints.h.

References pcl::ShadowPoints< PointT, NormalT >::input_normals_.

template<typename PointT , typename NormalT >
void pcl::ShadowPoints< PointT, NormalT >::setThreshold ( float  threshold) [inline]

Set the threshold for shadow points rejection.

Parameters:
[in]thresoldthe threshold

Definition at line 98 of file shadowpoints.h.


Member Data Documentation

template<typename PointT , typename NormalT >
NormalsPtr pcl::ShadowPoints< PointT, NormalT >::input_normals_ [protected]

The normals computed at each point in the input cloud.

Definition at line 107 of file shadowpoints.h.

Referenced by pcl::ShadowPoints< PointT, NormalT >::getNormals(), and pcl::ShadowPoints< PointT, NormalT >::setNormals().


The documentation for this class was generated from the following files: