ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
mesh_parameters.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
7
// The mesh stage's parameters -> MeshOptions, in ONE place.
8
//
9
// `rux create mesh` drives the solver itself (it also feeds the interactive
10
// viewer), while the GUI and the Qt client run the mesh stage through
11
// run_stage(). Both read their options here, from the same JSON keys
12
// (stage_parameters(JobStage::mesh)), so a CLI line and a GUI run with the
13
// same parameters solve the same problem.
14
15
#include <reusex/reconstruction/mesh.hpp>
16
17
#include <string>
18
#include <string_view>
19
20
namespace
reusex::pipeline
{
21
22
struct
MeshStageOptions
{
23
geometry::MeshOptions
options
;
24
std::string
output_name
=
"mesh"
;
25
};
26
30
MeshStageOptions
mesh_options_from_parameters
(std::string_view parameters);
31
32
}
// namespace reusex::pipeline
reusex::pipeline
Definition
job_types.hpp:24
reusex::pipeline::mesh_options_from_parameters
MeshStageOptions mesh_options_from_parameters(std::string_view parameters)
Read the mesh stage's JSON parameters ("" = defaults).
reusex::geometry::MeshOptions
Options for mesh generation.
Definition
mesh.hpp:19
reusex::pipeline::MeshStageOptions
Definition
mesh_parameters.hpp:22
reusex::pipeline::MeshStageOptions::output_name
std::string output_name
Definition
mesh_parameters.hpp:24
reusex::pipeline::MeshStageOptions::options
geometry::MeshOptions options
Definition
mesh_parameters.hpp:23
libs
reusex
include
pipeline
mesh_parameters.hpp
Generated by
1.18.0