Open3D (C++ API)  0.18.0+252c867
ModelIO.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 <functional>
11 #include <string>
12 
13 namespace open3d {
14 namespace visualization {
15 namespace rendering {
16 struct TriangleMeshModel;
17 }
18 } // namespace visualization
19 
20 namespace io {
21 
26  bool print_progress = false;
30  std::function<bool(double)> update_progress;
31 };
32 
33 bool ReadTriangleModel(const std::string& filename,
35  ReadTriangleModelOptions params = {});
36 
37 } // namespace io
38 } // namespace open3d
bool ReadTriangleModel(const std::string &filename, visualization::rendering::TriangleMeshModel &model, ReadTriangleModelOptions params)
Definition: ModelIO.cpp:23
Definition: PinholeCameraIntrinsic.cpp:16
Definition: ModelIO.h:22
std::function< bool(double)> update_progress
Definition: ModelIO.h:30
bool print_progress
Definition: ModelIO.h:26