ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
mesh.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2
// SPDX-License-Identifier: GPL-3.0-or-later
3
4
#pragma once
5
6
#include "
../global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <filesystem>
10
#include <string>
11
12
namespace
fs = std::filesystem;
13
19
struct
SubcommandGetMeshOptions
{
20
std::string
mesh_name
;
21
fs::path
output_path
;
22
std::string
format
;
23
};
24
35
int
run_subcommand_get_mesh
(
SubcommandGetMeshOptions
const
&opt,
36
const
RuxOptions
&global_opt);
37
44
void
setup_subcommand_get_mesh
(CLI::App &app,
45
std::shared_ptr<RuxOptions> global_opt);
run_subcommand_get_mesh
int run_subcommand_get_mesh(SubcommandGetMeshOptions const &opt, const RuxOptions &global_opt)
Run the 'get mesh' subcommand.
setup_subcommand_get_mesh
void setup_subcommand_get_mesh(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup the 'get mesh' subcommand.
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandGetMeshOptions
Options for the 'get mesh' subcommand.
Definition
mesh.hpp:19
SubcommandGetMeshOptions::output_path
fs::path output_path
Output file path (optional).
Definition
mesh.hpp:21
SubcommandGetMeshOptions::mesh_name
std::string mesh_name
Name of mesh in ProjectDB.
Definition
mesh.hpp:20
SubcommandGetMeshOptions::format
std::string format
Output format (optional, defaults to database format).
Definition
mesh.hpp:22
apps
rux
include
get
mesh.hpp
Generated by
1.17.0