gramods
Loading...
Searching...
No Matches
PosedSphericalView.hh
1
2#ifndef GRAMODS_GRAPHICS_POSEDSPHERICALVIEW
3#define GRAMODS_GRAPHICS_POSEDSPHERICALVIEW
4
5#include <gmGraphics/View.hh>
6#include <gmGraphics/CoordinatesMapper.hh>
7
8BEGIN_NAMESPACE_GMGRAPHICS;
9
19 : public View {
20
21public:
22
24
28 void renderFullPipeline(ViewSettings settings) override;
29
35 void traverse(Visitor *visitor) override;
36
43 void setCubeMapResolution(int res);
44
51 void setLinearInterpolation(bool on);
52
59 void setCoordinatesMapper(std::shared_ptr<CoordinatesMapper> mapper);
60
66 void setMakeSquare(bool on);
67
68 GM_OFI_DECLARE;
69
70private:
71
72 struct Impl;
73 std::unique_ptr<Impl> _impl;
74
75};
76
77END_NAMESPACE_GMGRAPHICS;
78
79#endif
This view provides a symmetrical projection of the renderers, on a spherical projection surface.
Definition PosedSphericalView.hh:19
The base of graphics View implementations.
Definition View.hh:13
The visitor of a design pattern for automatic traversal.
Definition Object.hh:75
Definition PosedSphericalView.cpp:23
Package of settings affecting the rendering.
Definition ViewBase.hh:30