Equalizer 1.0

eq::fabric::Wall Class Reference

A wall defining a view frustum. More...

#include <wall.h>

List of all members.

Public Member Functions

 Wall ()
 Construct a new wall description.
 Wall (const Vector3f &bottomLeft, const Vector3f &bottomRight, const Vector3f &topLeft)
 Construct a new wall description with default values.
void resizeHorizontal (const float ratio)
 Resize the wall horizontally.
void resizeVertical (const float ratio)
 Resize the wall vertically.
void resizeLeft (const float ratio)
 Resize the wall on the left side.
void resizeRight (const float ratio)
 Resize the wall on the right side.
void resizeTop (const float ratio)
 Resize the wall on the top side.
void resizeBottom (const float ratio)
 Resize the wall on the bottom side.
void apply (const Viewport &viewport)
 Compute the sub-frustum for a 2D area on the full wall.
Walloperator= (const Projection &projection)
 Set the wall parameters from a projection description.
float getWidth () const
float getHeight () const
bool operator== (const Wall &rhs) const
bool operator!= (const Wall &rhs) const

Public Attributes

Vector3f bottomLeft
 The bottom-left corner.
Vector3f bottomRight
 The bottom-right corner.
Vector3f topLeft
 The top-left corner.
Type type
 The wall type.

Public Types

enum  Type { TYPE_FIXED, TYPE_HMD }
 

The reference system type of the wall.

More...

Detailed Description

A wall defining a view frustum.

The three points describe the bottom left, bottom right and top left coordinate of the wall in real-world coordinates (meters).

Definition at line 37 of file wall.h.


Member Enumeration Documentation

The reference system type of the wall.

Enumerator:
TYPE_FIXED 

A fixed mounted projection wall.

TYPE_HMD 

A wall fixed to the observer (head-mounted display)

Definition at line 125 of file wall.h.


Constructor & Destructor Documentation

eq::fabric::Wall::Wall ( )

Construct a new wall description.

eq::fabric::Wall::Wall ( const Vector3f bottomLeft,
const Vector3f bottomRight,
const Vector3f topLeft 
)

Construct a new wall description with default values.


Member Function Documentation

void eq::fabric::Wall::apply ( const Viewport viewport)

Compute the sub-frustum for a 2D area on the full wall.

Version:
1.0
float eq::fabric::Wall::getHeight ( ) const [inline]
Returns:
the height of the wall.
Version:
1.0

Definition at line 112 of file wall.h.

float eq::fabric::Wall::getWidth ( ) const [inline]
Returns:
the width of the wall.
Version:
1.0

Definition at line 109 of file wall.h.

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

Set the wall parameters from a projection description.

Version:
1.0
bool eq::fabric::Wall::operator== ( const Wall rhs) const
Returns:
true if the two walls are identical.
Version:
1.0
void eq::fabric::Wall::resizeBottom ( const float  ratio)

Resize the wall on the bottom side.

Parameters:
ratiothe amount by which the wall is grown or shrunk.
Version:
1.0
void eq::fabric::Wall::resizeHorizontal ( const float  ratio)

Resize the wall horizontally.

Parameters:
ratiothe amount by which the wall is grown or shrunk.
Version:
1.0
void eq::fabric::Wall::resizeLeft ( const float  ratio)

Resize the wall on the left side.

Parameters:
ratiothe amount by which the wall is grown or shrunk.
Version:
1.0
void eq::fabric::Wall::resizeRight ( const float  ratio)

Resize the wall on the right side.

Parameters:
ratiothe amount by which the wall is grown or shrunk.
Version:
1.0
void eq::fabric::Wall::resizeTop ( const float  ratio)

Resize the wall on the top side.

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

Resize the wall vertically.

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

The documentation for this class was generated from the following file:
Generated on Sun May 8 2011 19:11:10 for Equalizer 1.0 by  doxygen 1.7.3