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

GPMCI - Set Modeling Clipping Indicator

GPMCI (indic)

Purpose

Use GPMCI to insert a Set Modeling Clipping Indicator structure element into the open structure following the element pointer, or to replace the element pointed at by the element pointer with a Set Modeling Clipping Indicator structure element, depending on the current edit mode.

Use this subroutine to set the value of the current modeling clipping indicator (indic). During traversal, the graPHIGS API uses the value of the modeling clipping indicator to determine whether to perform modeling clipping on subsequent output primitives.

The traversal default for the modeling clipping indicator is 1=NOCLIP

Not all graPHIGS API workstations support modeling clipping. Use GPQWDT to determine if a particular workstation supports modeling clipping.

Parameters

indic -- specified by user, fullword integer

Modeling clipping indicator (1=NOCLIP, 2=CLIP )

Error Codes

5
FUNCTION REQUIRES STATE STOP OR NROP (NOT STCL)
332
CLIP INDICATOR VALUE IS INVALID

Related Subroutines

GPMCV2
Set Modeling Clipping Volume 2
GPMCV3
Set Modeling Clipping Volume 3
GPRMCV
Restore Modeling Clipping Volume
GPQWDT
Inquire Workstation Description

RCP code

201329674 (X'0C000C0A')


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