Open3D (C++ API)  0.18.0+252c867
OctreeIO.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 
12 #include "open3d/geometry/Octree.h"
13 
14 namespace open3d {
15 namespace io {
16 
19 std::shared_ptr<geometry::Octree> CreateOctreeFromFile(
20  const std::string &filename, const std::string &format = "auto");
21 
25 bool ReadOctree(const std::string &filename,
26  geometry::Octree &octree,
27  const std::string &format = "auto");
28 
34 bool WriteOctree(const std::string &filename, const geometry::Octree &octree);
35 
36 bool ReadOctreeFromJson(const std::string &filename, geometry::Octree &octree);
37 
38 bool WriteOctreeToJson(const std::string &filename,
39  const geometry::Octree &octree);
40 
41 } // namespace io
42 } // namespace open3d
filament::Texture::InternalFormat format
Definition: FilamentResourceManager.cpp:195
std::shared_ptr< geometry::Octree > CreateOctreeFromFile(const std::string &filename, const std::string &format)
Definition: OctreeIO.cpp:33
bool ReadOctreeFromJson(const std::string &filename, geometry::Octree &octree)
Definition: OctreeIO.cpp:85
bool ReadOctree(const std::string &filename, geometry::Octree &octree, const std::string &format)
Definition: OctreeIO.cpp:40
bool WriteOctreeToJson(const std::string &filename, const geometry::Octree &octree)
Definition: OctreeIO.cpp:89
bool WriteOctree(const std::string &filename, const geometry::Octree &octree)
Definition: OctreeIO.cpp:66
Definition: PinholeCameraIntrinsic.cpp:16