ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
attributes.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Povl Filip Sonne-Frederiksen
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
7
8#include <CLI/CLI.hpp>
9#include <cstddef>
10#include <memory>
11#include <string>
12
13// CLI options for `rux create attributes`. Defaults MIRROR
14// reusex::vision::DescribeConfig; they are not a second source of truth
15// (STANDARDS ยง4). The struct is initialized from the library defaults in the
16// .cpp so a drift would show up there, not here.
18 std::string api_url;
19 std::string model;
20 std::string api_key; // empty => fall back to $REUSEX_VLM_API_KEY
21 std::string instances_cloud;
22 std::string point_cloud;
23 std::string prompt;
24 bool skip_existing = false;
25 int crop_padding = 8;
28 int total_timeout_s = 120;
29};
30
32 std::shared_ptr<RuxOptions> global_opt);
34 const RuxOptions &global_opt);
int run_subcommand_attributes(SubcommandAttributesOptions const &opt, const RuxOptions &global_opt)
void setup_subcommand_create_attributes(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)