ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::geometry::SegmentPlanesOptions Struct Reference

#include <segment_planes.hpp>

Public Attributes

IndicesConstPtr filter = nullptr
float angle_threshold = 25.0F
float plane_dist_threshold = 0.07F
int min_inliers = 1000
float radius = 0.5F
float interval_0 = 16.0F
float interval_factor = 1.5F
bool adaptive = true
 Enable noise-adaptive threshold derivation (default ON, issue #214).
std::optional< float > plane_dist_threshold_override
 Explicit distance-threshold override [m]; bypasses adaptivity when set.
std::optional< int > min_inliers_override
 Explicit min-inliers override; bypasses adaptivity when set.
unsigned noise_seed = 42
 Deterministic seed for the noise estimator (STANDARDS §6).
float dist_sigma_factor = 3.0F
 plane_dist_threshold = clamp(dist_sigma_factor * sigma, dist_min, dist_max)
float dist_min = 0.01F
 lower clamp for adaptive distance threshold [m]
float dist_max = 0.15F
 upper clamp for adaptive distance threshold [m]
float min_surface_area = 0.5F
 Target minimum planar surface area [m^2] used to scale min_inliers by the measured point density (points ≈ area / spacing^2).
int min_inliers_floor = 100
 lower clamp for adaptive min_inliers
int min_inliers_ceiling = 5000
 upper clamp for adaptive min_inliers
int warn_plane_count = 60
 Warn when the detected plane count exceeds this (over-fragmentation).
float warn_labeled_fraction = 0.30F
 Warn when the labeled point fraction falls below this (under-coverage).
const std::atomic_bool * cancel_token = nullptr

Detailed Description

Definition at line 23 of file segment_planes.hpp.

Member Data Documentation

◆ adaptive

bool reusex::geometry::SegmentPlanesOptions::adaptive = true

Enable noise-adaptive threshold derivation (default ON, issue #214).

Definition at line 42 of file segment_planes.hpp.

◆ angle_threshold

float reusex::geometry::SegmentPlanesOptions::angle_threshold = 25.0F

Definition at line 26 of file segment_planes.hpp.

◆ cancel_token

const std::atomic_bool* reusex::geometry::SegmentPlanesOptions::cancel_token = nullptr

Definition at line 70 of file segment_planes.hpp.

◆ dist_max

float reusex::geometry::SegmentPlanesOptions::dist_max = 0.15F

upper clamp for adaptive distance threshold [m]

Definition at line 55 of file segment_planes.hpp.

◆ dist_min

float reusex::geometry::SegmentPlanesOptions::dist_min = 0.01F

lower clamp for adaptive distance threshold [m]

Definition at line 54 of file segment_planes.hpp.

◆ dist_sigma_factor

float reusex::geometry::SegmentPlanesOptions::dist_sigma_factor = 3.0F

plane_dist_threshold = clamp(dist_sigma_factor * sigma, dist_min, dist_max)

Definition at line 53 of file segment_planes.hpp.

◆ filter

IndicesConstPtr reusex::geometry::SegmentPlanesOptions::filter = nullptr

Definition at line 24 of file segment_planes.hpp.

◆ interval_0

float reusex::geometry::SegmentPlanesOptions::interval_0 = 16.0F

Definition at line 38 of file segment_planes.hpp.

◆ interval_factor

float reusex::geometry::SegmentPlanesOptions::interval_factor = 1.5F

Definition at line 39 of file segment_planes.hpp.

◆ min_inliers

int reusex::geometry::SegmentPlanesOptions::min_inliers = 1000

Definition at line 35 of file segment_planes.hpp.

◆ min_inliers_ceiling

int reusex::geometry::SegmentPlanesOptions::min_inliers_ceiling = 5000

upper clamp for adaptive min_inliers

Definition at line 60 of file segment_planes.hpp.

◆ min_inliers_floor

int reusex::geometry::SegmentPlanesOptions::min_inliers_floor = 100

lower clamp for adaptive min_inliers

Definition at line 59 of file segment_planes.hpp.

◆ min_inliers_override

std::optional<int> reusex::geometry::SegmentPlanesOptions::min_inliers_override

Explicit min-inliers override; bypasses adaptivity when set.

Definition at line 46 of file segment_planes.hpp.

◆ min_surface_area

float reusex::geometry::SegmentPlanesOptions::min_surface_area = 0.5F

Target minimum planar surface area [m^2] used to scale min_inliers by the measured point density (points ≈ area / spacing^2).

Definition at line 58 of file segment_planes.hpp.

◆ noise_seed

unsigned reusex::geometry::SegmentPlanesOptions::noise_seed = 42

Deterministic seed for the noise estimator (STANDARDS §6).

Definition at line 48 of file segment_planes.hpp.

◆ plane_dist_threshold

float reusex::geometry::SegmentPlanesOptions::plane_dist_threshold = 0.07F

Definition at line 34 of file segment_planes.hpp.

◆ plane_dist_threshold_override

std::optional<float> reusex::geometry::SegmentPlanesOptions::plane_dist_threshold_override

Explicit distance-threshold override [m]; bypasses adaptivity when set.

Definition at line 44 of file segment_planes.hpp.

◆ radius

float reusex::geometry::SegmentPlanesOptions::radius = 0.5F

Definition at line 37 of file segment_planes.hpp.

◆ warn_labeled_fraction

float reusex::geometry::SegmentPlanesOptions::warn_labeled_fraction = 0.30F

Warn when the labeled point fraction falls below this (under-coverage).

Definition at line 66 of file segment_planes.hpp.

◆ warn_plane_count

int reusex::geometry::SegmentPlanesOptions::warn_plane_count = 60

Warn when the detected plane count exceeds this (over-fragmentation).

Definition at line 64 of file segment_planes.hpp.


The documentation for this struct was generated from the following file: