[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE DEFAULT LOCATOR DEVICE DATA 3 (PHOP,*,*,*)
Purpose
Use
Inquire Default Locator Device Data 3
to inquire the default value of the specified
locator device for the specified workstation type.
The graPHIGS API returns the default values for the requested
locator device.
The default initial locator position is in view zero, which
has the highest view input priority by default.
For more information on the defaults, see The graPHIGS Programming Interface: Technical Reference.
If the information is available, then the graPHIGS API sets
the error indicator to zero and returns the values
in the output
parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error
indicator to one of the following errors:
- 2
- Function Requires State (PHOP,*,*,*)
- 52
- Workstation Type Not Recognized By Implementation
- 51
- Information Not Available For Generic Workstation Type
- 61
- Specified Workstation Is Not Of Category Input Or Outin
- 250
- Specified Device Not Available On Workstation
Language Bindings
C
pinq_def_loc_data3
(ws_type,
loc_num, store, err_ind, loc_pos, pet_list,
echo_vol, loc_data) |
Pint ws_typeWorkstation type.
Pint loc_numLocator device number
(>=1).
Pstore storeHandle to the Store object.
The graPHIGS API uses an object of type Store to facilitate
the use of subroutines which return complex data.
See Create Store
CREATE STORE (PHOP,*,*,*)
subroutine for details on how the graPHIGS API uses
this parameter on inquiries.
Pint *err_indError indicator.
Ppoint3 *loc_posDefault initial locator position in WC.
Pint_list **pet_listList of prompt and echo types.
The memory referenced by *pet_list is
managed by the parameter store.
Plimit3 *echo_volDefault echo volume in DC.
Ploc_data3 **loc_dataDefault locator data record.
The memory referenced by *loc_data is
managed by the parameter store.
FORTRAN
PQDLC3
(wtype, devno, n,
mldr, errind, dpx, dpy,
dpz, ol, pet, evol,
ldr, datrec) |
integer wtypeWorkstation type.
integer devnoLocator device number
(>=1).
integer nList element requested
(>=0).
integer mldrDimension of data record array
(>=0).
integer errindError indicator.
integer dpxx coordinate of the default initial locator position in WC.
integer dpyy coordinate of the default initial locator position in WC.
integer dpzz coordinate of the default initial locator position in WC.
integer olNumber of available prompt and echo types.
integer petnth element of the list of
the available prompt and echo types.
real evol(6)Default echo volume in DC
(XMIN, XMAX, YMIN, YMAX, ZMIN, ZMAX).
integer ldrNumber of array elements used in the data record.
character*80 datrec(mldr)Data record.
Errors
None
Related Subroutines
Initialize Locator
Initialize Locator 3
Inquire Locator Device State
Inquire Locator Device State 3
Inquire Default Locator Device Data
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]