poIRenderOptions SetStereo

Enables/disables the stereoscopic display.

Syntax

poIRenderOptions_handle SetStereoarg1

Application

HyperView Tcl Modify

Description

This command enables the stereoscopic (3D) display if arg1 is set to true and the environment variable HW_STEREO is set to 1. If arg1 is set to false, the stereoscopic (3D) display is disabled.

Inputs

arg1
Set to true to enable the stereoscopic display (provided the environment variable HW_STEREO is also set to 1), or set to false to disable the stereoscopic display.

Example

To enable the stereoscopic display:
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 SetStereo true
hwi CloseStack

Errors

Returns a value of "3" if the handle is invalid, or "1" if the environment variable HW_STEREO does not equal "1".