2 #ifndef GRAMODS_GRAPHICS_FOVPLANARVIEW
3 #define GRAMODS_GRAPHICS_FOVPLANARVIEW
6 #include <gmCore/io_float.hh>
7 #include <gmCore/io_angle.hh>
8 #include <gmCore/io_eigen.hh>
10 #include <gmGraphics/View.hh>
12 BEGIN_NAMESPACE_GMGRAPHICS;
45 planes[0] = -tanf(p[0]);
46 planes[1] = tanf(p[1]);
47 planes[2] = -tanf(p[2]);
48 planes[3] = tanf(p[3]);
67 Eigen::Quaternionf orientation = Eigen::Quaternionf::Identity();
71 END_NAMESPACE_GMGRAPHICS;
This view provides skewed frustum projection of the renderers.
Definition: FovPlanarView.hh:18
void setClipPlanes(gmCore::float4 p)
Sets the clip planes, left, right, bottom, top, in x, y coordinates at distance 1.
Definition: FovPlanarView.hh:30
void setOrientation(Eigen::Quaternionf q)
Sets the orientation of the View.
Definition: FovPlanarView.hh:58
void setClipAngles(gmCore::angle4 p)
Angles between forward direction and the clip planes left, right, bottom and top, in radians.
Definition: FovPlanarView.hh:44
The base of graphics View implementations.
Definition: View.hh:13
std::array< float, 4 > float4
Array of 4 float.
Definition: io_float.hh:18
std::array< angle, 4 > angle4
Array of 4 angle.
Definition: io_angle.hh:65
Package of settings affecting the rendering.
Definition: ViewBase.hh:30