Open3D (C++ API)  0.18.0
FileFormatIO.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 
12 namespace open3d {
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 open3d
FileGeometry ReadFileGeometryTypeGLTF(const std::string &path)
Definition: FileGLTF.cpp:71
FileGeometry
Definition: FileFormatIO.h:15
@ CONTAINS_POINTS
Definition: FileFormatIO.h:17
@ CONTAINS_TRIANGLES
Definition: FileFormatIO.h:19
@ CONTENTS_UNKNOWN
Definition: FileFormatIO.h:16
@ CONTAINS_LINES
Definition: FileFormatIO.h:18
FileGeometry ReadFileGeometryTypePTS(const std::string &path)
Definition: FilePTS.cpp:20
FileGeometry ReadFileGeometryTypeXYZN(const std::string &path)
Definition: FileXYZN.cpp:19
FileGeometry ReadFileGeometryTypePCD(const std::string &path)
Definition: FilePCD.cpp:731
FileGeometry ReadFileGeometryTypeOFF(const std::string &path)
Definition: FileOFF.cpp:20
FileGeometry ReadFileGeometryTypeFBX(const std::string &path)
Definition: FileASSIMP.cpp:35
FileGeometry ReadFileGeometryTypeSTL(const std::string &path)
Definition: FileSTL.cpp:20
FileGeometry ReadFileGeometryTypeXYZRGB(const std::string &path)
Definition: FileXYZRGB.cpp:19
FileGeometry ReadFileGeometryType(const std::string &path)
Definition: FileFormatIO.cpp:32
FileGeometry ReadFileGeometryTypeOBJ(const std::string &path)
Definition: FileOBJ.cpp:24
FileGeometry ReadFileGeometryTypePLY(const std::string &path)
Definition: FilePLY.cpp:345
FileGeometry ReadFileGeometryTypeXYZ(const std::string &path)
Definition: FileXYZ.cpp:21
Definition: PinholeCameraIntrinsic.cpp:16