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.

Definition at line 60 of file edge_weight_computer.hpp.

Constructor & Destructor Documentation

◆ remove_edge_predicate()

remove_edge_predicate ( const EdgeWeightMap &  weights,
float  threshold 
)
inline

Definition at line 63 of file edge_weight_computer.hpp.

Member Function Documentation

◆ operator()()

bool operator() ( EdgeDescriptor  e) const
inline

Definition at line 70 of file edge_weight_computer.hpp.

Member Data Documentation

◆ threshold_

float threshold_

Definition at line 76 of file edge_weight_computer.hpp.

◆ weights_

const EdgeWeightMap& weights_

Definition at line 75 of file edge_weight_computer.hpp.


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