ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
global-params.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 <ReUseX/types.hpp>
7
8#include <filesystem>
9
13using LocT = pcl::PointXYZ;
14
18
22
26
30
31using CloudLoc = pcl::PointCloud<LocT>;
32using CloudLocPtr = typename CloudLoc::Ptr;
33using CloudLocConstPtr = typename CloudLoc::ConstPtr;
34
42
43namespace fs = std::filesystem;
44
46namespace GlobalParams {
47
48const fs::path db = fs::current_path() / "database.db";
49
50// PointT
51const fs::path cloud = fs::current_path() / "cloud.pcd";
52// PointN
53const fs::path normals = fs::current_path() / "normals.pcd";
54// PointL
55const fs::path labels = fs::current_path() / "labels.pcd";
56const fs::path planes = fs::current_path() / "planes.pcd";
57const fs::path rooms = fs::current_path() / "rooms.pcd";
58
59const fs::path plane_centroids = fs::current_path() / "plane_centroids.pcd";
60const fs::path plane_normals = fs::current_path() / "plane_normals.pcd";
61
62const double resulution = 0.05;
63const double grid_size = 0.5;
64const bool visualize = false;
65}; // namespace GlobalParams
ReUseX::Indices Indices
ReUseX::NormalT NormalT
ReUseX::Cloud Cloud
ReUseX::IndicesConstPtr IndicesConstPtr
ReUseX::CloudLConstPtr CloudLConstPtr
ReUseX::CloudPtr CloudPtr
ReUseX::CloudConstPtr CloudConstPtr
pcl::PointCloud< LocT > CloudLoc
ReUseX::CloudL CloudL
ReUseX::IndicesPtr IndicesPtr
RuxError
@ NOT_IMPLEMENTED
@ INVALID_ARGUMENT
@ GENERIC
@ SUCCESS
@ IO
ReUseX::CloudLPtr CloudLPtr
ReUseX::LabelT LabelT
ReUseX::CloudNConstPtr CloudNConstPtr
ReUseX::PointT PointT
ReUseX::CloudNPtr CloudNPtr
ReUseX::CloudN CloudN
Collection of all options of Subcommand A.
const fs::path plane_normals
const fs::path db
const fs::path plane_centroids
const fs::path rooms
const bool visualize
const fs::path cloud
const double resulution
const fs::path planes
const fs::path normals
const double grid_size
const fs::path labels
pcl::PointCloud< NormalT > CloudN
Definition types.hpp:25
typename CloudN::Ptr CloudNPtr
Definition types.hpp:26
pcl::PointXYZRGB PointT
Definition types.hpp:12
pcl::Indices Indices
Definition types.hpp:17
pcl::Normal NormalT
Definition types.hpp:13
typename CloudL::ConstPtr CloudLConstPtr
Definition types.hpp:31
pcl::IndicesPtr IndicesPtr
Definition types.hpp:18
typename Cloud::Ptr CloudPtr
Definition types.hpp:22
pcl::Label LabelT
Definition types.hpp:14
pcl::PointCloud< LabelT > CloudL
Definition types.hpp:29
typename CloudN::ConstPtr CloudNConstPtr
Definition types.hpp:27
pcl::IndicesConstPtr IndicesConstPtr
Definition types.hpp:19
pcl::PointCloud< PointT > Cloud
Definition types.hpp:21
typename CloudL::Ptr CloudLPtr
Definition types.hpp:30
typename Cloud::ConstPtr CloudConstPtr
Definition types.hpp:23