45 #include <boost/make_shared.hpp>
58 template<
typename Po
intT>
void
61 std::vector<int> &index);
68 template<
typename Po
intT>
75 typedef boost::shared_ptr< Filter<PointT> >
Ptr;
76 typedef boost::shared_ptr< const Filter<PointT> >
ConstPtr;
86 Filter (
bool extract_removed_indices =
false) :
87 removed_indices_ (new std::vector<int>),
89 extract_removed_indices_ (extract_removed_indices)
97 return (removed_indices_);
114 output.
header = input_->header;
119 applyFilter (output);
133 std::string filter_name_;
136 bool extract_removed_indices_;
148 inline const std::string&
149 getClassName ()
const
151 return (filter_name_);
172 Filter (
bool extract_removed_indices =
false) :
173 removed_indices_ (new std::vector<int>),
174 extract_removed_indices_ (extract_removed_indices),
183 return (removed_indices_);
190 filter (PointCloud2 &output);
198 bool extract_removed_indices_;
201 std::string filter_name_;
210 applyFilter (PointCloud2 &output) = 0;
213 inline const std::string&
214 getClassName ()
const
216 return (filter_name_);
221 #endif //#ifndef PCL_FILTER_H_