poIImagePlane AddAlignmentPoint
Adds an alignment point to the image plane object.
Syntax
Imageplane_handle AddAlignmentPoint
Application
HyperView Tcl Modify
Description
This command adds an alignment point to an image plane. The alignment point at this stage is not fully defined (it does not contain model node or the image point definition associated with it). To fully define the alignment point, the “SetAlignmentPoint” command must be used. This command returns the index of the alignment point. Index starts with 0.
Example
The following example adds an alignment point to an 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
set ipid1 [ipc_handle AddImagePlane Logo1]
ipc_handle GetImagePlaneHandle imageplane_handle $ipid1
set ipidx [imageplane_handle AddAlignmentPoint]
hwi CloseStack
Errors
None.