ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
rooms.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
11#include <reusex/segmentation/segment_rooms.hpp>
12
13namespace fs = std::filesystem;
14
35
42
44 std::shared_ptr<RuxOptions> global_opt);
45
52 const RuxOptions &global_opt);
void setup_subcommand_create_rooms(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
int run_subcommand_segment_rooms(SubcommandSegRoomsOptions const &opt, const RuxOptions &global_opt)
Run the segment rooms subcommand with given options.
std::string rooms_stage_parameters(SubcommandSegRoomsOptions const &opt)
Setup the segment rooms subcommand in the CLI application.
Collection of all options for room segmentation subcommand.
Definition rooms.hpp:19
float resolution
Leiden resolution parameter (cluster granularity).
Definition rooms.hpp:21
int max_iter
Maximum Leiden iterations (finite bound, see library default).
Definition rooms.hpp:25
float beta
Leiden beta (refinement randomness).
Definition rooms.hpp:23
std::string filter_expr
Filter expression to limit processing.
Definition rooms.hpp:33
float propagate_max_radius
Distance-bounded k-NN label propagation to non-sampled points.
Definition rooms.hpp:30
float propagate_max_radius
Max search radius (meters); no label beyond this stays unlabeled.