ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
view.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
#include <CLI/CLI.hpp>
8
#include <memory>
9
namespace
fs = std::filesystem;
10
12
struct
SubcommandViewOptions
{
13
// View command now exclusively uses global project database
14
std::string
filter_expr
;
15
};
16
17
// Function declarations.
18
void
setup_subcommand_view
(CLI::App &app,
19
std::shared_ptr<RuxOptions> global_opt);
20
int
run_subcommand_view
(
SubcommandViewOptions
const
&opt,
21
const
RuxOptions
&global_opt);
global-params.hpp
RuxOptions
Definition
global-params.hpp:44
SubcommandViewOptions
Collection of all options of Subcommand A.
Definition
view.hpp:12
SubcommandViewOptions::filter_expr
std::string filter_expr
Filter expression for limiting visualization.
Definition
view.hpp:14
run_subcommand_view
int run_subcommand_view(SubcommandViewOptions const &opt, const RuxOptions &global_opt)
setup_subcommand_view
void setup_subcommand_view(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
apps
rux
include
view.hpp
Generated by
1.17.0