ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
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
13namespace fs = std::filesystem;
14
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
32 std::shared_ptr<RuxOptions> global_opt);
34 const RuxOptions &global_opt);
int run_subcommand_create_materials(SubcommandCreateMaterialsOptions const &opt, const RuxOptions &global_opt)
void setup_subcommand_create_materials(CLI::App &parent, std::shared_ptr< RuxOptions > global_opt)
CLI options for rux create materials — generate one material passport per instance and link it back o...
Definition materials.hpp:17
std::string project_id
Optional project id to associate the created passports with.
Definition materials.hpp:25
std::string instances_cloud_name
Name of the instance-label cloud in ProjectDB.
Definition materials.hpp:19
std::string semantic_cloud_name
Name of the semantic-label cloud, used to name passports by class.
Definition materials.hpp:22
bool clear
Regenerate passports for instances that are already linked.
Definition materials.hpp:28