ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
SubcommandEditDownsampleOptions Struct Reference

#include <downsample.hpp>

Collaboration diagram for SubcommandEditDownsampleOptions:

Public Attributes

std::string input = "cloud"
 Source cloud name in the project DB.
std::string output
 Output cloud name. Empty string means "same as input" (overwrite).
float resolution = 0.0f
 Voxel leaf size in meters. Required; non-positive values are rejected.
bool only_primary = false
 When set, only the primary cloud is downsampled.
bool force_desync = false
 Required together with only_primary to actually perform a desynchronizing downsample (docs/STANDARDS.md §5, loud failure).

Detailed Description

Definition at line 13 of file downsample.hpp.

Member Data Documentation

◆ force_desync

bool SubcommandEditDownsampleOptions::force_desync = false

Required together with only_primary to actually perform a desynchronizing downsample (docs/STANDARDS.md §5, loud failure).

Definition at line 31 of file downsample.hpp.

◆ input

std::string SubcommandEditDownsampleOptions::input = "cloud"

Source cloud name in the project DB.

Defaults to "cloud" (the canonical name produced by import / reconstruct).

Definition at line 16 of file downsample.hpp.

◆ only_primary

bool SubcommandEditDownsampleOptions::only_primary = false

When set, only the primary cloud is downsampled.

Because this desynchronizes every index-aligned sibling (normals, labels, planes, rooms, instances), it is refused unless force_desync is also set.

Definition at line 27 of file downsample.hpp.

◆ output

std::string SubcommandEditDownsampleOptions::output

Output cloud name. Empty string means "same as input" (overwrite).

Definition at line 19 of file downsample.hpp.

◆ resolution

float SubcommandEditDownsampleOptions::resolution = 0.0f

Voxel leaf size in meters. Required; non-positive values are rejected.

Definition at line 22 of file downsample.hpp.


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