Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pinq_pred_view_rep(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pinq_pred_view_rep(3g)  —  Subroutines

Name

pinq_pred_view_rep − Returns view representation information. 

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

Syntax

void pinq_pred_view_rep (
  Pint          wstype,     /∗ (I) Workstation type ∗/
  Pint          index,      /∗ (I) Predefined view index ∗/
  Pint         ∗error_ind,  /∗ (O) Error indicator ∗/
  Pview_rep3   ∗rep         /∗ (O) View representation ∗/
)

 

Data Structures

typedef struct {
    Pmatrix3    ori_matrix;     /∗ orientation matrix ∗/
    Pmatrix3    map_matrix;     /∗ mapping matrix ∗/
    Plimit3     clip_limit;     /∗ clipping limits ∗/
    Pclip_ind   xy_clip;        /∗ xy-clipping indicator ∗/
    Pclip_ind   back_clip;      /∗ back clipping indicator ∗/
    Pclip_ind   front_clip;     /∗ front clipping indicator ∗/
} Pview_rep3;
    typedef Pfloat Pmatrix3[4][4];
    typedef struct {
        Pfloat  x_min;  /∗ x minimum ∗/
        Pfloat  x_max;  /∗ x maximum ∗/
        Pfloat  y_min;  /∗ y minimum ∗/
        Pfloat  y_max;  /∗ y maximum ∗/
        Pfloat  z_min;  /∗ z minimum ∗/
        Pfloat  z_max;  /∗ z maximum ∗/
    } Plimit3;
    typedef enum {
        PIND_NO_CLIP,   /∗ clipping disabled ∗/
        PIND_CLIP       /∗ clipping enabled ∗/
    } Pclip_ind;

Description

pinq_pred_view_rep queries the workstation description table and returns values for the following:

•View orientation matrix

•View mapping matrix

•View clipping limits in normalized projection coordinates

•xy-clipping indicator

•Back-clipping indicator

•Front-clipping indicator

See Also

pinq_view_facs
pe_inq_ext_view_rep3
pset_view_ind
pset_view_rep
pset_view_rep3

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