cesium-native 0.43.0
Loading...
Searching...
No Matches
DebugTileStateDatabase.h
1#pragma once
2
3#include <memory>
4#include <string>
5
7
8class Tile;
9class Tileset;
10
16public:
23 DebugTileStateDatabase(const std::string& databaseFilename);
24 ~DebugTileStateDatabase() noexcept;
25
33 void recordAllTileStates(int32_t frameNumber, const Tileset& tileset);
34
41 void recordTileState(int32_t frameNumber, const Tile& tile);
42
43private:
44 struct Impl;
45 std::unique_ptr<Impl> _pImpl;
46};
47
48} // namespace Cesium3DTilesSelection
Helps debug the tile selection algorithm by recording the state of tiles each frame to a SQLite datab...
void recordAllTileStates(int32_t frameNumber, const Tileset &tileset)
Records the state of all tiles that are currently loaded by the given tileset.
DebugTileStateDatabase(const std::string &databaseFilename)
Creates a new instance.
void recordTileState(int32_t frameNumber, const Tile &tile)
Records the state of a given tile.
A tile in a Tileset.
Definition Tile.h:97
A 3D Tiles tileset, used for streaming massive heterogeneous 3D geospatial datasets.
Definition Tileset.h:39
Classes that implement the 3D Tiles standard.
STL namespace.