15 #include <osg/observer_ptr>
29 class SpatialReference;
37 struct DtPolygonCacheData;
41 struct DtFeatureTileCacheData;
46 struct DtElevationSampleCache;
57 std::size_t polygonCount = 0;
58 double dispatchedAgoMs = 0.0;
59 double durationMs = 0.0;
60 std::vector<std::vector<std::array<double, 2>>> polygonPoints;
68 std::vector<DtPolygonCacheEntryInfo>
entries;
69 int activeThreads = 0;
70 int totalThreadsSpawned = 0;
71 int totalEvictions = 0;
72 std::vector<double> recentDurationsMs;
117 virtual double querySignedDistance(
161 virtual double evaluateElevationConditions(
165 double lat_deg)
const;
172 virtual double evaluateFeatureDistance(
176 double lat_deg)
const;
183 virtual double evaluateRasterDistance(
187 double lat_deg)
const;
196 virtual double evaluateRasterPolygonDistance(
200 double lat_deg)
const;
207 const osgEarth::SpatialReference* myWgs84Srs{
nullptr};
Diagnostic snapshot of a single entry in the polygon tile cache.
Definition: DtProceduralSoundscapeQuery.h:52
osg::observer_ptr< osgEarth::MapNode > myMapNode
Definition: DtProceduralSoundscapeQuery.h:203
std::shared_ptr< DtFeatureTileCacheData > myFeatureTileCache
Shared cache for fetched feature tile geometry (render thread + worker threads).
Definition: DtProceduralSoundscapeQuery.h:211
std::vector< DtPolygonCacheEntryInfo > entries
Definition: DtProceduralSoundscapeQuery.h:68
std::string key
"layerName|tileKey"
Definition: DtProceduralSoundscapeQuery.h:54
Contains the DLL export macro for vrvAudio classes.
Overall snapshot of the polygon tile cache for debug/profiling display.
Definition: DtProceduralSoundscapeQuery.h:66
Contains the declarations for the makVrv ambient sound channel types.
std::shared_ptr< DtPolygonCacheData > myPolygonCache
Shared cache for polygonised raster tiles (render thread + worker threads).
Definition: DtProceduralSoundscapeQuery.h:209
std::shared_ptr< DtElevationSampleCache > myElevationSampleCache
Per-channel async elevation sample cache (render thread reads, background threads write)...
Definition: DtProceduralSoundscapeQuery.h:214
Query helper that computes the signed distance (in metres) from a geographic point to the nearest mat...
Definition: DtProceduralSoundscapeQuery.h:96
Configuration for one ambient sound channel.
Definition: DtProceduralSoundscapeChannel.h:114
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20