ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
ply.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
11
namespace
reusex
{
12
class
ProjectDB
;
13
}
14
15
namespace
reusex::io
{
16
17
// ── Import
18
// ────────────────────────────────────────────────────────────────────
19
32
void
import_ply
(
ProjectDB
&db,
const
std::filesystem::path &ply_path);
33
34
// ── Export
35
// ────────────────────────────────────────────────────────────────────
36
46
void
export_ply
(
const
std::filesystem::path &path,
const
Cloud
&cloud,
47
const
CloudN
*normals =
nullptr
);
48
49
}
// namespace reusex::io
reusex::ProjectDB
Definition
ProjectDB.hpp:31
reusex::io
Definition
e57.hpp:17
reusex::io::import_ply
void import_ply(ProjectDB &db, const std::filesystem::path &ply_path)
Import a point cloud from a PLY file into a ProjectDB.
reusex::io::export_ply
void export_ply(const std::filesystem::path &path, const Cloud &cloud, const CloudN *normals=nullptr)
Export a point cloud to a binary PLY file.
reusex
Definition
filter_expression.hpp:12
reusex::Cloud
pcl::PointCloud< PointT > Cloud
Definition
types.hpp:26
reusex::CloudN
pcl::PointCloud< NormalT > CloudN
Definition
types.hpp:30
libs
reusex
include
io
ply.hpp
Generated by
1.17.0