3#ifndef QGEOTILEDMAPSCENE_P_P_H
4#define QGEOTILEDMAPSCENE_P_P_H
21#include <QtQuick/QSGImageNode>
22#include <QtQuick/QQuickWindow>
24#include <QtCore/private/qobject_p.h>
25#include <QtPositioning/private/qdoublevector3d_p.h>
34 tiles.insert(spec, node);
44 : isTextureLinear(
false)
45 , geometry(
QSGGeometry::defaultAttributes_Point2D(), 4)
51 setIsRectangular(
true);
52 setGeometry(&geometry);
53 root->appendChildNode(tiles);
54 root->appendChildNode(wrapLeft);
55 root->appendChildNode(wrapRight);
66 if (
rect != clipRect) {
92#ifdef QT_LOCATION_DEBUG
93 double m_sideLengthPixel;
112 inline bool isTiltedOrRotated()
const {
return (m_cameraData.tilt() > 0.0) || (m_cameraData.bearing() > 0.0); }
129 double m_scaleFactor =
130#ifdef QT_LOCATION_DEBUG
137 int m_intZoomLevel = 0;
142 int m_sideLength = 0;
152 int m_tileXWrapsBelow = 0;
153 bool m_linearScaling =
false;
154 bool m_dropTextures =
false;
156#ifdef QT_LOCATION_DEBUG
157 double m_sideLengthPixel;
QGeoTiledMapTileContainerNode * wrapRight
QHash< QGeoTileSpec, QSGTexture * > textures
QGeoTiledMapTileContainerNode * wrapLeft
QGeoTiledMapTileContainerNode * tiles
void setClipRect(const QRect &rect)
bool isTiltedOrRotated() const
QHash< QGeoTileSpec, QSharedPointer< QGeoTileTexture > > m_textures
QList< QGeoTileSpec > m_updatedTextures
QGeoCameraData m_cameraData
QDoubleVector3D m_cameraUp
QDoubleVector3D m_cameraEye
QMatrix4x4 m_projectionMatrix
QDoubleVector3D m_cameraCenter
QSet< QGeoTileSpec > m_visibleTiles
void addChild(const QGeoTileSpec &spec, QSGImageNode *node)
QHash< QGeoTileSpec, QSGImageNode * > tiles
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QSGClipNode class implements the clipping functionality in the scene graph.
void setClipRect(const QRectF &)
Sets the clip rect of this clip node to rect.
The QSGGeometry class provides low-level storage for graphics primitives in the \l{Qt Quick Scene Gra...
static void updateRectGeometry(QSGGeometry *g, const QRectF &rect)
Updates the geometry g with the coordinates in rect.
The QSGImageNode class is provided for convenience to easily draw textured content using the QML scen...
void appendChildNode(QSGNode *node)
Appends node to this node's list of children.
void markDirty(DirtyState bits)
Notifies all connected renderers that the node has dirty bits.
qDeleteAll(list.begin(), list.end())
Combined button and popup list for selecting options.
GLuint const GLuint GLuint const GLuint * textures