[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

INQUIRE MODELING CLIPPING FACILITIES (PHOP,*,*,*)

Purpose

Use Inquire Modeling Clipping Facilities to inquire the number and list of modeling clipping operators, and the number of distinct planes in the modeling clipping volume.

Although this inquiry returns two operations (REPLACE and INTERSECT) and six as the number of distinct planes in the modeling clipping volume, support differs by workstation. Therefore, use the graPHIGS API Inquire Workstation Description (GPQWDT) to inquire these values for a specific workstation.

If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the inquired information is unavailable, then the values returned in the output parameters are invalid and the graPHIGS API sets the error indicator to the following error:

2
Function Requires State (PHOP,*,*,*)

Language Bindings

C

pinq_model_clip_facs (num_elems_appl_list, start_ind, err_ind, num_planes, ops, num_elems_impl_list)

Input Parameters

Pint num_elems_appl_list
Number of elements in the application list (>=0).

Pint start_ind
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pint *num_planes
Number of distinct half planes in the modeling clipping volume.

Pint_list *ops
List of modeling clipping operators (1=REPLACE, 2=INTERSECT).

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQMCLF (n, errind, ndpmcv, ol, mclpop)

Input Parameters

integer n
Element list requested (>=0).

Output Parameters

integer errind
Error indicator.

integer ndpmcv
Number of distinct half planes in the modeling clipping volume.

integer ol
Number of modeling clipping operators

integer mclpop
nth element in the list of modeling clipping operators. (1=REPLACE, 2=INTERSECT).

Errors

None

Related Subroutines

  • Set Modeling Clipping Indicator

  • Set Modeling Clipping Volume

  • Set Modeling Clipping Volume 3


  • [ Previous | Next | Contents | Glossary | Home | Search ]