gramods
Loading...
Searching...
No Matches
MixingView.hh
1
2#ifndef GRAMODS_GRAPHICS_MIXINGVIEW
3#define GRAMODS_GRAPHICS_MIXINGVIEW
4
5#include <gmCore/OFactory.hh>
6
7#include <gmGraphics/View.hh>
8#include <gmGraphics/Geometry.hh>
9
10BEGIN_NAMESPACE_GMGRAPHICS;
11
15class MixingView : public View {
16
17public:
18 MixingView();
19 virtual ~MixingView();
20
25 void renderFullPipeline(ViewSettings settings) override;
26
32 void traverse(Visitor *visitor) override;
33
41 void setMixType(std::string);
42
48 void addView(std::shared_ptr<View>);
49
50 GM_OFI_DECLARE;
51
52private:
53 struct Impl;
54 std::unique_ptr<Impl> _impl;
55};
56
57END_NAMESPACE_GMGRAPHICS;
58
59#endif
void renderFullPipeline(ViewSettings settings) override
Appends local scene graph nodes to the view settings, forwards rendering to the sub views,...
Definition MixingView.cpp:53
void addView(std::shared_ptr< View >)
Add a view to mix.
Definition MixingView.cpp:38
void traverse(Visitor *visitor) override
Propagates the specified visitor.
Definition MixingView.cpp:116
void setMixType(std::string)
Set type of mixing.
Definition MixingView.cpp:43
The base of graphics View implementations.
Definition View.hh:13
The visitor of a design pattern for automatic traversal.
Definition Object.hh:75
Definition MixingView.cpp:19
Package of settings affecting the rendering.
Definition ViewBase.hh:34