ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
gsplat.hpp File Reference
#include "gui/api.hpp"
#include <string>
#include <string_view>
Include dependency graph for gsplat.hpp:

Go to the source code of this file.

Namespaces

namespace  reusex
namespace  rux
namespace  rux::gui

Functions

nlohmann::json rux::gui::gsplats_json (const reusex::ProjectDB &db, const Params &params)
 GET /api/v1/gsplats — every splat stored in the project, paged.
nlohmann::json rux::gui::gsplat_json (const reusex::ProjectDB &db, std::string_view name)
 GET /api/v1/gsplats/{name} — one splat's metadata.
Blob rux::gui::gsplat_blob (const reusex::ProjectDB &db, std::string_view name)
 GET /api/v1/gsplats/{name}/data — the INRIA .ply bytes, verbatim.

Variables

constexpr uint64_t rux::gui::kMaxGsplatBytes = 1024ull * 1024ull * 1024ull
 Upper bound on a splat blob this server will serve in one response.