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>
9namespace fs = std::filesystem;
10
13
14 float resolution =
15 1.0F;
16 float beta = 0.01F;
17 int max_iter = -1;
18
19 float grid_size = 0.5;
20
21 std::string filter_expr;
22};
23
28void setup_subcommand_create_rooms(CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
29
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:12
float resolution
Leiden resolution parameter (cluster granularity).
Definition rooms.hpp:14
int max_iter
Maximum iterations (-1 = until convergence).
Definition rooms.hpp:17
float beta
Leiden beta (refinement randomness).
Definition rooms.hpp:16
std::string filter_expr
Filter expression to limit processing.
Definition rooms.hpp:21