BS ISO IEC 9593-1-1990 Information technology - Computer graphics - Programmer-s hierarchical interactive graphics system (PHIGS) language bindings - FORTRAN《信息处理系统 计算机制图 程序员的分级交互式.pdf

上传人:刘芸 文档编号:588548 上传时间:2018-12-15 格式:PDF 页数:518 大小:8.59MB
下载 相关 举报
BS ISO IEC 9593-1-1990 Information technology - Computer graphics - Programmer-s hierarchical interactive graphics system (PHIGS) language bindings - FORTRAN《信息处理系统 计算机制图 程序员的分级交互式.pdf_第1页
第1页 / 共518页
BS ISO IEC 9593-1-1990 Information technology - Computer graphics - Programmer-s hierarchical interactive graphics system (PHIGS) language bindings - FORTRAN《信息处理系统 计算机制图 程序员的分级交互式.pdf_第2页
第2页 / 共518页
BS ISO IEC 9593-1-1990 Information technology - Computer graphics - Programmer-s hierarchical interactive graphics system (PHIGS) language bindings - FORTRAN《信息处理系统 计算机制图 程序员的分级交互式.pdf_第3页
第3页 / 共518页
BS ISO IEC 9593-1-1990 Information technology - Computer graphics - Programmer-s hierarchical interactive graphics system (PHIGS) language bindings - FORTRAN《信息处理系统 计算机制图 程序员的分级交互式.pdf_第4页
第4页 / 共518页
BS ISO IEC 9593-1-1990 Information technology - Computer graphics - Programmer-s hierarchical interactive graphics system (PHIGS) language bindings - FORTRAN《信息处理系统 计算机制图 程序员的分级交互式.pdf_第5页
第5页 / 共518页
亲,该文档总共518页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、BRITISH STANDARD %? - present to the responsible international committee any enquiries on interpretation, or proposals for change, and keep UK interests informed; - monitor related intemationai and European devp!opments and promulgate them in the UK. NOTE. International and European Standards, as we

2、ii as overseas standards, are available from BSI Sales Department, BSI, Linford Wood, Milton Keynes, MK14 6LE. Compliance with a British Standard does not of itself confer immunity from legal obligations. BSI BS*ISO/IEC 9593*PART*l DL 1624669 0496724 064 = I NTERNATI O NAL STANDARD ISO/IEC First edi

3、tion AMENDMENT 1 1990-06-01 1995-04-15 Information processing systems - Computer graphics - Programmers Hierarchical Interactive Graphics System (PHIGS) language bindings - Part 1: FORTRAN AMENDMENT 1 Systmes de traitement de linformation - Infographie - Interfaces langage entre un programme dapplic

4、ation et son support graphique Partie 1: FORTRAN AMENDEMENT 1 Reference number ISO/IEC 9593-1: 1990/Amd.l: 1995(E) 1 BSI BS*ISO/IEC 9593*PART*L O3 3624669 0496725 TTO ISO/IEC 9593-1: 1990/Arnd.l:1995(E) Contents 1.scope . 1 2 . Normative references 1 3.Principles . 2 3.1.Specification . 2 2 3.3.Para

5、meters 2 3.5.Error handling . 3 4 5.Datatypes 6 6.Enumerationtypes . 10 7 . List of the PHIGS function names . 10 10 9 . The PHIGS Function interface . 10 3.2. Mapping of PHIGS fiinction names to FORTRAN subroutine names 3.4.The FORTRANsubset 2 4 . Generating FORTRAN suhtine names . 8 . PHIGS errors

6、 specif to the FORTRAN binding . 10 . Utility Functions not defined in PHIGS . 10 11 . PHIGS PLUS Enumeration types . 11 12 . List of the PHIGS PLUS hnction names 12.2. List of functions ordered ailphabetically by PHICS PLUS function name . 16 16 18 20 20 33 34 12.1. List of functions ordered alphab

