ISO/IEC 9592-2:1997 情報技術—コンピューターグラフィックスと画像処理—プログラマーの階層型インタラクティブグラフィックスシステム(PHIGS)—パート2:アーカイブファイル形式 | ページ 2

※一部、英文及び仏文を自動翻訳した日本語訳を使用しています。

序文

ISO (国際標準化機構) と IEC (国際電気標準会議) は、世界標準化のための専門システムを形成しています。 ISO または IEC のメンバーである国家機関は、技術活動の特定の分野を扱うために、それぞれの組織によって設立された技術委員会を通じて、国際規格の開発に参加しています。 ISO と IEC の技術委員会は、相互に関心のある分野で協力しています。 ISO および IEC と連携して、政府および非政府の他の国際機関もこの作業に参加しています。

情報技術の分野では、ISO と IEC は合同技術委員会 ISO/IEC JTC 1 を設立しました。合同技術委員会によって採択された国際規格の草案は、投票のために各国の機関に回覧されます。国際規格として発行するには、投票を行う国の機関の少なくとも 75% による承認が必要です。

国際規格 ISO/IEC 9592-2 は、合同技術委員会 ISO/IEC JTC 1, 情報技術、小委員会 SC 24, コンピュータ グラフィックスおよび画像処理によって作成されました。

この第 2 版は、技術的に改訂された第 1 版 (ISO/IEC 9592-2:1989) を取り消して置き換えるものです。また、修正 1:1992 も組み込まれています。

ISO/IEC 9592 は、以下の部分で構成されており、一般的なタイトルは「情報技術 — コンピュータ グラフィックスおよび画像処理 — プログラマの階層型インタラクティブ グラフィックス システム (PHIGS)」です。

  • Part 1: 機能説明
  • Part 2: アーカイブ ファイル形式
  • Part 3: アーカイブ ファイルの平文エンコーディングの仕様

序章

ISO/IEC 9592 のこの部分では、PHIGS 構造と構造ネットワーク定義の保存と取得に適したアーカイブ ファイル形式を定義しています。ファイル形式は、異なるアーキテクチャのシステムと異なる機能と設計のデバイス間で互換性のある方法で構造要素を表す一連の要素で構成されます。

標準の PHIGS アーカイブ ファイルを作成する主な理由は次のとおりです。

  • a)構造定義をグラフィカルソフトウェアシステム上に組織化された方法で保存できるようにする。
  • b)異なるグラフィカル ソフトウェア システム間での構造定義の転送を容易にする。
  • c)異なるコンピュータ グラフィックス インストール間で構造定義を転送できるようにするため。

これらの目的を達成するために、多くの設計原則が採用されました。

  • d)アーカイブ ファイルは、構造定義の保存に適した一連の要素を提供する必要があります。
  • e)アーカイブ ファイルは、ISO/IEC 9592-1 で要求されるすべての要素をサポートする必要があります。
  • f)アーカイブファイルの設計は、ISO/IEC 9592-1 の将来の改訂で提供されるさらなる機能をカバーするために、後の段階での拡張を排除すべきではありません。
  • g)アーカイブ ファイルの設計では、アーカイブ ファイルのサイズ、アーカイブと検索の速度、可読性、編集性、およびさまざまなトランスポート メカニズムによる転送の容易さについて相反する要件を持つさまざまなアプリケーション プログラムのニーズに対応するフォーマットを許可する必要があります。

上記の設計要件を満たすために、次の設計基準が採用されています。

  • h)完全性: アーカイブ ファイルの設計によって指定された機能は、他のメカニズムに頼ることなく PHIGS 構造定義を格納できる必要があります。
  • i)一貫性: アーカイブ ファイルの要素は、PHIGS 構造の要素と 1 対 1 で一致する必要があります。
  • j)拡張性: アーカイブ ファイルの設計に新しい要素と一般性を追加する機能を排除すべきではありません。
  • k)直交性: アーカイブ ファイル内の要素は、表現される機能を定義するために他の要素に依存するべきではありません。

PHIGS アーカイブ ファイル機能は、その主な使用法が完全に単一の実装内にあると予想されますが、複数のアーカイブ ファイル形式をサポートできるように設計されており、その一部は標準形式であり、一部は非公開形式である可能性があります。フォーマット間の変換が容易に可能であり、PHIGS アプリケーション プログラムからオフラインで発生する可能性があることが意図されています。これにより、プライベート形式をオンラインで使用して効率を高め、オフラインで標準形式に変換して移植性を高めることができます。オンラインでの標準フォーマットのサポートは除外されません。

