ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
render.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 <memory>
10#include <string>
11
12namespace fs = std::filesystem;
13
20 fs::path output = "render.png";
22 std::string view;
24 std::string layers;
26 std::string size;
27 std::string cloud_name;
28 std::string mesh_name;
29 double point_size = 0.0;
30 double orbit_elevation_deg = 0.0;
33 double cut_height = 0.0;
34};
35
36// Function declarations
37void setup_subcommand_render(CLI::App &app,
38 std::shared_ptr<RuxOptions> global_opt);
40 const RuxOptions &global_opt);
void setup_subcommand_render(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
int run_subcommand_render(SubcommandRenderOptions const &opt, const RuxOptions &global_opt)
Options for the render subcommand.
Definition render.hpp:19
std::string layers
Comma-separated layer names.
Definition render.hpp:24
std::string cloud_name
Definition render.hpp:27
std::string size
WxH.
Definition render.hpp:26
std::string view
top, plan[:height], front, orbit[:N] or frame:<node_id>.
Definition render.hpp:22
double cut_height
Cut height in metres above the floor; <= 0 means "let the library deriveit", which is how --view plan...
Definition render.hpp:33
std::string mesh_name
Definition render.hpp:28