7、etically by bound name 13.1. General principlts . 20 13.2. Output primitive funcions . 133 . Attribute specifmtion functions . 13.3.1. Bun- attribute selection . 33 13.3.2. LndividuPI attribute selection 13.3.3. Aspect source flag setting 46 13.3.4. Workstnth attribute table definition . 47 13.4. In

8、quiry functioits 55 13.4.1. hqu functions for workstation state lit 13.4.2. Inquj functions for workstation description table 14 . Utility Functions not defined m PHIGS and PHIGS PLUS . 111 Annex A FORTRAN Exampks(informative) 118 Annex B Function Liss(MKrmitive) . 124 Annex C Memory Managemeat(norm

9、ative) . 130 . . 13 . The PHIGS PLUS function interface 55 63 (B ISOIIEC 1995 All rights reserved . Unless otherwise specified. no part of this publication may be reproduced or utilized in any form or by any means. electronic or mechanical . including photocopying and microfilm. without permission i

10、n writing from the publislier . ISO/IEC Copyright Office Case postale 56 CH-121 1 Genve 20 Switzerland Printed in Switzerland BSI BS*ISO/IEC 9593*PART*L DL m Lb2Ybb9 049672b 937 m ISOIIEC 9593-1: 1990/Amd.l:1995(E) Foreword IS0 (the International Organization for Standardization) and IEC (the Inter-

11、 national Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of IS0 or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular f

12、ields of technical activity. IS0 and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with IS0 and EC, also take part in the work. In the field of information technology, IS0 and IEC have established a

13、 joint technical committee, ISOAEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Amendment 1 to Internation

14、al Standard ISOAEC 9593- 1 : 1990 was prepared by Joint Technical Committee ISO/IEC JTC 1, Infortnution technology. A BSI BS*ISO/IEC 9593*PART*1 O1 m 3624669 049b727 873 m ISOAEC 9593-1:1990/Amd.l: 199YE) Introduction ISOAEC 9592-1:1989, provides a set of functions for the display and modification o

15、f 2D or 3D graphical data. Part I is extended by Part 4 (PHIGS PLUS) to incorporate the effects of lighting. shading and other properties that are important for the display of surfaces rind muliidiinensional data. ISO/IEC 9592- I and ISO/IEC 9592-4 are specified in a language independent manner and

16、must 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 the FORTRAN language binding for ISOIEC 9592-1 and ISOAEC 9592-4. iv . BSI BS*ISO/IEC 9593*PART*l O1 W 1624669 0496728 70T W INTERNA

17、TIONAL STANDARD ISOIIEC 9593-1:1990(E) Information processing systems - Computer graphics - Programmers Hierarchical Interactive Graphics System (PHIGS) language bindings - Part 1: FORTRAN 1 Scope The “Programmers Hierarchical Interactive Graphics System” (PHIGS), ISO/IEC 9592- 1 : 1989, and ISOAEC

18、, 9592-4:1992, specify a language independent nucleus of a graphics system. For integration into a programming language, PHIGS PLUS is emedded in a language dependent layer obeying the particular conventions of that language. This part of ISOflEC 9593 specifies the FORTRAN language dependent layer.

19、2 Normative references The following standards contain provisions which, through reference in this text, constitute provisions of this part of ISO/IEC 9593. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this p

20、art of ISOAEC 9593 are encouraged to investigate the possibility of applying the most recent editions of the standards listed below. Members of IEC and IS0 maintain registers of currently valid international Standards. IS0 1539 : 1980, Information processing systems - Programming Languages - FORTRAN

21、. ISO/IEC 9592-1 : 1989, Information processing systems - Computer graphics - Programmers Hierarhical Interactive Graphics System (PHIGS) - Part 1 - functional description. ISO/IEC TR 9973 : 1988, Information processing - Procedures for registration of graphical items. ISOiEC 9592-4: 1992, Informati

22、on processing systems - Computer graphics - Programmers Hierarchical A Interactive Graphics System (PHIGS) Part 4 - Ph Lumire Und Sutjces (PHIGS PLUS). , 1 i BSI BS*ISO/IEC 9593*PART*L 01 m Lb24bb 0496729 b4b ISOI I EC 9593-1 :1990( E) 3 Principles 3.1 Specification This part of ISOIIEC 9593 defines

23、 the PHIGS and PHIGS PLUS language binding interface for FORTRAN 77, as described in IS0 1539. 1980. With some minor modifications. application prograins can be transported between full FORTRAN77 and FORTRAN77 Subset PHIGS and PHIGS PLUS installations This binding incorporates the rules of conforman

24、ce defined in the PHIGS (ISO!IEC 9592-1) and PHIGS PLUS (ISOAEC 9592-4) Standard for PHIGS and PHIGS PLUS implemenrations, with those additional requirements specifically defined for FORTRAN langiiage implementations defined in this part of ISO/IEC 9593. The following criteria are established for de

25、termining conformance of an implementation to this binding: : In order to conform, an implementation of the FORTRAN binding of PHIGS shall implement those functions specified in ISOIIEC 9592-1. The implementation shall niake visible ail of the declarations in the FORTRAN binding specified in clause

26、5 to IO in this part of ISO/IEC 9593. In order to conform, an implementation of the FORTRAN binding of PHIGS PLUS shall implement those functions specified in ISOIIEC 9592-1 and also those functions specified in ISO/IEC 9592-4. The , implementation shall make visible all of the declarations in the F

27、ORTRAN binding specified in clause 11 to i 14 and in clause 5 to 10, as modified by clause 11 to 14. in this pan of ISOAEC 9593. Thus, for example, the syntax of the function names shall be precisely as specified in this part of ISOAEC 9593 and the parameters shall be of the data types stated in thi

28、s part of ISOAEC 9593. A PHIGS FORTRAN application should run without modification under a PHIGS PLUS - . _ - _ - FORTRAN -. p-in binding - - implementation. The function names of PHIGS are ali mapped to FORTRAN subroutine names that start with the letter *I“. The mapphg is generally done in a one-t

29、o-one correspondence to functions defined in EO?EC 9592-1. However, some functions are split into more than one subroutine in this binding, due to the number of parameters required. The remaining letters after the first one are obtained by deriving a unique acronym from the words of the function nam

30、e; e.g., OPEN becomes OP, WORKSTATION becomes WK. Hence, the FORTRAN subroutine name of PHIGS function OPEN WORKSATiON is POPWK. For a list of ail abbreviations, see clause 4. Names used internally that may be known outside * g ofTmGS-function names t FORTRAN s MAPPING becomes M and WORKSTATION f *

31、A becomes - W: due to the FORTRAN subrutine naming resmctions. 3.3 Parameters I in general, the order of PHIGS function parameters is preserved. For some subroutines, however, there are additional parameters that have been inserted in the nd parameter sequence (e.g., array length , for arrays). Valu

32、es of input parameters are unaltered by any PHIGS function as wel 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, can be inquired, - in this binding the inquiry functions return only a single element of a list (me

33、mber 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 of the inquiry function requires the desired element (member) number as an input parameter and returns the correspondi

34、ng element (member). When the list (set) is empty, a zero is retumed as the number of elements (members) and the parameter represent: ing the singie element (member) in the list is undefined. 2 BSI BSxISO/IEC 9593aPARTx1 O1 W Lb24669 0496730 3bB W I Soll EC 9593-1 : 1 99O( E) 3.4 The FORTRAN subset

35、The binding for FORTRAN 77 Subset is different from that for full FORTRAN 77 in order to accommo- date the FORTRAN 77 Subset restrictions. Those PHIGS subroutines in the full FORTRAN 77 binding that have arguments of type CHARAC- TER*(*) have alternative subroutine definitions that include fixed len

36、gth character strings, CHARAC- TER*80, for the Subset. In some cases an additional INTEGER parameter (the number of characters) appears in the parameter list and the Subset version is distinguished by the addition of a final S, so that they can coexist in the same implementation. In other cases the

37、INTEGER is already present and the FORTRAN 77 Subset version has the same name as the full FORTRAN 77 version. Principles The FORTRAN subset A fuli FORTRAN 77 implementation shaii include both subroutines when the names are distinct and only the full FORTRAN 77 version when the names are the same. T

38、he enumeration values in this binding may be redefined by replacing the PARAMETER statements with corresponding DATA statements. 3.5 Error handling There are two error routines in every PKIGS system, named PERLOG and PERHND. The user may replace the latter with hidher own subroutine using the same n

39、ame, PERHND, and calling sequence. Furthermore, this user-defined error routine may call the system-defined error logging procedure PER- LOG. 3 . I BSI BS*ISO/IEC 9593*PART*1 O1 1624669 0496731 2T4 W ISOIIEC 9593-1 :i 99O(E) 4 Generating FORTRAN subroutine names For the binding of the PHIGS function

40、s that inquire lists (sets), the word element (member) is added to the PHIGS name. The derivation of the abbreviation for the subroutine names is performed in severai steps. First, plurais are reduced to their singular form, and then compound terms are reduced to maintain uniqueness and appropriate

41、name length. Finally, each remaining word is replaced by the null string or by an abbrevia- tion. Table 1 - Reduction of plurais to singulars 3 - nr - EVL., FILES PRIM I PRN - YAI (TIVES - PR I- - PR I-= -. RF -3RENcE -. TRANSFORMATION RUCTURE . -PE WORKSAT NOFWXATION 4 . _. BS*ISO/IEC 7593rPART*L O

42、1 Lb24669 0476732 130 = ISOIIEC 9593-1 :1990(E) Generating FORTRAN subroutine names Q Table 2 - Reduce compound terms for uniqueness ANNOTATION TEXT CHARACIER HEIGHT - ANNOTATION TEXT CHARACER UP 4 INQUIRE ANNOTATION TEXT -. SET ANNOTATION TEXT -+ ANNOTATION TEXT RELATIVE -+ ARCHIVE ALL -. ARCHIVE S

43、TRUCTURE IDENTIFIER -. JDENTTFIER AND REFERENCE -+ CHANGE STRUCTURE IDENTIFIER -. DEL- ALL STRUCTURE -+ DYNAMICS OF STRUCTUFE -. DYNAMICS OF WORKSTATION ArTRIBUTES EDGEFLAG 4 ELEMENTPOINTER + ELEMENTCONTENT + EEMENT TYPE AND SIZE ERROR HANDLING MODE -0 EVALUATE VIEW MAPPING MATRIX - EVALUATE VIEW OR

44、IENTATION MATRIX - GENERALIZED STRUCTURE ELEMENT INDIVIDUAL ASF 4 LIST OF 4 E AVAILABLE GENERALIZED DRAWING PRIMITIVE 3 4 MAXIMUM LENGTH 4 MODELLWG CLiPPING VOLUME - MODELLING CLIPPING - PATIEFW REFERENCE POINT AND VECTORS PATTERN REFERENCEPOiNT -+ RETRIEVEALL -+ RETRIEVE STRUCTURE IDENTIFIER -+ SET

45、 OF -+ STRUCTURE IDENTIFIER 4 STRUCTURE PATH -). STRUCTURE NETWORK + !SRUCTURE STATE * TEXT FONT * TRANSFORM POINT - UNPOST ALL -+ VIEW TRANSFORMATION -). WORKSTATION STATE VALUE + -+ REPRESENTATION PLUS -+ FORTRAN 77 subset) -). ATCH ATCU QAT SAT ATR ARA ASID IR rn DAS DSTR DSWA EFG Fp Eco m ERHM E

46、VMM EWOM GSE IASF E ED3 L MCV MCL PRPV PARF P. - RA RSID element SID STPA SN STRS Txm TP UPA VT WKST S - ._ 5 1 . _. BSI BS*ISO/IEC 9593*PART*L OL 1624669 0496733 O77 m ISOIIEC 9593-1 :I 990(E) element ALL AND AT AVAILABLE BETWEEN . DATA DEVICE EVENT FACTOR NAMES, N-ON-UNIFORM WER GEOMETRIC IN LIST

47、METAFILE SUPPORTED TABLE TO TYPE OF .-VECTOR _WHICH -_ WITH Generating FORTRAN subroutine names L 6 BSI BS*ISO/IEC 9593*PART*L 01 lb24bb9 DY96734 TO3 LA. Table 4 - Abbreviations DRAWING -D * Dc -ED DYNAMICS EDGE A I -. I - 3- -3 ADD -AD ALIG- -AL ANCESTORS -AN ANNOTATION - AN APPLICATION - AF APPROX

48、IhlATION A ARCHIVE - AR AREA -A ARRAY -A ASF -As AWAIT - wm O-SPLINE 3s UACK +B BUTLD -Ea CATEGORY -CA CELL -c CHANGE - c. CHARACER -cH CHOICE -CH CLASSIFICATION - CL CLOSE -a COLOUR -c % COMPOSE -Co CoNFLIcr - i +c 3c -c +D DEFAULT -D 1 DEL= -D QTH 4B DESCENDANTS. - DE 3D 1 DIRECT SET DEPTH CUE IND

