Equalizer
1.10.1
Parallel Rendering Framework
|
A projector definition defining a view frustum. More...
#include <projection.h>
Public Member Functions | |
EQFABRIC_API void | resizeHorizontal (const float ratio) |
Resize the horizontal FOV. More... | |
EQFABRIC_API void | resizeVertical (const float ratio) |
Resize the vertical FOV. More... | |
EQFABRIC_API Projection & | operator= (const Wall &wall) |
Convert the projection parameters from a wall description. More... | |
EQFABRIC_API bool | operator== (const Projection &rhs) const |
EQFABRIC_API 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 38 of file projection.h.
EQFABRIC_API bool eq::fabric::Projection::operator!= | ( | const Projection & | rhs | ) | const |
EQFABRIC_API Projection& eq::fabric::Projection::operator= | ( | const Wall & | wall | ) |
Convert the projection parameters from a wall description.
EQFABRIC_API bool eq::fabric::Projection::operator== | ( | const Projection & | rhs | ) | const |
EQFABRIC_API void eq::fabric::Projection::resizeHorizontal | ( | const float | ratio | ) |
Resize the horizontal FOV.
ratio | the amount by which the FOV is grown or shrunk. |
EQFABRIC_API void eq::fabric::Projection::resizeVertical | ( | const float | ratio | ) |
Resize the vertical FOV.
ratio | the amount by which the FOV is grown or shrunk. |