3 #include "Cesium3DTilesWriter/Library.h"
5 #include <CesiumJsonWriter/ExtensionWriterContext.h>
42 bool prettyPrint =
false;
SubtreeWriterResult writeSubtree(const Cesium3DTiles::Subtree &subtree, const SubtreeWriterOptions &options=SubtreeWriterOptions()) const
Serializes the provided subtree object into a byte vector using the provided flags to convert.
const CesiumJsonWriter::ExtensionWriterContext & getExtensions() const
Gets the context used to control how subtree extensions are written.
SubtreeWriter()
Constructs a new instance.
CesiumJsonWriter::ExtensionWriterContext & getExtensions()
Gets the context used to control how subtree extensions are written.
Classes for writing 3D Tiles.
Classes for using 3D Tiles.
Options for how to write a subtree.
The result of writing a subtree with SubtreeWriterWriter::writeSubtree.
std::vector< std::byte > subtreeBytes
The final generated std::vector<std::byte> of the subtree JSON.
std::vector< std::string > warnings
Warnings, if any, that occurred during the write process.
std::vector< std::string > errors
Errors, if any, that occurred during the write process.
An object describing the availability of tiles and content in a subtree, as well as availability of c...