Per-DtDe JSON registry of MIL-STD frame and icon geometry.
DtMilStdJsonRegistry has a two-phase lifecycle:
- Load phase - call load() once at startup with the directory that contains the milstd_*.json data files. Each JSON file is parsed into pre-scaled polyline geometry stored in 200x200 space (centred at (100,100)). Parsed geometry is cached in per-layer member maps keyed by makeKey(ssId, stdId).
- Render phase - call build*Paths() once per symbol per frame. Each method scales the cached 200-unit geometry into render-space coordinates using sc = size / 200.0, applies the DtColorScheme, and returns a std::vector<DtDrawPath> ready for immediate rasterisation. Raw coordinates are never exposed to callers.
The registry is registered on a DtDe via registerInstance() and retrieved via instance(). It is not thread-safe: do not call load() while any build*Paths() call is in progress on another thread.