Use Get Pick to retrieve a pick input value from the current event report. The graPHIGS API does not remove the event from the current event report until the next invocation of the Await Event subroutine.
This value consists of a pick status and pick path information describing the position of the picked primitive in the structure network. The pick status may be OK or NOPICK. The graPHIGS API returns the pick path in the order specified in the the Initialize Pick subroutine, that is, TOP FIRST or BOTTOM FIRST. If your application has not called the Initialize Pick subroutine, then the pick path order defaults to TOP FIRST. Each entry in the pickpath consists of a structure identifier, a pick identifier, and an element position.
The graPHIGS API identified the device to which this value corresponds on the previous invocation of Await Event.
|pget_pick (depth, in_status, pick)|
|PGTPK (ippd, stat, ppd, pp)|