|
|
A predicate to be used with pcl::graph::remove_edge_if, returns true when the edge wight is below a certain threshold.
More...
#include <VisionX/libraries/PointCloudGraph/edge_weight_computer.hpp>
Public Member Functions | |
| template<typename EdgeDescriptor > | |
| bool | operator() (EdgeDescriptor e) const |
| remove_edge_predicate (const EdgeWeightMap &weights, float threshold) | |
Public Attributes | |
| float | threshold_ |
| const EdgeWeightMap & | weights_ |
A predicate to be used with pcl::graph::remove_edge_if, returns true when the edge wight is below a certain threshold.
Properly handles both plain graphs and graphs wrapped in boost::subgraph.
Definition at line 60 of file edge_weight_computer.hpp.
|
inline |
Definition at line 63 of file edge_weight_computer.hpp.
|
inline |
Definition at line 70 of file edge_weight_computer.hpp.
| float threshold_ |
Definition at line 76 of file edge_weight_computer.hpp.
| const EdgeWeightMap& weights_ |
Definition at line 75 of file edge_weight_computer.hpp.