eq::Projection Class Reference

A projection 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)
 Set the projection parameters from a wall description.
bool operator== (const Projection &rhs) const
bool operator!= (const Projection &rhs) const

Public Attributes

Vector3f origin
float distance
Vector2f fov
Vector3f hpr

Detailed Description

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


Member Function Documentation

void eq::Projection::resizeHorizontal ( const float  ratio  ) 

Resize the horizontal FOV.

Parameters:
ratio the amount by which the FOV is grown or shrunk.

Definition at line 37 of file projection.cpp.

void eq::Projection::resizeVertical ( const float  ratio  ) 

Resize the vertical FOV.

Parameters:
ratio the amount by which the FOV is grown or shrunk.

Definition at line 48 of file projection.cpp.

Projection & eq::Projection::operator= ( const Wall wall  ) 

Set the projection parameters from a wall description.

Definition at line 57 of file projection.cpp.


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:06:19 2010 for Equalizer 0.9.1 by  doxygen 1.6.1