Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
MeshLoader.h
1 #pragma once
2 
3 #include <string>
4 #include "include_glm.h"
5 #include "include_opengl.h"
6 #include "AbstractMesh.h"
7 #include <assimp/Importer.hpp> // C++ importer interface
8 #include <assimp/scene.h> // Output data structure
9 #include <assimp/postprocess.h> // Post processing flags
10 #include <map>
11 #include "MeshDescriptor.h"
12 #include <iostream>
13 #include "HalfedgeMesh.h"
14 
16 {
17 public:
18  static void LoadMeshes(void);
19  static AbstractMesh* GetMesh(std::string path);
20  static HalfedgeMesh* GetHalfEdgeMesh(std::string path);
21 
22 private:
23  static std::map<std::string, AbstractMesh*> Meshes;
24  static std::map<std::string, HalfedgeMesh*> HalfedgeMeshes;
25 
26  static void LoadMeshFromFile(std::string path, bool genSmooth, AbstractMesh* outputMesh);
27 
28  MeshLoader(void);
29  ~MeshLoader(void);
30 };
31 
Definition: AbstractMesh.h:5
Definition: MeshLoader.h:15
Definition: HalfedgeMesh.h:54