Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::Filter< PointT > Class Template Reference

Filter represents the base filter class. All filters must inherit from this interface. More...

#include <filter.h>

Inheritance diagram for pcl::Filter< PointT >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< const Filter< PointT > > 
ConstPtr
typedef pcl::PointCloud< PointTPointCloud
typedef PointCloud::ConstPtr PointCloudConstPtr
typedef PointCloud::Ptr PointCloudPtr
typedef boost::shared_ptr
< Filter< PointT > > 
Ptr

Public Member Functions

 Filter (bool extract_removed_indices=false)
 Empty constructor.
void filter (PointCloud &output)
 Calls the filtering method and returns the filtered dataset in output.
IndicesConstPtr const getRemovedIndices ()
 Get the point indices being removed.
void getRemovedIndices (PointIndices &pi)
 Get the point indices being removed.
virtual ~Filter ()
 Empty destructor.

Protected Member Functions

virtual void applyFilter (PointCloud &output)=0
 Abstract filter method.
const std::stringgetClassName () const
 Get a string representation of the name of this class.

Protected Attributes

bool extract_removed_indices_
 Set to true if we want to return the indices of the removed points.
std::string filter_name_
 The filter name.
IndicesPtr removed_indices_
 Indices of the points that are removed.

Detailed Description

template<typename PointT>
class pcl::Filter< PointT >

Filter represents the base filter class. All filters must inherit from this interface.

Author:
Radu B. Rusu

Definition at line 83 of file filter.h.


Member Typedef Documentation

template<typename PointT>
typedef boost::shared_ptr< const Filter<PointT> > pcl::Filter< PointT >::ConstPtr
template<typename PointT>
typedef pcl::PointCloud<PointT> pcl::Filter< PointT >::PointCloud
template<typename PointT>
typedef PointCloud::ConstPtr pcl::Filter< PointT >::PointCloudConstPtr
template<typename PointT>
typedef PointCloud::Ptr pcl::Filter< PointT >::PointCloudPtr
template<typename PointT>
typedef boost::shared_ptr< Filter<PointT> > pcl::Filter< PointT >::Ptr

Constructor & Destructor Documentation

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

Empty constructor.

Parameters:
[in]extract_removed_indicesset to true if the filtered data indices should be saved in a separate list. Default: false.

Definition at line 101 of file filter.h.

template<typename PointT>
virtual pcl::Filter< PointT >::~Filter ( ) [inline, virtual]

Empty destructor.

Definition at line 109 of file filter.h.


Member Function Documentation

template<typename PointT>
virtual void pcl::Filter< PointT >::applyFilter ( PointCloud output) [protected, pure virtual]
template<typename PointT>
void pcl::Filter< PointT >::filter ( PointCloud output) [inline]

Calls the filtering method and returns the filtered dataset in output.

Parameters:
[out]outputthe resultant filtered point cloud dataset

Reimplemented in pcl::FilterIndices< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, and pcl::FilterIndices< PointType >.

Definition at line 131 of file filter.h.

template<typename PointT>
const std::string& pcl::Filter< PointT >::getClassName ( ) const [inline, protected]

Get a string representation of the name of this class.

Definition at line 176 of file filter.h.

template<typename PointT>
IndicesConstPtr const pcl::Filter< PointT >::getRemovedIndices ( ) [inline]

Get the point indices being removed.

Definition at line 113 of file filter.h.

template<typename PointT>
void pcl::Filter< PointT >::getRemovedIndices ( PointIndices pi) [inline]

Get the point indices being removed.

Parameters:
[out]pithe resultant point indices that have been removed

Definition at line 122 of file filter.h.


Member Data Documentation

template<typename PointT>
bool pcl::Filter< PointT >::extract_removed_indices_ [protected]

Set to true if we want to return the indices of the removed points.

Definition at line 163 of file filter.h.

template<typename PointT>
std::string pcl::Filter< PointT >::filter_name_ [protected]

The filter name.

Definition at line 160 of file filter.h.

template<typename PointT>
IndicesPtr pcl::Filter< PointT >::removed_indices_ [protected]

Indices of the points that are removed.

Definition at line 157 of file filter.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:40:56