GraphScannerMask Enumeration OpenCvSharp Class Library
Event mask indicating which events are interesting to the user

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[FlagsAttribute]
public enum GraphScannerMask
Members

  Member nameValueDescription
Vertex1 Stop at the graph vertices visited for the first time [CV_GRAPH_VERTEX]
TreeEdge2 Stop at tree edges (tree edge is the edge connecting the last visited vertex and the vertex to be visited next) [CV_GRAPH_TREE_EDGE]
BackEdge4 Stop at back edges (back edge is an edge connecting the last visited vertex with some of its ancestors in the search tree) [CV_GRAPH_BACK_EDGE]
ForwardEdge8 Stop at forward edges (forward edge is an edge conecting the last visited vertex with some of its descendants in the search tree). The forward edges are only possible during oriented graph traversal) [CV_GRAPH_FORWARD_EDGE]
CrossEdge16 Stop at cross edges (cross edge is an edge connecting different search trees or branches of the same tree. The cross edges are only possible during oriented graphs traversal) [CV_GRAPH_CROSS_EDGE]
AnyEdge30 Stop and any edge (tree, back, forward and cross edges) [CV_GRAPH_ANY_EDGE]
NewTree32 Stop in the beginning of every new search tree. When the traversal procedure visits all vertices and edges reachible from the initial vertex (the visited vertices together with tree edges make up a tree), it searches for some unvisited vertex in the graph and resumes the traversal process from that vertex. Before starting a new tree (including the very first tree when cvNextGraphItem is called for the first time) it generates CV_GRAPH_NEW_TREE event. For unoriented graphs each search tree corresponds to a connected component of the graph. [CV_GRAPH_NEW_TREE]
BackTracking64 Stop at every already visited vertex during backtracking - returning to already visited vertexes of the traversal tree. [CV_GRAPH_BACKTRACKING]
Over-1 All events are interesting [CV_GRAPH_OVER]
AllItems-1 All events are interesting [CV_GRAPH_ALL_ITEMS]
See Also

Reference