poIImagePlane SetTrackerColor

Sets the color of the video tracking marker.

Syntax

Imageplane_handle SetTrackerColorcolor

Application

HyperView Tcl Modify

Description

This command sets the RGB values for the color of the video tracking marker.

Inputs

color
A set of RGB color values that define the color. A string containing three RGB values between 0 and 255 must be passed ("000 000 000").

Example

To set the color of the video tracking marker to blue:
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 SetTrackerColor “0 0 255”
hwi CloseStack

Errors

Returns HW_InvalidHandle if the image plane handle is invalid, or PO_InvalidRGBValue for any invalid color string.