ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
windows.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 <reusex/reconstruction/create_windows.hpp>
8
9#include <CLI/CLI.hpp>
10#include <memory>
11#include <string>
12#include <vector>
13
14namespace fs = std::filesystem;
15
40
41// Function declarations.
43 std::shared_ptr<RuxOptions> global_opt);
45 const RuxOptions &global_opt);
Options for rux create windows.
Definition windows.hpp:20
float wall_normal_z_threshold
Verticality gate on wall candidates (#326).
Definition windows.hpp:30
float alpha
ConcaveHull alpha for polyline mode.
Definition windows.hpp:28
bool clear_existing
Delete all existing windows before creating new ones.
Definition windows.hpp:34
std::vector< uint32_t > labels_to_process
Semantic labels to treat as windows.
Definition windows.hpp:33
bool include_internal
Include windows inside the mesh volume.
Definition windows.hpp:37
std::string mesh_name
Definition windows.hpp:21
std::string instance_cloud_name
Definition windows.hpp:22
float wall_offset
Offset along the outward wall normal (meters).
Definition windows.hpp:26
std::string mode
"rect" or "poly"
Definition windows.hpp:24
std::string semantic_cloud_name
Definition windows.hpp:23
Configuration for the create_windows pipeline.
float alpha
ConcaveHull alpha for polyline mode.
float wall_normal_z_threshold
Verticality gate on wall candidates: a coplanar mesh region is kept only when |normal....
float wall_offset
Offset along outward wall normal (meters).
bool include_internal
Include windows inside mesh volume (default: false).
void setup_subcommand_create_windows(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
int run_subcommand_create_windows(SubcommandWindowOptions const &opt, const RuxOptions &global_opt)