poIImagePlane GetTrackingMode
Gets the current tracking mode for the image plane.
Syntax
Imageplane_handle GetTrackingMode
Application
HyperView Tcl Query
Description
This command returns the current tracking mode for the image plane:
- None
- No tracking mode is enabled.
- Model
- The associated model ID determines which model is used to follow an active tracking system.
- VideoMarker
- The calculated marker tracking information is needed.
The tracking mode allows the image plane to follow a tracking system on a Model, or to follow the position of a marker in a video as it moves.
Example
To get the current tracking
mode:
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 GetImagePlaneCtrlHandle ipc_handle
ipc_handle GetImagePlaneHandle image_plane_handle 1
image_plane_handle GetTrackingMode
hwi CloseStack
Error
Returns HW_InvalidHandle if the image plane handle is invalid.