[filters] Revise filters which might be out of date due to functor_filter
#4247
Labels
effort: medium
Rough estimate of time needed to fix/implement/solve
good first issue
Skills/areas of expertise needed to tackle the issue
kind: request
Type of issue
module: filters
Is your feature request related to a problem? Please describe.
Some older implementations of filters (at least PassThrough and ConditionalRemoval) are very slow compared to what can be achieved by FunctorFilter (introduced by #3890)
Context
Source Code
Expected behavior
PCL should not offer duplicate features, specially when the one that is easier to use, search and stumble upon also provides much worse performance. In this case,
std::function
😄PassThrough
😱ConditionalRemoval
🙀Describe the solution you'd like
For simple filters (such as PassThrough and ConditionalRemoval, etc.), we should either
This allows downstream users to get performance improvements (or notifications about a faster way) and also prevents new users from misusing the library. Depending on the decision, we would need to modify the docs and highlight the new feature
The text was updated successfully, but these errors were encountered: