Open3D (C++ API)  0.18.0+90810a3
LineSetIO.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <string>
11 
13 
14 namespace open3d {
15 namespace io {
16 
19 std::shared_ptr<geometry::LineSet> CreateLineSetFromFile(
20  const std::string &filename,
21  const std::string &format = "auto",
22  bool print_progress = false);
23 
27 bool ReadLineSet(const std::string &filename,
28  geometry::LineSet &lineset,
29  const std::string &format = "auto",
30  bool print_progress = false);
31 
37 bool WriteLineSet(const std::string &filename,
38  const geometry::LineSet &lineset,
39  bool write_ascii = false,
40  bool compressed = false,
41  bool print_progress = false);
42 
43 bool ReadLineSetFromPLY(const std::string &filename,
44  geometry::LineSet &lineset,
45  bool print_progress = false);
46 
47 bool WriteLineSetToPLY(const std::string &filename,
48  const geometry::LineSet &lineset,
49  bool write_ascii = false,
50  bool compressed = false,
51  bool print_progress = false);
52 
53 } // namespace io
54 } // namespace open3d
filament::Texture::InternalFormat format
Definition: FilamentResourceManager.cpp:195
bool WriteLineSetToPLY(const std::string &filename, const geometry::LineSet &lineset, bool write_ascii, bool compressed, bool print_progress)
Definition: FilePLY.cpp:763
bool ReadLineSetFromPLY(const std::string &filename, geometry::LineSet &lineset, bool print_progress)
Definition: FilePLY.cpp:694
bool WriteLineSet(const std::string &filename, const geometry::LineSet &lineset, bool write_ascii, bool compressed, bool print_progress)
Definition: LineSetIO.cpp:77
bool ReadLineSet(const std::string &filename, geometry::LineSet &lineset, const std::string &format, bool print_progress)
Definition: LineSetIO.cpp:49
std::shared_ptr< geometry::LineSet > CreateLineSetFromFile(const std::string &filename, const std::string &format, bool print_progress)
Definition: LineSetIO.cpp:40
Definition: PinholeCameraIntrinsic.cpp:16