49、EX:DP -F -F -F -FT -F - nGSH FAUL- FILE RLL FILTER RAG FLUSH r- -r FONT GENERAW - G r-f - u1 - Glrl - HND -H -HL - HR - ID -I -I -I -1 - I-: -I -Q -I -I - i; - 1TM .- MAPPING MAPPING MARKER MAW MESH MESSAGE METHOD MODE MODEL NETWORK OFFSET OPEN ORENTAnON OVERFLOW - -L I +M -m -MK -M 3M FOR PH1Ci-S PLUS I - MSG 3M -M -MD -N - os - OP - OR - ov -P 3P -P .- PA - PH , - PK.- ?P +P

展开阅读全文
相关资源
  • BS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdfBS ISO IEC 29150-2011 Information technology Security techniques Signcryption《信息技术 安全技术 签密》.pdf
  • BS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdfBS ISO IEC 15408-1-2009 Information technology - Security techniques - Evaluation criteria for IT Security - Introduction and general model《信息技术 安全技术 IT安全评价准则 一.pdf
  • BS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdfBS ISO 7295-1988+A1-2014 Tyre valves for aircraft Interchangeability dimensions《飞机轮胎汽门嘴 互换性尺寸》.pdf
  • BS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdfBS ISO 15118-1-2013 Road vehicles Vehicle to grid communication interface General information and use-case definition《道路车辆 车辆到电力通讯接口 通用信息和使用案例定义》.pdf
  • BS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdfBS ISO 13765-2-2004 Refractory mortars - Determination of consistency using the reciprocating flow table method《耐熔灰浆 使用往复流动表法测定一致性》.pdf
  • BS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdfBS ISO 10998-2008+A1-2014 Agricultural tractors Requirements for steering《农业拖拉机 操纵要求》.pdf
  • BS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdfBS Z 9-1998 Space data and information transfer systems - Advanced orbiting systems - Networks and data links - Architectural specification《空间数据和信息传输系统 高级轨道系统 网络和数据链接 结构规范》.pdf
  • BS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdfBS Z 7-1998 Space data and information transfer systems - ASCII encoded English《空间数据和信息传输系统 ASCII 编码英语》.pdf
  • BS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdfBS Z 5-1997 Space data and information transfer systems - Standard formatted data units - Control authority procedures《航天数据和信息发送系统 标准格式数据单元 控制授权程序》.pdf
  • BS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdfBS Z 4-1997 Space data and information transfer systems - Standard formatted data units - Structure and construction rules《航天数据和信息传输系统 标准格式数据单元 结构和构造规则》.pdf
  • 猜你喜欢
    相关搜索

    当前位置:首页 > 标准规范 > 国际标准 > BS

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1