40 #ifndef PCL_FILTERS_FILTER_INDICES_H_
41 #define PCL_FILTERS_FILTER_INDICES_H_
54 template<
typename Po
intT>
void
67 template<
typename Po
intT>
78 keep_organized_ (false),
79 extract_removed_indices_ (extract_removed_indices),
80 user_filter_value_ (std::numeric_limits<float>::quiet_NaN ()),
81 removed_indices_ (new std::vector<int> ())
107 applyFilter (indices);
118 negative_ = negative;
137 keep_organized_ = keep_organized;
147 return (keep_organized_);
157 user_filter_value_ = value;
166 return (removed_indices_);
177 bool keep_organized_;
180 bool extract_removed_indices_;
183 float user_filter_value_;
190 applyFilter (std::vector<int> &indices) = 0;
214 keep_organized_ (false),
215 extract_removed_indices_ (extract_removed_indices),
216 user_filter_value_ (std::numeric_limits<float>::quiet_NaN ()),
217 removed_indices_ (new std::vector<int>)
237 filter (std::vector<int> &indices);
243 setNegative (
bool negative)
245 negative_ = negative;
262 setKeepOrganized (
bool keep_organized)
264 keep_organized_ = keep_organized;
274 return (keep_organized_);
282 setUserFilterValue (
float value)
284 user_filter_value_ = value;
293 return (removed_indices_);
301 bool keep_organized_;
304 bool extract_removed_indices_;
307 float user_filter_value_;
314 applyFilter (std::vector<int> &indices) = 0;
318 #endif //#ifndef PCL_FILTERS_FILTER_INDICES_H_