vtx 1782 modules/core/include/opencv2/core/core_c.h CVAPI(int) cvGraphAddVtx( CvGraph* graph, const CvGraphVtx* vtx CV_DEFAULT(NULL), vtx 1788 modules/core/include/opencv2/core/core_c.h CVAPI(int) cvGraphRemoveVtxByPtr( CvGraph* graph, CvGraphVtx* vtx ); vtx 1824 modules/core/include/opencv2/core/core_c.h CVAPI(int) cvGraphVtxDegreeByPtr( const CvGraph* graph, const CvGraphVtx* vtx ); vtx 1831 modules/core/include/opencv2/core/core_c.h #define cvGraphVtxIdx( graph, vtx ) ((vtx)->flags & CV_SET_ELEM_IDX_MASK) vtx 1853 modules/core/include/opencv2/core/core_c.h #define CV_IS_GRAPH_VERTEX_VISITED(vtx) \ vtx 1854 modules/core/include/opencv2/core/core_c.h (((CvGraphVtx*)(vtx))->flags & CV_GRAPH_ITEM_VISITED_FLAG) vtx 1862 modules/core/include/opencv2/core/core_c.h CvGraphVtx* vtx; /* current graph vertex (or current edge origin) */ vtx 1875 modules/core/include/opencv2/core/core_c.h CvGraphVtx* vtx CV_DEFAULT(NULL), vtx 1319 modules/core/include/opencv2/core/types_c.h struct CvGraphVtx* vtx[2]; vtx 1649 modules/core/include/opencv2/core/types_c.h (assert((edge)->vtx[0] == (vertex) || (edge)->vtx[1] == (vertex)), \ vtx 1650 modules/core/include/opencv2/core/types_c.h (edge)->next[(edge)->vtx[1] == (vertex)]) vtx 2635 modules/core/src/datastructs.cpp cvGraphRemoveVtxByPtr( CvGraph* graph, CvGraphVtx* vtx ) vtx 2639 modules/core/src/datastructs.cpp if( !graph || !vtx ) vtx 2642 modules/core/src/datastructs.cpp if( !CV_IS_SET_ELEM(vtx)) vtx 2648 modules/core/src/datastructs.cpp CvGraphEdge *edge = vtx->first; vtx 2651 modules/core/src/datastructs.cpp cvGraphRemoveEdgeByPtr( graph, edge->vtx[0], edge->vtx[1] ); vtx 2654 modules/core/src/datastructs.cpp cvSetRemoveByPtr( (CvSet*)graph, vtx ); vtx 2665 modules/core/src/datastructs.cpp CvGraphVtx *vtx = 0; vtx 2670 modules/core/src/datastructs.cpp vtx = cvGetGraphVtx( graph, index ); vtx 2671 modules/core/src/datastructs.cpp if( !vtx ) vtx 2677 modules/core/src/datastructs.cpp CvGraphEdge *edge = vtx->first; vtx 2682 modules/core/src/datastructs.cpp cvGraphRemoveEdgeByPtr( graph, edge->vtx[0], edge->vtx[1] ); vtx 2685 modules/core/src/datastructs.cpp cvSetRemoveByPtr( (CvSet*)graph, vtx ); vtx 2715 modules/core/src/datastructs.cpp ofs = start_vtx == edge->vtx[1]; vtx 2716 modules/core/src/datastructs.cpp assert( ofs == 1 || start_vtx == edge->vtx[0] ); vtx 2717 modules/core/src/datastructs.cpp if( edge->vtx[1] == end_vtx ) vtx 2782 modules/core/src/datastructs.cpp edge->vtx[0] = start_vtx; vtx 2783 modules/core/src/datastructs.cpp edge->vtx[1] = end_vtx; vtx 2856 modules/core/src/datastructs.cpp ofs = start_vtx == edge->vtx[1]; vtx 2857 modules/core/src/datastructs.cpp assert( ofs == 1 || start_vtx == edge->vtx[0] ); vtx 2858 modules/core/src/datastructs.cpp if( edge->vtx[1] == end_vtx ) vtx 2874 modules/core/src/datastructs.cpp ofs = end_vtx == edge->vtx[1]; vtx 2875 modules/core/src/datastructs.cpp assert( ofs == 1 || end_vtx == edge->vtx[0] ); vtx 2876 modules/core/src/datastructs.cpp if( edge->vtx[0] == start_vtx ) vtx 2956 modules/core/src/datastructs.cpp CvGraphVtx* vtx; vtx 3043 modules/core/src/datastructs.cpp cvCreateGraphScanner( CvGraph* graph, CvGraphVtx* vtx, int mask ) vtx 3055 modules/core/src/datastructs.cpp scanner->vtx = vtx; vtx 3056 modules/core/src/datastructs.cpp scanner->index = vtx == 0 ? 0 : -1; vtx 3095 modules/core/src/datastructs.cpp CvGraphVtx* vtx; vtx 3104 modules/core/src/datastructs.cpp vtx = scanner->vtx; vtx 3113 modules/core/src/datastructs.cpp scanner->vtx = vtx = dst; vtx 3114 modules/core/src/datastructs.cpp edge = vtx->first; vtx 3119 modules/core/src/datastructs.cpp scanner->vtx = vtx; vtx 3120 modules/core/src/datastructs.cpp scanner->edge = vtx->first; vtx 3129 modules/core/src/datastructs.cpp dst = edge->vtx[vtx == edge->vtx[0]]; vtx 3134 modules/core/src/datastructs.cpp if( !CV_IS_GRAPH_ORIENTED( scanner->graph ) || dst != edge->vtx[0] ) vtx 3140 modules/core/src/datastructs.cpp item.vtx = vtx; vtx 3143 modules/core/src/datastructs.cpp vtx->flags |= CV_GRAPH_SEARCH_TREE_NODE_FLAG; vtx 3150 modules/core/src/datastructs.cpp scanner->vtx = vtx; vtx 3170 modules/core/src/datastructs.cpp scanner->vtx = vtx; vtx 3187 modules/core/src/datastructs.cpp edge = CV_NEXT_GRAPH_EDGE( edge, vtx ); vtx 3195 modules/core/src/datastructs.cpp vtx = 0; vtx 3201 modules/core/src/datastructs.cpp vtx = item.vtx; vtx 3202 modules/core/src/datastructs.cpp vtx->flags &= ~CV_GRAPH_SEARCH_TREE_NODE_FLAG; vtx 3208 modules/core/src/datastructs.cpp scanner->vtx = vtx; vtx 3210 modules/core/src/datastructs.cpp scanner->dst = edge->vtx[vtx == edge->vtx[0]]; vtx 3217 modules/core/src/datastructs.cpp if( !vtx ) vtx 3219 modules/core/src/datastructs.cpp vtx = (CvGraphVtx*)icvSeqFindNextElem( (CvSeq*)(scanner->graph), vtx 3223 modules/core/src/datastructs.cpp if( !vtx ) vtx 3230 modules/core/src/datastructs.cpp dst = vtx; vtx 3235 modules/core/src/datastructs.cpp scanner->vtx = 0; vtx 3281 modules/core/src/datastructs.cpp CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; vtx 3283 modules/core/src/datastructs.cpp cvGraphAddVtx( result, vtx, &dstvtx ); vtx 3284 modules/core/src/datastructs.cpp flag_buffer[k] = dstvtx->flags = vtx->flags; vtx 3285 modules/core/src/datastructs.cpp vtx->flags = k; vtx 3299 modules/core/src/datastructs.cpp CvGraphVtx* new_org = ptr_buffer[edge->vtx[0]->flags]; vtx 3300 modules/core/src/datastructs.cpp CvGraphVtx* new_dst = ptr_buffer[edge->vtx[1]->flags]; vtx 3313 modules/core/src/datastructs.cpp CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; vtx 3314 modules/core/src/datastructs.cpp vtx->flags = flag_buffer[k++]; vtx 4448 modules/core/src/persistence.cpp CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; vtx 4449 modules/core/src/persistence.cpp flag_buf[k] = vtx->flags; vtx 4450 modules/core/src/persistence.cpp vtx->flags = k++; vtx 4516 modules/core/src/persistence.cpp ((int*)src_ptr)[0] = edge->vtx[0]->flags; vtx 4517 modules/core/src/persistence.cpp ((int*)src_ptr)[1] = edge->vtx[1]->flags; vtx 4710 modules/core/src/persistence.cpp CvGraphVtx* vtx; vtx 4711 modules/core/src/persistence.cpp cvGraphAddVtx( graph, 0, &vtx ); vtx 4712 modules/core/src/persistence.cpp vtx_buf[i] = vtx; vtx 4714 modules/core/src/persistence.cpp memcpy( vtx + 1, dst_ptr, src_elem_size ); vtx 171 modules/core/test/test_ds.cpp CvTsSimpleSet* vtx; vtx 177 modules/core/test/test_ds.cpp int max_vtx_count = graph->vtx->max_count; vtx 178 modules/core/test/test_ds.cpp cvTsClearSimpleSet( graph->vtx ); vtx 191 modules/core/test/test_ds.cpp graph->vtx = cvTsCreateSimpleSet( max_vtx_count, vtx_size ); vtx 205 modules/core/test/test_ds.cpp cvTsReleaseSimpleSet( &(graph[0]->vtx) ); vtx 213 modules/core/test/test_ds.cpp return cvTsSimpleSetAdd( graph->vtx, vertex ); vtx 219 modules/core/test/test_ds.cpp int i, max_vtx_count = graph->vtx->max_count; vtx 221 modules/core/test/test_ds.cpp cvTsSimpleSetRemove( graph->vtx, index ); vtx 236 modules/core/test/test_ds.cpp assert( cvTsSimpleSetFind( graph->vtx, idx1 ) && vtx 237 modules/core/test/test_ds.cpp cvTsSimpleSetFind( graph->vtx, idx2 )); vtx 241 modules/core/test/test_ds.cpp int ofs = (idx1*graph->vtx->max_count + idx2)*graph->edge_size; vtx 256 modules/core/test/test_ds.cpp assert( cvTsSimpleSetFind( graph->vtx, idx1 ) && vtx 257 modules/core/test/test_ds.cpp cvTsSimpleSetFind( graph->vtx, idx2 )); vtx 261 modules/core/test/test_ds.cpp int ofs = (idx1*graph->vtx->max_count + idx2)*graph->edge_size; vtx 271 modules/core/test/test_ds.cpp return cvTsSimpleSetFind( graph->vtx, index ); vtx 280 modules/core/test/test_ds.cpp char* edge = graph->matrix + (idx1 * graph->vtx->max_count + idx2)*graph->edge_size; vtx 291 modules/core/test/test_ds.cpp int max_vtx_count = graph->vtx->max_count; vtx 1448 modules/core/test/test_ds.cpp CvGraphVtx *vtx = 0, *vtx2 = 0, *vtx3 = 0; vtx 1471 modules/core/test/test_ds.cpp int pure_vtx_size = sgraph->vtx->elem_size - 1, vtx 1500 modules/core/test/test_ds.cpp if( sgraph->vtx->free_count == 0 ) vtx 1512 modules/core/test/test_ds.cpp vtx = (CvGraphVtx*)&elem_buf[0]; vtx 1513 modules/core/test/test_ds.cpp idx0 = cvTsSimpleGraphAddVertex( sgraph, vtx + 1 ); vtx 1516 modules/core/test/test_ds.cpp idx = cvGraphAddVtx( graph, pass_data ? vtx : 0, &vtx2 ); vtx 1519 modules/core/test/test_ds.cpp memcpy( vtx2 + 1, vtx + 1, pure_vtx_size ); vtx 1526 modules/core/test/test_ds.cpp memcmp(vtx3 + 1, vtx + 1, pure_vtx_size) == 0)), vtx 1536 modules/core/test/test_ds.cpp idx = cvtest::randInt(rng) % sgraph->vtx->max_count; vtx 1537 modules/core/test/test_ds.cpp if( sgraph->vtx->free_count == sgraph->vtx->max_count || idx >= sgraph->vtx->count ) vtx 1547 modules/core/test/test_ds.cpp vtx = cvGetGraphVtx( graph, idx ); vtx 1548 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( CV_IS_SET_ELEM(vtx) && vtx->flags == idx && vtx 1549 modules/core/test/test_ds.cpp (pure_vtx_size == 0 || memcmp( vtx + 1, vtx_data, pure_vtx_size) == 0), vtx 1554 modules/core/test/test_ds.cpp vtx_degree = cvGraphVtxDegreeByPtr( graph, vtx ); vtx 1555 modules/core/test/test_ds.cpp cvGraphRemoveVtxByPtr( graph, vtx ); vtx 1568 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( !CV_IS_SET_ELEM(vtx) && !cvGetGraphVtx(graph, idx) && vtx 1569 modules/core/test/test_ds.cpp (vtx->flags & CV_SET_ELEM_IDX_MASK) == idx, vtx 1576 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( ((CvSetElem*)vtx)->next_free == first_free && vtx 1577 modules/core/test/test_ds.cpp graph->free_elems == (CvSetElem*)vtx && vtx 1586 modules/core/test/test_ds.cpp if( sgraph->vtx->free_count >= sgraph->vtx->max_count-1 ) vtx 1591 modules/core/test/test_ds.cpp int j = cvtest::randInt(rng) % sgraph->vtx->count; vtx 1629 modules/core/test/test_ds.cpp vtx = cvGetGraphVtx( graph, v_idx[0] ); vtx 1631 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( vtx != 0 && vtx2 != 0 && vtx->flags == v_idx[0] && vtx 1636 modules/core/test/test_ds.cpp v_prev_degree[0] = cvGraphVtxDegreeByPtr( graph, vtx ); vtx 1638 modules/core/test/test_ds.cpp res = cvGraphAddEdgeByPtr(graph, vtx, vtx2, pass_data ? edge : 0, &edge2); vtx 1639 modules/core/test/test_ds.cpp v_degree[0] = cvGraphVtxDegreeByPtr( graph, vtx ); vtx 1653 modules/core/test/test_ds.cpp ((edge2->vtx[0] == vtx && edge2->vtx[1] == vtx2) || vtx 1654 modules/core/test/test_ds.cpp (!CV_IS_GRAPH_ORIENTED(graph) && edge2->vtx[0] == vtx2 && edge2->vtx[1] == vtx)) && vtx 1681 modules/core/test/test_ds.cpp if( sgraph->vtx->free_count >= sgraph->vtx->max_count-1 ) vtx 1687 modules/core/test/test_ds.cpp int j = cvtest::randInt(rng) % sgraph->vtx->count; vtx 1712 modules/core/test/test_ds.cpp vtx = cvGetGraphVtx( graph, v_idx[0] ); vtx 1714 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( vtx != 0 && vtx2 != 0 && vtx->flags == v_idx[0] && vtx 1719 modules/core/test/test_ds.cpp edge = cvFindGraphEdgeByPtr( graph, vtx, vtx2 ); vtx 1720 modules/core/test/test_ds.cpp v_prev_degree[0] = cvGraphVtxDegreeByPtr( graph, vtx ); vtx 1733 modules/core/test/test_ds.cpp ((edge->vtx[0] == vtx && edge->vtx[1] == vtx2) || vtx 1734 modules/core/test/test_ds.cpp (!CV_IS_GRAPH_ORIENTED(graph) && edge->vtx[1] == vtx && edge->vtx[0] == vtx2)) && vtx 1740 modules/core/test/test_ds.cpp cvGraphRemoveEdgeByPtr( graph, vtx, vtx2 ); vtx 1741 modules/core/test/test_ds.cpp edge2 = cvFindGraphEdgeByPtr( graph, vtx, vtx2 ); vtx 1742 modules/core/test/test_ds.cpp v_degree[0] = cvGraphVtxDegreeByPtr( graph, vtx ); vtx 1771 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( graph->active_count == sgraph->vtx->max_count - sgraph->vtx->free_count && vtx 1979 modules/core/test/test_ds.cpp a = cvGraphVtxIdx( graph, scanner->vtx ); vtx 1986 modules/core/test/test_ds.cpp a = cvGraphVtxIdx( graph, scanner->vtx ); vtx 1994 modules/core/test/test_ds.cpp a = cvGraphVtxIdx( graph, scanner->vtx ); vtx 2002 modules/core/test/test_ds.cpp a = cvGraphVtxIdx( graph, scanner->vtx ); vtx 2010 modules/core/test/test_ds.cpp a = cvGraphVtxIdx( graph, scanner->vtx ); vtx 2015 modules/core/test/test_ds.cpp a = cvGraphVtxIdx( graph, scanner->vtx ); vtx 2084 modules/core/test/test_ds.cpp int vtx_idx = scanner->vtx->flags & CV_SET_ELEM_IDX_MASK; vtx 922 modules/imgproc/include/opencv2/imgproc.hpp void deletePoint(int vtx); vtx 954 modules/imgproc/include/opencv2/imgproc.hpp std::vector<Vertex> vtx; vtx 75 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)vidx < vtx.size()); vtx 76 modules/imgproc/src/subdivision2d.cpp *orgpt = vtx[vidx].pt; vtx 87 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)vidx < vtx.size()); vtx 88 modules/imgproc/src/subdivision2d.cpp *dstpt = vtx[vidx].pt; vtx 96 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert((size_t)vertex < vtx.size()); vtx 98 modules/imgproc/src/subdivision2d.cpp *firstEdge = vtx[vertex].firstEdge; vtx 99 modules/imgproc/src/subdivision2d.cpp return vtx[vertex].pt; vtx 183 modules/imgproc/src/subdivision2d.cpp vtx[orgPt].firstEdge = edge; vtx 184 modules/imgproc/src/subdivision2d.cpp vtx[dstPt].firstEdge = edge ^ 2; vtx 258 modules/imgproc/src/subdivision2d.cpp vtx.push_back(Vertex()); vtx 259 modules/imgproc/src/subdivision2d.cpp freePoint = (int)(vtx.size()-1); vtx 262 modules/imgproc/src/subdivision2d.cpp freePoint = vtx[vidx].firstEdge; vtx 263 modules/imgproc/src/subdivision2d.cpp vtx[vidx] = Vertex(pt, isvirtual, firstEdge); vtx 270 modules/imgproc/src/subdivision2d.cpp CV_DbgAssert( (size_t)vidx < vtx.size() ); vtx 271 modules/imgproc/src/subdivision2d.cpp vtx[vidx].firstEdge = freePoint; vtx 272 modules/imgproc/src/subdivision2d.cpp vtx[vidx].type = -1; vtx 337 modules/imgproc/src/subdivision2d.cpp isRightOf( vtx[edgeDst(onext_edge)].pt, edge ) >= 0 ) vtx 464 modules/imgproc/src/subdivision2d.cpp if( isRightOf( vtx[temp_dst].pt, curr_edge ) > 0 && vtx 465 modules/imgproc/src/subdivision2d.cpp isPtInCircle3( vtx[curr_org].pt, vtx[temp_dst].pt, vtx 466 modules/imgproc/src/subdivision2d.cpp vtx[curr_dst].pt, vtx[curr_point].pt ) < 0 ) vtx 492 modules/imgproc/src/subdivision2d.cpp vtx.clear(); vtx 505 modules/imgproc/src/subdivision2d.cpp vtx.push_back(Vertex()); vtx 538 modules/imgproc/src/subdivision2d.cpp total = vtx.size(); vtx 541 modules/imgproc/src/subdivision2d.cpp if( vtx[i].isvirtual() ) vtx 664 modules/imgproc/src/subdivision2d.cpp int i, total = (int)vtx.size(); vtx 704 modules/imgproc/src/subdivision2d.cpp *nearestPt = vtx[vertex].pt; vtx 719 modules/imgproc/src/subdivision2d.cpp Point2f org = vtx[qedges[i].pt[0]].pt; vtx 720 modules/imgproc/src/subdivision2d.cpp Point2f dst = vtx[qedges[i].pt[2]].pt; vtx 762 modules/imgproc/src/subdivision2d.cpp i = 4, total = vtx.size(); vtx 770 modules/imgproc/src/subdivision2d.cpp if( vtx[k].isfree() || vtx[k].isvirtual() ) vtx 772 modules/imgproc/src/subdivision2d.cpp int edge = rotateEdge(vtx[k].firstEdge, 1), t = edge; vtx 778 modules/imgproc/src/subdivision2d.cpp buf.push_back(vtx[edgeOrg(t)].pt); vtx 784 modules/imgproc/src/subdivision2d.cpp facetCenters.push_back(vtx[k].pt); vtx 88 samples/cpp/fitellipse.cpp Point2f vtx[4]; vtx 89 samples/cpp/fitellipse.cpp box.points(vtx); vtx 91 samples/cpp/fitellipse.cpp line(cimage, vtx[j], vtx[(j+1)%4], Scalar(0,255,0), 1, LINE_AA); vtx 51 samples/cpp/minarea.cpp Point2f center, vtx[4]; vtx 54 samples/cpp/minarea.cpp box.points(vtx); vtx 64 samples/cpp/minarea.cpp line(img, vtx[i], vtx[(i+1)%4], Scalar(0, 255, 0), 1, LINE_AA);