ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
planes.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_planes.hpp>
11
12namespace fs = std::filesystem;
13
40
46 std::shared_ptr<RuxOptions> global_opt);
47
54 const RuxOptions &global_opt);
int run_subcommand_segment_planes(SubcommandSegPlanesOptions const &opt, const RuxOptions &global_opt)
Run the segment planes subcommand with given options.
void setup_subcommand_create_planes(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
Setup the segment planes subcommand in the CLI application.
Collection of all options for plane segmentation subcommand.
Definition planes.hpp:18
float plane_dist_threshold
Distance threshold for plane detection.
Definition planes.hpp:24
unsigned noise_seed
Deterministic seed for the noise estimator.
Definition planes.hpp:34
float angle_threshold
Angular threshold for plane detection (degrees).
Definition planes.hpp:21
bool min_explicit
User passed -m (pins min_inliers).
Definition planes.hpp:36
std::string filter_expr
Filter expression to limit processing.
Definition planes.hpp:38
bool adaptive
Derive thresholds from measured cloud noise (#214).
Definition planes.hpp:33
bool dist_explicit
User passed -d (pins distance threshold).
Definition planes.hpp:35
int minInliers
Minimum number of inliers for a valid plane.
Definition planes.hpp:27