ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
texture.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
#include <CLI/CLI.hpp>
8
#include <string>
9
10
namespace
fs = std::filesystem;
11
13
struct
SubcommandTextureOptions
{
14
fs::path
mesh_path_in
= fs::current_path() /
"mesh.ply"
;
15
fs::path
db_path_in
=
GlobalParams::db
;
16
fs::path
mesh_path_out
= fs::current_path() /
"mesh.obj"
;
17
};
18
19
// Function declarations.
20
void
setup_subcommand_texture
(CLI::App &app);
21
int
run_subcommand_texture
(
SubcommandTextureOptions
const
&opt);
global-params.hpp
GlobalParams::db
const fs::path db
Definition
global-params.hpp:48
SubcommandTextureOptions
Collection of all options of Subcommand A.
Definition
texture.hpp:13
SubcommandTextureOptions::db_path_in
fs::path db_path_in
Definition
texture.hpp:15
SubcommandTextureOptions::mesh_path_out
fs::path mesh_path_out
Definition
texture.hpp:16
SubcommandTextureOptions::mesh_path_in
fs::path mesh_path_in
Definition
texture.hpp:14
run_subcommand_texture
int run_subcommand_texture(SubcommandTextureOptions const &opt)
setup_subcommand_texture
void setup_subcommand_texture(CLI::App &app)
apps
rux
include
texture.hpp
Generated by
1.16.1