gramods
Loading...
Searching...
No Matches
TiledView.hh
1
2#ifndef GRAMODS_GRAPHICS_TILEDVIEW
3#define GRAMODS_GRAPHICS_TILEDVIEW
4
5// Required before gmCore/OFactory.hh for some compilers
6#include <gmCore/io_size.hh>
7
8#include <gmGraphics/View.hh>
9
10BEGIN_NAMESPACE_GMGRAPHICS;
11
31 : public View {
32
33public:
34
35 TiledView();
36
41 void renderFullPipeline(ViewSettings settings) override;
42
48 void traverse(Visitor *visitor) override;
49
57 void addTileLocation(gmCore::size4 c);
58
64 void addView(std::shared_ptr<View> view);
65
66 GM_OFI_DECLARE;
67
68private:
69
70 struct Impl;
71 std::unique_ptr<Impl> _impl;
72};
73
74END_NAMESPACE_GMGRAPHICS;
75
76#endif
The TiledView tiles up a view into sub tiles each containing a separate View.
Definition TiledView.hh:31
The base of graphics View implementations.
Definition View.hh:13
std::array< size_t, 4 > size4
Array of 4 size_t.
Definition io_size.hh:18
The visitor of a design pattern for automatic traversal.
Definition Object.hh:75
Definition TiledView.cpp:15
Package of settings affecting the rendering.
Definition ViewBase.hh:30