Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QGeoTiledMapScenePrivate Class Reference

#include <qgeotiledmapscene_p_p.h>

+ Inheritance diagram for QGeoTiledMapScenePrivate:
+ Collaboration diagram for QGeoTiledMapScenePrivate:

Public Member Functions

 QGeoTiledMapScenePrivate ()
 
 ~QGeoTiledMapScenePrivate ()
 
void addTile (const QGeoTileSpec &spec, QSharedPointer< QGeoTileTexture > texture)
 
void setVisibleTiles (const QSet< QGeoTileSpec > &visibleTiles)
 
void removeTiles (const QSet< QGeoTileSpec > &oldTiles)
 
bool buildGeometry (const QGeoTileSpec &spec, QSGImageNode *imageNode, bool &overzooming)
 
void updateTileBounds (const QSet< QGeoTileSpec > &tiles)
 
void setupCamera ()
 
bool isTiltedOrRotated () const
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QSize m_screenSize
 
int m_tileSize = 0
 
QGeoCameraData m_cameraData
 
QRectF m_visibleArea
 
QSet< QGeoTileSpecm_visibleTiles
 
QDoubleVector3D m_cameraUp
 
QDoubleVector3D m_cameraEye
 
QDoubleVector3D m_cameraCenter
 
QMatrix4x4 m_projectionMatrix
 
double m_scaleFactor
 
int m_intZoomLevel = 0
 
int m_sideLength = 0
 
QHash< QGeoTileSpec, QSharedPointer< QGeoTileTexture > > m_textures
 
QList< QGeoTileSpecm_updatedTextures
 
int m_minTileX = -1
 
int m_minTileY = -1
 
int m_maxTileX = -1
 
int m_maxTileY = -1
 
int m_tileXWrapsBelow = 0
 
bool m_linearScaling = false
 
bool m_dropTextures = false
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (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)
 

Detailed Description

Definition at line 98 of file qgeotiledmapscene_p_p.h.

Constructor & Destructor Documentation

◆ QGeoTiledMapScenePrivate()

QGeoTiledMapScenePrivate::QGeoTiledMapScenePrivate ( )

Definition at line 114 of file qgeotiledmapscene.cpp.

◆ ~QGeoTiledMapScenePrivate()

QGeoTiledMapScenePrivate::~QGeoTiledMapScenePrivate ( )

Definition at line 119 of file qgeotiledmapscene.cpp.

Member Function Documentation

◆ addTile()

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.

+ Here is the call graph for this function:

◆ buildGeometry()

bool QGeoTiledMapScenePrivate::buildGeometry ( const QGeoTileSpec & spec,
QSGImageNode * imageNode,
bool & overzooming )

◆ isTiltedOrRotated()

bool QGeoTiledMapScenePrivate::isTiltedOrRotated ( ) const
inline

Definition at line 112 of file qgeotiledmapscene_p_p.h.

◆ removeTiles()

void QGeoTiledMapScenePrivate::removeTiles ( const QSet< QGeoTileSpec > & oldTiles)

Definition at line 202 of file qgeotiledmapscene.cpp.

References i, iter, m_textures, and QHash< Key, T >::remove().

Referenced by setVisibleTiles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setupCamera()

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(), QGeoCameraData::tilt(), view, QSize::width(), QPointF::x(), QPointF::y(), and QGeoCameraData::zoomLevel().

Referenced by setVisibleTiles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setVisibleTiles()

void QGeoTiledMapScenePrivate::setVisibleTiles ( const QSet< QGeoTileSpec > & visibleTiles)

Definition at line 187 of file qgeotiledmapscene.cpp.

References m_visibleTiles, removeTiles(), setupCamera(), and updateTileBounds().

+ Here is the call graph for this function:

◆ updateTileBounds()

void QGeoTiledMapScenePrivate::updateTileBounds ( const QSet< QGeoTileSpec > & tiles)

