ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
texture.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
7#include <CLI/CLI.hpp>
8#include <memory>
9#include <string>
10
11namespace fs = std::filesystem;
12
15 std::string mesh_name = "mesh";
16 std::string output_name =
17 "textured_mesh";
18 std::string cloud_name = "cloud";
20 false;
21 float texels_per_meter = 400.0f;
22 int max_resolution = 4096;
23 int atlas_tile_size = 2048;
24 float distance_threshold = 0.02f;
25};
26
27// Function declarations.
29 std::shared_ptr<RuxOptions> global_opt);
31 const RuxOptions &global_opt);
Collection of all options of Subcommand A.
Definition texture.hpp:14
int atlas_tile_size
Atlas tile size for PCL visualization.
Definition texture.hpp:23
std::string cloud_name
Point cloud name in ProjectDB.
Definition texture.hpp:18
std::string output_name
Output textured mesh name in ProjectDB.
Definition texture.hpp:16
bool debug_colors
Use distinct colors for UV mapping verification.
Definition texture.hpp:19
int max_resolution
Maximum texture size.
Definition texture.hpp:22
float distance_threshold
Max distance from point to surface.
Definition texture.hpp:24
float texels_per_meter
Target texture resolution.
Definition texture.hpp:21
std::string mesh_name
Mesh name in ProjectDB.
Definition texture.hpp:15
int run_subcommand_texture(SubcommandTextureOptions const &opt, const RuxOptions &global_opt)
void setup_subcommand_create_texture(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)