Filter represents the base filter class. More...
#include <pcl/filters/filter.h>


Public Types | |
| typedef boost::shared_ptr < Filter< pcl::PCLPointCloud2 > > | Ptr |
| typedef boost::shared_ptr < const Filter < pcl::PCLPointCloud2 > > | ConstPtr |
| typedef pcl::PCLPointCloud2 | PCLPointCloud2 |
| typedef PCLPointCloud2::Ptr | PCLPointCloud2Ptr |
| typedef PCLPointCloud2::ConstPtr | PCLPointCloud2ConstPtr |
Public Member Functions | |
| Filter (bool extract_removed_indices=false) | |
| Empty constructor. | |
| virtual | ~Filter () |
| Empty destructor. | |
| IndicesConstPtr const | getRemovedIndices () |
| Get the point indices being removed. | |
| void | getRemovedIndices (PointIndices &pi) |
| Get the point indices being removed. | |
| void | filter (PCLPointCloud2 &output) |
| Calls the filtering method and returns the filtered dataset in output. | |
Protected Member Functions | |
| virtual void | applyFilter (PCLPointCloud2 &output)=0 |
| Abstract filter method. | |
| const std::string & | getClassName () const |
| Get a string representation of the name of this class. | |
Protected Attributes | |
| IndicesPtr | removed_indices_ |
| Indices of the points that are removed. | |
| 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. | |
Filter represents the base filter class.
All filters must inherit from this interface.
Definition at line 188 of file filter.h.
| typedef boost::shared_ptr< const Filter<pcl::PCLPointCloud2> > pcl::Filter< pcl::PCLPointCloud2 >::ConstPtr |
Reimplemented in pcl::RandomSample< pcl::PCLPointCloud2 >.
Reimplemented from pcl::PCLBase< pcl::PCLPointCloud2 >.
Reimplemented in pcl::ExtractIndices< pcl::PCLPointCloud2 >, and pcl::FilterIndices< pcl::PCLPointCloud2 >.
Reimplemented from pcl::PCLBase< pcl::PCLPointCloud2 >.
Reimplemented in pcl::ExtractIndices< pcl::PCLPointCloud2 >.
Reimplemented from pcl::PCLBase< pcl::PCLPointCloud2 >.
Reimplemented in pcl::ExtractIndices< pcl::PCLPointCloud2 >.
| typedef boost::shared_ptr< Filter<pcl::PCLPointCloud2> > pcl::Filter< pcl::PCLPointCloud2 >::Ptr |
Reimplemented in pcl::RandomSample< pcl::PCLPointCloud2 >.
| pcl::Filter< pcl::PCLPointCloud2 >::Filter | ( | bool | extract_removed_indices = false |
) | [inline] |
| virtual pcl::Filter< pcl::PCLPointCloud2 >::~Filter | ( | ) | [inline, virtual] |
| virtual void pcl::Filter< pcl::PCLPointCloud2 >::applyFilter | ( | PCLPointCloud2 & | output | ) | [protected, pure virtual] |
Abstract filter method.
The implementation needs to set output.{data, row_step, point_step, width, height, is_dense}.
| [out] | output | the resultant filtered point cloud |
Implemented in pcl::CropBox< pcl::PCLPointCloud2 >, pcl::ExtractIndices< pcl::PCLPointCloud2 >, pcl::PassThrough< pcl::PCLPointCloud2 >, pcl::ProjectInliers< pcl::PCLPointCloud2 >, pcl::RadiusOutlierRemoval< pcl::PCLPointCloud2 >, pcl::RandomSample< pcl::PCLPointCloud2 >, pcl::StatisticalOutlierRemoval< pcl::PCLPointCloud2 >, and pcl::VoxelGrid< pcl::PCLPointCloud2 >.
| void pcl::Filter< pcl::PCLPointCloud2 >::filter | ( | PCLPointCloud2 & | output | ) |
Calls the filtering method and returns the filtered dataset in output.
| [out] | output | the resultant filtered point cloud dataset |
Reimplemented in pcl::FilterIndices< pcl::PCLPointCloud2 >.
| const std::string& pcl::Filter< pcl::PCLPointCloud2 >::getClassName | ( | ) | const [inline, protected] |
| void pcl::Filter< pcl::PCLPointCloud2 >::getRemovedIndices | ( | PointIndices & | pi | ) | [inline] |
Get the point indices being removed.
| [out] | pi | the resultant point indices that have been removed |
Definition at line 223 of file filter.h.
References pcl::PointIndices::indices.
| IndicesConstPtr const pcl::Filter< pcl::PCLPointCloud2 >::getRemovedIndices | ( | ) | [inline] |
bool pcl::Filter< pcl::PCLPointCloud2 >::extract_removed_indices_ [protected] |
std::string pcl::Filter< pcl::PCLPointCloud2 >::filter_name_ [protected] |
IndicesPtr pcl::Filter< pcl::PCLPointCloud2 >::removed_indices_ [protected] |