Equalizer  1.2.1
Public Member Functions | Public Attributes
eq::fabric::Projection Class Reference

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

#include <projection.h>

List of all members.

Public Member Functions

void resizeHorizontal (const float ratio)
 Resize the horizontal FOV.
void resizeVertical (const float ratio)
 Resize the vertical FOV.
Projectionoperator= (const Wall &wall)
 Convert the projection parameters from a wall description.
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)

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 40 of file projection.h.


Member Function Documentation

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

Convert the projection parameters from a wall description.

Version:
1.0
bool eq::fabric::Projection::operator== ( const Projection rhs) const
Returns:
true if the two projection definitions are identical.
Version:
1.0
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
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:
Generated on Fri Jun 8 2012 15:44:36 for Equalizer 1.2.1 by  doxygen 1.8.0