OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::detail::Graph Class Reference

#include <opencv2/stitching/detail/util.hpp>

Collaboration diagram for cv::detail::Graph:

Public Member Functions

 Graph (int num_vertices=0)
 
void addEdge (int from, int to, float weight)
 
void create (int num_vertices)
 
template<typename B >
forEach (B body) const
 
int numVertices () const
 
template<typename B >
walkBreadthFirst (int from, B body) const
 

Constructor & Destructor Documentation

◆ Graph()

cv::detail::Graph::Graph ( int num_vertices = 0)
inline

Member Function Documentation

◆ addEdge()

void cv::detail::Graph::addEdge ( int from,
int to,
float weight )

◆ create()

void cv::detail::Graph::create ( int num_vertices)
inline

◆ forEach()

template<typename B >
B cv::detail::Graph::forEach ( B body) const

◆ numVertices()

int cv::detail::Graph::numVertices ( ) const
inline

◆ walkBreadthFirst()

template<typename B >
B cv::detail::Graph::walkBreadthFirst ( int from,
B body ) const

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