Filter represents the base filter class. All filters must inherit from this interface. More...
#include <filter.h>

Public Types | |
| typedef boost::shared_ptr < const Filter< PointT > > | ConstPtr |
| typedef pcl::PointCloud< PointT > | PointCloud |
| 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. | |
Filter represents the base filter class. All filters must inherit from this interface.
| typedef boost::shared_ptr< const Filter<PointT> > pcl::Filter< PointT >::ConstPtr |
| typedef pcl::PointCloud<PointT> pcl::Filter< PointT >::PointCloud |
Reimplemented from pcl::PCLBase< PointT >.
Reimplemented in pcl::ConditionalRemoval< PointT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointType >, pcl::ApproximateVoxelGrid< PointT >, pcl::ApproximateVoxelGrid< pcl::PointXYZRGBNormal >, pcl::StatisticalOutlierRemoval< PointT >, pcl::PassThrough< PointT >, pcl::PassThrough< PointInT >, pcl::PassThrough< pcl::PointXYZRGBA >, pcl::PassThrough< PointXYZRGBA >, pcl::PassThrough< PointType >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::FilterIndices< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, pcl::FilterIndices< PointType >, pcl::CropBox< PointT >, pcl::RandomSample< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::BilateralFilter< PointT >, and pcl::CropHull< PointT >.
| typedef PointCloud::ConstPtr pcl::Filter< PointT >::PointCloudConstPtr |
Reimplemented from pcl::PCLBase< PointT >.
Reimplemented in pcl::ConditionalRemoval< PointT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointType >, pcl::ApproximateVoxelGrid< PointT >, pcl::ApproximateVoxelGrid< pcl::PointXYZRGBNormal >, pcl::StatisticalOutlierRemoval< PointT >, pcl::PassThrough< PointT >, pcl::PassThrough< PointInT >, pcl::PassThrough< pcl::PointXYZRGBA >, pcl::PassThrough< PointXYZRGBA >, pcl::PassThrough< PointType >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::CropBox< PointT >, pcl::RandomSample< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, and pcl::CropHull< PointT >.
| typedef PointCloud::Ptr pcl::Filter< PointT >::PointCloudPtr |
Reimplemented from pcl::PCLBase< PointT >.
Reimplemented in pcl::ConditionalRemoval< PointT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointType >, pcl::ApproximateVoxelGrid< PointT >, pcl::ApproximateVoxelGrid< pcl::PointXYZRGBNormal >, pcl::StatisticalOutlierRemoval< PointT >, pcl::PassThrough< PointT >, pcl::PassThrough< PointInT >, pcl::PassThrough< pcl::PointXYZRGBA >, pcl::PassThrough< PointXYZRGBA >, pcl::PassThrough< PointType >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::CropBox< PointT >, pcl::RandomSample< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, and pcl::CropHull< PointT >.
| typedef boost::shared_ptr< Filter<PointT> > pcl::Filter< PointT >::Ptr |
| pcl::Filter< PointT >::Filter | ( | bool | extract_removed_indices = false | ) | [inline] |
| virtual void pcl::Filter< PointT >::applyFilter | ( | PointCloud & | output | ) | [protected, pure virtual] |
Abstract filter method.
The implementation needs to set output.{points, width, height, is_dense}.
| [out] | output | the resultant filtered point cloud |
Implemented in pcl::ConditionalRemoval< PointT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointType >, pcl::ApproximateVoxelGrid< PointT >, pcl::ApproximateVoxelGrid< pcl::PointXYZRGBNormal >, pcl::PassThrough< PointT >, pcl::PassThrough< PointInT >, pcl::PassThrough< pcl::PointXYZRGBA >, pcl::PassThrough< PointXYZRGBA >, pcl::PassThrough< PointType >, pcl::CropBox< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::StatisticalOutlierRemoval< PointT >, pcl::RadiusOutlierRemoval< PointT >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::CropHull< PointT >, pcl::RandomSample< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, and pcl::BilateralFilter< PointT >.
| void pcl::Filter< PointT >::filter | ( | PointCloud & | output | ) | [inline] |
Calls the filtering method and returns the filtered dataset in output.
| [out] | output | the resultant filtered point cloud dataset |
Reimplemented in pcl::FilterIndices< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, and pcl::FilterIndices< PointType >.
| const std::string& pcl::Filter< PointT >::getClassName | ( | ) | const [inline, protected] |
| IndicesConstPtr const pcl::Filter< PointT >::getRemovedIndices | ( | ) | [inline] |
Get the point indices being removed.
Reimplemented in pcl::FilterIndices< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, and pcl::FilterIndices< PointType >.
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 >.
std::string pcl::Filter< PointT >::filter_name_ [protected] |
IndicesPtr pcl::Filter< PointT >::removed_indices_ [protected] |
Indices of the points that are removed.
Reimplemented in pcl::FilterIndices< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, and pcl::FilterIndices< PointType >.