6#include "RenderContext.h"
17 std::vector<double> positions;
18 std::vector<T> results;
25 std::vector<int> levels;
26 std::vector<int> requestedLevel;
28 std::vector<ClipmapLevel> * inputLevels;
35 TerrainQueryCallback * callback;
48 void initialize(std::vector<ClipmapLevel> * terrainLevels, std::vector<std::vector<ClipmapLevel>> * imagery);
50 void postInitialize();
54 void processQueries();
56 template<
typename DataType>
59 template<
typename DataType>
60 bool readData(
const RasterTileData * tileData,
const int x,
const int y,
const int width, DataType * result);
62 std::vector<ElevationQueryData> elevationQueries;
63 std::vector<ColorQueryData> colorQueries;
65 std::vector<ClipmapLevel> * terrainLevels =
nullptr;
66 std::vector<std::vector<ClipmapLevel>> * imagery =
nullptr;
71 bool allowToProcessQueries =
false;
Contains all Cogs related functionality.