Open3D (C++ API)  0.18.0
Loading...
Searching...
No Matches
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
13
14namespace open3d {
15namespace io {
16
19std::shared_ptr<geometry::Octree> CreateOctreeFromFile(
20 const std::string &filename, const std::string &format = "auto");
21
25bool ReadOctree(const std::string &filename,
26 geometry::Octree &octree,
27 const std::string &format = "auto");
28
34bool WriteOctree(const std::string &filename, const geometry::Octree &octree);
35
36bool ReadOctreeFromJson(const std::string &filename, geometry::Octree &octree);
37
38bool 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