ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
colmap.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
#include "
../global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <filesystem>
10
#include <memory>
11
#include <string>
12
13
namespace
fs = std::filesystem;
14
15
struct
SubcommandExportColmapOptions
{
16
fs::path
output_dir
;
17
bool
no_lidar_seed
=
false
;
18
std::size_t
max_lidar_points
= 100'000;
19
std::string
lidar_cloud_name
=
"cloud"
;
20
int
jpeg_quality
= 95;
21
bool
with_panoramas
=
22
false
;
23
int
pano_n_yaw
= 8;
24
double
pano_fov
= 90.0;
25
int
pano_tile
= 1024;
26
};
27
28
void
setup_subcommand_export_colmap
(CLI::App &parent,
29
std::shared_ptr<RuxOptions> global_opt);
30
int
run_subcommand_export_colmap
(
SubcommandExportColmapOptions
const
&opt,
31
const
RuxOptions
&global_opt);
setup_subcommand_export_colmap
void setup_subcommand_export_colmap(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_export_colmap
int run_subcommand_export_colmap(SubcommandExportColmapOptions const &opt, const RuxOptions &global_opt)
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandExportColmapOptions
Definition
colmap.hpp:15
SubcommandExportColmapOptions::jpeg_quality
int jpeg_quality
Definition
colmap.hpp:20
SubcommandExportColmapOptions::pano_n_yaw
int pano_n_yaw
Definition
colmap.hpp:23
SubcommandExportColmapOptions::pano_fov
double pano_fov
Definition
colmap.hpp:24
SubcommandExportColmapOptions::max_lidar_points
std::size_t max_lidar_points
Definition
colmap.hpp:18
SubcommandExportColmapOptions::no_lidar_seed
bool no_lidar_seed
Definition
colmap.hpp:17
SubcommandExportColmapOptions::with_panoramas
bool with_panoramas
add aligned-360 perspective slices as cameras
Definition
colmap.hpp:21
SubcommandExportColmapOptions::output_dir
fs::path output_dir
Definition
colmap.hpp:16
SubcommandExportColmapOptions::pano_tile
int pano_tile
Definition
colmap.hpp:25
SubcommandExportColmapOptions::lidar_cloud_name
std::string lidar_cloud_name
Definition
colmap.hpp:19
apps
rux
include
export
colmap.hpp
Generated by
1.17.0