|
Equalizer
1.6.1
|
A projector definition defining a view frustum. More...
#include <projection.h>
Collaboration diagram for eq::fabric::Projection:Public Member Functions | |
| void | resizeHorizontal (const float ratio) |
| Resize the horizontal FOV. More... | |
| void | resizeVertical (const float ratio) |
| Resize the vertical FOV. More... | |
| Projection & | operator= (const Wall &wall) |
| Convert the projection parameters from a wall description. More... | |
| bool | operator== (const Projection &rhs) const |
| bool | operator!= (const Projection &rhs) const |
Public Attributes | |
| Vector3f | origin |
| The position of the projection. | |
| float | distance |
| The distance of the projection surface. | |
| Vector2f | fov |
| The x and y opening angle of the projection. | |
| Vector3f | hpr |
| The orientation (head, pitch, roll) | |
A projector 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 40 of file projection.h.
| bool eq::fabric::Projection::operator!= | ( | const Projection & | rhs | ) | const |
| Projection& eq::fabric::Projection::operator= | ( | const Wall & | wall | ) |
Convert the projection parameters from a wall description.
| bool eq::fabric::Projection::operator== | ( | const Projection & | rhs | ) | const |
| void eq::fabric::Projection::resizeHorizontal | ( | const float | ratio | ) |
Resize the horizontal FOV.
| ratio | the amount by which the FOV is grown or shrunk. |
| void eq::fabric::Projection::resizeVertical | ( | const float | ratio | ) |
Resize the vertical FOV.
| ratio | the amount by which the FOV is grown or shrunk. |
1.8.5