poI3DViewCtrl GetInputSensorHeight

Gets the input sensor height of a stored view.

Syntax

poI3DViewCtrl_handle GetInputSensorHeight name

Application

HyperView Tcl Query

Description

Returns a float number representing the input sensor height in mm. This value is typically the same as the manufacturer specifications of a camera lens.

Inputs

name
If specified, the height of the view with that name will be returned. Otherwise, the current view’s height will be returned.

Example

To get the input sensor height of a view named "View 1":
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 GetViewControlHandle view_handle
view_handle GetInputSensorHeight "View 1"
hwi CloseStack

Error

Returns HW_InvalidHandle if the view handle is invalid.

Returns HW_InvalidArgs if the named view does not exist.