remove_edge_if< Graph, Enable > Struct Template Reference

remove_edge_if structure is an "extended" version of, boost::remove_edge_if that incorporates a workaround to allow edge removal from both plain graphs and subgraphs. More...

#include <VisionX/libraries/PointCloudGraph/utils.h>

Public Member Functions

template<typename Predicate >
void operator() (const Predicate &predicate, Graph &graph) const
 

Detailed Description

template<typename Graph, typename Enable = void>
struct pcl::graph::remove_edge_if< Graph, Enable >

remove_edge_if structure is an "extended" version of, boost::remove_edge_if that incorporates a workaround to allow edge removal from both plain graphs and subgraphs.

Plain graphs should be passed to boost::remove_edge_if as is, whereas member field m_graph should be used in place of the subgraphs (otherwise expect segfaults).

Definition at line 61 of file utils.h.

Member Function Documentation

◆ operator()()

void operator() ( const Predicate &  predicate,
Graph &  graph 
) const
inline

Definition at line 64 of file utils.h.


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