アーカイブ ファイルの生成と取得の特定のメカニズムは、ISO/IEC 9592 のこの部分では説明されていませんが、そのような処理の意図された結果については説明されています。アーカイブ ファイル要素の基本セットには、アプリケーション依存のデータを追加するための PHIGS 機能が含まれています。

アーカイブ ファイルによって提供される機能は、特定のエンコード形式の仕様から分離されています。 ISO/IEC 9592 の一部のこの部分は、ISO/IEC 9592-1 および ISO/IЕС 9592 のこの部分で説明されている構造要素の標準およびプライベート エンコーディングの両方を提供します。プライベート エンコーディングの適合規則もこの部分で指定されます。 ISO/IЕС 9592 の ISO/IEC 9592-3 (アーカイブ ファイルのクリア テキスト エンコーディング) は、PHIGS アーカイブ ファイル形式の標準エンコーディングであるクリア テキスト エンコーディングを定義します。他の標準エンコーディングを定義することもできます。これらのエンコーディングは、読みやすさ、ストレージ効率、および処理効率に関するさまざまな要件をサポートするために、さまざまな形式になっています。

ISO/IEC 9592 のこの部分は、ISO 8632 のファイル形式のモデルを広範囲に描画します。

1 スコープ

ISO/IEC 9592 のこの部分では、PHIGS 構造定義の保存と取得に適したファイル形式を指定しています。ファイル形式は、異なるアーキテクチャのシステムと異なるプログラミング言語をサポートする実装の間で互換性のある方法で構造を記述するために使用できる要素の順序付けられたセットで構成されます。

アーカイブ ファイルは、アーカイブ ファイル全体への順次アクセスに加えて、個々の構造定義へのランダム アクセスが明確に定義されるように定義されます。これが ISO/IEC 9592 のこの部分を使用するシステムで利用できるかどうかは、メディア、エンコーディング、および実装に依存します。

箇条 4 では、アーカイブ ファイルの構成について説明します。

ISO/IEC 9592-3 は、アーカイブ ファイル形式のクリアテキスト エンコーディングを指定します。

2 参考文献

以下の規格には、このテキストでの参照を通じて、ISO/IEC 9592 のこの部分の規定を構成する規定が含まれています。発行の時点で、示されている版は有効でした。すべての規格は改訂される可能性があり、ISO/IEC 9592 のこの部分に基づく契約の当事者は、以下に示す規格の最新版を適用する可能性を調査することをお勧めします。 IEC および ISO のメンバーは、現在有効な国際規格の登録簿を維持しています。

  • ISO/IEC 8632:1992, 情報技術 - コンピュータ グラフィックス - 画像記述情報の保存と転送のためのメタファイル
    - Part 1: 機能説明
    - Part 2: 文字エンコーディング
    - Part 3: バイナリ エンコーディング
    - Part 4: クリア テキスト エンコーディング

3 つの定義

ISO/IЕС 9592 のこの部分の目的のために、次の定義が適用されます。

注記可能な限り、一般に受け入れられ、他のグラフィック規格と一致するグラフィック用語が使用されます。

3.1

アーカイブファイル記述子

アーカイブ ファイルの処理に必要な機能を説明する要素のグループ。

3.2

アーカイブ ファイルの生成

PHIGS アーカイブ ファイルを生成するプロセス。

3.3

アーカイブ ファイルの取得

PHIGS アーカイブ ファイルを読み取り、コンテンツを取得し、結果を PHIGS 集中型構造ストアに転送するプロセス。

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 committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part 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 bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote.

International Standard ISO/IEC 9592-2 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 24, Computer graphics and image processing.

This second edition cancels and replaces the first edition (ISO/IEC 9592-2:1989), which has been technically revised. It also incorporates Amendment 1:1992.

ISO/IEC 9592 consists of the following parts, under the general title Information technology — Computer graphics and image processing — Programmer's Hierarchical Interactive Graphics System (PHIGS):

  • Part 1: Functional description
  • Part 2: Archive file format
  • Part 3: Specification for clear-text encoding of archive file

Introduction

