Public Member Functions | |
void | set (Vector3 center, Vector3 x, Vector3 y, double halfWidth, double halfHeight) |
Change the geometric properties of the screen. | |
void | set (double aspectRatio, double fieldOfView=M_PI/4, double distance=1) |
A less general alternative to set(Vector3, Vector3, Vector3, double, double). | |
Static Public Member Functions | |
static Ref< Screen > | create (Ref< View > v) |
Get a default screen. |
Definition at line 143 of file view.H.
|
Get a default screen. A default screen corresponds with a screen for which set(1, M_PI/4, 1) is called.
Definition at line 151 of file view.H. Referenced by Archon::Render::Test::dualWindowStereo(), Archon::Render::Test::oneThreadMono(), Archon::Render::Test::oneThreadPaperStereo(), Archon::Render::Test::splitScreenStereo(), Archon::Render::Test::twoThreadMono(), and Archon::Render::Test::twoThreadPaperStereo(). |
|
A less general alternative to set(Vector3, Vector3, Vector3, double, double). In this case the screen is assumed to be parallel to the x-y-plane, have sides that are parallel to the x and y axes, intersecting the z-axis for a negative value of z and with the center on the z-axis.
Definition at line 212 of file view.H. References set(). |
|
Change the geometric properties of the screen.
Definition at line 175 of file view.H. Referenced by set(). |