ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ModelIO.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <functional>
11
#include <string>
12
13
namespace
cloudViewer
{
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 cloudViewer
filename
std::string filename
Definition:
PointCloudIO.cpp:47
params
cmdLineReadable * params[]
Definition:
SurfaceTrimmer.cpp:47
cloudViewer::io::ReadTriangleModel
bool ReadTriangleModel(const std::string &filename, visualization::rendering::TriangleMeshModel &model, ReadTriangleModelOptions params)
Definition:
ModelIO.cpp:22
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
cloudViewer::io::ReadTriangleModelOptions
Definition:
ModelIO.h:22
cloudViewer::io::ReadTriangleModelOptions::print_progress
bool print_progress
Definition:
ModelIO.h:26
cloudViewer::io::ReadTriangleModelOptions::update_progress
std::function< bool(double)> update_progress
Definition:
ModelIO.h:30
cloudViewer::visualization::rendering::TriangleMeshModel
Definition:
Model.h:18
libs
cloudViewer
io
ModelIO.h
Generated on Wed Jan 28 2026 09:00:55 for ACloudViewer by
1.9.1