NAME
PHIGS WORKSTATION DESCRIPTION TABLE − contains information describing the static capabilities of a SunPHIGS workstation
Data Type Abbreviations
IIntegerP33D Point
RRealFPFont/Precision Pair
EEnumeration TypeCCChromaticity Coefficient
BBounding RangeDData Record
L(type)List of values of a given type (nys) Not Yet Supported
SunPHIGS Workstation Description Table
| Workstation Description Table Entry |
Data |
Initial |
| Type |
Value |
| workstation type |
|
see Table 1 |
| workstation category |
|
see Table 1 |
|
|
|
| device coordinate units |
E |
OTHER |
| maximum display space size: |
|
|
| in device coordinates |
3×R |
(1.0,1.0,1.0) |
| in device address units |
3×I |
(1,1,1) |
|
|
|
| number of available HLHSR identifiers |
I |
2 |
| list of available HLHSR identifiers |
L(I) |
NONE,ZBUFF |
| number of available HLHSR modes |
I |
2 |
| list of available HLHSR modes |
L(I) |
NONE,ZBUFF |
| number of predefined view representations |
I |
6 |
| table of predefined view representations:† |
|
|
| view orientation matrix |
4×4×R |
Identity |
| view mapping matrix |
4×4×R |
Identity |
| view clipping limits |
3×B |
(0,1,0,1,0,1) |
| x-y clipping indicator |
E |
CLIP |
| back clipping indicator |
E |
CLIP |
| front clipping indicator |
E |
CLIP |
|
|
|
| raster or vector display |
E |
RASTER (OTHER for CGM Output) |
| dynamic modification accepted for: |
|
|
| view representation |
E |
IRG |
| polyline bundle representation |
E |
IRG |
| polymarker bundle representation |
E |
IRG |
| text bundle representation |
E |
IRG |
| interior bundle representation |
E |
IRG |
| edge bundle representation |
E |
IRG |
| pattern representation |
E |
IRG |
| colour representation |
E |
IMM‡ |
| workstation transformation |
E |
IRG |
| highlighting filter |
E |
IRG |
| invisibility filter |
E |
IRG |
| HLHSR mode |
E |
IRG |
† All 6 view representations are predefined with the same data.
‡ IRG for CGM Output workstation type, or when in true colour mode — either on a true colour device, or because of the PHIGS Colour Mode attribute — see WORKSTATION TYPE SET(3P).
SunPHIGS Workstation Description Table (continued)
| Description Table Entry |
Data |
Initial |
| Type |
Value |
| default value for deferral state: |
|
|
| deferral mode |
E |
ASAP (WAIT for CGM Output) |
| modification mode |
E |
UQUM (NIVE for CGM Output) |
|
|
|
| number of available linetypes |
I |
8 |
| list of available linetypes |
L(I) |
see Table 2 |
| number of available linewidths |
I |
0 (continuous) |
| nominal linewidth |
R |
1.0 (pixel) |
| minimum linewidth |
R |
1.0 |
| maximum linewidth |
R |
1000.0 |
| number of predefined polyline bundles |
I |
8 |
| table of predefined polyline bundles |
|
see Table 3 |
|
|
|
| number of polyline shading models supported† |
I |
1 |
| list of polyline shading methods supported† |
|
see Table 17 |
| number of curve approximation criteria types supported† |
I |
2 |
| list of curve approximation criteria supported† |
|
see Table 21 |
| maximum non-uniform b-spline curve order supported† |
I |
10 |
| maximum uniform parametric polynomial curve order supported† |
I |
0 (nys) |
| number of parametric polynomial curve types supported† |
I |
0 (nys) |
| list of parametric polynomial curve types† |
|
(nys) |
|
|
|
| number of available marker types |
I |
5 |
| list of available marker types |
L(I) |
see Table 4 |
| number of available marker sizes |
I |
0 (continuous) |
| nominal marker size |
R |
11.0 (pixels) |
| minimum marker size |
R |
1.0 |
| maximum marker size |
R |
unlimited |
| number of predefined polymarker bundles |
I |
5 |
| table of predefined polymarker bundles |
|
see Table 5 |
|
|
|
| number of text font and precision pairs |
I |
39 |
| list of text font and precision pairs |
L(FP) |
see Table 6 |
| number of available character expansion factors |
I |
0 (continuous) |
| minimum character expansion factor |
R |
0.0 |
| maximum character expansion factor |
R |
unlimited |
| number of available character heights |
I |
0 (continuous) |
| minimum character height |
R |
0.0 |
| maximum character height |
R |
unlimited |
| number of predefined text bundles |
I |
12 |
| table of predefined text bundles |
|
see Table 7 |
|
|
|
| number of available annotation styles |
I |
2 |
| list of available annotation styles |
L(I) |
see Table 13 |
† This is a SunPHIGS Extension based on PHIGS+ and is not a part of the PHIGS standard.
SunPHIGS Workstation Description Table (continued)
| Description Table Entry |
Data |
Initial |
| Type |
Value |
| number of available interior styles |
I |
5 |
| list of available interior styles |
L(E) |
see Table 8 |
| number of available hatch styles |
I |
24 |
| list of available hatch styles |
L(I) |
see Table 9 |
| number of predefined interior bundles |
I |
5 |
| table of predefined interior bundles |
|
see Table 10 |
|
|
|
| number of interior shading methods† |
I |
1 |
| list of interior shading methods† |
|
see Table 18 |
| number of reflectance equations supported† |
I |
1 |
| list of reflectance equations supported† |
|
see Table 20 |
|
|
|
| number of surface approximation criteria supported† |
I |
2 |
| list of surface approximation criteria supported† |
|
see Table 22 |
| maximum non-uniform b-spline surface order supported† |
I |
10 |
| number of trimming curve approximation criteria types supported† |
I |
2 |
| list of trimming curve approximation criteria supported† |
|
see Table 21 |
| maximum trimming curve order supported† |
I |
6 |
| maximum uniform parametric polynomial surface order supported† |
I |
0 (nys) |
| number of parametric polynomial surface types supported† |
I |
(nys) |
| list of parametric polynomial surface types† |
|
(nys) |
|
|
|
| number of predefined pattern representations |
I |
0 (not supported) |
| table of predefined pattern representations |
|
(none) |
| number of available colour models |
I |
1 |
| list of available colour models |
L(I) |
1 (RGB) |
|
|
|
| number of available edgetypes |
I |
8 |
| list of available edgetypes |
L(I) |
see Table 2 |
| number of available edgewidths |
I |
0 (continuous) |
| nominal edgewidth |
R |
1.0 (pixel) |
| minimum edgewidth |
R |
1.0 |
| maximum edgewidth |
R |
1000.0 |
| number of predefined edge bundles |
I |
8 |
| table of predefined edge bundles |
|
see Table 11 |
† This is a SunPHIGS Extension based on PHIGS+ and is not a part of the PHIGS standard.
SunPHIGS Workstation Description Table (continued)
| Description Table Entry |
Data |
Initial |
| Type |
Value |
| default colour model |
I |
1 (RGB) |
| chromaticity coefficients of display primaries |
3×CC |
(0.0,0.0, 0.0,0.0, 0.0,0.0) |
| number of available colours or intensities |
I |
224 |
| colour available |
E |
COLOUR |
| number of predefined colour representations |
I |
8 |
| table of predefined colour representations |
|
see Table 12 |
|
|
|
| number of available generalized drawing primitives 3 |
I |
13 |
| list of available generalized drawing primitives 3 |
|
see Table 14 |
| list of sets of attributes used by generalized drawing primitives 3 |
L(E) |
see Table 15 |
| number of available generalized drawing primitives |
I |
13 |
| list of available generalized drawing primitives |
|
see Table 16 |
| list of sets of attributes used by generalized drawing primitives |
L(E) |
see Table 15 |
| number of available generalized structure elements |
I |
1 |
| GSE identifier |
I |
-1 (HIGHLIGHT COLOUR) |
|
|
|
| number of display priorities supported |
I |
0 (unlimited) |
| maximum number of polyline bundle table entries |
I |
20 |
| maximum number of polymarker bundle table entries |
I |
20 |
| maximum number of text bundle table entries |
I |
20 |
| maximum number of interior bundle table entries |
I |
20 |
| maximum number of edge bundle table entries |
I |
20 |
| maximum number of pattern table entries |
I |
0 (not supported) |
| maximum number of colour indices |
I |
32† |
| maximum number of view indices |
I |
20 |
|
|
|
| dynamic modification accepted for: |
|
|
| structure content modifications |
E |
CBS (IRG for CGM Output) |
| post structure |
E |
CBS (IRG for CGM Output) |
| unpost structure |
E |
CBS (IRG for CGM Output) |
| delete structure |
E |
CBS (IRG for CGM Output) |
| reference modifications |
E |
IRG |
† Settable using WORKSTATION TYPE SET (3P).
SunPHIGS Workstation Description Table (continued)
| Description Table Entry |
Data |
Initial |
| Type |
Value |
| number of predefined depth cue indices† |
I |
2 |
| table of predefined depth cue operations† |
|
see Table 23 |
| maximum number of depth cue bundle table entries† |
I |
20 |
|
|
|
| number of predefined colour mapping table entries† |
I |
(nys) |
| table of predefined colour mappings† |
|
(nys) |
| maximum number of colour mapping table entries† |
I |
(nys) |
| number of colour mapping methods supported† |
I |
(nys) |
| list of colour mapping methods supported† |
|
(nys) |
| number of available true colours† |
I |
224 |
| number of available pseudo colours† |
I |
(nys) |
|
|
|
| number of directly specifiable colour models supported† |
I |
1 (RGB) |
| number of rendering colour models supported† |
I |
(nys — RGB is used) |
|
|
|
| number of light source types supported† |
I |
4 |
| list of light source types supported† |
|
see Table 19 |
| number of predefined light source table indices† |
I |
5 |
| table of predefined light sources† |
|
see Table 24 |
| maximum number of light source table entries† |
I |
8 |
| maximum number of simultaneously active non-ambient light sources† |
I |
8 |
|
|
|
| number of general interior types supported† |
I |
1 |
| list of general interior types supported† |
|
see Table 25 |
| number of predefined general interior table indices† |
I |
3 |
| table of predefined general interior styles† |
|
see Table 26 |
| maximum number of general interior table entries† |
I |
20 |
|
|
|
| dynamic modification accepted for: |
|
|
| all extended bundle representations† |
E |
IRG |
| light source representation† |
E |
IRG |
| depth cue table entry† |
E |
IRG |
| general interior table entry† |
E |
IRG |
† This is a SunPHIGS Extension based on PHIGS+ and is not a part of the PHIGS standard.
SunPHIGS Workstation Description Table (continued)
| Description Table Entry |
Data |
Initial |
| Type |
Value |
| number of logical devices of class LOCATOR |
I |
5 |
| for every logical input device of class LOCATOR: |
|
|
| locator device number |
I |
see Initialize Locator |
| default initial locator position |
P3 |
see Initialize Locator |
| number of available prompt and echo types |
I |
see Initialize Locator |
| list of available prompt and echo types |
L(I) |
see Initialize Locator |
| default echo volume |
3×B |
see Initialize Locator |
| default locator data record |
D |
see Initialize Locator |
|
|
|
| number of logical input devices of class STROKE |
I |
3 |
| for every logical input device of class STROKE: |
|
|
| stroke device number |
I |
see Initialize Stroke |
| maximum input buffer size |
I |
see Initialize Stroke |
| number of available prompt and echo types |
I |
see Initialize Stroke |
| list of available prompt and echo types |
L(I) |
see Initialize Stroke |
| default echo volume |
3×B |
see Initialize Stroke |
| default stroke data record containing at least: |
D |
see Initialize Stroke |
| input buffer size |
I |
see Initialize Stroke |
|
|
|
| number of logical input devices of class VALUATOR |
I |
18† |
| for every logical input device of class VALUATOR: |
|
|
| valuator device number |
I |
see Initialize Valuator |
| default initial value |
R |
see Initialize Valuator |
| number of available prompt and echo types |
I |
see Initialize Valuator |
| list of available prompt and echo types |
L(I) |
see Initialize Valuator |
| default echo volume |
3×B |
see Initialize Valuator |
| default valuator data record containing at least: |
D |
see Initialize Valuator |
| low value |
R |
see Initialize Valuator |
| high value |
R |
see Initialize Valuator |
|
|
|
| number of logical input devices of class CHOICE |
I |
16‡ |
| for every logical input device of class CHOICE: |
|
|
| choice device number |
I |
see Initialize Choice |
| maximum number of choice alternatives |
I |
see Initialize Choice |
| number of available prompt and echo types |
I |
see Initialize Choice |
| list of available prompt and echo types |
L(I) |
see Initialize Choice |
| default echo volume |
3×B |
see Initialize Choice |
| default choice data record |
D |
see Initialize Choice |
† 8 valuators are hardware dials, available if a Sun dialbox is attached.
‡ device 16 is a hardware button box, available if a Sun button box is attached.
SunPHIGS Workstation Description Table (continued)
| Description Table Entry |
Data |
Initial |
| Type |
Value |
| number of logical input devices of class PICK |
I |
6 |
| for every logical input device of class PICK: |
|
|
| pick device number |
I |
see Initialize Pick |
| number of available prompt and echo types |
I |
see Initialize Pick |
| list of available prompt and echo types |
L(I) |
see Initialize Pick |
| default echo volume |
3×B |
see Initialize Pick |
| default pick data record containing at least: |
D |
see Initialize Pick |
| pick path order |
E |
TOP_FIRST |
|
|
|
| number of logical input devices of class STRING |
I |
1 |
| for every logical input device of class STRING: |
|
|
| string device number |
I |
see Initialize String |
| maximum input buffer size |
I |
see Initialize String |
| number of available prompt and echo types |
I |
see Initialize String |
| list of available prompt and echo types |
L(I) |
see Initialize String |
| default echo volume |
3×B |
see Initialize String |
| default string data record containing at least: |
D |
see Initialize String |
| input buffer size (characters) |
I |
see Initialize String |
| initial cursor position |
I |
see Initialize String |
Inquiry Functions
The following functions may be used to inquire workstation description table values at runtime for programmatic adaptation to the workstation type:
INQUIRE LIST OF AVAILABLE WORKSTATION TYPES (3P)
INQUIRE WORKSTATION CATEGORY (3P)
INQUIRE DISPLAY SPACE SIZE (3P)
INQUIRE HLHSR FACILITIES (3P)
INQUIRE VIEW FACILITIES (3P)
INQUIRE PREDEFINED VIEW REPRESENTATION (3P)
INQUIRE WORKSTATION CLASSIFICATION (3P)
INQUIRE DYNAMICS OF WORKSTATION ATTRIBUTES (3P)
INQUIRE DEFAULT DISPLAY UPDATE STATE (3P)
INQUIRE POLYLINE FACILITIES (3P)
INQUIRE PREDEFINED POLYLINE REPRESENTATION (3P)
INQUIRE EXTENDED POLYLINE FACILITIES (3P+)
INQUIRE CURVE AND SURFACE FACILITIES (3P+)
INQUIRE PREDEFINED EXTENDED POLYLINE REPRESENTATION (3P+)
INQUIRE POLYMARKER FACILITIES (3P)
INQUIRE PREDEFINED POLYMARKER REPRESENTATION (3P)
INQUIRE PREDEFINED EXTENDED POLYMARKER REPRESENTATION (3P+)
INQUIRE TEXT FACILITIES (3P)
INQUIRE PREDEFINED TEXT REPRESENTATION (3P)
INQUIRE PREDEFINED EXTENDED TEXT REPRESENTATION (3P+)
INQUIRE ANNOTATION FACILITIES (3P)
INQUIRE INTERIOR FACILITIES (3P)
INQUIRE PREDEFINED INTERIOR REPRESENTATION (3P)
INQUIRE EXTENDED INTERIOR FACILITIES (3P+)
INQUIRE PREDEFINED EXTENDED INTERIOR REPRESENTATION (3P+)
INQUIRE PATTERN FACILITIES (3P)
INQUIRE PREDEFINED PATTERN REPRESENTATION (3P)
INQUIRE PREDEFINED EXTENDED PATTERN REPRESENTATION (3P+)
INQUIRE EDGE FACILITIES (3P)
INQUIRE PREDEFINED EDGE REPRESENTATION (3P)
INQUIRE PREDEFINED EXTENDED EDGE REPRESENTATION (3P+)
INQUIRE COLOUR MODEL FACILITIES (3P)
INQUIRE COLOUR FACILITIES (3P)
INQUIRE PREDEFINED COLOUR REPRESENTATION (3P)
INQUIRE GENERALIZED DRAWING PRIMITIVE 3 (3P)
INQUIRE GENERALIZED DRAWING PRIMITIVE (3P)
INQUIRE GENERALIZED STRUCTURE ELEMENT FACILITIES (3P)
INQUIRE NUMBER OF DISPLAY PRIORITIES SUPPORTED (3P)
INQUIRE WORKSTATION STATE TABLE LENGTHS (3P)
INQUIRE EXTENDED WORKSTATION STATE TABLE LENGTHS (3P+)
INQUIRE DYNAMICS OF STRUCTURES (3P)
INQUIRE DEPTH CUE FACILITIES (3P+)
INQUIRE PREDEFINED DEPTH CUE REPRESENTATION (3P+)
INQUIRE DIRECT COLOUR MODEL FACILITIES (3P+)
INQUIRE LIGHT SOURCE FACILITIES (3P+)
INQUIRE PREDEFINED LIGHT SOURCE REPRESENTATION (3P+)
INQUIRE GENERAL INTERIOR FACILITIES (3P+)
INQUIRE PREDEFINED GENERAL INTERIOR REPRESENTATION (3P+)
INQUIRE NUMBER OF AVAILABLE LOGICAL INPUT DEVICES (3P)
INQUIRE DEFAULT LOCATOR DEVICE DATA 3 (3P)
INQUIRE DEFAULT STROKE DEVICE DATA 3 (3P)
INQUIRE DEFAULT VALUATOR DEVICE DATA 3 (3P)
INQUIRE DEFAULT CHOICE DEVICE DATA 3 (3P)
INQUIRE DEFAULT PICK DEVICE DATA 3 (3P)
INQUIRE DEFAULT STRING DEVICE DATA 3 (3P)
Table 1 — Workstation Type and Category
| Type |
C Name |
FORTRAN Name |
Category |
| Sun Tool |
phigs_ws_type_sun_tool |
phigswstool |
OUTIN |
| Sun Canvas |
phigs_ws_type_sun_canvas |
phigswstcanvas |
OUTIN |
| CGM Output |
phigs_ws_type_cgm_out |
phigswstcgmout |
MO |
Table 2 — Available Line and/or Edge Types
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PLN_SOLID |
PLSOLI |
Solid |
| 2 |
PLN_DASH |
PLDASH |
Dashed |
| 3 |
PLN_DOT |
PLDOT |
Dotted |
| 4 |
PLN_DOTDASH |
PLDASD |
Dot-dashed |
| 0 |
PLN_LONGDASH |
PLNLONGDASH |
Long-dashed |
| -1 |
PLN_DOTDASHDOT |
PLNDOTDASHDDOT |
Dot-dashed-dot-dotted |
| -2 |
PLN_CENTER |
PLNCENTER |
Center (long-short dashed) |
| -3 |
PLN_PHANTOM |
PLNPHANTOM |
Phantom (long-short-short dashed) |
Table 3 — Predefined Extended† Polyline Bundle Table
| Bundle |
Linetype |
Line Width |
Colour |
Shading |
Approximation |
Approx. |
| Index |
Scale Factor |
Index‡ |
Method† |
Type† |
Value† |
| 1 |
Solid |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 2 |
Dashed |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 3 |
Dotted |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 4 |
Dot-dashed |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 5 |
Long-dashed |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 6 |
Dot-dashed-dot-dotted |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 7 |
Center |
1.0 |
1 |
None |
WS dependent |
5.0 |
| 8 |
Phantom |
1.0 |
1 |
None |
WS dependent |
5.0 |
† This is a SunPHIGS Extension based on PHIGS+ and is not a part of the PHIGS standard.
‡ All Predefined Extended Polyline Bundle entries use colour model INDIRECT.
Table 4 — Available Marker Types
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PMK_POINT |
PPOINT |
Point |
| 2 |
PMK_PLUS |
PPLUS |
Plus |
| 3 |
PMK_STAR |
PAST |
Asterisk |
| 4 |
PMK_O |
POMARK |
Circle |
| 5 |
PMK_X |
PXMARK |
Cross |
| 0 |
PMK_SQUARE |
PSQUARE |
Square |
| -1 |
PMK_BOWTIE_NE |
PBOWTIENE |
Bowtie -1 |
| -2 |
PMK_BOWTIE_NW |
PBOWTIENW |
Bowtie -2 |
Table 5 — Predefined Polymarker Bundle Table
| Bundle |
Marker Type |
Marker Size |
Colour |
| Index |
Scale Factor |
Index†† |
| 1 |
Point |
1.0 |
1 |
| 2 |
Plus |
1.0 |
1 |
| 3 |
Asterisk |
1.0 |
1 |
| 4 |
Circle |
1.0 |
1 |
| 5 |
Cross |
1.0 |
1 |
| 6 |
Square |
1.0 |
1 |
†† All Predefined Extended Polymarker Bundle entries (a SunPHIGS Extension based on PHIGS+ and not a part of the PHIGS standard) use colour model INDIRECT.
Table 6 — Available Text Fonts and Precisions
| Font |
C Name |
FORTRAN Name |
Precisions |
| Number |
Supported |
| 1 |
PFONT_ROMAN_MONO |
PFONTROMANMONO |
All 3 Precisions (STRING, CHARACTER and STROKE) are supported for all fonts |
| -2 |
PFONT_ROMAN_SIMPLEX |
PFONTROMANSMPLX |
|
| -3 |
PFONT_ROMAN_DUPLEX |
PFONTROMANDPLX |
|
| -4 |
PFONT_ROMAN_COMPLEX |
PFONTROMANCMPLX |
|
| -5 |
PFONT_ROMAN_TRIPLEX |
PFONTROMANTRPLX |
|
| -6 |
PFONT_ITALIC_COMPLEX |
PFONTITALICCMPLX |
|
| -7 |
PFONT_ITALIC_TRIPLEX |
PFONTITALICTRPLX |
|
| -8 |
PFONT_GREEK_SIMPLEX |
PFONTGREEKSMPLX |
|
| -9 |
PFONT_GREEK_COMPLEX |
PFONTGREEKCMPLX |
|
| -10 |
PFONT_SCRIPT_SIMPLEX |
PFONTSCRIPTSMPLX |
|
| -11 |
PFONT_SCRIPT_COMPLEX |
PFONTSCRIPTCMPLX |
|
| -12 |
PFONT_CARTOGRAPHIC |
PFONTCARTO |
|
| -13 |
PFONT_SYMBOL |
PFONTSYMBOL |
|
Table 7 — Predefined Extended† Text Bundle Table
| Bundle |
Font |
Text |
Expansion |
Character |
Colour |
| Index |
Number |
Precision |
Factor |
Spacing |
Index† |
| 1 |
-2 (Roman Simplex) |
STROKE |
1.0 |
0.0 |
1 |
| 2 |
-3 (Roman Duplex) |
STROKE |
1.0 |
0.0 |
1 |
| 3 |
-4 (Roman Complex) |
STROKE |
1.0 |
0.0 |
1 |
| 4 |
-5 (Roman Triplex) |
STROKE |
1.0 |
0.0 |
1 |
| 5 |
-6 (Italic Complex) |
STROKE |
1.0 |
0.0 |
1 |
| 2 |
-7 (Italic Triplex) |
STROKE |
1.0 |
0.0 |
1 |
| 7 |
-8 (Greek Simplex) |
STROKE |
1.0 |
0.0 |
1 |
| 8 |
-9 (Greek Complex) |
STROKE |
1.0 |
0.0 |
1 |
| 9 |
-10 (Script Simplex) |
STROKE |
1.0 |
0.0 |
1 |
| 10 |
-11 (Script Complex) |
STROKE |
1.0 |
0.0 |
1 |
| 11 |
-12 (Cartographic) |
STROKE |
1.0 |
0.0 |
1 |
| 12 |
-13 (Symbol) |
STROKE |
1.0 |
0.0 |
1 |
† All Predefined Extended Polymarker Bundle entries (a SunPHIGS Extension based on PHIGS+ and not a part of the PHIGS standard) use colour model INDIRECT.
Table 8 — Available Interior Styles
| C Name |
FORTRAN Name |
Meaning |
| PHOLLOW |
PHOLLO |
Hollow |
| PSOLID |
PSOLID |
Solid-filled |
| PHATCH |
PHATCH |
Hatched |
| PEMPTY |
PISEMP |
Empty |
| PGENERAL |
PGENER |
General‡ |
‡ This is a SunPHIGS Extension based on PHIGS+ and not a part of the PHIGS standard.
Table 9 — Available Hatch Styles
| Style |
C Name |
FORTRAN NAME |
Meaning |
| -1 |
PHATCH_HORIZ |
PHATHORZ |
Horizontal Lines |
| -2 |
PHATCH_VERT |
PHATVERT |
Vertical Lines |
| -3 |
PHATCH_DIAG_45 |
PHATDIAG45 |
45-degree angled lines |
| -4 |
PHATCH_DIAG_135 |
PHATDIAG135 |
135-degree angled lines |
| -5 |
PHATCH_GRID_R |
PHATGRID |
Rectangular Grid |
| -6 |
PHATCH_GRID_D |
PHATDIAGGRID |
Diagonal Grid |
| -51 |
PHATCH_HORIZ_DBL |
PHATHORZDB |
Double-spaced Horizontal |
| -52 |
PHATCH_VERT_DBL |
PHATVERTDB |
Double-spaced Vertical |
| -53 |
PHATCH_DIAG_45_DBL |
PHATDIAG45DB |
Double-spaced 45 Degree |
| -54 |
PHATCH_DIAG_135_DBL |
PHATDIAG135DB |
Double-spaced 135 Degree |
| -55 |
PHATCH_GRID_R_DBL |
PHATGRIDDB |
Double-spaced Rectangular Grid |
| -56 |
PHATCH_GRID_D_DBL |
PHATDIAGGRIDDB |
Double-spaced Diagonal Grid |
| -101 |
PHATCH_HORIZ_TRANS |
PHATHORZTR |
Transparent Horizontal |
| -102 |
PHATCH_VERT_TRANS |
PHATVERTTR |
Transparent Vertical |
| -103 |
PHATCH_DIAG_45_TRANS |
PHATDIAG45TR |
Transparent 45 Degree |
| -104 |
PHATCH_DIAG_135_TRANS |
PHATDIAG135TR |
Transparent 135 Degree |
| -105 |
PHATCH_GRID_R_TRANS |
PHATGRIDTR |
Transparent Rectangular Grid |
| -106 |
PHATCH_GRID_D_TRANS |
PHATDIAGGRIDTR |
Transparent Diagonal Grid |
| -151 |
PHATCH_HORIZ_DBL_TRANS |
PHATHORZTRDB |
Double-spaced Transparent Horiz |
| -152 |
PHATCH_VERT_DBL_TRANS |
PHATVERTTRDB |
Double-spaced Transparent Vert |
| -153 |
PHATCH_DIAG_45_DBL_TRANS |
PHATDIAG45TRDB |
Double-spaced Transparent 45 |
| -154 |
PHATCH_DIAG_135_DBL_TRANS |
PHATDIAG135TRDB |
Double-spaced Transparent 135 |
| -155 |
PHATCH_GRID_R_DBL_TRANS |
PHATGRIDTRDB |
Double-spaced Transparent Rect |
| -156 |
PHATCH_GRID_D_DBL_TRANS |
PHATDIAGGRIDTRDB |
Double-spaced Transparent Diag |
Table 10 — Predefined Fill Area Interior Bundle Table
| Bundle |
Interior |
Interior |
Colour |
Reflectance |
Shading |
| Index |
Style |
Style Index |
Index |
Equation† |
Method† |
| 1 |
Hollow |
1 |
1 |
None |
None |
| 2 |
Solid |
1 |
1 |
None |
None |
| 3 |
Hatch |
-1 (Horizontal) |
2 |
None |
None |
| 4 |
Hatch |
-2 (Vertical) |
3 |
None |
None |
| 5 |
Hatch |
-3 (45 degree) |
4 |
None |
None |
† This is a SunPHIGS Extension based on PHIGS+ and is not a part of the PHIGS standard. All Predefined Extended Interior Bundle entries use colour model INDIRECT; have back attribute values identical to the front; have the following area properties:
| Ambient |
Diffuse |
Specular |
Specular |
Specular |
Transparency |
| Coefficient |
Coefficient |
Coefficient |
Colour |
Exponent |
Coefficient |
| 1.0 |
1.0 |
1.0 |
(RGB,1.0,1.0,1.0) |
0.0 |
0.0 |
and have the following approximation data:
| Surface |
Surface |
Trimming Curve |
Trimming Curve |
| Approximation |
Approximation |
Approximation |
Approximation |
| Type |
Values |
Type |
Value |
| WS dependent |
5.0, 5.0 |
WS dependent |
5.0 |
Table 11 — Predefined Edge Bundle Table
| Bundle |
Edge |
Edgetype |
Edge Width |
Colour |
| Index |
Flag |
Scale Factor |
Index‡ |
| 1 |
ON |
Solid |
1.0 |
1 |
| 2 |
ON |
Dashed |
1.0 |
1 |
| 3 |
ON |
Dotted |
1.0 |
1 |
| 4 |
ON |
Dot-dashed |
1.0 |
1 |
| 5 |
ON |
Long-dashed |
1.0 |
1 |
| 6 |
ON |
Dot-dashed-dot-dotted |
1.0 |
1 |
| 7 |
ON |
Center |
1.0 |
1 |
| 8 |
ON |
Phantom |
1.0 |
1 |
‡ All Predefined Extended Edge Bundle entries (a SunPHIGS Extension based on PHIGS+ and not a part of the PHIGS standard) use colour model INDIRECT.
Table 12 — Predefined Colour Table
| Colour Index |
Red |
Green |
Blue |
Description |
| 0 |
0.0 |
0.0 |
0.0 |
Black |
| 1 |
1.0 |
1.0 |
1.0 |
White |
| 2 |
1.0 |
0.0 |
0.0 |
Red |
| 3 |
0.0 |
1.0 |
0.0 |
Green |
| 4 |
0.0 |
0.0 |
1.0 |
Blue |
| 5 |
1.0 |
1.0 |
0.0 |
Yellow |
| 6 |
0.0 |
1.0 |
1.0 |
Cyan |
| 7 |
1.0 |
0.0 |
1.0 |
Magenta |
| \(>=8 |
1.0 |
1.0 |
1.0 |
White |
Table 13 — Available Annotation Styles
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PAN_UNCON |
PUNCON |
Unconnected |
| 2 |
PAN_LEADLINE |
PLDLN |
Lead Line |
Table 14 — Available Generalized Drawing Primitives 3
| GDP Id |
C Name |
FORTRAN NAME |
Meaning |
| -1 |
PUGDP_POLYLINE_SET3 |
PUGDPPLS3 |
Polyline Set 3 |
| -2 |
PUGDP_CIRCLE3 |
PUGDPCIRC3 |
Circle 3 |
| -3 |
PUGDP_CIRC_ARC3 |
PUGDPCIRCARC3 |
Circular Arc 3 |
| -4 |
PUGDP_CIRC_ARC_CLOSE3 |
PUGDPCIRCARCCL3 |
Circular Arc Close 3 |
| -5 |
PUGDP_ANNOT_CIRCLE3 |
PUGDPACIRC3 |
Annotation Circle 3 |
| -6 |
PUGDP_ANNOT_CIRC_ARC3 |
PUGDPACIRCARC3 |
Annotation Circular Arc 3 |
| -7 |
PUGDP_ANNOT_CIRC_ARC_CLOSE3 |
PUGDPACIRCARCCL3 |
Annotation Circular Arc Close 3 |
| -8 |
PUGDP_ELLIPSE3 |
PUGDPELLP3 |
Ellipse 3 |
| -9 |
PUGDP_ELLP_ARC3 |
PUGDPELLPARC3 |
Elliptical Arc 3 |
| -10 |
PUGDP_ELLP_ARC_CLOSE3 |
PUGDPELLPARCCL3 |
Elliptical Arc Close 3 |
| -11 |
PUGDP_ANNOT_ELLIPSE3 |
PUGDPAELLP3 |
Annotation Ellipse 3 |
| -12 |
PUGDP_ANNOT_ELLP_ARC3 |
PUGDPAELLPARC3 |
Annotation Elliptical Arc 3 |
| -13 |
PUGDP_ANNOT_ELLP_ARC_CLOSE3 |
PUGDPAELLPARCCL3 |
Annotation Elliptical Arc Close 3 |
Table 15 — Attributes used by Generalized Drawing Primitives and by Generalized Drawing Primitives 3
| GDP or GDP3 Id |
Name |
Attributes Used |
| -1 |
Polyline Set (3) |
PPOLYLINE |
| -2 |
Circle (3) |
PINTERIOR, PEDGE |
| -3 |
Circular Arc (3) |
PPOLYLINE |
| -4 |
Circular Arc Close (3) |
PINTERIOR, PEDGE |
| -5 |
Annotation Circle (3) |
PINTERIOR, PEDGE |
| -6 |
Annotation Circular Arc (3) |
PPOLYLINE |
| -7 |
Annotation Circular Arc Close (3) |
PINTERIOR, PEDGE |
| -8 |
Ellipse (3) |
PINTERIOR, PEDGE |
| -9 |
Elliptical Arc (3) |
PPOLYLINE |
| -10 |
Elliptical Arc Close (3) |
PINTERIOR, PEDGE |
| -11 |
Annotation Ellipse (3) |
PINTERIOR, PEDGE |
| -12 |
Annotation Elliptical Arc (3) |
PPOLYLINE |
| -13 |
Annotation Elliptical Arc Close (3) |
PINTERIOR, PEDGE |
Table 16 — Available Generalized Drawing Primitives
| GDP Id |
C Name |
FORTRAN NAME |
Meaning |
| -1 |
PUGDP_POLYLINE_SET |
PUGDPPLS |
Polyline Set |
| -2 |
PUGDP_CIRCLE |
PUGDPCIRC |
Circle |
| -3 |
PUGDP_CIRC_ARC |
PUGDPCIRCARC |
Circular Arc |
| -4 |
PUGDP_CIRC_ARC_CLOSE |
PUGDPCIRCARCCL |
Circular Arc Close |
| -5 |
PUGDP_ANNOT_CIRCLE |
PUGDPACIRC |
Annotation Circle |
| -6 |
PUGDP_ANNOT_CIRC_ARC |
PUGDPACIRCARC |
Annotation Circular Arc |
| -7 |
PUGDP_ANNOT_CIRC_ARC_CLOSE |
PUGDPACIRCARCCL |
Annotation Circular Arc Close |
| -8 |
PUGDP_ELLIPSE |
PUGDPELLP |
Ellipse |
| -9 |
PUGDP_ELLP_ARC |
PUGDPELLPARC |
Elliptical Arc |
| -10 |
PUGDP_ELLP_ARC_CLOSE |
PUGDPELLPARCCL |
Elliptical Arc Close |
| -11 |
PUGDP_ANNOT_ELLIPSE |
PUGDPAELLP |
Annotation Ellipse |
| -12 |
PUGDP_ANNOT_ELLP_ARC |
PUGDPAELLPARC |
Annotation Elliptical Arc |
| -13 |
PUGDP_ANNOT_ELLP_ARC_CLOSE |
PUGDPAELLPARCCL |
Annotation Elliptical Arc Close |
Table 17 — Polyline Shading Methods†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PSD_NONE |
PSDNON |
No Shading |
| 2 |
PSD_COLOUR |
PSDCOL |
Colour Shading |
Table 18 — Available Interior Shading Methods†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PSD_NONE |
PSDNON |
No Shading |
| 2 |
PSD_COLOUR |
PSDCOL |
Colour Shading |
Table 19 — Available Light Source Types†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PLIGHT_AMBIENT |
PAMB |
Ambient Light Source |
| 2 |
PLIGHT_DIRECTIONAL |
PDIR |
Directional Light Source |
| 3 |
PLIGHT_POSITIONAL |
PPOS |
Positional Light Source |
Table 20 — Available Reflectance Equations†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PREFL_NONE |
PRNONE |
No Reflectance Calculation Performed |
| 2 |
PREFL_AMBIENT |
PRAMB |
Use Ambient Term |
| 3 |
PREFL_AMB_DIFF |
PRAMBD |
Use Ambient and Diffuse Terms |
| 4 |
PREFL_AMB_DIFF_SPEC |
PRAMBDS |
Use Ambient, Diffuse, and Specular Terms |
Table 21 — Available Curve and Trimming Curve Approximation Methods†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 0 |
PCURV_WS_DEP |
PCAWSD |
Workstation Dependent |
| 2 |
PCURV_CONSTANT_PARAMETRIC_BETWEEN_KNOTS |
PCAEPK |
Constant Parametric |
| |
|
|
Subdivision Between Knots |
Table 22 — Available Surface Approximation Methods†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 0 |
PSURF_WS_DEP |
PSAWSD |
Workstation Dependent |
| 2 |
PSURF_CONSTANT_PARAMETRIC_BETWEEN_KNOTS |
PSAEPK |
Constant Parametric |
| |
|
|
Subdivision Between Knots |
Table 23 — Predefined Depth Cue Table†
| Depth Cue |
Depth Cue |
Depth Cue |
Depth Cue |
Depth Cue |
| Index |
Mode |
Reference Planes |
Scale Factors |
Colour |
| 0 |
SUPPRESSED |
(0.0,1.0) |
(1.0,1.0) |
(INDIRECT,0) |
| 1 |
ALLOWED |
(0.0,1.0) |
(0.0,1.0) |
(INDIRECT,0) |
Table 24 — Predefined Light Sources†
| Index |
Type |
Data Record |
| 0 |
AMBIENT |
(INDIRECT,1) |
| 1 |
DIRECTIONAL |
(INDIRECT,1),1.0,1.0,1.0 |
| 2 |
DIRECTIONAL |
(INDIRECT,1),-1.0,1.0,1.0 |
| 3 |
DIRECTIONAL |
(INDIRECT,1),1.0,-1.0,1.0 |
| 4 |
DIRECTIONAL |
(INDIRECT,1),1.0,1.0,-1.0 |
† These are SunPHIGS Extensions based on PHIGS+ and are not a part of the PHIGS standard.
Table 25 — Available General Interior Types†
| Value |
C Name |
FORTRAN Name |
Meaning |
| 1 |
PGI_ISOPARAMETRIC_CURVES |
PGIIPC |
Isoparametric Curves |
Table 26 — Predefined General Interior Table Entries†
| General Interior |
General Interior |
General Interior |
| Index |
Type |
Data Record |
| 0 |
Isoparametric Curves |
(HOLLOW,Non Uniform,5,5) |
| 1 |
Isoparametric Curves |
(SOLID,Non Uniform,5,5) |
| 2 |
Isoparametric Curves |
(EMPTY,Non Uniform,5,5) |
† These are SunPHIGS Extensions based on PHIGS+ and are not a part of the PHIGS standard.
SEE ALSO
INQUIRE WORKSTATION CONNECTION AND TYPE (3P)
WORKSTATION TYPE CREATE (3P)
WORKSTATION TYPE GET (3P)
WORKSTATION TYPE SET (3P)