Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_hlhsr_id_facs(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_hlhsr_id_facs(3g)  —  Subroutines

 

Name

pinq_hlhsr_id_facs − Returns the list of available HLHSR identifiers. 

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

Syntax

void pinq_hlhsr_id_facs (
  Pint        wstype,      /∗ (I) Workstation type ∗/
  Pint        num_elem,    /∗ (I) Number of elements in the application
                                  list ∗/
  Pint        start,       /∗ (I) Starting position within the Digital
                                  PHIGS list ∗/
  Pint       ∗error_ind,   /∗ (O) Error indicator ∗/
  Pint_list  ∗ids,         /∗ (O) List of HLHSR identifiers ∗/
  Pint       ∗act_num      /∗ (O) Total number of HLHSR identifiers in
                                  the Digital PHIGS list ∗/
)

 

Data Structures

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

Constants

Defined Argument      Constant                    Description
---------------------------------------------------------------------------
HLHSR identifiers     PHLHSR_INDEX_NONE           No HLHSR processing
                      PHLHSR_INDEX_PAINTERS       Painters algorithm
                      PHLHSR_INDEX_ZBUFFER        Z-buffer algorithm
                      PHLHSR_INDEX_SCANLINE       Scan line algorithm
                      PHLHSR_INDEX_HIDDEN_LINE    Hidden line algorithm
                      PHLHSR_INDEX_AVERAGE_Z      Old Painters algorithm
---------------------------------------------------------------------------

Description

pinq_hlhsr_id_facs queries the workstation description table and returns the list of available HLHSR identifiers. 

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 ids argument, and passes the size in the num_elem argument.  Digital PHIGS returns the number of elements written to the list in the num_ints field of the ids argument. 

See Also

pinq_hlhsr_mode
pinq_hlhsr_mode_facs
pinq_ws_conn_type
pset_hlhsr_id
pset_hlhsr_mode

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