Open3D (C++ API)  0.18.0+252c867
Model.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 
12 
13 namespace open3d {
14 namespace visualization {
15 namespace rendering {
16 
18  struct MeshInfo {
19  std::shared_ptr<geometry::TriangleMesh> mesh;
20  std::string mesh_name;
21  unsigned int material_idx;
22  };
23 
24  std::vector<MeshInfo> meshes_;
25  std::vector<visualization::rendering::MaterialRecord> materials_;
26 };
27 
28 } // namespace rendering
29 } // namespace visualization
30 } // namespace open3d
Definition: PinholeCameraIntrinsic.cpp:16
std::shared_ptr< geometry::TriangleMesh > mesh
Definition: Model.h:19
std::vector< visualization::rendering::MaterialRecord > materials_
Definition: Model.h:25
std::vector< MeshInfo > meshes_
Definition: Model.h:24