![]() |
Qt 6.x
The Qt SDK
|
#include <qgeotiledmapscene_p_p.h>
Additional Inherited Members | |
![]() | |
typedef void(* | StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **) |
using | ConnectionDataPointer = QExplicitlySharedDataPointer< ConnectionData > |
![]() | |
static bool | removeConnection (Connection *c) |
static QObjectPrivate * | get (QObject *o) |
static const QObjectPrivate * | get (const QObject *o) |
template<typename Func1 , typename Func2 > | |
static QMetaObject::Connection | connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection) |
template<typename Func1 , typename Func2 > | |
static bool | disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot) |
static QMetaObject::Connection | connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static QMetaObject::Connection | connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type) |
static bool | disconnect (const QObject *sender, int signal_index, void **slot) |
static bool | disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot) |
Definition at line 98 of file qgeotiledmapscene_p_p.h.
QGeoTiledMapScenePrivate::QGeoTiledMapScenePrivate | ( | ) |
Definition at line 114 of file qgeotiledmapscene.cpp.
QGeoTiledMapScenePrivate::~QGeoTiledMapScenePrivate | ( | ) |
Definition at line 119 of file qgeotiledmapscene.cpp.
void QGeoTiledMapScenePrivate::addTile | ( | const QGeoTileSpec & | spec, |
QSharedPointer< QGeoTileTexture > | texture | ||
) |
Definition at line 177 of file qgeotiledmapscene.cpp.
References QList< T >::append(), QHash< Key, T >::contains(), QSet< T >::contains(), QHash< Key, T >::insert(), m_textures, m_updatedTextures, and m_visibleTiles.
bool QGeoTiledMapScenePrivate::buildGeometry | ( | const QGeoTileSpec & | spec, |
QSGImageNode * | imageNode, | ||
bool & | overzooming | ||
) |
Definition at line 123 of file qgeotiledmapscene.cpp.
References QHash< Key, T >::end(), QHash< Key, T >::find(), it, m_intZoomLevel, m_maxTileX, m_maxTileY, m_minTileX, m_minTileY, m_scaleFactor, m_sideLength, m_textures, m_tileSize, m_tileXWrapsBelow, QSGImageNode::MirrorVertically, qWarning, QSGImageNode::setRect(), QSGImageNode::setSourceRect(), QSGImageNode::setTextureCoordinatesTransform(), QSGImageNode::texture(), QSGTexture::textureSize(), QSize::width(), QGeoTileSpec::x(), QGeoTileSpec::y(), and QGeoTileSpec::zoom().
|
inline |
Definition at line 112 of file qgeotiledmapscene_p_p.h.
void QGeoTiledMapScenePrivate::removeTiles | ( | const QSet< QGeoTileSpec > & | oldTiles | ) |
Definition at line 202 of file qgeotiledmapscene.cpp.
References QSet< T >::constBegin(), QSet< T >::constEnd(), i, iter, m_textures, and QHash< Key, T >::remove().
Referenced by setVisibleTiles().
void QGeoTiledMapScenePrivate::setupCamera | ( | ) |
Definition at line 294 of file qgeotiledmapscene.cpp.
References QGeoCameraData::bearing(), QGeoCameraData::center(), QRectF::center(), QWebMercator::coordToMercator(), QGeoCameraData::fieldOfView(), QMatrix4x4::frustum(), QSize::height(), QRectF::isNull(), m_cameraCenter, m_cameraData, m_cameraEye, m_cameraUp, m_intZoomLevel, m_minTileX, m_minTileY, m_projectionMatrix, m_scaleFactor, m_screenSize, m_sideLength, m_tileSize, m_tileXWrapsBelow, m_visibleArea, QDoubleVector3D::normal(), QLocationUtils::radians(), QDoubleMatrix4x4::rotate(), screen, QMatrix4x4::setToIdentity(), QDoubleVector3D::setZ(), QGeoCameraData::tilt(), view, QSize::width(), QPointF::x(), QPointF::y(), and QGeoCameraData::zoomLevel().
Referenced by setVisibleTiles().
void QGeoTiledMapScenePrivate::setVisibleTiles | ( | const QSet< QGeoTileSpec > & | visibleTiles | ) |
Definition at line 187 of file qgeotiledmapscene.cpp.
References QSet< T >::isEmpty(), m_visibleTiles, removeTiles(), setupCamera(), and updateTileBounds().
void QGeoTiledMapScenePrivate::updateTileBounds | ( | const QSet< QGeoTileSpec > & | tiles | ) |
Definition at line 214 of file qgeotiledmapscene.cpp.
References QSet< T >::constBegin(), QSet< T >::constEnd(), i, QSet< T >::isEmpty(), iter, m_intZoomLevel, m_maxTileX, m_maxTileY, m_minTileX, m_minTileY, m_sideLength, m_tileXWrapsBelow, qMax(), qMin(), QGeoTileSpec::x(), QGeoTileSpec::y(), and QGeoTileSpec::zoom().
Referenced by setVisibleTiles().
QDoubleVector3D QGeoTiledMapScenePrivate::m_cameraCenter |
Definition at line 124 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
QGeoCameraData QGeoTiledMapScenePrivate::m_cameraData |
Definition at line 118 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
QDoubleVector3D QGeoTiledMapScenePrivate::m_cameraEye |
Definition at line 123 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
QDoubleVector3D QGeoTiledMapScenePrivate::m_cameraUp |
Definition at line 122 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
bool QGeoTiledMapScenePrivate::m_dropTextures = false |
Definition at line 154 of file qgeotiledmapscene_p_p.h.
int QGeoTiledMapScenePrivate::m_intZoomLevel = 0 |
Definition at line 137 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), setupCamera(), and updateTileBounds().
bool QGeoTiledMapScenePrivate::m_linearScaling = false |
Definition at line 153 of file qgeotiledmapscene_p_p.h.
int QGeoTiledMapScenePrivate::m_maxTileX = -1 |
Definition at line 150 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), and updateTileBounds().
int QGeoTiledMapScenePrivate::m_maxTileY = -1 |
Definition at line 151 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), and updateTileBounds().
int QGeoTiledMapScenePrivate::m_minTileX = -1 |
Definition at line 148 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), setupCamera(), and updateTileBounds().
int QGeoTiledMapScenePrivate::m_minTileY = -1 |
Definition at line 149 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), setupCamera(), and updateTileBounds().
QMatrix4x4 QGeoTiledMapScenePrivate::m_projectionMatrix |
Definition at line 125 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
double QGeoTiledMapScenePrivate::m_scaleFactor |
Definition at line 129 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), and setupCamera().
QSize QGeoTiledMapScenePrivate::m_screenSize |
Definition at line 116 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
int QGeoTiledMapScenePrivate::m_sideLength = 0 |
Definition at line 142 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), setupCamera(), and updateTileBounds().
QHash<QGeoTileSpec, QSharedPointer<QGeoTileTexture> > QGeoTiledMapScenePrivate::m_textures |
Definition at line 144 of file qgeotiledmapscene_p_p.h.
Referenced by addTile(), buildGeometry(), and removeTiles().
int QGeoTiledMapScenePrivate::m_tileSize = 0 |
Definition at line 117 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), and setupCamera().
int QGeoTiledMapScenePrivate::m_tileXWrapsBelow = 0 |
Definition at line 152 of file qgeotiledmapscene_p_p.h.
Referenced by buildGeometry(), setupCamera(), and updateTileBounds().
QList<QGeoTileSpec> QGeoTiledMapScenePrivate::m_updatedTextures |
Definition at line 145 of file qgeotiledmapscene_p_p.h.
Referenced by addTile().
QRectF QGeoTiledMapScenePrivate::m_visibleArea |
Definition at line 119 of file qgeotiledmapscene_p_p.h.
Referenced by setupCamera().
QSet<QGeoTileSpec> QGeoTiledMapScenePrivate::m_visibleTiles |
Definition at line 120 of file qgeotiledmapscene_p_p.h.
Referenced by addTile(), and setVisibleTiles().