Picking Library


Defined Actions

The following action procedures are defined by the Picking Library for activating the automatic tracker and for creating and manipulating points and horizons. These action procedures can be tied to user actions via a translation table.

NameDescription
AutoPick()Calls the procedure specified by the tracker_callback argument in the XintPickingRecordSetTrackerCallback and causes the automatic tracker to be activated.
DeleteLastPoint()Deletes the last point added to the current horizon.
HorizonCreate()Calls the procedure specified by the horizon_add_callback argument in the XintPickingRecordHorizonCallback argument list and causes a horizon to be created.
HorizonDelete()Calls the procedure specified by the horizon_delete_callback argument in the XintPickingRecordHorizonCallback argument list and causes the current horizon to be deleted.
HorizonEndMove()Terminates the drawing of a highlighted copy of the horizon, calls the move_horizon_callback and moves the horizon to its new location if the doit flag is True.
HorizonMove()Draws the highlighted copy of the horizon being moved during a horizon move operation.
HorizonSelect()Calls the procedure specified by the horizon_select_callback argument in the XintPickingRecordHorizonCallback argument list and causes the selected horizon to become the current horizon.
HorizonStartMove()Selects a horizon to be moved and initiates the drawing of a highlighted copy of the horizon being moved during the move operation.
PointDelete()Calls the procedure specified by the point_delete_callback argument in the XintPickingRecordPointCallback argument list and causes a point to be deleted from the current horizon.
PointEndMove()Terminates the rubberband operation, calls the move_point_callback and moves the point to its new location if the doit flag is True.
PointInsert(b)Calls the procedure specified by the point_add_callback argument in the XintPickingRecordPointCallback argument list and causes a point to be added at the beginning of the current horizon.
PointInsert(e)Calls the procedure specified by the point_add_callback argument in the XintPickingRecordPointCallback argument list and causes a point to be added at the end of the current horizon.
PointInsert(i)Calls the procedure specified by the point_add_callback argument in the XintPickingRecordPointCallback argument list and causes a point to be inserted into the current horizon using a trace number.
PointInsert(t)Calls the procedure specified by the point_add_callback argument in the XintPickingRecordPointCallback argument list and causes a point to be inserted into the current horizon using a time value.
PointMove()Draws the rubberband lines during a point move operation.
PointMoveConstraint()Draws the rubberband lines during a point move operation but constrains the point movement to the trace associated with the point being moved.
PointSelect()Calls the procedure specified by the point_select_callback argument in the XintPickingRecordPointCallback argument list when a point from the current horizon is selected. The address of the selected point is returned as an argument of the callback procedure.
PointStartMove()Selects a point to be moved and initiates the rubberband line drawing operation.