poIRenderOptions GetEyeScreenRatio

Gets the ratio of distance between the viewer's eyes and the distance from the screen.

Syntax

poIRenderOptions_handle GetEyeScreenRatio

Application

HyperView Tcl Query

Description

This command returns the ratio of distance between the viewer's eyes and the distance from the screen. The ratio is used to determine how far objects can appear outside the screen.

Example

To get the current stereoscopic eye to screen ratio:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetRenderOptionsHandle render_options
render_options GetEyeScreenRatio
hwi CloseStack

Errors

Returns a value of "3" if the handle is invalid.