This part of ISO/IEC 9592 defines an archive file format suitable for the storage and retrieval of PHIGS structure and structure network definitions. The file format consists of a set of elements that represent structure elements in a way that is compatible between systems of different architectures and devices of differing capabilities and design.

The main reasons for producing a standard PHIGS archive file are:

  • a) to allow structure definitions to be stored in an organized way on a graphical software system;
  • b) to facilitate transfer of structure definitions between different graphical software systems;
  • c) to enable structure definitions to be transferred between different computer graphics installations.

To reach these objectives, a number of design principles were adopted:

  • d) The archive file should provide a suitable set of elements for the storage of structure definitions.
  • e) The archive file should support all elements required by ISO/IEC 9592-1.
  • f) The design of the archive file should not preclude extensions at a later stage to cover further facilities provided in future revisions of ISO/IEC 9592-1.
  • g) The archive file design should allow formats which address the needs of different application programs that have conflicting requirements for size of archive file, speed of archival and retrieval, readability, editability and ease of transfer through different transport mechanisms.

The following design criteria have been adopted in order to meet the design requirements listed above.

  • h) Completeness: The functionality specified by the archive file design should be capable of storing PHIGS structure definitions without recourse to other mechanisms.
  • i) Consistency: The elements of the archive file should match the elements of the PHIGS structure one for one.
  • j) Extensibility: The ability to add new elements and generality to the archive file design should not be precluded.
  • k) Orthogonality: No element in the archive file should depend on other elements to define the functionality being represented.

The PHIGS archive file functionality has been designed so that, although its main usage is anticipated as being completely within a single implementation, it is possible to support multiple archive file formats some of which may be standard formats and some of which may be private formats. It is intended that conversion between formats should be readily possible and may occur off-line from any PHIGS application program. This will allow private formats to be used on-line for greater efficiency with conversion to standard formats off-line for portability. Support for standard formats on-line is not precluded.

The specific mechanisms of archive file generation and retrieval are not described in this part of ISO/IEC 9592, although it does describe the intended result of such processing. The basic set of archive file elements includes the PHIGS capability for the addition of application-dependent data.

The functionality provided by the archive file is separated from the specification of any particular encoding format. This part of part of ISO/IEC 9592 provides for both standard and private encodings of the structure elements described in ISO/IEC 9592-1 and this part of ISО/IЕС 9592. The rules for conformance of private encodings are also specified in this part of ISO/IЕС 9592. ISO/IEC 9592-3 (clear text encoding of archive file) defines a standard encoding of the PHIGS archive file format: a clear-text encoding. Other standard encodings may be defined. These encodings are in different forms to support differing requirements for readability, storage efficiency, and processing efficiency.

This part of ISO/IEC 9592 draws extensively for its model of a file format on ISO 8632.

1 Scope

This part of ISO/IEC 9592 specifies a file format suitable for the storage and retrieval of PHIGS structure definitions. The file format consists of an ordered set of elements that can be used to describe structures in a way that is compatible between systems of different architectures and implementations supporting different programming languages.

The archive file is defined in such a way that, in addition to sequential access to the whole archive file, random access to individual structure definitions is well-defined; whether this is available in any system that uses this part of ISO/IEC 9592 depends on the medium, the encoding and the implementation.

Clause 4 describes the organization of an archive file.

ISO/IEC 9592-3 specifies a clear-text encoding of the archive file format.

2 Normative references

The following standards contain provisions which, through reference in this text, constitute provisions of this part of ISO/IEC 9592. 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/IEC 9592 are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. Members of IEC and ISO maintain registers of currently valid International Standards.

  • ISO/IEC 8632:1992, Information technology - Computer graphics - Metafile for the storage and transfer of picture description information
    - Part 1: Functional description
    - Part 2: Character encoding
    - Part 3: Binary encoding
    - Part 4: Clear text encoding

3 Definitions

For the purposes of this part of ISO/IЕС 9592 the following definitions apply.

NOTE As far as possible, graphics terminology which is commonly accepted and consistent with other graphics Standards is used.

3.1

archive file descriptor

A group of elements that describe the functional capabilities needed to process the archive file.

3.2

archive file generation

The process that produces a PHIGS archive file.

3.3

archive file retrieval

The process that reads a PHIGS archive file, retrieves the contents, and transfers the result to the PHIGS centralized structure store.