Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_model_clip_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_model_clip_facs(3g)  —  Subroutines

Name

pinq_model_clip_facs − Returns the list of modeling clipping operators. 

Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function

Syntax

void pinq_model_clip_facs (
  Pint        num_elems_appl_list,   /∗ (I) Number of elements in the
                                            application list ∗/
  Pint        start_ind,             /∗ (I) Starting position within the
                                            Digital PHIGS list ∗/
  Pint       ∗error_ind,             /∗ (O) Error indicator ∗/
  Pint       ∗num_planes,            /∗ (O) Number of distinct planes ∗/
  Pint_list  ∗ops,                   /∗ (O) List of operators ∗/
  Pint       ∗num_elems_impl_list    /∗ (O) Total number of modeling
                                            clipping operators in
                                            Digital PHIGS ∗/
)

 

Data Structures

typedef struct {
    Pint      num_ints;  /∗ number of Pints in the list ∗/
    Pint     ∗ints;      /∗ list of integers ∗/
} Pint_list;

Constants

Data Structure Constants   Constant                Description
---------------------------------------------------------------------------
Operators                  PMODEL_CLIP_REPLACE     Replace the current
                                                   modeling clipping volume
                                                   with the volume speci-
                                                   fied by the structure
                                                   element.
                           PMODEL_CLIP_INTERSECT   Create a volume that is
                                                   an intersection of the
                                                   current modeling
                                                   clipping volume and the
                                                   volume specified by the
                                                   structure element.
---------------------------------------------------------------------------

Description

pinq_model_clip_facs returns the list of supported modeling clipping operators.  Digital PHIGS always returns operator 1 (replace) and 2 (intersect). 

The application must provide the space used by the list.  The application passes the address of the list, an array of integers, in the ints field of the ops argument, and passes the size in the num_elems_appl_list argument.  Digital PHIGS returns the number of elements written to the list in the num_ints field of the ops argument. 

Digital PHIGS Version 4.1 does not support this function.

See Also

pset_model_clip_ind
pset_model_clip_vol
pset_model_clip_vol3

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026