ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
mesh.hpp File Reference
#include "../global-params.hpp"
#include <CLI/CLI.hpp>
#include <filesystem>
#include <string>
Include dependency graph for mesh.hpp:

Go to the source code of this file.

Classes

struct  SubcommandGetMeshOptions
 Options for the 'get mesh' subcommand. More...

Functions

int run_subcommand_get_mesh (SubcommandGetMeshOptions const &opt, const RuxOptions &global_opt)
 Run the 'get mesh' subcommand.
void setup_subcommand_get_mesh (CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
 Setup the 'get mesh' subcommand.

Function Documentation

◆ run_subcommand_get_mesh()

int run_subcommand_get_mesh ( SubcommandGetMeshOptions const & opt,
const RuxOptions & global_opt )

Run the 'get mesh' subcommand.

Exports a specific mesh from ProjectDB to a standard file format. Supports OBJ (with textures) and PLY formats.

Parameters
optOptions for the subcommand
global_optGlobal options (contains project DB path)
Returns
Exit code (0 for success)

◆ setup_subcommand_get_mesh()

void setup_subcommand_get_mesh ( CLI::App & app,
std::shared_ptr< RuxOptions > global_opt )

Setup the 'get mesh' subcommand.

Parameters
appCLI11 app to add the subcommand to
global_optGlobal options shared pointer