ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Model.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 <ecvMesh.h>
11 
13 
14 namespace cloudViewer {
15 namespace visualization {
16 namespace rendering {
17 
19  struct MeshInfo {
20  std::shared_ptr<ccMesh> mesh;
21  std::string mesh_name;
22  unsigned int material_idx;
23  };
24 
25  std::vector<MeshInfo> meshes_;
26  std::vector<visualization::rendering::MaterialRecord> materials_;
27 };
28 
29 } // namespace rendering
30 } // namespace visualization
31 } // namespace cloudViewer
Generic file read and write utility for python interface.
std::vector< visualization::rendering::MaterialRecord > materials_
Definition: Model.h:26