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
10#include <reusex/segmentation/segment_rooms.hpp>
11
12namespace fs = std::filesystem;
13
34
40 std::shared_ptr<RuxOptions> global_opt);
41
48 const RuxOptions &global_opt);
void setup_subcommand_create_rooms(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup the segment rooms subcommand in the CLI application.
int run_subcommand_segment_rooms(SubcommandSegRoomsOptions const &opt, const RuxOptions &global_opt)
Run the segment rooms subcommand with given options.
Collection of all options for room segmentation subcommand.
Definition rooms.hpp:18
float resolution
Leiden resolution parameter (cluster granularity).
Definition rooms.hpp:20
int max_iter
Maximum Leiden iterations (finite bound, see library default).
Definition rooms.hpp:24
float beta
Leiden beta (refinement randomness).
Definition rooms.hpp:22
std::string filter_expr
Filter expression to limit processing.
Definition rooms.hpp:32
float propagate_max_radius
Distance-bounded k-NN label propagation to non-sampled points.
Definition rooms.hpp:29
float propagate_max_radius
Max search radius (meters); no label beyond this stays unlabeled.