|
Equalizer
1.6.1
|
A wall defining a view frustum. More...
#include <wall.h>
Collaboration diagram for eq::fabric::Wall:Public Types | |
| enum | Type { TYPE_FIXED, TYPE_HMD } |
| The reference system type of the wall. More... | |
Public Member Functions | |
| Wall () | |
| Construct a new wall description. More... | |
| Wall (const Vector3f &bottomLeft, const Vector3f &bottomRight, const Vector3f &topLeft) | |
| Construct a new wall description with default values. More... | |
| void | resizeHorizontal (const float ratio) |
| Resize the wall horizontally. More... | |
| void | resizeVertical (const float ratio) |
| Resize the wall vertically. More... | |
| void | resizeLeft (const float ratio) |
| Resize the wall on the left side. More... | |
| void | resizeRight (const float ratio) |
| Resize the wall on the right side. More... | |
| void | resizeTop (const float ratio) |
| Resize the wall on the top side. More... | |
| void | resizeBottom (const float ratio) |
| Resize the wall on the bottom side. More... | |
| void | resizeHorizontalToAR (const float aspectRatio) |
| Resize the wall horizontally to match the given aspect ratio. More... | |
| void | moveFocus (const Vector3f &eye, const float ratio) |
| Resize the wall by the given ratio as observed from the eye position. More... | |
| void | apply (const Viewport &viewport) |
| Compute the sub-frustum for a 2D area on the full wall. More... | |
| void | scale (const float ratio) |
| Move each wall corner by the given ratio. More... | |
| Wall & | operator= (const Projection &projection) |
| Set the wall parameters from a projection description. More... | |
| Wall & | operator= (const Matrix4f &xfm) |
| Set the wall parameters from an inverse projection matrix. More... | |
| float | getWidth () const |
| float | getHeight () const |
| bool | operator== (const Wall &rhs) const |
| bool | operator!= (const Wall &rhs) const |
| Vector3f | getU () const |
| Vector3f | getV () const |
| Vector3f | getW () 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. | |
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).
| 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.
| void eq::fabric::Wall::apply | ( | const Viewport & | viewport | ) |
Compute the sub-frustum for a 2D area on the full wall.
|
inline |
|
inline |
Definition at line 154 of file wall.h.
References bottomLeft.
Referenced by getW().
Here is the caller graph for this function:
|
inline |
Definition at line 157 of file wall.h.
References bottomLeft.
Referenced by getW().
Here is the caller graph for this function:
|
inline |
|
inline |
| void eq::fabric::Wall::moveFocus | ( | const Vector3f & | eye, |
| const float | ratio | ||
| ) |
Resize the wall by the given ratio as observed from the eye position.
Each wall corner is moved by ratio along the vector eye -> wall corner.
| eye | the observer position |
| ratio | the relative ratio to the current position |
| bool eq::fabric::Wall::operator!= | ( | const Wall & | rhs | ) | const |
| Wall& eq::fabric::Wall::operator= | ( | const Projection & | projection | ) |
Set the wall parameters from a projection description.
Set the wall parameters from an inverse projection matrix.
| bool eq::fabric::Wall::operator== | ( | const Wall & | rhs | ) | const |
| void eq::fabric::Wall::resizeBottom | ( | const float | ratio | ) |
Resize the wall on the bottom side.
| ratio | the amount by which the wall is grown or shrunk. |
| void eq::fabric::Wall::resizeHorizontal | ( | const float | ratio | ) |
Resize the wall horizontally.
| ratio | the amount by which the wall is grown or shrunk. |
| void eq::fabric::Wall::resizeHorizontalToAR | ( | const float | aspectRatio | ) |
Resize the wall horizontally to match the given aspect ratio.
| aspectRatio | the destination aspect ratio. |
| void eq::fabric::Wall::resizeLeft | ( | const float | ratio | ) |
Resize the wall on the left side.
| ratio | the amount by which the wall is grown or shrunk. |
| void eq::fabric::Wall::resizeRight | ( | const float | ratio | ) |
Resize the wall on the right side.
| ratio | the amount by which the wall is grown or shrunk. |
| void eq::fabric::Wall::resizeTop | ( | const float | ratio | ) |
Resize the wall on the top side.
| ratio | the amount by which the wall is grown or shrunk. |
| void eq::fabric::Wall::resizeVertical | ( | const float | ratio | ) |
Resize the wall vertically.
| ratio | the amount by which the wall is grown or shrunk. |
| void eq::fabric::Wall::scale | ( | const float | ratio | ) |
Move each wall corner by the given ratio.
1.8.5