ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
materials.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
17
struct
SubcommandCreateMaterialsOptions
{
19
std::string
instances_cloud_name
=
"instances"
;
20
22
std::string
semantic_cloud_name
=
"labels"
;
23
25
std::string
project_id
;
26
28
bool
clear
=
false
;
29
};
30
31
void
setup_subcommand_create_materials
(CLI::App &parent,
32
std::shared_ptr<RuxOptions> global_opt);
33
int
run_subcommand_create_materials
(
SubcommandCreateMaterialsOptions
const
&opt,
34
const
RuxOptions
&global_opt);
global-params.hpp
run_subcommand_create_materials
int run_subcommand_create_materials(SubcommandCreateMaterialsOptions const &opt, const RuxOptions &global_opt)
setup_subcommand_create_materials
void setup_subcommand_create_materials(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
RuxOptions
Definition
global-params.hpp:44
SubcommandCreateMaterialsOptions
CLI options for rux create materials — generate one material passport per instance and link it back o...
Definition
materials.hpp:17
SubcommandCreateMaterialsOptions::project_id
std::string project_id
Optional project id to associate the created passports with.
Definition
materials.hpp:25
SubcommandCreateMaterialsOptions::instances_cloud_name
std::string instances_cloud_name
Name of the instance-label cloud in ProjectDB.
Definition
materials.hpp:19
SubcommandCreateMaterialsOptions::semantic_cloud_name
std::string semantic_cloud_name
Name of the semantic-label cloud, used to name passports by class.
Definition
materials.hpp:22
SubcommandCreateMaterialsOptions::clear
bool clear
Regenerate passports for instances that are already linked.
Definition
materials.hpp:28
apps
rux
include
create
materials.hpp
Generated by
1.17.0