ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
export.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
namespace
fs = std::filesystem;
10
12
struct
SubcommandExportOptions
{
13
fs::path
cloud_path_in
;
14
fs::path
labels_path_in
;
15
fs::path
path_out
= fs::current_path() /
"cloud.3dm"
;
16
};
17
18
// We could manually make a few variables and use shared pointers for each; this
19
// is just done this way to be nicely organized
20
21
// Function declarations.
22
void
setup_subcommand_export
(CLI::App &app);
23
int
run_subcommand_export
(
SubcommandExportOptions
const
&opt);
run_subcommand_export
int run_subcommand_export(SubcommandExportOptions const &opt)
setup_subcommand_export
void setup_subcommand_export(CLI::App &app)
global-params.hpp
SubcommandExportOptions
Collection of all options of Subcommand A.
Definition
export.hpp:12
SubcommandExportOptions::cloud_path_in
fs::path cloud_path_in
Definition
export.hpp:13
SubcommandExportOptions::path_out
fs::path path_out
Definition
export.hpp:15
SubcommandExportOptions::labels_path_in
fs::path labels_path_in
Definition
export.hpp:14
apps
rux
include
export.hpp
Generated by
1.16.1