poI3DViewCtrl SetUpOrientationVector
Gets the orientation vector of the camera top position.
Syntax
viewControl_handle SetUpOrientationVector vector name
Application
HyperView Tcl Modify
Description
Sets the orientation vector of the camera top position.
Inputs
- vector
- String containing three values defining the orientation vector.
- name
- String specifying the name of the view to be queried. The current view will be queried if a name is not specified.
Example
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 SetUpOrientationVector “1 0 0” “View 1”
# The above statement sets up the camera top orientation vector to be along global x-axis
hwi CloseStack
Error
Returns HW_InvalidHandle if the view handle is invalid.
Returns HW_InvalidArgs if the named view does not exist or is an invalid type.