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. | |
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::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 |
Reimplemented in pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, 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::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::FrustumCulling< PointT >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::CovarianceSampling< PointT, PointNT >, pcl::FilterIndices< PointT >, pcl::RandomSample< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, pcl::FilterIndices< PointType >, pcl::FastBilateralFilterOMP< PointT >, pcl::ShadowPoints< PointT, NormalT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::SamplingSurfaceNormal< PointT >, pcl::CropBox< PointT >, pcl::BilateralFilter< PointT >, pcl::FastBilateralFilter< PointT >, pcl::CropHull< PointT >, and pcl::VoxelGridLabel.
typedef pcl::PointCloud<PointT> pcl::Filter< PointT >::PointCloud |
Reimplemented from pcl::PCLBase< PointT >.
Reimplemented in pcl::ConditionalRemoval< PointT >, pcl::NormalRefinement< NormalT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, 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::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::FrustumCulling< PointT >, 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::FastBilateralFilterOMP< PointT >, pcl::RandomSample< PointT >, pcl::MedianFilter< PointT >, pcl::ShadowPoints< PointT, NormalT >, pcl::VoxelGridOcclusionEstimation< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::FastBilateralFilter< PointT >, pcl::SamplingSurfaceNormal< PointT >, pcl::BilateralFilter< PointT >, pcl::CropBox< PointT >, and pcl::CropHull< PointT >.
typedef PointCloud::ConstPtr pcl::Filter< PointT >::PointCloudConstPtr |
Reimplemented from pcl::PCLBase< PointT >.
Reimplemented in pcl::ConditionalRemoval< PointT >, pcl::NormalRefinement< NormalT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, 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::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::FrustumCulling< PointT >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::RandomSample< PointT >, pcl::ShadowPoints< PointT, NormalT >, pcl::VoxelGridOcclusionEstimation< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::SamplingSurfaceNormal< PointT >, pcl::CropBox< PointT >, and pcl::CropHull< PointT >.
typedef PointCloud::Ptr pcl::Filter< PointT >::PointCloudPtr |
Reimplemented from pcl::PCLBase< PointT >.
Reimplemented in pcl::ConditionalRemoval< PointT >, pcl::NormalRefinement< NormalT >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, 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::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::FrustumCulling< PointT >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::RandomSample< PointT >, pcl::ShadowPoints< PointT, NormalT >, pcl::VoxelGridOcclusionEstimation< PointT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::SamplingSurfaceNormal< PointT >, pcl::CropBox< PointT >, and pcl::CropHull< PointT >.
typedef boost::shared_ptr< Filter<PointT> > pcl::Filter< PointT >::Ptr |
Reimplemented in pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, 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::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::FrustumCulling< PointT >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::RadiusOutlierRemoval< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::CovarianceSampling< PointT, PointNT >, pcl::FilterIndices< PointT >, pcl::RandomSample< PointT >, pcl::FilterIndices< PointInT >, pcl::FilterIndices< pcl::PointXYZRGBA >, pcl::FilterIndices< PointXYZRGBA >, pcl::FilterIndices< PointType >, pcl::FastBilateralFilterOMP< PointT >, pcl::ShadowPoints< PointT, NormalT >, pcl::NormalSpaceSampling< PointT, NormalT >, pcl::SamplingSurfaceNormal< PointT >, pcl::CropBox< PointT >, pcl::BilateralFilter< PointT >, pcl::FastBilateralFilter< PointT >, pcl::CropHull< PointT >, and pcl::VoxelGridLabel.
pcl::Filter< PointT >::Filter | ( | bool | extract_removed_indices = false | ) | [inline] |
virtual pcl::Filter< PointT >::~Filter | ( | ) | [inline, virtual] |
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::VoxelGridCovariance< PointT >, pcl::VoxelGridCovariance< PointTarget >, pcl::VoxelGrid< PointT >, pcl::VoxelGrid< PointTarget >, pcl::VoxelGrid< pcl::PointXYZRGBL >, pcl::VoxelGrid< PointType >, pcl::ApproximateVoxelGrid< PointT >, pcl::ApproximateVoxelGrid< pcl::PointXYZRGBNormal >, pcl::FrustumCulling< PointT >, 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::CovarianceSampling< PointT, PointNT >, pcl::ProjectInliers< PointT >, pcl::ProjectInliers< PointType >, pcl::SamplingSurfaceNormal< PointT >, pcl::CropHull< PointT >, pcl::RandomSample< PointT >, pcl::ExtractIndices< PointT >, pcl::ExtractIndices< PointType >, pcl::ShadowPoints< PointT, NormalT >, pcl::FastBilateralFilter< PointT >, pcl::MedianFilter< PointT >, pcl::FastBilateralFilterOMP< PointT >, pcl::BilateralFilter< PointT >, and pcl::VoxelGridLabel.
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] |
void pcl::Filter< PointT >::getRemovedIndices | ( | PointIndices & | pi | ) | [inline] |
bool pcl::Filter< PointT >::extract_removed_indices_ [protected] |
std::string pcl::Filter< PointT >::filter_name_ [protected] |
IndicesPtr pcl::Filter< PointT >::removed_indices_ [protected] |