remove_edge_predicate< EdgeWeightMap > Struct Template Reference

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_
 

Detailed Description

template<typename EdgeWeightMap>
struct pcl::graph::detail::remove_edge_predicate< EdgeWeightMap >

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.

Constructor & Destructor Documentation

◆ remove_edge_predicate()

template<typename EdgeWeightMap>
remove_edge_predicate ( const EdgeWeightMap & weights,
float threshold )
inline

Member Function Documentation

◆ operator()()

template<typename EdgeWeightMap>
template<typename EdgeDescriptor>
bool operator() ( EdgeDescriptor e) const
inline

Member Data Documentation

◆ threshold_

template<typename EdgeWeightMap>
float threshold_

◆ weights_

template<typename EdgeWeightMap>
const EdgeWeightMap& weights_

The documentation for this struct was generated from the following file: