ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
clouds.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
6
#include "
../global-params.hpp
"
7
8
#include <CLI/CLI.hpp>
9
#include <filesystem>
10
#include <memory>
11
12
namespace
fs = std::filesystem;
13
14
struct
SubcommandCreateCloudsOptions
{
15
float
resolution
= 0.05f;
16
float
min_distance
= 0.0f;
17
float
max_distance
= 4.0f;
18
int
sampling_factor
= 4;
19
int
confidence_threshold
= 2;
20
};
21
22
// Function declarations.
23
void
setup_subcommand_create_clouds
(CLI::App &app, std::shared_ptr<RuxOptions> global_opt);
24
int
run_subcommand_create_clouds
(
SubcommandCreateCloudsOptions
const
&opt,
const
RuxOptions
&global_opt);
setup_subcommand_create_clouds
void setup_subcommand_create_clouds(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_create_clouds
int run_subcommand_create_clouds(SubcommandCreateCloudsOptions const &opt, const RuxOptions &global_opt)
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandCreateCloudsOptions
Definition
clouds.hpp:14
SubcommandCreateCloudsOptions::max_distance
float max_distance
Definition
clouds.hpp:17
SubcommandCreateCloudsOptions::resolution
float resolution
Definition
clouds.hpp:15
SubcommandCreateCloudsOptions::confidence_threshold
int confidence_threshold
Definition
clouds.hpp:19
SubcommandCreateCloudsOptions::min_distance
float min_distance
Definition
clouds.hpp:16
SubcommandCreateCloudsOptions::sampling_factor
int sampling_factor
Definition
clouds.hpp:18
apps
rux
include
create
clouds.hpp
Generated by
1.16.1