Qt 4.8
|
#include "qtriangulator_p.h"
#include <QtGui/qdialog.h>
#include <QtGui/qevent.h>
#include <QtGui/qpainter.h>
#include <QtGui/qpainterpath.h>
#include <QtGui/private/qbezier_p.h>
#include <QtGui/private/qdatabuffer_p.h>
#include <QtCore/qbitarray.h>
#include <QtCore/qvarlengtharray.h>
#include <QtCore/qqueue.h>
#include <QtCore/qglobal.h>
#include <QtCore/qpoint.h>
#include <QtCore/qalgorithms.h>
#include <QtDebug>
#include <math.h>
#include <private/qgl_p.h>
Go to the source code of this file.
Classes | |
struct | QFraction |
class | QInt64Set |
struct | QIntersectionPoint |
class | QMaxHeap< T > |
struct | QPodPoint |
struct | QRBTree< T > |
struct | QRBTree< T >::Node |
class | QRingBuffer< T > |
class | QTriangulator< T > |
class | QTriangulator< T >::ComplexToSimple |
class | QTriangulator< T >::ComplexToSimple::CompareEdges |
struct | QTriangulator< T >::ComplexToSimple::Edge |
struct | QTriangulator< T >::ComplexToSimple::Event |
struct | QTriangulator< T >::ComplexToSimple::Intersection |
struct | QTriangulator< T >::ComplexToSimple::Split |
class | QTriangulator< T >::MonotoneToTriangles |
class | QTriangulator< T >::SimpleToMonotone |
class | QTriangulator< T >::SimpleToMonotone::CompareVertices |
struct | QTriangulator< T >::SimpleToMonotone::Edge |
struct | QVertexSet< T > |
Macros | |
#define | Q_FIXED_POINT_SCALE 32 |
Typedefs | |
typedef QRBTree< int >::Node * | QRBTreeIntNodePointer |
Functions | |
static int | compare (quint64 a, quint64 b) |
static int | comparePoints (const QPodPoint &u, const QPodPoint &v) |
static quint64 | gcd (quint64 x, quint64 y) |
static int | primeForCount (int count) |
static int | primeForNumBits (int numBits) |
static int | qCompareFractions (quint64 a, quint64 b, quint64 c, quint64 d) |
static qint64 | qCross (const QPodPoint &u, const QPodPoint &v) |
static qint64 | qDot (const QPodPoint &u, const QPodPoint &v) |
static QFraction | qFraction (quint64 n, quint64 d) |
static QIntersectionPoint | qIntersectionPoint (const QPodPoint &point) |
static QIntersectionPoint | qIntersectionPoint (int x, int y) |
static QIntersectionPoint | qIntersectionPoint (const QPodPoint &u1, const QPodPoint &u2, const QPodPoint &v1, const QPodPoint &v2) |
static qint64 | qPointDistanceFromLine (const QPodPoint &p, const QPodPoint &v1, const QPodPoint &v2) |
static bool | qPointIsLeftOfLine (const QPodPoint &p, const QPodPoint &v1, const QPodPoint &v2) |
QPolylineSet | qPolyline (const QVectorPath &path, const QTransform &matrix, qreal lod) |
QPolylineSet | qPolyline (const QPainterPath &path, const QTransform &matrix, qreal lod) |
QTriangleSet | qTriangulate (const qreal *polygon, int count, uint hint, const QTransform &matrix) |
QTriangleSet | qTriangulate (const QVectorPath &path, const QTransform &matrix, qreal lod) |
QTriangleSet | qTriangulate (const QPainterPath &path, const QTransform &matrix, qreal lod) |
template<class T , class LessThan > | |
static void | sort (T *array, int count, LessThan lessThan) |
template<class T > | |
static void | sort (T *array, int count) |
Variables | |
static const uchar | prime_deltas [] |
#define Q_FIXED_POINT_SCALE 32 |
Definition at line 66 of file qtriangulator.cpp.
Referenced by QTriangulator< T >::initialize(), QTriangulator< T >::polyline(), and QTriangulator< T >::triangulate().
typedef QRBTree<int>::Node* QRBTreeIntNodePointer |
Definition at line 1313 of file qtriangulator.cpp.
Definition at line 349 of file qtriangulator.cpp.
Referenced by QTriangulator< T >::ComplexToSimple::CompareEdges::operator()().
|
inlinestatic |
Definition at line 1121 of file qtriangulator.cpp.
Referenced by QInt64Set::insert(), and QInt64Set::QInt64Set().
|
inlinestatic |
Definition at line 321 of file qtriangulator.cpp.
Referenced by qIntersectionPoint(), qPointDistanceFromLine(), and QTriangulator< T >::ComplexToSimple::sortEdgeList().
Definition at line 326 of file qtriangulator.cpp.
Referenced by QTriangulator< T >::ComplexToSimple::Event::operator<().
Definition at line 270 of file qtriangulator.cpp.
Referenced by QIntersectionPoint::isOnLine(), and qIntersectionPoint().
|
inlinestatic |
Definition at line 384 of file qtriangulator.cpp.
Referenced by QTriangulator< T >::ComplexToSimple::calculateIntersection(), QTriangulator< T >::ComplexToSimple::calculateIntersections(), QTriangulator< T >::ComplexToSimple::removeUnwantedEdgesAndConnect(), and QTriangulator< T >::ComplexToSimple::sortEdgeList().
|
inlinestatic |
Definition at line 391 of file qtriangulator.cpp.
|
static |
Definition at line 398 of file qtriangulator.cpp.
|
inlinestatic |
Definition at line 335 of file qtriangulator.cpp.
Referenced by QTriangulator< T >::ComplexToSimple::bounds(), QTriangulator< T >::SimpleToMonotone::classifyVertex(), QTriangulator< T >::ComplexToSimple::edgeIsLeftOfEdge(), QTriangulator< T >::SimpleToMonotone::edgeIsLeftOfEdge(), QTriangulator< T >::ComplexToSimple::outerBounds(), qPointIsLeftOfLine(), and QTriangulator< T >::SimpleToMonotone::searchEdgeLeftOfPoint().
|
inlinestatic |
Definition at line 340 of file qtriangulator.cpp.
Referenced by QTriangulator< T >::MonotoneToTriangles::leftOfEdge(), QTriangulator< T >::SimpleToMonotone::monotoneDecomposition(), and QTriangulator< T >::SimpleToMonotone::pointIsInSector().
QPolylineSet qPolyline | ( | const QVectorPath & | path, |
const QTransform & | matrix, | ||
qreal | lod | ||
) |
Definition at line 3077 of file qtriangulator.cpp.
QPolylineSet qPolyline | ( | const QPainterPath & | path, |
const QTransform & | matrix, | ||
qreal | lod | ||
) |
Definition at line 3097 of file qtriangulator.cpp.
QTriangleSet qTriangulate | ( | const qreal * | polygon, |
int | count, | ||
uint | hint, | ||
const QTransform & | matrix | ||
) |
Definition at line 3016 of file qtriangulator.cpp.
Referenced by QGL2PaintEngineExPrivate::fill().
QTriangleSet qTriangulate | ( | const QVectorPath & | path, |
const QTransform & | matrix, | ||
qreal | lod | ||
) |
Definition at line 3037 of file qtriangulator.cpp.
QTriangleSet qTriangulate | ( | const QPainterPath & | path, |
const QTransform & | matrix, | ||
qreal | lod | ||
) |
Definition at line 3057 of file qtriangulator.cpp.
|
static |
Definition at line 73 of file qtriangulator.cpp.
Referenced by QSortFilterProxyModelPrivate::_q_sourceColumnsInserted(), QSortFilterProxyModelPrivate::_q_sourceReset(), QSortFilterProxyModelPrivate::_q_sourceRowsInserted(), QSortFilterProxyModelPrivate::create_index(), QTriangulator< T >::ComplexToSimple::fillPriorityQueue(), QTriangulator< T >::SimpleToMonotone::fillPriorityQueue(), QTableModel::index(), QStandardItemModelPrivate::itemFromIndex(), QStringList::QStringList(), QDir::setSorting(), QAbstractItemModel::sibling(), sort(), QDir::temp(), and QPatternist::NodeSortExpression::wrapAround().
|
static |
Definition at line 134 of file qtriangulator.cpp.
|
static |
Definition at line 1110 of file qtriangulator.cpp.