40 #ifndef PCL_FILTERS_EXTRACT_INDICES_H_
41 #define PCL_FILTERS_EXTRACT_INDICES_H_
43 #include <pcl/filters/filter_indices.h>
69 template<
typename Po
intT>
80 typedef boost::shared_ptr< ExtractIndices<PointT> >
Ptr;
81 typedef boost::shared_ptr< const ExtractIndices<PointT> >
ConstPtr;
172 filter_name_ =
"ExtractIndices";
189 applyFilter (PCLPointCloud2 &output);
195 applyFilter (std::vector<int> &indices);
199 #ifdef PCL_NO_PRECOMPILE
200 #include <pcl/filters/impl/extract_indices.hpp>
203 #endif // PCL_FILTERS_EXTRACT_INDICES_H_
std::string filter_name_
The filter name.
void filterDirectly(PointCloudPtr &cloud)
Apply the filter and store the results directly in the input cloud.
boost::shared_ptr< ::pcl::PCLPointCloud2 const > ConstPtr
void applyFilter(std::vector< int > &indices)
Filtered results are indexed by an indices array.
ExtractIndices()
Empty constructor.
FilterIndices represents the base class for filters that are about binary point removal.
boost::shared_ptr< ExtractIndices< PointT > > Ptr
void applyFilterIndices(std::vector< int > &indices)
Filtered results are indexed by an indices array.
FilterIndices< PointT >::PointCloud PointCloud
PointCloud::ConstPtr PointCloudConstPtr
boost::shared_ptr< const PointCloud< PointT > > ConstPtr
ExtractIndices(bool extract_removed_indices=false)
Constructor.
void applyFilter(PointCloud &output)
Filtered results are stored in a separate point cloud.
boost::shared_ptr< const ExtractIndices< PointT > > ConstPtr
pcl::PCLPointCloud2 PCLPointCloud2
pcl::traits::fieldList< PointT >::type FieldList
boost::shared_ptr< ::pcl::PCLPointCloud2 > Ptr
A point structure representing Euclidean xyz coordinates, and the RGB color.
boost::shared_ptr< PointCloud< PointT > > Ptr
Filter represents the base filter class.
PCLPointCloud2::ConstPtr PCLPointCloud2ConstPtr
PCLPointCloud2::Ptr PCLPointCloud2Ptr
PointCloud represents the base class in PCL for storing collections of 3D points. ...
bool use_indices_
Set to true if point indices are used.
ExtractIndices extracts a set of indices from a point cloud.
PointCloud::Ptr PointCloudPtr