ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
ply.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
#include <string>
12
13
namespace
fs = std::filesystem;
14
15
struct
SubcommandExportPLYOptions
{
16
std::string
cloud_name
=
"cloud"
;
17
fs::path
output_path
;
18
std::string
filter_expr
;
19
};
20
21
void
setup_subcommand_export_ply
(CLI::App &parent,
22
std::shared_ptr<RuxOptions> global_opt);
23
int
run_subcommand_export_ply
(
SubcommandExportPLYOptions
const
&opt,
24
const
RuxOptions
&global_opt);
setup_subcommand_export_ply
void setup_subcommand_export_ply(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
run_subcommand_export_ply
int run_subcommand_export_ply(SubcommandExportPLYOptions const &opt, const RuxOptions &global_opt)
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandExportPLYOptions
Definition
ply.hpp:15
SubcommandExportPLYOptions::filter_expr
std::string filter_expr
Point filter expression (-f).
Definition
ply.hpp:18
SubcommandExportPLYOptions::output_path
fs::path output_path
Output .ply path (-o); default: {cloud_name}.ply.
Definition
ply.hpp:17
SubcommandExportPLYOptions::cloud_name
std::string cloud_name
Cloud name in ProjectDB (–name).
Definition
ply.hpp:16
apps
rux
include
export
ply.hpp
Generated by
1.17.0