![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Classes | |
struct | Edge |
class | EdgeSorter |
struct | Intersection |
struct | IntersectionLink |
class | Scanline |
struct | Vertex |
struct | Vertices |
Public Types | |
typedef QMap< Intersection, IntersectionLink > | Intersections |
typedef QMap< Intersection, IntersectionLink > | Intersections |
Public Member Functions | |
QTessellatorPrivate () | |
QRectF | collectAndSortVertices (const QPointF *points, int *maxActiveEdges) |
void | cancelCoincidingEdges () |
void | emitEdges (QTessellator *tessellator) |
void | processIntersections () |
void | removeEdges () |
void | addEdges () |
void | addIntersections () |
QTessellatorPrivate () | |
QRectF | collectAndSortVertices (const QPointF *points, int *maxActiveEdges) |
void | cancelCoincidingEdges () |
void | emitEdges (QTessellator *tessellator) |
void | processIntersections () |
void | removeEdges () |
void | addEdges () |
void | addIntersections () |
Public Attributes | |
Vertices | vertices |
Intersections | intersections |
Scanline | scanline |
bool | winding |
Q27Dot5 | y |
int | currentVertex |
Definition at line 39 of file qtessellator.cpp.
Definition at line 74 of file qtessellator.cpp.
Definition at line 74 of file qtessellator.cpp.
|
inline |
Definition at line 43 of file qtessellator.cpp.
|
inline |
Definition at line 43 of file qtessellator.cpp.
void QTessellatorPrivate::addEdges | ( | ) |
Definition at line 918 of file qtessellator.cpp.
References QTessellatorPrivate::Edge::Edge(), currentVertex, QTessellatorPrivate::Scanline::edges, QTessellatorPrivate::Scanline::findEdgePosition(), QTessellatorPrivate::Scanline::findEdgePosition(), QTessellatorPrivate::Vertex::flags, QTessellatorPrivate::Scanline::insert(), LineAfterEnds, LineAfterHorizontal, LineAfterStarts, LineBeforeEnds, LineBeforeStarts, QTessellatorPrivate::Edge::mark, mark_clever, QTessellatorPrivate::Scanline::markEdges(), QTessellatorPrivate::Vertices::next(), QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Vertices::position(), QTessellatorPrivate::Vertices::prevPos(), scanline, QTessellatorPrivate::Scanline::size, QTessellatorPrivate::Vertices::sorted, vertices, QTessellator::Vertex::x, QTessellator::Vertex::y, and y.
Referenced by QTessellator::tessellate().
void QTessellatorPrivate::addEdges | ( | ) |
void QTessellatorPrivate::addIntersections | ( | ) |
Definition at line 1135 of file qtessellator.cpp.
References QTessellatorPrivate::Scanline::edges, QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, scanline, and QTessellatorPrivate::Scanline::size.
Referenced by QTessellator::tessellate().
void QTessellatorPrivate::addIntersections | ( | ) |
void QTessellatorPrivate::cancelCoincidingEdges | ( | ) |
Definition at line 690 of file qtessellator.cpp.
References QCoincidingEdge::before, QCoincidingEdge::end, QTessellatorPrivate::Vertex::flags, LineAfterHorizontal, LineAfterStarts, LineBeforeHorizontal, LineBeforeStarts, QTessellatorPrivate::Vertices::next(), QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Vertices::prev(), QTessellatorPrivate::Vertices::sorted, QCoincidingEdge::start, QCoincidingEdge::used, vertices, QTessellator::Vertex::x, and QTessellator::Vertex::y.
Referenced by QTessellator::tessellate().
void QTessellatorPrivate::cancelCoincidingEdges | ( | ) |
Definition at line 571 of file qtessellator.cpp.
References compareVertex(), QTessellatorPrivate::Vertex::flags, LineAfterEnds, LineAfterHorizontal, LineAfterStarts, LineBeforeEnds, LineBeforeHorizontal, LineBeforeStarts, QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Vertices::sorted, QTessellatorPrivate::Vertices::storage, vertices, QTessellator::Vertex::x, and QTessellator::Vertex::y.
void QTessellatorPrivate::emitEdges | ( | QTessellator * | tessellator | ) |
Definition at line 756 of file qtessellator.cpp.
References QTessellator::addTrap(), QTessellatorPrivate::Edge::edge, fillTrapezoid(), QTessellatorPrivate::Edge::mark, QTessellatorPrivate::Scanline::old, QTessellatorPrivate::Scanline::old_size, scanline, vertices, QTessellatorPrivate::Edge::winding, winding, y, QTessellatorPrivate::Edge::y_left, and QTessellatorPrivate::Edge::y_right.
Referenced by QTessellator::tessellate().
void QTessellatorPrivate::emitEdges | ( | QTessellator * | tessellator | ) |
void QTessellatorPrivate::processIntersections | ( | ) |
Definition at line 818 of file qtessellator.cpp.
References QTessellatorPrivate::EdgeSorter::EdgeSorter(), QTessellatorPrivate::Intersection::edge, QTessellatorPrivate::Scanline::edges, QTessellatorPrivate::Scanline::findEdge(), QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, intersections, QTessellatorPrivate::Edge::mark, QTessellatorPrivate::Edge::positionAt(), scanline, QTessellatorPrivate::Scanline::size, QTessellatorPrivate::Intersection::y, and y.
Referenced by QTessellator::tessellate().
void QTessellatorPrivate::processIntersections | ( | ) |
void QTessellatorPrivate::removeEdges | ( | ) |
Definition at line 883 of file qtessellator.cpp.
References currentVertex, QTessellatorPrivate::Scanline::edges, QTessellatorPrivate::Scanline::findEdge(), QTessellatorPrivate::Vertex::flags, QTessellatorPrivate::Edge::intersect_left, QTessellatorPrivate::Edge::intersect_right, LineAfterEnds, LineBeforeEnds, QTessellatorPrivate::Edge::mark, QTessellatorPrivate::Vertices::nPoints, QTessellatorPrivate::Vertices::position(), QTessellatorPrivate::Vertices::prevPos(), QTessellatorPrivate::Scanline::removeAt(), scanline, QTessellatorPrivate::Scanline::size, QTessellatorPrivate::Vertices::sorted, vertices, QTessellator::Vertex::y, and y.
Referenced by QTessellator::tessellate().
void QTessellatorPrivate::removeEdges | ( | ) |
int QTessellatorPrivate::currentVertex |
Definition at line 198 of file qtessellator.cpp.
Referenced by addEdges(), removeEdges(), and QTessellator::tessellate().
Intersections QTessellatorPrivate::intersections |
Definition at line 194 of file qtessellator.cpp.
Referenced by processIntersections(), and QTessellator::tessellate().
Scanline QTessellatorPrivate::scanline |
Definition at line 195 of file qtessellator.cpp.
Referenced by addEdges(), addIntersections(), emitEdges(), processIntersections(), removeEdges(), and QTessellator::tessellate().
Vertices QTessellatorPrivate::vertices |
Definition at line 193 of file qtessellator.cpp.
Referenced by addEdges(), cancelCoincidingEdges(), collectAndSortVertices(), emitEdges(), removeEdges(), QTessellator::tessellate(), and QTessellator::tessellateConvex().
bool QTessellatorPrivate::winding |
Definition at line 196 of file qtessellator.cpp.
Referenced by emitEdges(), and QTessellator::setWinding().
Q27Dot5 QTessellatorPrivate::y |
Definition at line 197 of file qtessellator.cpp.
Referenced by addEdges(), emitEdges(), processIntersections(), removeEdges(), and QTessellator::tessellate().