Definition at line 214 of file qgeotiledmapscene.cpp.

References i, iter, m_intZoomLevel, m_maxTileX, m_maxTileY, m_minTileX, m_minTileY, m_sideLength, m_tileXWrapsBelow, qMax(), qMin(), and QGeoTileSpec::x().

Referenced by setVisibleTiles().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_cameraCenter

QDoubleVector3D QGeoTiledMapScenePrivate::m_cameraCenter

Definition at line 124 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_cameraData

QGeoCameraData QGeoTiledMapScenePrivate::m_cameraData

Definition at line 118 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_cameraEye

QDoubleVector3D QGeoTiledMapScenePrivate::m_cameraEye

Definition at line 123 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_cameraUp

QDoubleVector3D QGeoTiledMapScenePrivate::m_cameraUp

Definition at line 122 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_dropTextures

bool QGeoTiledMapScenePrivate::m_dropTextures = false

Definition at line 154 of file qgeotiledmapscene_p_p.h.

◆ m_intZoomLevel

int QGeoTiledMapScenePrivate::m_intZoomLevel = 0

Definition at line 137 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), setupCamera(), and updateTileBounds().

◆ m_linearScaling

bool QGeoTiledMapScenePrivate::m_linearScaling = false

Definition at line 153 of file qgeotiledmapscene_p_p.h.

◆ m_maxTileX

int QGeoTiledMapScenePrivate::m_maxTileX = -1

Definition at line 150 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), and updateTileBounds().

◆ m_maxTileY

int QGeoTiledMapScenePrivate::m_maxTileY = -1

Definition at line 151 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), and updateTileBounds().

◆ m_minTileX

int QGeoTiledMapScenePrivate::m_minTileX = -1

Definition at line 148 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), setupCamera(), and updateTileBounds().

◆ m_minTileY

int QGeoTiledMapScenePrivate::m_minTileY = -1

Definition at line 149 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), setupCamera(), and updateTileBounds().

◆ m_projectionMatrix

QMatrix4x4 QGeoTiledMapScenePrivate::m_projectionMatrix

Definition at line 125 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_scaleFactor

double QGeoTiledMapScenePrivate::m_scaleFactor
Initial value:
=
10.0

Definition at line 129 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), and setupCamera().

◆ m_screenSize

QSize QGeoTiledMapScenePrivate::m_screenSize

Definition at line 116 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_sideLength

int QGeoTiledMapScenePrivate::m_sideLength = 0

Definition at line 142 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), setupCamera(), and updateTileBounds().

◆ m_textures

QHash<QGeoTileSpec, QSharedPointer<QGeoTileTexture> > QGeoTiledMapScenePrivate::m_textures

Definition at line 144 of file qgeotiledmapscene_p_p.h.

Referenced by addTile(), buildGeometry(), and removeTiles().

◆ m_tileSize

int QGeoTiledMapScenePrivate::m_tileSize = 0

Definition at line 117 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), and setupCamera().

◆ m_tileXWrapsBelow

int QGeoTiledMapScenePrivate::m_tileXWrapsBelow = 0

Definition at line 152 of file qgeotiledmapscene_p_p.h.

Referenced by buildGeometry(), setupCamera(), and updateTileBounds().

◆ m_updatedTextures

QList<QGeoTileSpec> QGeoTiledMapScenePrivate::m_updatedTextures

Definition at line 145 of file qgeotiledmapscene_p_p.h.

Referenced by addTile().

◆ m_visibleArea

QRectF QGeoTiledMapScenePrivate::m_visibleArea

Definition at line 119 of file qgeotiledmapscene_p_p.h.

Referenced by setupCamera().

◆ m_visibleTiles

QSet<QGeoTileSpec> QGeoTiledMapScenePrivate::m_visibleTiles

Definition at line 120 of file qgeotiledmapscene_p_p.h.

Referenced by addTile(), and setVisibleTiles().


The documentation for this class was generated from the following files: