#include <vrj/Display/Frustum.h>
Public Types | |
| enum | entry { VJ_LEFT = 0, VJ_RIGHT = 1, VJ_BOTTOM, VJ_TOP, VJ_NEAR, VJ_FAR } |
Public Member Functions | |
| Frustum () | |
| void | setBottomLeftTopRight (const float bottomVal, const float leftVal, const float topVal, const float rightVal) |
| void | setNearFar (const float nearVal, const float farVal) |
| void | set (const float leftVal, const float rightVal, const float bottomVal, const float topVal, const float nearVal, const float farVal) |
| float & | operator[] (int elt) |
Public Attributes | |
| float | frust [6] |
| Left, Right, Bottom, Top, Near, Far. | |
This is a frustum.
Definition at line 50 of file Frustum.h.
| enum vrj::Frustum::entry |
| vrj::Frustum::Frustum | ( | ) | [inline] |
| void vrj::Frustum::setBottomLeftTopRight | ( | const float | bottomVal, | |
| const float | leftVal, | |||
| const float | topVal, | |||
| const float | rightVal | |||
| ) | [inline] |
| void vrj::Frustum::setNearFar | ( | const float | nearVal, | |
| const float | farVal | |||
| ) | [inline] |
| void vrj::Frustum::set | ( | const float | leftVal, | |
| const float | rightVal, | |||
| const float | bottomVal, | |||
| const float | topVal, | |||
| const float | nearVal, | |||
| const float | farVal | |||
| ) | [inline] |
Definition at line 84 of file Frustum.h.
Referenced by vrj::SurfaceProjection::calcViewFrustum(), and vrj::CameraProjection::calcViewMatrix().
00086 { 00087 frust[VJ_LEFT] = leftVal; 00088 frust[VJ_RIGHT] = rightVal; 00089 frust[VJ_BOTTOM] = bottomVal; 00090 frust[VJ_TOP] = topVal; 00091 frust[VJ_NEAR] = nearVal; 00092 frust[VJ_FAR] = farVal; 00093 }
| float& vrj::Frustum::operator[] | ( | int | elt | ) | [inline] |
| float vrj::Frustum::frust[6] |
Left, Right, Bottom, Top, Near, Far.
Definition at line 101 of file Frustum.h.
Referenced by vrj::GlWindow::setProjection().
1.5.1