ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
photos.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
#include <vector>
13
14
namespace
fs = std::filesystem;
15
16
struct
SubcommandImportPhotosOptions
{
17
std::vector<fs::path>
input_paths
;
// directories or individual files
18
std::string
project_id
;
19
};
20
21
void
setup_subcommand_import_photos
(CLI::App &app,
22
std::shared_ptr<RuxOptions> global_opt);
23
int
run_subcommand_import_photos
(
SubcommandImportPhotosOptions
const
&opt,
24
const
RuxOptions
&global_opt);
global-params.hpp
setup_subcommand_import_photos
void setup_subcommand_import_photos(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_import_photos
int run_subcommand_import_photos(SubcommandImportPhotosOptions const &opt, const RuxOptions &global_opt)
RuxOptions
Definition
global-params.hpp:44
SubcommandImportPhotosOptions
Definition
photos.hpp:16
SubcommandImportPhotosOptions::input_paths
std::vector< fs::path > input_paths
Definition
photos.hpp:17
SubcommandImportPhotosOptions::project_id
std::string project_id
Definition
photos.hpp:18
apps
rux
include
import
photos.hpp
Generated by
1.16.1