ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
panoramas.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Povl Filip Sonne-Frederiksen
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
6
7#include <filesystem>
8#include <string>
9#include <vector>
10
11namespace reusex {
12class ProjectDB;
13}
14
15namespace reusex::io {
16
20 bool skip = false;
21
26 std::vector<std::string> subdir_hints = {"360", "panoramas", "pano"};
27
32 bool stitch_insp = true;
33};
34
57std::size_t import_panoramas(ProjectDB &db, const std::filesystem::path &dir,
58 const ImportPanoramasOptions &opts = {});
59
60} // namespace reusex::io
std::size_t import_panoramas(ProjectDB &db, const std::filesystem::path &dir, const ImportPanoramasOptions &opts={})
Auto-discover and import companion 360° equirect JPEGs from a capture directory into the project data...
Controls auto-discovery and import of companion 360° panoramas.
Definition panoramas.hpp:18
bool skip
When true, skip panorama discovery entirely (–no-panoramas CLI flag).
Definition panoramas.hpp:20
std::vector< std::string > subdir_hints
Subdirectory names searched first for companion panoramas.
Definition panoramas.hpp:26
bool stitch_insp
When true (default), stitch .insp dual-fisheye files using the static Insta360 X4 calibration (see io...
Definition panoramas.hpp:32