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 <CLI/CLI.hpp>
8#include <memory>
9#include <string>
10#include <vector>
11
12namespace fs = std::filesystem;
13
16 std::string mesh_name = "mesh";
17 std::string instance_cloud_name = "instances";
18 std::string semantic_cloud_name = "labels";
19 std::string mode = "rect";
20 float wall_offset = 0.5f;
21 float alpha = 0.5f;
22 std::vector<uint32_t> labels_to_process;
23 bool clear_existing = false;
24 bool include_internal = false;
25};
26
27// Function declarations.
28void setup_subcommand_create_windows(CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
Options for rux create windows.
Definition windows.hpp:15
float alpha
ConcaveHull alpha for polyline mode.
Definition windows.hpp:21
bool clear_existing
Delete all existing windows before creating new ones.
Definition windows.hpp:23
std::vector< uint32_t > labels_to_process
Semantic labels to treat as windows.
Definition windows.hpp:22
bool include_internal
Include windows inside mesh volume (default: false).
Definition windows.hpp:24
std::string mesh_name
Definition windows.hpp:16
std::string instance_cloud_name
Definition windows.hpp:17
float wall_offset
Offset along outward wall normal (meters).
Definition windows.hpp:20
std::string mode
"rect" or "poly"
Definition windows.hpp:19
std::string semantic_cloud_name
Definition windows.hpp:18
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)