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.

Protected Member Functions

virtual void applyFilter (PointCloud &output)=0
 Abstract filter method.
const std::string & getClassName () 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 69 of file filter.h.


Member Typedef Documentation

template<typename PointT>
typedef boost::shared_ptr< const Filter<PointT> > pcl::Filter< PointT >::ConstPtr

Definition at line 76 of file filter.h.

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

Definition at line 75 of file filter.h.


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 86 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 104 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 149 of file filter.h.

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

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.

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

Definition at line 136 of file filter.h.

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

The filter name.

Definition at line 133 of file filter.h.

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

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


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:30