cesium-native 0.43.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::DebugTileStateDatabase Class Reference

Helps debug the tile selection algorithm by recording the state of tiles each frame to a SQLite database. More...

#include <Cesium3DTilesSelection/DebugTileStateDatabase.h>

Public Member Functions

 DebugTileStateDatabase (const std::string &databaseFilename)
 Creates a new instance.
 
void recordAllTileStates (int32_t frameNumber, const Tileset &tileset)
 Records the state of all tiles that are currently loaded by the given tileset.
 
void recordTileState (int32_t frameNumber, const Tile &tile)
 Records the state of a given tile.
 

Detailed Description

Helps debug the tile selection algorithm by recording the state of tiles each frame to a SQLite database.

Definition at line 15 of file DebugTileStateDatabase.h.

Constructor & Destructor Documentation

◆ DebugTileStateDatabase()

Cesium3DTilesSelection::DebugTileStateDatabase::DebugTileStateDatabase ( const std::string & databaseFilename)

Creates a new instance.

Parameters
databaseFilenameThe full path and filename of the output SQLite database.

Member Function Documentation

◆ recordAllTileStates()

void Cesium3DTilesSelection::DebugTileStateDatabase::recordAllTileStates ( int32_t frameNumber,
const Tileset & tileset )

Records the state of all tiles that are currently loaded by the given tileset.

Parameters
frameNumberThe current frame number.
tilesetThe tileset.

◆ recordTileState()

void Cesium3DTilesSelection::DebugTileStateDatabase::recordTileState ( int32_t frameNumber,
const Tile & tile )

Records the state of a given tile.

Parameters
frameNumberThe current frame number.
tileThe tile.

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