12#include <QtCore/QList>
13#include <QtCore/QObject>
14#include <QtCore/QPointF>
15#include <QtCore/QRectF>
16#include <QtQmlIntegration/QtQmlIntegration>
59 double heightAt(
const QPointF& world)
const;
109 mutable double _memoMinX = 0.0;
110 mutable double _memoMaxY = 0.0;
111 mutable double _memoSpan = 0.0;
std::array< MsgOutKey, 4 > keys
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)
QList< float > samplePatch(const TileMath::TileKey &key, int gridSize, PatchSampler::EdgeStep *edgeStep=nullptr) const
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.
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