poI3DViewCtrl GetInputPrincipalPointOffset

Gets the input principal point offset of a stored view.

Syntax

poI3DViewCtrl_handle GetInputPrincipalPointOffset name

Application

HyperView Tcl Query

Description

Returns a string consisting of an x and y offset. These values represent a shift of the view horizontally and vertically in the window. The values are typically the same as the manufacturer specifications of a camera.

Inputs

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

Example

To get the input point offset 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 GetInputPrincipalPointOffset "View 1"
hwi CloseStack

Errors

Returns HW_InvalidHandle if the view handle is invalid.

Returns HW_InvalidArgs if the named view does not exist.