Vis 2
Kinetic Visualization for 3D shape and structure
 All Classes Namespaces Functions Pages
RenderManager.h
1 #pragma once
2 
3 #include "IRenderer.h"
4 #include <vector>
5 #include <unordered_map>
6 #include "ParticleRenderer.h"
7 
12 {
13 public:
14  static void Initialize();
15  static void Draw();
16 
17  static bool AddRendererPushBack(IRenderer *r);
18  static IRenderer* GetRenderer(std::string name);
19  static void ClearRenderables();
20  static int NumberOfRenderables();
21 
22  static const std::string BASIC_RENDERER;
23  static const std::string COLORED_RENDERER;
24  static const std::string PARTICLE_RENDERER;
25  static const std::string MESH_RENDERER;
26 
27  static bool EnableWireframe;
28  static bool EnableLighting;
29  static bool EnablePausing;
30 
31  static ParticleRenderer * ParticleRendererRef;
32 private:
33  static std::vector<IRenderer*> Renderer;
34  static std::unordered_map<std::string, IRenderer*> RendererMap;
35  ~RenderManager();
36 
37 };
38 
Definition: IRenderer.h:10
Definition: RenderManager.h:11
Definition: ParticleRenderer.h:12