Information processing systems — Computer graphics — Programmer's Hierarchical Interactive Graphics System (PHIGS) language bindings — Part 1: FORTRAN

Systèmes de traitement de l'information — Infographie — Interfaces langage entre un programme d'application et son support graphique — Partie 1: FORTRAN

General Information

Status
Published
Publication Date
19-Jun-1990
Current Stage
9093 - International Standard confirmed
Start Date
08-Dec-2021
Completion Date
19-Apr-2025
Ref Project

Relations

Standard
ISO/IEC 9593-1:1990 - Information processing systems -- Computer graphics -- Programmer's Hierarchical Interactive Graphics System (PHIGS) language bindings
English language
213 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL ISO/IEC
STANDARD
First edi tion
1990-06-0 1
Information processing Systems - Computer
graphics - Programmer’s Hierarchical
Interactive Graphits System (PHIGS) language
bindings -
Part 1:
FORTRAN
Systemes de fraifemenf de I’informafion - Infographie - Inferfaces
langage enfre un Programme d’applicafion et son supporf graphique -
Partie 1: FORTRAN
- -
= =
= =
= =
= =
= z
=
=
z
=
=
=
z:
= =
- Reference number
Z
C
Z
z 4EiiiiF
-
ISO/IEC 9593-1:199O(E)
----- -----
ISO/IEC 95934:1990(E)
Page
Contents
V
............................................................................................................
Introduction
....................................................................................................................
1 Scope
.................................................................................................
2 Normative references
3 Principles .
3.1 Specification .
................................ 2
3.2 Mapping of’PHIGS function names to FORTRAN subroutine names
3.3 Parameters .
.........................................................................................
3.4 The FORTRAN subset
....................................................................................................
3.5 Error handling
.......................................................................
4 Generating FORTRAN subroutine names
..............................................................................................................
5 Data types
...................................................................................................
6 Enumeration types
...............................................................................
7 List of the PHIGS function names
............................................... 24
7.1 List of functions ordered alphabetically by bound name
................................... 29
7.2 List of functions ordered alphabetically by PHIGS function name
............................................................
8 PHIGS errors specific to the FORTRAN binding
....................................................................................
9 The PHIGS function interface
9.1 General principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .*.*.
9.2 Control functions
..*..........................*......................................................
’ 9.3 Output primitive functions
. . . . . .*.
9.4 Attribute specification functions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.4.1 Bundled attribute selection
‘~~.
9.4.2 Individual attribute selection
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*.
9.4.3 Aspect Source flag setting
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*.
9.4.4 Workstation attribute table definition
. . . . . . . . . . . . . . . . . . .*.
9.4.5 Workstation filter definition
9.4.6 Colour model control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.4.7 HLHSR attributes ,.*.
9.5 Transformation functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.5.1 Modelling transformations . . . . . . .*.*.
9.5.2 View operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*.
9.5.3 Workstation transformation
. . . . . . . . . . . . . . . . . . . . . .*.~. 57
9.5.4 Utility functions to support modelling
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~~**~~.**.
9.5.5 Utility functions to support viewing
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.6 Structure content functions
. . . . . . . . . . . . . . . . . . . . . . . . . . .*.
9.7 Structure manipulation functions
0 lSO/IEC 1990
All rights reserved. No part of this publication may be reproduced or utilized In any form
or by any means, electronie or mechanical, including photocopying and microfilm, wlthout
Permission in writing from the publisher.
ISOAEC Copyright Office l Case Postale 56 l CH-1211 Geneve 20 l Switzerland
Printed in Switzerland
Iso/IEC 9593=1:1990(E)
9.8 Structure display functions .
9.9 Structure archiving functions .
9.10 Input functions .
910.1 Pick related structure elements .
9.10.2 Initialization of input devices .
9.10.3 Setting mode of input devices .
9.10.4 Request input functions
................................................................................ 89
9.10.5 Sample input. functions . 92
9.10.6 Event input functions . 95
9.11 Metafile functions .
9.12 Inquiry functions . 100
9.12.1 Inquiry functions for operating state value . 100
/
9.12.2 Inquiry functions for PHIGS description table .
.............................................................. 102
9.12.3 Inquiry functions for PHIGS state list
........................................................ 104
9.12.4 I.nquiry functions for workstation state list
.............................................. 123
9.12.5 Inquiry functions for workstation description table
............................................................ 144
9.12.6 Inquiry functions for structure state 1%
............................................................. 144
9.12.7 Inquiry functions for structure content
........................................................
9.12.8 Inquiry function for PHIGS error state I’ist 169
.................................................................................................. 171
9.13 Error control
............................................................................................ 172
9.14 Special interfaces
Utility functions not defined in PHIGS . 173
Annexes
............................................................................................ 175
A FORTRAN Examples
....................................................................................................... 200
B Function Lists
........................................... 200
B.1 List of functions ordered alphabetically by function name
............................................. 206
B.2 List of functions ordered alphabetically by bound name

ISO/IEC 95934:1990(E)
Foreword
ISO (the International Organization for Standardization) and IEC (the
International Electrotechnical Commission) form the specialized System
for worldwide standardization. National bodies that are members of ISO
or IEC participate in the development of International Standards through
technical committees established by the respective organization to deal
with particular fields of technical activity. ISO and IEC technical com-
mittees collaborate in fields of mutual interest. Other international or-
ganizations, governmental and non-governmental, in liaison with ISO
and IEC, also take patt in the work.
In the field of information technology, ISO and IEC have established a
joint technical committee, ISO/IEC JTC 1. Draft International Standards
adopted by the joint technical committee are circulated to national bod-
ies for voting. Publication as an International Standard requires ap-
proval by at least 75 % of the national bodies casting a vote.
.
International Standard ISO/IEC 9593-1 was prepared by Joint Technical
Committee ISO/IEC JTC 1, Information technology.
ISOIIEC 9593 consists of the following Parts, under the general title In-
formation processing Systems - Computer graphics - Programmer’s
Hierarchical Interactive Graphits System (PHIGS) language bindings :
- Part i: FORTRAN
- Part 2: Extended Pascal
- Part3: ADA
- Part 4: C
Annex B forms an integral part of this part of ISO/IEC 9593. Annex A is
for information only.
iv
BSO/IEC 9593=1:1990(E)
Introduction
The Programmer’s Hierarchical Interactive Graphits System (PHIGS),
the functional description of which is given in ISO/IEC 95924, is speci-
fied in a language independent manner and needs to be embedded in
language dependent layers (language bindings) for use with particular
programming languages.
The purpose of this part of ISO/IEC 9593 is to define a Standard binding
for the FORTRAN Computer programming language.

This page intentionally left blank

ISOIIEC 9593=1:1990(E)
INTERNATIONAL STANDARD
Information processing Systems - Computer graphics -
Programmer’s Hierarchical Interactive Graphits System
(PHIGS) language bindings -
Part 1:
FORTRAN
1 Scope
ISO/IEC 95924 specifies a language independent nucleus of a graphics System. For integration into a pro-
gramming language, PHIGS is embedded in a language dependent layer obeying the particular conven-
tions of that language. This part of ISO/lEC 9593 specifies such a language dependent layer for the FOR-
TRAN language.
2 Normative references
The following Standards contain provisions which, through reference in this text, constitute provisions of
this part of ISODEC 9593. At the time of publication, the editions indicated were valid. All Standards
are subject to revision, and Parties to agreements based on this part of ISO/lEC 9593 are encouraged to
investigate the possibility of applying the most recent editions of the Standards listed below. Members of
IEC and ISO maintain registers of currently valid International Standards.
ISO 1539 : 1980, Information processing systems - Programming Languages - FORTRAN.
ISOIIEC 95924 : 1989, Information processing Systems - Computer graphics - Programmer? Hierarhical
Interactive Graphits System (PHIGS) - Part 1 - functional description.
ISO/IEC TR 9973 : 1988, Information processing - Procedures for registration of graphical items.

ISO/IEC 95934:1990(E)
3 Principles
3.1 Specification
This part of ISO/IEC 9593 defines the PHIGS language binding interface for FORTRAN 77, as described
in ISO 1539 : 1980. With some minor modifications, application programs tan be transported between full
FORTRAN 77 and FORTRAN 77 Subset PHIGS installations.
3.2 Mapping sf PHIGS function names to FORTRAN subroutine names
The function names of PHIGS are all mapped to FORTRAN subroutine names that Start with the letter
‘P’. The mapping is generally done in a one-to-one correspondence to functions defined in ISO/IEC
9592-1. However, some functions are Split into more than one subroutine in this binding, due to the
The remaining letters after the first one are obtained by deriving a
number of Parameters required.
OPEN becomes OP, WORKSTATION
unique acronym from the words of the function name; e.g.,
becomes WK. Hence, the FORTRAN subroutine name of PHIGS function OPEN WORKSTATION is
POPWK. For a list of all abbreviations, see clause 4. Names used internally that may be known outside
PHIGS, e.g., during linking, Start with some easily recognized and documented form such as ‘PH’ (sub-
routine, function, and comrnon block names). Therefore, no external names starting with this construct
should be Chosen when using PHIGS, in Order to avoid name conflicts.
3.3 Parameters
In general, the Order of PHIGS function Parameters is preserved. For some subroutines, however, there
are additional Parameters that have been inserted in the normal Parameter sequence (e.g., array length
for arrays).
Values of input Parameters are unaltered by any PHIGS function as well as PACK DATA RECORD
and UNPACK DATA RECORD.
In Order that any element of a list (member of a Set), such as the set of structure names, tan be inquired,
in this binding the inquiry functions retum only a Single element of a list (member of a Set). In addition,
the total number of elements of the list (members of the set) is always returned. The elements (members)
are numbered starting from 1; each invocation
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.