poIImagePlane GetAlignmentData

Gets a specific point or the list of points that were used (or would be used) to achieve a multipoint alignment for a 2D image plane.

Syntax

Imageplane_handle GetAlignmentData idx

Application

HyperView Tcl Query

Description

This command returns the list of points stored in the 2D image plane, which have been used (or would be used) to achieve a multipoint alignment between a model and the image plane. The idx parameter can be used to query the specific point with index equals idx from the list.

Inputs

idx (Optional)
Point index in the list of alignment points.

Example

To get an alignment point list from a 2D image plane:
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 SetFileName "some file"
set pt_list [image_plane_handle GetAlignmentData] 
hwi CloseStack

Errors

Returns HW_InvalidHandle if the image plane handle is invalid.

Returns HW_Error if the alignment mode is invalid.