|
Krita Source Code Documentation
|
#include <kis_lazy_fill_graph.h>
Classes | |
| struct | EdgeIndexBin |
| struct | traversal_category |
| struct | VertexDescriptor |
Public Member Functions | |
| edge_descriptor | edge_at (edges_size_type edge_index) const |
| edges_size_type | index_of (edge_descriptor edge) const |
| vertices_size_type | index_of (vertex_descriptor vertex) const |
| KisLazyFillGraph () | |
| KisLazyFillGraph (const QRect &mainRect, const KisRegion &aLabelRegion, const KisRegion &bLabelRegion) | |
| edges_size_type | num_edges () const |
| vertices_size_type | num_vertices () const |
| degree_size_type | out_degree (vertex_descriptor vertex) const |
| edge_descriptor | out_edge_at (vertex_descriptor vertex, degree_size_type out_edge_index) const |
| QRect | rect () const |
| QSize | size () const |
| vertex_descriptor | vertex_at (vertices_size_type vertex_index) const |
| ~KisLazyFillGraph () | |
Static Public Member Functions | |
| static vertex_descriptor | null_vertex () |
Static Private Member Functions | |
| static bool | findInRects (const QVector< QRect > &rects, const QPoint &pt) |
| static vertices_size_type | numVacantEdges (const vertex_descriptor &vertex, const QRect &rc) |
Definition at line 234 of file kis_lazy_fill_graph.h.
| typedef transform_iterator<adjacent_vertex_function, degree_iterator> KisLazyFillGraph::adjacency_iterator |
Definition at line 299 of file kis_lazy_fill_graph.h.
| typedef kis_detail::lazy_fill_graph_adjacent_vertex_at<type> KisLazyFillGraph::adjacent_vertex_function |
Definition at line 298 of file kis_lazy_fill_graph.h.
| typedef counting_iterator<degree_size_type> KisLazyFillGraph::degree_iterator |
Definition at line 293 of file kis_lazy_fill_graph.h.
Definition at line 246 of file kis_lazy_fill_graph.h.
| typedef directed_tag KisLazyFillGraph::directed_category |
Definition at line 302 of file kis_lazy_fill_graph.h.
| typedef std::pair<vertex_descriptor, vertex_descriptor> KisLazyFillGraph::edge_descriptor |
Definition at line 277 of file kis_lazy_fill_graph.h.
Definition at line 289 of file kis_lazy_fill_graph.h.
| typedef counting_iterator<edges_size_type> KisLazyFillGraph::edge_index_iterator |
Definition at line 288 of file kis_lazy_fill_graph.h.
| typedef transform_iterator<edge_function, edge_index_iterator> KisLazyFillGraph::edge_iterator |
Definition at line 290 of file kis_lazy_fill_graph.h.
| typedef disallow_parallel_edge_tag KisLazyFillGraph::edge_parallel_category |
Definition at line 303 of file kis_lazy_fill_graph.h.
| typedef long KisLazyFillGraph::EdgeIndex |
Definition at line 241 of file kis_lazy_fill_graph.h.
Definition at line 245 of file kis_lazy_fill_graph.h.
Definition at line 294 of file kis_lazy_fill_graph.h.
| typedef transform_iterator<out_edge_function, degree_iterator> KisLazyFillGraph::out_edge_iterator |
Definition at line 295 of file kis_lazy_fill_graph.h.
Definition at line 237 of file kis_lazy_fill_graph.h.
Definition at line 276 of file kis_lazy_fill_graph.h.
Definition at line 284 of file kis_lazy_fill_graph.h.
| typedef counting_iterator<vertices_size_type> KisLazyFillGraph::vertex_index_iterator |
Definition at line 283 of file kis_lazy_fill_graph.h.
| typedef transform_iterator<vertex_function, vertex_index_iterator> KisLazyFillGraph::vertex_iterator |
Definition at line 285 of file kis_lazy_fill_graph.h.
| typedef long KisLazyFillGraph::VertexIndex |
Definition at line 240 of file kis_lazy_fill_graph.h.
Definition at line 244 of file kis_lazy_fill_graph.h.
| Enumerator | |
|---|---|
| HORIZONTAL | |
| HORIZONTAL_REVERSED | |
| VERTICAL | |
| VERTICAL_REVERSED | |
| LABEL_A | |
| LABEL_A_REVERSED | |
| LABEL_B | |
| LABEL_B_REVERSED | |
Definition at line 399 of file kis_lazy_fill_graph.h.
|
inline |
Definition at line 320 of file kis_lazy_fill_graph.h.
|
inline |
Definition at line 322 of file kis_lazy_fill_graph.h.
References KisRegion::boundingRect(), HORIZONTAL, HORIZONTAL_REVERSED, KIS_ASSERT, LABEL_A, LABEL_A_REVERSED, LABEL_B, LABEL_B_REVERSED, m_aLabelArea, m_aLabelRects, m_aReversedEdgesStart, m_bLabelArea, m_bLabelRects, m_bReversedEdgesStart, m_edgeBins, m_height, m_mainArea, m_numAEdges, m_numBEdges, m_numEdges, m_numVertices, m_width, KisRegion::rects(), VERTICAL, and VERTICAL_REVERSED.
|
inline |
Definition at line 377 of file kis_lazy_fill_graph.h.
|
inline |
Definition at line 636 of file kis_lazy_fill_graph.h.
References m_edgeBins.
|
inlinestaticprivate |
Definition at line 690 of file kis_lazy_fill_graph.h.
|
inline |
Definition at line 654 of file kis_lazy_fill_graph.h.
References edge, and m_edgeBins.
|
inline |
Definition at line 597 of file kis_lazy_fill_graph.h.
References KisLazyFillGraph::VertexDescriptor::LABEL_A, KisLazyFillGraph::VertexDescriptor::LABEL_B, m_numVertices, m_width, m_x, m_y, KisLazyFillGraph::VertexDescriptor::NORMAL, KisLazyFillGraph::VertexDescriptor::type, vertex, KisLazyFillGraph::VertexDescriptor::x, and KisLazyFillGraph::VertexDescriptor::y.
|
inlinestatic |
Definition at line 310 of file kis_lazy_fill_graph.h.
References KisLazyFillGraph::VertexDescriptor::NORMAL.
|
inline |
Definition at line 592 of file kis_lazy_fill_graph.h.
References m_numEdges.
|
inline |
Definition at line 587 of file kis_lazy_fill_graph.h.
References m_numVertices.
|
inlinestaticprivate |
Definition at line 668 of file kis_lazy_fill_graph.h.
References vertex, KisLazyFillGraph::VertexDescriptor::x, and KisLazyFillGraph::VertexDescriptor::y.
|
inline |
Definition at line 705 of file kis_lazy_fill_graph.h.
References findInRects(), index_of(), KisLazyFillGraph::VertexDescriptor::LABEL_A, KisLazyFillGraph::VertexDescriptor::LABEL_B, m_aLabelArea, m_aLabelRects, m_bLabelArea, m_bLabelRects, m_mainArea, m_numAEdges, m_numBEdges, KisLazyFillGraph::VertexDescriptor::NORMAL, numVacantEdges(), KisLazyFillGraph::VertexDescriptor::type, vertex, KisLazyFillGraph::VertexDescriptor::x, and KisLazyFillGraph::VertexDescriptor::y.
|
inline |
Definition at line 738 of file kis_lazy_fill_graph.h.
References dbgImage, edge, edge_at, findInRects(), KisLazyFillGraph::VertexDescriptor::LABEL_A, KisLazyFillGraph::VertexDescriptor::LABEL_B, m_aLabelArea, m_aLabelRects, m_aReversedEdgesStart, m_bLabelArea, m_bLabelRects, m_bReversedEdgesStart, m_mainArea, KisLazyFillGraph::VertexDescriptor::NORMAL, out_degree, ppVar, KisLazyFillGraph::VertexDescriptor::type, vertex, KisLazyFillGraph::VertexDescriptor::x, and KisLazyFillGraph::VertexDescriptor::y.
|
inline |
|
inline |
|
inline |
Definition at line 617 of file kis_lazy_fill_graph.h.
References KisLazyFillGraph::VertexDescriptor::LABEL_A, KisLazyFillGraph::VertexDescriptor::LABEL_B, m_numVertices, m_width, m_x, m_y, KisLazyFillGraph::VertexDescriptor::NORMAL, KisLazyFillGraph::VertexDescriptor::type, vertex, KisLazyFillGraph::VertexDescriptor::x, and KisLazyFillGraph::VertexDescriptor::y.
|
friend |
Definition at line 849 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 867 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 891 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 898 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 949 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 925 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 958 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 938 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 915 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 967 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 970 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 886 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 799 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 1009 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 999 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 830 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 837 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 816 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 804 of file kis_lazy_fill_graph.h.
|
friend |
Definition at line 786 of file kis_lazy_fill_graph.h.
| QRect KisLazyFillGraph::m_aLabelArea |
Definition at line 577 of file kis_lazy_fill_graph.h.
| QVector<QRect> KisLazyFillGraph::m_aLabelRects |
Definition at line 581 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_aReversedEdgesStart |
Definition at line 394 of file kis_lazy_fill_graph.h.
| QRect KisLazyFillGraph::m_bLabelArea |
Definition at line 578 of file kis_lazy_fill_graph.h.
| QVector<QRect> KisLazyFillGraph::m_bLabelRects |
Definition at line 582 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_bReversedEdgesStart |
Definition at line 395 of file kis_lazy_fill_graph.h.
| QVector<EdgeIndexBin> KisLazyFillGraph::m_edgeBins |
Definition at line 575 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_height |
Definition at line 389 of file kis_lazy_fill_graph.h.
| QRect KisLazyFillGraph::m_mainArea |
Definition at line 579 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_numAEdges |
Definition at line 396 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_numBEdges |
Definition at line 397 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_numEdges |
Definition at line 392 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_numVertices |
Definition at line 391 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_width |
Definition at line 388 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_x |
Definition at line 385 of file kis_lazy_fill_graph.h.
| vertices_size_type KisLazyFillGraph::m_y |
Definition at line 386 of file kis_lazy_fill_graph.h.