ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
assemble.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 <memory>
10
#include <vector>
11
namespace
fs = std::filesystem;
12
14
struct
SubcommandAssembleOptions
{
15
std::vector<fs::path>
paths_in
;
16
fs::path
db_path_out
=
17
fs::current_path() /
"assembled.db"
;
18
};
19
24
void
setup_subcommand_assemble
(CLI::App &app,
25
std::shared_ptr<RuxOptions> global_opt);
26
32
int
run_subcommand_assemble
(
SubcommandAssembleOptions
const
&opt,
33
const
RuxOptions
&global_opt);
setup_subcommand_assemble
void setup_subcommand_assemble(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup the assemble subcommand in the CLI application.
run_subcommand_assemble
int run_subcommand_assemble(SubcommandAssembleOptions const &opt, const RuxOptions &global_opt)
Run the assemble subcommand with given options.
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandAssembleOptions
Collection of all options for the assemble subcommand.
Definition
assemble.hpp:14
SubcommandAssembleOptions::db_path_out
fs::path db_path_out
Output database path.
Definition
assemble.hpp:16
SubcommandAssembleOptions::paths_in
std::vector< fs::path > paths_in
Input file paths to assemble.
Definition
assemble.hpp:15
apps
rux
include
assemble.hpp
Generated by
1.17.0