ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
semantic_images.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
12
namespace
fs = std::filesystem;
13
14
struct
SubcommandExportSemanticImagesOptions
{
15
fs::path
output_dir
= fs::current_path();
16
std::string
prefix
=
"semantic"
;
17
};
18
19
void
setup_subcommand_export_semantic_images
(
20
CLI::App &parent, std::shared_ptr<RuxOptions> global_opt);
21
int
run_subcommand_export_semantic_images
(
22
SubcommandExportSemanticImagesOptions
const
&opt,
23
const
RuxOptions
&global_opt);
global-params.hpp
run_subcommand_export_semantic_images
int run_subcommand_export_semantic_images(SubcommandExportSemanticImagesOptions const &opt, const RuxOptions &global_opt)
setup_subcommand_export_semantic_images
void setup_subcommand_export_semantic_images(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
RuxOptions
Definition
global-params.hpp:44
SubcommandExportSemanticImagesOptions
Definition
semantic_images.hpp:14
SubcommandExportSemanticImagesOptions::output_dir
fs::path output_dir
Directory to write PNG files.
Definition
semantic_images.hpp:15
SubcommandExportSemanticImagesOptions::prefix
std::string prefix
Filename prefix: <prefix>_<id>.png.
Definition
semantic_images.hpp:16
apps
rux
include
export
semantic_images.hpp
Generated by
1.17.0