Instance filter base class. More...
#include <pinocchio/multibody/instance-filter.hpp>
Public Member Functions | |
template<typename Allocator > | |
std::vector< size_t > | apply (const std::vector< T, Allocator > &object_vector) const |
Apply the filter on the given vector of objects and returns the list of indexes of the objects matching the filter conditions. More... | |
virtual bool | operator() (const T &obj) const =0 |
Returns true if the input obj matches the filter conditions. More... | |
Instance filter base class.
Definition at line 15 of file instance-filter.hpp.
|
inline |
Apply the filter on the given vector of objects and returns the list of indexes of the objects matching the filter conditions.
[in] | object_vector | vector of objects. |
Definition at line 35 of file instance-filter.hpp.
|
pure virtual |
Returns true if the input obj matches the filter conditions.
[in] | obj | input geometry object to filter or not. |
Implemented in GeometryObjectFilterSelectByJoint, and GeometryObjectFilterNothing.