eq::Wall Class Reference
A wall defining a view frustum.
More...
#include <wall.h>
List of all members.
Public Types |
| enum | Type { TYPE_FIXED,
TYPE_HMD
} |
Public Member Functions |
| 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.
|
| Wall & | operator= (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 |
|
Vector3f | bottomRight |
|
Vector3f | topLeft |
|
Type | type |
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.
Definition at line 37 of file wall.h.
Member Function Documentation
| void eq::Wall::resizeHorizontal |
( |
const float |
ratio |
) |
|
Resize the wall horizontally.
- Parameters:
-
| ratio | the amount by which the wall is grown or shrunk. |
Definition at line 40 of file wall.cpp.
| void eq::Wall::resizeVertical |
( |
const float |
ratio |
) |
|
Resize the wall vertically.
- Parameters:
-
| ratio | the amount by which the wall is grown or shrunk. |
Definition at line 52 of file wall.cpp.
| void eq::Wall::resizeLeft |
( |
const float |
ratio |
) |
|
Resize the wall on the left side.
- Parameters:
-
| ratio | the amount by which the wall is grown or shrunk. |
Definition at line 64 of file wall.cpp.
| void eq::Wall::resizeRight |
( |
const float |
ratio |
) |
|
Resize the wall on the right side.
- Parameters:
-
| ratio | the amount by which the wall is grown or shrunk. |
Definition at line 75 of file wall.cpp.
| void eq::Wall::resizeTop |
( |
const float |
ratio |
) |
|
Resize the wall on the top side.
- Parameters:
-
| ratio | the amount by which the wall is grown or shrunk. |
Definition at line 85 of file wall.cpp.
| void eq::Wall::resizeBottom |
( |
const float |
ratio |
) |
|
Resize the wall on the bottom side.
- Parameters:
-
| ratio | the amount by which the wall is grown or shrunk. |
Definition at line 95 of file wall.cpp.
| void eq::Wall::apply |
( |
const Viewport & |
viewport |
) |
|
Set the wall parameters from a projection description.
Definition at line 117 of file wall.cpp.
| float eq::Wall::getWidth |
( |
|
) |
const [inline] |
- Returns:
- the width of the wall.
Definition at line 91 of file wall.h.
| float eq::Wall::getHeight |
( |
|
) |
const [inline] |
- Returns:
- the height of the wall.
Definition at line 94 of file wall.h.
The documentation for this class was generated from the following files: