Open3D (C++ API)
0.18.0+252c867
cpp
open3d
io
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
22
struct
ReadTriangleModelOptions
{
26
bool
print_progress
=
false
;
30
std::function<bool(
double
)>
update_progress
;
31
};
32
33
bool
ReadTriangleModel
(
const
std::string& filename,
34
visualization::rendering::TriangleMeshModel
& model,
35
ReadTriangleModelOptions
params = {});
36
37
}
// namespace io
38
}
// namespace open3d
open3d::io::ReadTriangleModel
bool ReadTriangleModel(const std::string &filename, visualization::rendering::TriangleMeshModel &model, ReadTriangleModelOptions params)
Definition:
ModelIO.cpp:23
open3d
Definition:
PinholeCameraIntrinsic.cpp:16
open3d::io::ReadTriangleModelOptions
Definition:
ModelIO.h:22
open3d::io::ReadTriangleModelOptions::update_progress
std::function< bool(double)> update_progress
Definition:
ModelIO.h:30
open3d::io::ReadTriangleModelOptions::print_progress
bool print_progress
Definition:
ModelIO.h:26
open3d::visualization::rendering::TriangleMeshModel
Definition:
Model.h:17
Generated by
1.9.1