5#include <CesiumJsonReader/JsonReader.h>
6#include <CesiumJsonReader/JsonReaderOptions.h>
7#include <CesiumQuantizedMeshTerrain/AvailabilityRectangle.h>
8#include <CesiumQuantizedMeshTerrain/Library.h>
10#include <rapidjson/fwd.h>
16struct AvailabilityRectangle;
70 std::vector<CesiumQuantizedMeshTerrain::AvailabilityRectangle>>
Holds options for reading statically-typed data structures from JSON.
Reads AvailabilityRectangle instances from JSON.
CesiumJsonReader::ReadJsonResult< CesiumQuantizedMeshTerrain::AvailabilityRectangle > readFromJson(const std::span< const std::byte > &data) const
Reads an instance of AvailabilityRectangle from a byte buffer.
AvailabilityRectangleReader()
Constructs a new instance.
const CesiumJsonReader::JsonReaderOptions & getOptions() const
Gets the options controlling how the JSON is read.
CesiumJsonReader::ReadJsonResult< CesiumQuantizedMeshTerrain::AvailabilityRectangle > readFromJson(const rapidjson::Value &value) const
Reads an instance of AvailabilityRectangle from a rapidJson::Value.
CesiumJsonReader::ReadJsonResult< std::vector< CesiumQuantizedMeshTerrain::AvailabilityRectangle > > readArrayFromJson(const rapidjson::Value &value) const
Reads an array of instances of AvailabilityRectangle from a rapidJson::Value.
CesiumJsonReader::JsonReaderOptions & getOptions()
Gets the options controlling how the JSON is read.
Classes for accessing terrain based on layer.json and quantized-mesh-1.0.
The result of JsonReader::readJson.
A rectangle of tile availability.