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#include <string>
10
11#include <reusex/segmentation/segment_planes.hpp>
12
13namespace fs = std::filesystem;
14
41
47 std::shared_ptr<RuxOptions> global_opt);
48
51
58 const RuxOptions &global_opt);
int run_subcommand_segment_planes(SubcommandSegPlanesOptions const &opt, const RuxOptions &global_opt)
Run the segment planes subcommand with given options.
std::string planes_stage_parameters(SubcommandSegPlanesOptions const &opt)
The stage parameters (pipeline_log / run_stage JSON) these options mean.
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:19
float plane_dist_threshold
Distance threshold for plane detection.
Definition planes.hpp:25
unsigned noise_seed
Deterministic seed for the noise estimator.
Definition planes.hpp:35
float angle_threshold
Angular threshold for plane detection (degrees).
Definition planes.hpp:22
bool min_explicit
User passed -m (pins min_inliers).
Definition planes.hpp:37
std::string filter_expr
Filter expression to limit processing.
Definition planes.hpp:39
bool adaptive
Derive thresholds from measured cloud noise (#214).
Definition planes.hpp:34
bool dist_explicit
User passed -d (pins distance threshold).
Definition planes.hpp:36
int minInliers
Minimum number of inliers for a valid plane.
Definition planes.hpp:28