PRQPK(3g) — Subroutines
Name
PRQPK − Prompts for input using the pick-class logical input device specified.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PRQPK (WKID, PKDNR, IPPD, STAT, PPD, PP)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
PKDNR Integer Read Pick device number
IPPD Integer Read Depth of the pick path to return
STAT Integer Write Status
PPD Integer Write Depth of the actual pick path
PP(3, IPPD) Array of Write Pick path (struct_id1, pick_id1,
integers element_number1,...struct_idIPPD,
pick_idIPPD, element_numberIPPD
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
STAT PNONE User performed a break action.
POK User selected a primitive.
PNPICK User triggered the device, but did
not make a selection.
---------------------------------------------------------------------------
Description
PRQPK prompts for input using the pick-class logical input device specified by the device number and the workstation identifier. If the input status is POK, this function returns the pick path.
The pick path is a list Digital PHIGS uses to trace the traversal of the structure hierarchy and to identify uniquely the picked structure. The individual components of the list contain the following integer values:
•Structure identifier
•Pick identifier of the element
•Offset (by element) into the structure
See Also
PGTPK
PINPK
PINPK3
PSMPK
PSPKFT
DSPHI
PSPKID
PSPKM