12#include <QtCore/QList>
13#include <QtCore/QObject>
14#include <QtCore/QPointF>
15#include <QtCore/QRectF>
16#include <QtQmlIntegration/QtQmlIntegration>
58 double heightAt(
const QPointF& world)
const;
104 mutable double _memoMinX = 0.0;
105 mutable double _memoMaxY = 0.0;
106 mutable double _memoSpan = 0.0;
View bestTileFor(const TileMath::TileKey &key) const
bool hasTile(const TileMath::TileKey &key) const
void setPinnedKeys(QSet< TileMath::TileKey > keys)
qint64 lookupCountForTest() const
bool insertTile(const TileMath::TileKey &key, ElevationTilePyramid::Grid grid)
void setPinnedKeys(QSet< TileMath::TileKey > keys)
qint64 lookupCountForTest() const
bool hasTile(const TileMath::TileKey &key) const
True when the backing pyramid holds this exact tile.
QList< float > samplePatch(const TileMath::TileKey &key, int gridSize) const
double heightAt(const QPointF &world) const
static constexpr int kMaxGridSize
Sanity cap on patch density: rejects absurd sizes before allocation.
void regionChanged(const QRectF &worldRect)
TileMath::TileKey backingKeyFor(const TileMath::TileKey &key) const
Decoded elevation samples for one tile, row-major from the NW corner.
TileMath::TileKey key
stored tile the view samples