pcl::ShadowPoints< PointT, NormalT > Class Template Reference
[Module filters]

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

#include <pcl/filters/shadowpoints.h>

Inheritance diagram for pcl::ShadowPoints< PointT, NormalT >:
Inheritance graph
[legend]
Collaboration diagram for pcl::ShadowPoints< PointT, NormalT >:
Collaboration graph
[legend]

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 ( std::vector< int > &  indices  )  [inline, protected, virtual]
template<typename PointT , typename NormalT >
void pcl::ShadowPoints< PointT, NormalT >::applyFilter ( PointCloud output  )  [inline, protected, virtual]
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] normals the 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] thresold the 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 documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends