ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
e57.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
7#include "reusex/types.hpp"
8
9#include <filesystem>
10#include <string>
11#include <vector>
12
13namespace reusex {
14class ProjectDB;
15}
16
17namespace reusex::io {
18
19// ── Import
20// ────────────────────────────────────────────────────────────────────
21
34void import_e57(ProjectDB &db, const std::filesystem::path &e57_path);
35
36// ── Export
37// ────────────────────────────────────────────────────────────────────
38
45
54void export_e57(const std::filesystem::path &path,
55 const std::vector<E57ScanExport> &scans);
56
57} // namespace reusex::io
void import_e57(ProjectDB &db, const std::filesystem::path &e57_path)
Import point cloud data from an E57 file into a ProjectDB.
void export_e57(const std::filesystem::path &path, const std::vector< E57ScanExport > &scans)
Export one or more XYZRGB clouds as separate scan positions in an E57 file.
typename Cloud::ConstPtr CloudConstPtr
Definition types.hpp:28
typename CloudN::ConstPtr CloudNConstPtr
Definition types.hpp:32
A single scan position to write into an E57 file.
Definition e57.hpp:40
std::string name
Scan name written into the E57 header.
Definition e57.hpp:41
CloudNConstPtr normals
Surface normals (nullptr = omit normals).
Definition e57.hpp:43
CloudConstPtr cloud
XYZRGB point cloud (required).
Definition e57.hpp:42