poI3DViewCtrl SetInputPrincipalPointOffset
Sets the input principal point offset of a stored view.
Syntax
poI3DViewCtrl_handle SetInputPrincipalPointOffset values name
Application
HyperView Tcl Modify
Description
Sets input values that represent a shift of the view horizontally and vertically in the window.
Inputs
- values
- A string consisting of an x and y offset (in the format of “x y”). The values are typically the same as the manufacturer specifications of a camera.
- name
- A string specifying the name of the view to be modified. The current view will be modified if a name is not specified.
Example
To set the input point offset of a view named "View 1" to -0.5 left and 0.5 up:
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 SetInputPrincipalPointOffset "-0.5 0.5" "View 1"
hwi CloseStack
Errors
Returns HW_InvalidHandle if the view handle is invalid.
Returns HW_InvalidArgs if the values are invalid or if a named view does not exist.