Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
PointCloudIO.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// Copyright (c) 2018-2024 www.open3d.org
5// SPDX-License-Identifier: MIT
6// ----------------------------------------------------------------------------
7
8#pragma once
9
10#include <string>
11
14
15namespace open3d {
16namespace t {
17namespace io {
18
21
24std::shared_ptr<geometry::PointCloud> CreatePointCloudFromFile(
25 const std::string &filename,
26 const std::string &format = "auto",
27 bool print_progress = false);
28
33bool ReadPointCloud(const std::string &filename,
34 geometry::PointCloud &pointcloud,
35 const ReadPointCloudOption &params = {});
36
41bool WritePointCloud(const std::string &filename,
42 const geometry::PointCloud &pointcloud,
43 const WritePointCloudOption &params = {});
44
45bool ReadPointCloudFromNPZ(const std::string &filename,
46 geometry::PointCloud &pointcloud,
47 const ReadPointCloudOption &params);
48
49bool WritePointCloudToNPZ(const std::string &filename,
50 const geometry::PointCloud &pointcloud,
51 const WritePointCloudOption &params);
52
53bool ReadPointCloudFromTXT(const std::string &filename,
54 geometry::PointCloud &pointcloud,
55 const ReadPointCloudOption &params);
56
57bool WritePointCloudToTXT(const std::string &filename,
58 const geometry::PointCloud &pointcloud,
59 const WritePointCloudOption &params);
60
61bool ReadPointCloudFromPCD(const std::string &filename,
62 geometry::PointCloud &pointcloud,
63 const ReadPointCloudOption &params);
64
65bool WritePointCloudToPCD(const std::string &filename,
66 const geometry::PointCloud &pointcloud,
67 const WritePointCloudOption &params);
68
72bool ReadPointCloudFromPLY(const std::string &filename,
73 geometry::PointCloud &pointcloud,
74 const ReadPointCloudOption &params);
75
76bool WritePointCloudToPLY(const std::string &filename,
77 const geometry::PointCloud &pointcloud,
78 const WritePointCloudOption &params);
79
82bool ReadPointCloudFromSPLAT(const std::string &filename,
83 geometry::PointCloud &pointcloud,
84 const ReadPointCloudOption &params);
85
86bool WritePointCloudToSPLAT(const std::string &filename,
87 const geometry::PointCloud &pointcloud,
88 const WritePointCloudOption &params);
89
95bool ReadPointCloudFromSPZ(const std::string &filename,
96 geometry::PointCloud &pointcloud,
97 const ReadPointCloudOption &params);
98
101bool WritePointCloudToSPZ(const std::string &filename,
102 const geometry::PointCloud &pointcloud,
103 const WritePointCloudOption &params);
104
105bool ReadPointCloudFromPTS(const std::string &filename,
106 geometry::PointCloud &pointcloud,
107 const ReadPointCloudOption &params);
108
109bool WritePointCloudToPTS(const std::string &filename,
110 const geometry::PointCloud &pointcloud,
111 const WritePointCloudOption &params);
112
113} // namespace io
114} // namespace t
115} // namespace open3d
filament::Texture::InternalFormat format
Definition FilamentResourceManager.cpp:202
double t
Definition SurfaceReconstructionPoisson.cpp:172
bool ReadPointCloudFromSPLAT(const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &params)
Definition FileSPLAT.cpp:83
bool ReadPointCloudFromTXT(const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &params)
Definition FileTXT.cpp:26
std::shared_ptr< geometry::PointCloud > CreatePointCloudFromFile(const std::string &filename, const std::string &format, bool print_progress)
Definition PointCloudIO.cpp:62
bool WritePointCloudToPLY(const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
Definition FilePLY.cpp:382
bool WritePointCloudToPCD(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption &params)
Definition FilePCD.cpp:1180
bool WritePointCloudToSPLAT(const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
Definition FileSPLAT.cpp:209
bool ReadPointCloudFromSPZ(const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &)
Definition FileSPZ.cpp:67
bool ReadPointCloud(const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &params)
Definition PointCloudIO.cpp:72
bool ReadPointCloudFromPLY(const std::string &filename, geometry::PointCloud &pointcloud, const open3d::io::ReadPointCloudOption &params)
Definition FilePLY.cpp:177
bool WritePointCloudToSPZ(const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
Definition FileSPZ.cpp:158
bool WritePointCloud(const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
Definition PointCloudIO.cpp:135
bool WritePointCloudToTXT(const std::string &filename, const geometry::PointCloud &pointcloud, const open3d::io::WritePointCloudOption &params)
Definition FileTXT.cpp:130
bool WritePointCloudToNPZ(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption &params)
Definition PointCloudIO.cpp:183
bool ReadPointCloudFromPTS(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption &params)
Definition FilePTS.cpp:22
bool ReadPointCloudFromNPZ(const std::string &filename, geometry::PointCloud &pointcloud, const ReadPointCloudOption &params)
Definition PointCloudIO.cpp:175
bool WritePointCloudToPTS(const std::string &filename, const geometry::PointCloud &pointcloud, const WritePointCloudOption &params)
Definition FilePTS.cpp:190
bool ReadPointCloudFromPCD(const std::string &filename, t::geometry::PointCloud &pointcloud, const ReadPointCloudOption &params)
Definition FilePCD.cpp:1142
Definition PinholeCameraIntrinsic.cpp:16
Optional parameters to ReadPointCloud.
Definition PointCloudIO.h:34
Optional parameters to WritePointCloud.
Definition PointCloudIO.h:89