SET MODELLING CLIPPING INDICATOR(3P) — SUNPHIGS LIBRARY
NAME
SET MODELLING CLIPPING INDICATOR − create structure element to set the current modelling clipping indicator
SYNOPSIS
C Syntax
void
psetmodelclipindicator ( ind )
Pclipind;clipping indicator
FORTRAN Syntax
SUBROUTINE psmcli ( MCLIPI )
INTEGERMCLIPImodelling clipping indicator (PNCLIP, PCLIP)
Required PHIGS Operating States
(PHOP, ∗, STOP, ∗)
DESCRIPTION
Purpose
SET MODELLING CLIPPING INDICATOR creates a structure element containing a value for the current modelling clipping indicator attribute, which affects all output primitives.
C Input Parameter
indThe clipping indicator is an enumerated value, from:
PCLIPClip
PNOCLIPDo not clip
FORTRAN Input Parameter
MCLIPI
The clipping indicator is an enumerated value, from:
PCLIPClip
PNCLIPDo not clip
Execution
If the current edit mode is INSERT, a SET MODELLING CLIPPING INDICATOR element is inserted into the currently open structure after the element pointed to by the current element pointer. If the edit mode is REPLACE, the new element replaces the element pointed to by the element pointer. In either case, the element pointer is updated to point to the new element.
During traversal, this attribute enables or disables modelling clipping to the volume controlled by SET MODELLING CLIPPING VOLUME, SET MODELLING CLIPPING VOLUME 3, and RESTORE MODELLING CLIPPING VOLUME elements.
ERRORS
005Ignoring function, function requires state (PHOP, ∗, STOP, ∗)
SEE ALSO
INQUIRE MODELLING CLIPPING FACILITIES (3P)
SET MODELLING CLIPPING VOLUME 3 (3P)
RESTORE MODELLING CLIPPING VOLUME (3P)
Sun Release 4.0 — Last change: 28 July 1989