ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
mesh.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
7#include <CLI/CLI.hpp>
8#include <memory>
9#include <string>
10
11namespace fs = std::filesystem;
12
15 std::string output_mesh_name = "mesh";
16
17 float grid_size = 0.5;
18
19 double angle_threshold = 25.0;
20 double distance_threshold = 0.2;
21
22 double search_threshold = 0.60;
23 double new_plane_offset = 0.25;
24
25 std::string filter_expr;
26};
27
28// Function declarations.
29void setup_subcommand_create_mesh(CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
30int run_subcommand_mesh(SubcommandMeshOptions const &opt, const RuxOptions &global_opt);
void setup_subcommand_create_mesh(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
int run_subcommand_mesh(SubcommandMeshOptions const &opt, const RuxOptions &global_opt)
Collection of all options of Subcommand A.
Definition mesh.hpp:14
double search_threshold
Definition mesh.hpp:22
double angle_threshold
Definition mesh.hpp:19
std::string output_mesh_name
Mesh name in ProjectDB.
Definition mesh.hpp:15
double distance_threshold
Definition mesh.hpp:20
std::string filter_expr
Filter expression to limit processing.
Definition mesh.hpp:25
double new_plane_offset
Definition mesh.hpp:23