ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FileFormatIO.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 <string>
11 
12 namespace cloudViewer {
13 namespace io {
14 
17  CONTAINS_POINTS = (1 << 0),
18  CONTAINS_LINES = (1 << 1),
19  CONTAINS_TRIANGLES = (1 << 2),
20 };
21 
25 FileGeometry ReadFileGeometryType(const std::string& path);
26 
27 FileGeometry ReadFileGeometryTypeGLTF(const std::string& path);
28 FileGeometry ReadFileGeometryTypeOBJ(const std::string& path);
29 FileGeometry ReadFileGeometryTypeFBX(const std::string& path);
30 FileGeometry ReadFileGeometryTypeOFF(const std::string& path);
31 FileGeometry ReadFileGeometryTypePCD(const std::string& path);
32 FileGeometry ReadFileGeometryTypePLY(const std::string& path);
33 FileGeometry ReadFileGeometryTypePTS(const std::string& path);
34 FileGeometry ReadFileGeometryTypeSTL(const std::string& path);
35 FileGeometry ReadFileGeometryTypeXYZ(const std::string& path);
36 FileGeometry ReadFileGeometryTypeXYZN(const std::string& path);
37 FileGeometry ReadFileGeometryTypeXYZRGB(const std::string& path);
38 
39 } // namespace io
40 } // namespace cloudViewer
FileGeometry ReadFileGeometryTypePCD(const std::string &path)
FileGeometry ReadFileGeometryTypePTS(const std::string &path)
FileGeometry ReadFileGeometryType(const std::string &path)
FileGeometry ReadFileGeometryTypeOFF(const std::string &path)
FileGeometry ReadFileGeometryTypeXYZ(const std::string &path)
FileGeometry ReadFileGeometryTypeOBJ(const std::string &path)
FileGeometry ReadFileGeometryTypeGLTF(const std::string &path)
FileGeometry ReadFileGeometryTypeXYZN(const std::string &path)
FileGeometry ReadFileGeometryTypePLY(const std::string &path)
FileGeometry ReadFileGeometryTypeSTL(const std::string &path)
FileGeometry ReadFileGeometryTypeFBX(const std::string &path)
FileGeometry ReadFileGeometryTypeXYZRGB(const std::string &path)
static const std::string path
Definition: PointCloud.cpp:59
Generic file read and write utility for python interface.