[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
REQUEST PICK (PHOP,WSOP,*,*)
Purpose
Use
Request Pick
to have the graPHIGS API execute a request to the
specified pick device.
The graPHIGS API returns the pick path information in the
order specified in
the Initialize Pick subroutine,
that is, TOP FIRST or BOTTOM FIRST.
If your application has not called Initialize Pick,
then the pick path defaults to TOP FIRST.
A status of NONE means that a break action
occurred.
If the measure of the pick device indicates no
pick, then the graPHIGS API returns a status of NOPICK.
Otherwise, the graPHIGS API returns a status of OK
together with a pick path which the graPHIGS API sets
according to the current measure of the pick device.
Each entry in the pick path consists of a structure identifier,
a pick identifier, and an element position.
Language Bindings
C
preq_pick
(ws_id, pick_num,
depth, in_status, pick) |
Pint ws_idWorkstation identifier.
Pint pick_numPick device number
(>=1).
Pint depthMaximum depth of the returned pick path.
Pin_status *in_statusInput status
(0=PIN_STATUS_NONE,
1=PIN_STATUS_OK, 2=PIN_STATUS_NO_IN).
Ppick_path *pickRequested pick path.
FORTRAN
PRQPK
(wkid, pkdnr, ippd,
stat, ppd, pp) |
integer wkidWorkstation identifier.
integer pkdnrPick device number
(>=1).
integer ippdMaximum depth of the returned pick path.
integer statInput status
(0=PNONE, 1=POK, 2=PNPICK).
integer ppdDepth of the actual pick path.
integer pp (3,ippd)Requested pick path.
Errors
- 3
- Function Requires State (PHOP,WSOP,*,*)
- 54
- Specified Workstation Is Not Open
- 61
- Specified Workstation Is Not Of Category Input Or Outin
- 250
- Specified Device Not Available On Workstation
- 251
- Function Requires Input Device To Be In Request Mode
Related Subroutines
Add Names To Set
Initialize Pick
Inquire Number Of Available Logical Input Devices
Remove Names From Set
Set Pick Filter
Set Pick Identifier
Set Pick Mode
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]