Equalizer  1.12.0
Parallel Rendering Framework
eq::fabric::Projection Class Reference

A projector definition defining a view frustum. More...

#include <projection.h>

+ Collaboration diagram for eq::fabric::Projection:

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 Projectionoperator= (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)
 

Detailed Description

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.

Member Function Documentation

EQFABRIC_API bool eq::fabric::Projection::operator!= ( const Projection rhs) const
Returns
true if the two projection definitions are not identical.
Version
1.0
EQFABRIC_API Projection& eq::fabric::Projection::operator= ( const Wall wall)

Convert the projection parameters from a wall description.

Version
1.0
EQFABRIC_API bool eq::fabric::Projection::operator== ( const Projection rhs) const
Returns
true if the two projection definitions are identical.
Version
1.0
EQFABRIC_API void eq::fabric::Projection::resizeHorizontal ( const float  ratio)

Resize the horizontal FOV.

Parameters
ratiothe amount by which the FOV is grown or shrunk.
Version
1.0
EQFABRIC_API void eq::fabric::Projection::resizeVertical ( const float  ratio)

Resize the vertical FOV.

Parameters
ratiothe amount by which the FOV is grown or shrunk.
Version
1.0

The documentation for this class was generated from the following file: