gramods
ViewMixView.hh
1 
2 #ifndef GRAMODS_GRAPHICS_VIEWMIXVIEW
3 #define GRAMODS_GRAPHICS_VIEWMIXVIEW
4 
5 #include <gmGraphics/View.hh>
6 
7 #include <gmGraphics/Geometry.hh>
8 
9 BEGIN_NAMESPACE_GMGRAPHICS;
10 
15  : public View {
16 
17 public:
18 
19  ViewMixView();
20  virtual ~ViewMixView();
21 
26  void renderFullPipeline(ViewSettings settings) override;
27 
33  void traverse(Visitor *visitor) override;
34 
48  void setMixType(std::string);
49 
55  void addView(std::shared_ptr<View>);
56 
57  GM_OFI_DECLARE;
58 
59 private:
60 
61  struct Impl;
62  std::unique_ptr<Impl> _impl;
63 };
64 
65 END_NAMESPACE_GMGRAPHICS;
66 
67 #endif
This view mixes the graphics from two or more other views.
Definition: ViewMixView.hh:15
The base of graphics View implementations.
Definition: View.hh:13
The visitor of a design pattern for automatic traversal.
Definition: Object.hh:75
Package of settings affecting the rendering.
Definition: ViewBase.hh:30
Definition: ViewMixView.cpp:18