18 #ifndef EQFABRIC_PROJECTION_H
19 #define EQFABRIC_PROJECTION_H
21 #include <eq/fabric/types.h>
22 #include <eq/fabric/api.h>
69 EQFABRIC_API
bool operator == (
const Projection& rhs )
const;
75 EQFABRIC_API
bool operator != (
const Projection& rhs )
const;
83 EQFABRIC_API std::ostream& operator << ( std::ostream& os,
const Projection& );
92 byteswap( value.
fov );
93 byteswap( value.
hpr );
96 #endif // EQFABRIC_PROJECTION_H
EQFABRIC_API bool operator==(const Projection &rhs) const
EQFABRIC_API void resizeHorizontal(const float ratio)
Resize the horizontal FOV.
A wall defining a view frustum.
A projector definition defining a view frustum.
Vector2f fov
The x and y opening angle of the projection.
float distance
The distance of the projection surface.
EQFABRIC_API Projection & operator=(const Wall &wall)
Convert the projection parameters from a wall description.
EQFABRIC_API void resizeVertical(const float ratio)
Resize the vertical FOV.
EQFABRIC_API bool operator!=(const Projection &rhs) const
Vector3f hpr
The orientation (head, pitch, roll)
Vector3f origin
The position of the projection.