SunPHIGS 3.0 Extensions Reference Manual
只搜寻这本书
以 PDF 格式下载本书

NAME

INQUIRE DEPTH CUE FACILITIES - inquire for depth cue facilities for specified workstation type

SYNOPSIS

C Syntax

void
pinq_dcue_facs ( type, error_ind, facilities )
Pwstype    type;          workstation type
Pint       * error_ind;   OUT error indicator
Pint       * facilities;  OUT depth cue facilities

FORTRAN Syntax

SUBROUTINE pqdcf ( WKTYPE, ERRIND, NPDCI )
INTEGER      WKTYPE      workstation type
INTEGER      ERRIND      OUT error indicator
INTEGER      NPDCI       OUT number of predefined indices

Required PHIGS Operating States

(PHOP, * ,* ,* )

DESCRIPTION

Purpose

INQUIRE DEPTH CUE FACILITIES returns the attribute values of a specified entry in the workstation table of depth cue facilities.
This is a SunPHIGS Extension function based on PHIGS PLUS and is not part of the PHIGS standard.

C Input Parameter

wstype
The workstation type.

C Output Parameters

error_ind
A pointer to the location to store the error number of any error detected by this function.
npdci
A pointer to the location to store the number of predefined indices.

FORTRAN Input Parameter

WKTYPE
The identifier of the workstation type.

FORTRAN Output Parameters

ERRIND
The error number of any error detected by this function.
NPDCI The number of predefined depth cue indices.

Execution

If the inquired information is available, the error indicator is returned as zero and values are returned in the output parameters.
If the inquired information is not available, then the values returned in the output parameters are undefined and the error indicator is set to one of the following error numbers to indicate the reason for nonavailability.
Since this is an inquiry function, ERROR HANDLING is not invoked when this function detects an error.

ERRORS

002
Ignoring function, function requires state (PHOP, * ,* ,* )
051
Ignoring function, this information is not yet available for this generic workstation type; open a workstation of this type and use the specific workstation type
052
Ignoring function, workstation type not recognized by the implementation
062
Ignoring function, this information is not available for this MO workstation type

SEE ALSO

SET DEPTH CUE REPRESENTATION (3PP)
SET DEPTH CUE INDEX (3PP)
PHIGS WORKSTATION DESCRIPTION TABLE (7P)