A projection definition defining a view frustum. More...
#include <projection.h>
Public Member Functions | |
| void | resizeHorizontal (const float ratio) |
| Resize the horizontal FOV. | |
| void | resizeVertical (const float ratio) |
| Resize the vertical FOV. | |
| Projection & | operator= (const Wall &wall) |
| Set the projection parameters from a wall description. | |
| bool | operator== (const Projection &rhs) const |
| bool | operator!= (const Projection &rhs) const |
Public Attributes | |
| Vector3f | origin |
| float | distance |
| Vector2f | fov |
| Vector3f | hpr |
A projection definition defining a view frustum.
The frustum is defined by a projection system positioned at origin, orientated as defined by the head-pitch-roll angles projecting to a wall at the given distance. The fov defines the horizontal and vertical field of view of the projector.
Definition at line 37 of file projection.h.
| void eq::Projection::resizeHorizontal | ( | const float | ratio | ) |
Resize the horizontal FOV.
| ratio | the amount by which the FOV is grown or shrunk. |
Definition at line 37 of file projection.cpp.
| void eq::Projection::resizeVertical | ( | const float | ratio | ) |
Resize the vertical FOV.
| ratio | the amount by which the FOV is grown or shrunk. |
Definition at line 48 of file projection.cpp.
| Projection & eq::Projection::operator= | ( | const Wall & | wall | ) |
Set the projection parameters from a wall description.
Definition at line 57 of file projection.cpp.
0.9.1 by
1.6.1