All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MultiMaterialSelectionView.h
1 #pragma once
2 
3 #include "Types.h"
4 #include "Collision.h"
5 #include "CollisionVisualization.h"
6 #include "VectorMathDecl.h"
7 
8 #include <vector>
9 #include <string>
10 #include <unordered_map>
11 
12 namespace Eegeo
13 {
14  namespace CollisionVisualization
15  {
16 
18  {
19  public:
21 
23 
24  void SetColor(const v4& color);
25 
26  void SubmitRenderables(CollisionVisualizationRenderer& renderer);
27 
28  void RefreshRenderables(const std::vector<std::string>& collisionMaterialIds,
29  const std::vector<const Collision::CollisionBvh*>& collisionBvhsForView,
30  MaterialSelectionRenderableFactory& renderableFactory);
31 
32  private:
33  std::unordered_map<std::string, MaterialSelectionView*> m_collisionMaterialIdToViews;
34  };
35  }
36 }