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