ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
optimize_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 optimize stage's JSON parameters -> PlaneGraphOptions, in ONE place.
8//
9// `rux optimize`, the Qt client's in-process stage and ruxd's web GUI stage
10// all read the stage parameters (min_observations, assoc_rounds, no_gnc,
11// dry_run; pipeline::stage_parameters(JobStage::optimize)) through this
12// function, on top of the library defaults the CLI flags mirror
13// (STANDARDS ยง4). A CLI line and a GUI run with the same parameters therefore
14// solve the same problem.
15
16#include <reusex/slam/PlaneGraphOptimizer.hpp>
17
18#include <string_view>
19
20namespace reusex::geometry {
21
28void apply_optimize_parameters(PlaneGraphOptions &options, bool &dry_run,
29 std::string_view parameters);
30
31} // namespace reusex::geometry
void apply_optimize_parameters(PlaneGraphOptions &options, bool &dry_run, std::string_view parameters)
Apply the optimize stage's parameter JSON to options and dry_run.
Parameters for plane-landmark pose-graph optimization.