ReUseX  0.0.1
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>
8namespace fs = std::filesystem;
9
30
36
const fs::path plane_normals
const fs::path plane_centroids
const fs::path rooms
const bool visualize
const fs::path cloud
const fs::path planes
const double grid_size
int run_subcommand_segment_rooms(SubcommandSegRoomsOptions const &opt)
Run the segment rooms subcommand with given options.
void setup_subcommand_segment_rooms(CLI::App &app)
Setup the segment rooms subcommand in the CLI application.
Collection of all options for room segmentation subcommand.
Definition rooms.hpp:11
double convergence_threshold
Convergence threshold for optimization.
Definition rooms.hpp:23
bool visualize
Enable visualization.
Definition rooms.hpp:28
int expansion
Cell expansion factor.
Definition rooms.hpp:20
fs::path planes_path_in
Input planes path.
Definition rooms.hpp:14
fs::path cloud_path_in
Input point cloud path.
Definition rooms.hpp:12
double inflation
Inflation factor for room boundaries.
Definition rooms.hpp:21
int max_iter
Maximum number of iterations.
Definition rooms.hpp:24
fs::path plane_normals_path_in
Input plane normals path.
Definition rooms.hpp:16
fs::path plane_centroids_path_in
Input plane centroids path.
Definition rooms.hpp:15
float grid_size
Grid cell size.
Definition rooms.hpp:26
fs::path rooms_path_out
Output rooms path.
Definition rooms.hpp:18
double pruning_threshold
Threshold for pruning small regions.
Definition rooms.hpp:22