poIImagePlane SetTrackingMode

Sets the current tracking mode for the image plane.

Syntax

Imageplane_handle SetTrackingMode mode

Application

HyperView Tcl Modify

Description

This command sets the current tracking mode for the image plane.

Inputs

mode
None
No tracking mode is enabled.
Model
Enables model tracking.
VideoMarker
Enables video marker tracking.

Example

To set the current tracking mode to video marker tracking:
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 SetTrackingMode VideoMarker
hwi CloseStack

Errors

Returns HW_InvalidHandle if the image plane handle is invalid, or PO_InvalidMipMapMode if the tracking mode is invalid.