JPH03288972A - Graphic display processing system - Google Patents

Graphic display processing system

Info

Publication number
JPH03288972A
JPH03288972A JP9113790A JP9113790A JPH03288972A JP H03288972 A JPH03288972 A JP H03288972A JP 9113790 A JP9113790 A JP 9113790A JP 9113790 A JP9113790 A JP 9113790A JP H03288972 A JPH03288972 A JP H03288972A
Authority
JP
Japan
Prior art keywords
segment
metasegment
screen
node
change
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9113790A
Other languages
Japanese (ja)
Inventor
Mayumi Kamiko
神子 真弓
Seiichi Aikawa
聖一 相川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP9113790A priority Critical patent/JPH03288972A/en
Publication of JPH03288972A publication Critical patent/JPH03288972A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily execute beautiful animation with speedy change by suitably designing the tree structure of graphic definition. CONSTITUTION:Each logic window to be displayed on a display screen 14 is controlled as segment structure 10, and each segment structure 10 defines the logic window as a root and obtains the tree structure with the segment and a meta-segment in each node. In such a case, when changing or cutting one part of a graphic, a part to require rewrite can be decided based on the tree structure of the segment structure while being affected by the operation and therefore, when changing the display, the change of the graphical part and the restoration of a graphical part to be affected are executed by overwriting the required graphical part to be decided from the tree structure without executing a processing such as segment or the like. Thus, the change of the display graphic can be speedily processed without damaging the beautiful appearance of the graphic, and the animation can be easily developed as well.

Description

【発明の詳細な説明】 〔概 要〕 計算機のグラフィックス・システムにおける、アニメー
ション図形を表示する方式に関し、アニメーションのた
めの、表示図形の変更を、迅速に処理でき、アニメーシ
ョンの開発も容易な図形表示処理方式を目的とし、 セグメント構造と、セグメント管理部と、ウィンドウ管
理部とを有し、該セグメント構造は、論理ウィンドウを
ルートとして、各ノードにセグメント又はメタセグメン
トを有する木構造とし、該論理ウィンドウは表示画面に
対応し、該セグメントは所定の基本図形のイメージを保
持する画面構造であり、該メタセグメントは、当該ノー
ドの下位につながる全セグメント及びメタセグメントか
ら合成される図形のイメージを保持する画面構造であり
、各該セグメント及びメタセグメントは、それぞれ所定
の属性情報を有し、該属性情報によって表示状態と所定
の優先度が規定され、該セグメント管理部は、所与のコ
マンドの指定に従って、該セグメント構造を生成及び変
更して、該ウィンドウ管理部に対し、該生成及び変更に
対応して定まる最上位階層の該セグメント又はメタセグ
メントの再表示を指示し、該セグメント構造を変更する
場合に、該変更するセグメント又はメタセグメントに対
応する変更ノードについて、最上位階層の該変更ノード
自身又は該変更ノードにつながる最上位階層のノードの
該画面構造を再構成し、該画面構造の再構成を、該変更
ノードから上位に向かい、同階層では該優先度の低い順
に、全ノードの画面構造を順次上書きして行い、該ウィ
ンドウ管理部は、該指示された画面構造を表示画面に再
表示するように構成する。
[Detailed Description of the Invention] [Summary] Regarding a method for displaying animation figures in a computer graphics system, a figure that can quickly process changes in display figures for animation and that facilitates the development of animations. The present invention is a display processing method, and has a segment structure, a segment management section, and a window management section. The window corresponds to the display screen, the segment is a screen structure that holds an image of a predetermined basic figure, and the metasegment holds an image of a figure synthesized from all segments and metasegments connected to the lower part of the node. Each segment and metasegment has predetermined attribute information, and the display state and predetermined priority are defined by the attribute information. Accordingly, generate and change the segment structure, instruct the window management unit to redisplay the segment or metasegment at the top level determined in accordance with the generation and change, and change the segment structure. In this case, for the change node corresponding to the segment or metasegment to be changed, the screen structure of the change node itself in the top layer or the node in the top layer connected to the change node is reconfigured, and the screen structure is reconfigured. The configuration is performed by sequentially overwriting the screen structure of all nodes in the same hierarchy in ascending order of priority, starting from the changed node, and the window management unit reproduces the instructed screen structure on the display screen. Configure to display.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機のグラフィックス・システムにおける
、アニメーション図形を表示するための、図形表示処理
方式に関する。
The present invention relates to a graphic display processing method for displaying animated graphics in a computer graphics system.

〔従来の技術と発明が解決しようとする課題〕第8図は
グラフィックス・システムの構成例を示すブロック図で
ある。
[Prior art and problems to be solved by the invention] FIG. 8 is a block diagram showing an example of the configuration of a graphics system.

処理部1は適当な図形処理コマンド列2のコマンドを順
次処理することにより、表示画面3に表示図形を生成し
、例えば第6図に示すように、(a)から(ロ)へ表示
図形を変化するアニメーションで、図のAモジュールか
らBモジュールへElementデータが流れる状況を
表現しようとする場合に、処理部1は各楕円形、矢印線
、及び文字等を表示するコマンドを実行することにより
(a)の画面を表示し、次にElesentデータの図
形を生成して、矢印の途中の指定位置に上書きすること
により(ハ)の画面を表示する。
The processing unit 1 generates display figures on the display screen 3 by sequentially processing the commands of the appropriate figure processing command string 2, and for example, as shown in FIG. 6, displays the figures from (a) to (b). When trying to express the situation in which Element data flows from module A to module B in the diagram with a changing animation, the processing unit 1 executes commands to display each oval, arrow line, character, etc. ( Display the screen a), then generate a graphic of Elescent data and overwrite it at the specified position in the middle of the arrow to display the screen (c).

次に、(C)のようにEle■entデータ図形を移動
させるには、表示されているElementデータ図形
を消去する処理の後、移動先の位置にElementデ
ータ図形を上書きするが、それだけでは(e)に示すよ
うに、Elementデータ図形を消去した後の矢印線
が消えたま−になり、表示が汚くなる。(C)の画面か
ら(d)の画面へ変化する場合も同様である。
Next, in order to move the Element data shape as shown in (C), after the process of erasing the displayed Element data shape, the Element data shape is overwritten at the movement destination position, but that is not enough ( As shown in e), after erasing the Element data figure, the arrow line disappears and the display becomes dirty. The same applies to the case where the screen in (C) changes to the screen in (d).

そこで、表示を美しくするためには、アニメーションの
作成者が、例えばElementデータ図形を上書きし
た領域に元あった図形を切り出して、この図形をその領
域に書き込むように処理するコマンド列を作成して、消
えた部分の図形を復元するようにしなければならない。
Therefore, in order to make the display more beautiful, the animation creator should, for example, create a command sequence that cuts out the shape that was originally in the area where the Element data shape has been overwritten and writes this shape into that area. , it is necessary to restore the missing part of the figure.

しかし、このような部分図形の切り出しを含む復元処理
は比較的複雑な処理となり、アニメーションを作成する
場合の作業を増大させる一因となる。
However, such restoration processing including cutting out partial figures is a relatively complicated process, which is one reason for increasing the work when creating an animation.

又、別のシステムでは、他の図形に影響するような図形
の書き込みや、消去を行う場合には、画面上に表示され
ているすべての図形を再表示する。
In another system, when writing or erasing a figure that affects other figures, all the figures displayed on the screen are redisplayed.

この場合にはシステムが自動的に再表示を実行するよう
にできるので、アニメーション作成者が復元処理等を生
成する必要が無く、前記システムの場合の問題は解決さ
れるが、変化の無い部分まで含めて、全図形を常に再表
示することになるので、アニメーションの変化の速度を
低下させる原因となる。
In this case, the system can automatically perform redisplay, so the animation creator does not need to generate a restoration process, and the problem with the above system is solved, but even the parts that do not change Since all figures, including those in the animation, are constantly redisplayed, this causes the speed of animation changes to slow down.

本発明は、アニメーションのための、表示図形の変更を
図形の美観を損なうことな(、迅速に処理でき、アニメ
ーションの開発も容易な図形表示処理方式を目的とする
SUMMARY OF THE INVENTION The present invention aims to provide a graphic display processing method for animation that can quickly process changes in displayed graphics without damaging the aesthetic appearance of the graphics, and that facilitates the development of animations.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

図は図形表示処理方式の構成を示し、セグメント構造1
0と、セグメント管理部11と、ウィンドウ管理部12
とを有し、セグメント構造10は、論理ウィンドウをル
ートとして、各ノードにセグメント又はメタセグメント
を有する木構造とし、該論理ウィンドウは表示画面に対
応し、該セグメントは所定の基本図形のイメージを保持
する画面構造であり、該メタセグメントは、当該ノード
の下位につながる全セグメント及びメタセグメントから
合成される図形のイメージを保持する画面構造であり、
各該セグメント及びメタセグメントは、それぞれ所定の
属性情報を有し、該属性情報によって表示状態と所定の
優先度が規定され、セグメント管理部11は、所与のコ
マンドの指定に従って、セグメント構造10を生成及び
変更して、ウィンドウ管理部12に対し、該生成及び変
更に対応して定まる最上位階層の該セグメント又はメタ
セグメントの再表示を指示し、セグメント構造IOを変
更する場合に、該変更するセグメント又はメタセグメン
トに対応する変更ノードについて、最上位階層の該変更
ノード自身又は該変更ノードにつながるノードの該画面
構造を再構成し、該画面構造の再構成を、該変更ノード
から上位に向かい、同階層では該優先度の低い順に、全
ノードの画面構造を順次上書きして行い、ウィンドウ管
理部12は、該指示された画面構造を表示画面14に再
表示する。
The figure shows the configuration of the graphic display processing method, with segment structure 1
0, segment management section 11, and window management section 12
The segment structure 10 has a logical window as a root, and has a tree structure having a segment or metasegment at each node, the logical window corresponds to a display screen, and the segment holds an image of a predetermined basic figure. The meta-segment is a screen structure that holds an image of a figure synthesized from all segments and meta-segments connected to the lower level of the node,
Each segment and metasegment has predetermined attribute information, and the display state and predetermined priority are defined by the attribute information, and the segment management unit 11 manages the segment structure 10 according to a given command. generate and change, and instruct the window management unit 12 to redisplay the segment or metasegment at the top level determined in response to the generation and change, and when changing the segment structure IO, change the segment. For a change node corresponding to a segment or metasegment, the screen structure of the change node itself or the node connected to the change node in the top hierarchy is reconfigured, and the screen structure is reconfigured upward from the change node. , in the same hierarchy, sequentially overwrite the screen structures of all nodes in descending order of priority, and the window management unit 12 redisplays the instructed screen structure on the display screen 14.

〔作 用〕[For production]

本処理方式により、表示画面を定義するセグメント構造
が、表示図形の要素となる基本図形を定義するセグメン
トを木構造で関係付けて、又関連の深いセグメントをメ
タセグメントとして木構造の所要ノードにまとめ、且つ
上書き処理の順序を優先度で示すように構成し、図形の
一部分を変更、削除等した場合に、その影響を受けて書
き直しを要する部分を、セグメント構造の木構造に基づ
いて容易に決定できるようにするので、表示を変更する
場合に、切り出し等の処理をすることなく、木構造から
定まる所要の図形部分を上書きすることによって、図形
部分の変更と、その影響を受ける図形部分の復元等が行
われるようにすることができる。
With this processing method, the segment structure that defines the display screen is created by relating the segments that define the basic figures that are the elements of the display figure in a tree structure, and organizing closely related segments into the required nodes of the tree structure as metasegments. , and the overwriting process is configured to indicate the order of priority, so that when a part of a figure is changed or deleted, the affected part that needs to be rewritten can be easily determined based on the tree structure of the segment structure. Therefore, when changing the display, you can change the shape and restore the affected shape by overwriting the required shape determined from the tree structure without performing processing such as cutting out. etc. can be performed.

従って、図形定義の木構造を適切に設計することにより
、美しく、変化の速いアニメーションを、容易に実現す
ることが可能になる。
Therefore, by appropriately designing the tree structure of figure definitions, it becomes possible to easily realize beautiful and fast-changing animations.

〔実施例〕〔Example〕

第1図のシステムにおいて、表示画面14に表示すべき
各論理ウィンドウは、セグメント構造1oとして管理さ
れ、各セグメント構造1oは論理ウィンドウをルートと
し、セグメント及びメタセグメントを各ノードに持つ木
構造とする。
In the system shown in FIG. 1, each logical window to be displayed on the display screen 14 is managed as a segment structure 1o, and each segment structure 1o has a tree structure with the logical window as the root and a segment and a metasegment at each node. .

こ−で、セグメントは円や長方形のような単一図形、及
び単一図形の簡単な組合わせで作成される基本図形とし
、画面構造にその図形を保持し、その図形を表示する場
合の図形の位置やサイズ等、及び優先度を属性として持
つものとする。
Here, a segment is a single figure such as a circle or a rectangle, or a basic figure created by a simple combination of single figures, and the figure is retained in the screen structure and the figure used when displaying the figure. The location, size, etc., and priority shall be included as attributes.

又メタセグメントは、複数のセグメント又はメタセグメ
ントの画面構造を合成して生成される図形であって、画
面構造にその図形を保持し、その図形を表示する場合の
図形の位置やサイズ等、及び優先度からなる、前記セグ
メントと同様の属性を持つものとする。
A metasegment is a figure that is generated by combining the screen structures of multiple segments or metasegments, and the figure is retained in the screen structure and the position and size of the figure when displayed. It shall have the same attributes as the segment, consisting of priority.

論理ウィンドウは、セグメント及びメタセグメントの画
面構造を合成して作成される図形で、表示画面にその図
形を保持する。
A logical window is a graphic created by combining screen structures of segments and metasegments, and holds the graphic on the display screen.

前記のセグメント構造10において、論理ウィンドウを
構成するために合成すべきセグメント及びメタセグメン
トをルートにつながる子ノードとし、又各メタ力グメン
トを構成するセグメント及びメタセグメントをそのメタ
セグメントの子ノードとして、メタセグメントを中間ノ
ード、セグメントを葉ノードとする木構造を構成する。
In the segment structure 10 described above, the segments and metasegments to be combined to form a logical window are made child nodes connected to the root, and the segments and metasegments constituting each metasegment are made child nodes of that metasegment. Construct a tree structure with metasegments as intermediate nodes and segments as leaf nodes.

なお、ルートの子ノードとするセグメント及びメタセグ
メントは、論理ウィンドウの図形を互いに重ならない図
形に区分して、その各々をセグメント又はメタセグメン
トとすることにより、以下に述べるアニメーションのた
めの図形の変化を効率よく処理することができる。
Note that segments and metasegments that are child nodes of the root can be created by dividing the shapes in the logical window into shapes that do not overlap and making each of them a segment or metasegment. can be processed efficiently.

第2図は前記第6図によって例示した図形に対応するセ
グメント構造を説明する図であり、(a)は木構造の各
ノードを示し、(ハ)にルートの表示画面及び各ノード
の画面構造を示す。このセグメント構造は、論理ウィン
ドウの表示画面がセグメントAと、セグメントBと、メ
タセグメントQueueの画面構造を合成してなり、メ
タセグメントQueueの画面構造は、セグメントAr
ro−と、セグメントElementの画面構造を合成
してなることを定義している。
FIG. 2 is a diagram explaining the segment structure corresponding to the figure illustrated in FIG. 6, in which (a) shows each node of the tree structure, and (c) shows the root display screen and the screen structure of each node. shows. In this segment structure, the display screen of the logical window is composed of the screen structures of segment A, segment B, and metasegment Queue, and the screen structure of metasegment Queue is
It is defined that it is formed by combining the screen structure of ro- and the segment Element.

以上のようなセグメント構造を生成し、変更するために
図形管理部11が処理する図形処理コマンド列13は、
例えば次に示すようなコマンドを使用して構成される。
The graphic processing command string 13 processed by the graphic management unit 11 to generate and change the segment structure as described above is as follows:
For example, it is configured using the following command:

(a)  create(Type、Seg)コマンド
Typeで指定する種類別により論理ウィンドウ、メタ
セグメント及びセグメントの何れかを生成し、Segを
識別子とする。
(a) create (Type, Seg) command Generates either a logical window, metasegment, or segment according to the type specified by Type, and uses Seg as an identifier.

(b)  kill(Seg)コマンドSegで指定す
る論理ウィンドウ、メタセグメント又はセグメントを消
去する。
(b) kill (Seg) Erases the logical window, metasegment, or segment specified by the command Seg.

(c)  draw(Priwitive、Seg、P
o1nt)コマンドSegで指定するセグメントの画面
構造の中に、Pa1ntで指定する座標で定まる位置及
び大きさで、Pr1m1tiveで指定する種類の単一
図形を描く。単一図形には長方形、楕円、塗り潰し長方
形、折れ線、その他がある。
(c) draw(Priwitive, Seg, P
o1nt) Draw a single figure of the type specified by Pr1m1tive in the screen structure of the segment specified by the command Seg, at the position and size determined by the coordinates specified by Pa1nt. Single shapes include rectangles, ellipses, filled rectangles, polylines, and others.

(d)  5et−attribute(Attrib
ute、Seg、Val)コマンドSegで指定するセ
グメント又はメタセグメントの、Attributeで
指定する項目のセグメント属性を、Valで指定する値
にする。Attributeで指定する項目には、移動
位置(原点からの座標値)、縮尺、優先度(整数値の大
きいほど優先度が低いものとする)その他があり、指定
の無い属性は所定の省略値を持つ。
(d) 5et-attribute (Attrib
(ute, Seg, Val) Sets the segment attribute of the item specified by Attribute of the segment or metasegment specified by command Seg to the value specified by Val. Items specified in Attribute include movement position (coordinate value from the origin), scale, priority (the larger the integer value, the lower the priority), and others. Attributes that are not specified are given default values. have

(e)  associate(Segl、Seg2)
コマンドSeglで指定するメタセグメント又は論理ウ
ィンドウの子ノードとして、Seg2で指定するメタセ
グメント又はセグメントを登録する。
(e) associate (Segl, Seg2)
Register the metasegment or segment specified by Seg2 as a child node of the metasegment or logical window specified by command Segl.

セグメント管理部11は、前記のcrea teコマン
ドによって、論理ウィンドウ、メタセグメント又はセグ
メントを生成すると、第3図のセグメント管理部1工に
示すセグメントテーブル20に指定の識別子を登録する
。セグメントテーブル20は、各項で各識別子とセグメ
ント等との対応と、木構造を示すテーブルである。又、
crea teコマンドで論理ウィンドウを生成すると
、ウィンドウ管理部12に通知し、ウィンドウ管理部1
2は論理ウィンドウと画面との対応を保持するウィンド
ウ制御情報21を設定する。
When the segment management unit 11 generates a logical window, metasegment, or segment using the create command, it registers a specified identifier in the segment table 20 shown in the segment management unit 1 section of FIG. 3. The segment table 20 is a table that shows the correspondence between each identifier and a segment, etc., and a tree structure in each item. or,
When a logical window is created using the create command, the window management unit 12 is notified and the window management unit 1
2 sets window control information 21 that maintains the correspondence between logical windows and screens.

dra−コマンドは、crea teコマンドで生成し
たセグメントを指定して図形を描くコマンドであり、セ
グメント管理部1工はdra−コマンドを受は取ると、
指定のセグメントに画面構造が未だ無ければ、画面構造
を生成し、パラメータで指定された図形をその画面構造
に保持する。
The dra-command is a command to draw a figure by specifying the segment generated by the create command.When the segment management department 1 receives the dra-command,
If the specified segment does not yet have a screen structure, a screen structure is generated and the figure specified by the parameter is held in the screen structure.

セグメント管理部11は、drawコマンドでセグメン
トが変更されたり、5et−attributeコマン
ドで属性が変更されたり、killコマンドでセグメン
トやメタセグメントが消去されたり、associat
eコマンドで子ノードが接続される等の図形の変更があ
った場合には、当該コマンドによって直接指定された変
更等の処理を行うと共に、第4図に例示する処理の流れ
により、セグメント構造の木構造に基づいて定まる影響
範囲について、必要な変更処理を行う。
The segment management unit 11 is responsible for changing segments with the draw command, changing attributes with the 5et-attribute command, erasing segments and metasegments with the kill command,
If there is a change in the shape, such as connecting a child node using the e command, the changes specified directly by the command are performed, and the segment structure is changed using the processing flow shown in Figure 4. Perform necessary changes to the influence range determined based on the tree structure.

即ち、処理ステップ30で指定のセグメント又はメタセ
グメントについて、画面構造、属性等を変更し、又は削
除する変更処理を行うと、その処理対象のセグメント又
はメタセグメントに対応するノードを変更ノードとして
、処理ステップ31で変更ノードの親が論理ウィンドウ
 (即ち木構造のルート)か識別し、論理ウィンドウで
あれば、処理ステップ32でウィンドウ管理部12に通
知して、当該セグメント又はメタセグメントの画面構造
を表示画面に複写して再表示させる。
That is, when a change process is performed to change or delete the screen structure, attributes, etc. for a specified segment or metasegment in processing step 30, the node corresponding to the segment or metasegment to be processed is processed as a changed node. In step 31, it is determined whether the parent of the changed node is a logical window (i.e., the root of the tree structure), and if it is a logical window, it is notified to the window management unit 12 in processing step 32, and the screen structure of the segment or metasegment is displayed. Copy it to the screen and display it again.

親が論理ウィンドウでなければ、処理ステップ33に分
岐し、親のメタセグメントについて、画面構造が生成さ
れていなければ住成し、その画面構造に、その親のすべ
ての子ノードの画面構造を各々の属性に定まる優先度の
低い順に、その他の属性に従って複写することにより、
メタセグメントの図形を合成し、処理ステップ34で現
に画面構造を更新した親のノードを、新たに変更ノード
として、処理ステップ31に戻り、このようにして親が
論理ウィンドウになるまで、前記のように処理を繰り返
す。
If the parent is not a logical window, processing branches to step 33, where a screen structure is created for the parent's metasegment if no screen structure has been generated, and the screen structures of all child nodes of the parent are each added to the screen structure. By copying according to the other attributes in descending order of priority determined by the attributes of
The metasegment figures are synthesized, and the parent node whose screen structure has been updated in processing step 34 is set as a new change node, and the process returns to processing step 31. In this way, the process is continued as described above until the parent becomes a logical window. Repeat the process.

第5図は第6図で説明したアニメーションを実現するコ
マンド列の例を示し、(a)のcrea teコマンド
で論理ウィンドウLogicalWindowを生成し
、O))のcrea teコマンドとassociat
eコマンドで、メタセグメントQueueを生成して、
LogicalWindo−の子ノードとする。
Figure 5 shows an example of a command sequence that realizes the animation explained in Figure 6, in which the create command in (a) generates a logical window, and the create command in
Use the e command to generate a metasegment Queue,
It is a child node of LogicalWindow.

(C)及び(d)のコマンド列で、それぞれセグメント
としてA及びBを生成し、それらの図形の楕円をdra
wコマンドで定義することにより、各セグメントの画面
構造が作成され、又5et−attributeコマン
ドで、displace■ant属性として、親のメタ
セグメントの画面構造に複写する場合の移動量を指定す
る。両セグメントともにassociateコマンドで
LogicalWindo−の子ノードとする。
With the command sequences in (C) and (d), generate A and B as segments, respectively, and draw the ellipse of those shapes.
By defining with the w command, a screen structure for each segment is created, and with the 5et-attribute command, the amount of movement when copying to the screen structure of the parent metasegment is specified as the displacement ant attribute. Both segments are made child nodes of LogicalWindow- by the associate command.

次の(e)のコマンド列は、最初のcrea teコマ
ンドと最後のassociateコマンドによって、メ
タセグメントQueueの子ノードとしてセグメントA
rroevを生成するものであり、その図形に2個のd
ra−コマンドで定義される折れ線によっ描かれる矢印
の画面構造が生成され、5et−attributeコ
マンドで、示すような木構造のセグメント構造が構成さ
れ、各ノードと破線でつないで示す画面構造に、図示の
ような図形が保持され、それらを木構造の関係に従って
メタセグメント及び表示画面に複写することにより初期
画面が作成される。
The next command sequence (e) creates segment A as a child node of metasegment Queue by the first create command and the last associate command.
rroev, and two d
A screen structure of arrows drawn by polygonal lines defined by the ra-command is generated, and a tree-like segment structure as shown is constructed by the 5et-attribute command, and each node is connected with a broken line to create the screen structure shown. Graphics as shown are held, and an initial screen is created by copying them to the metasegments and display screen according to the relationships in the tree structure.

次にセグメント管理部11が、第5図(f)のコマンド
列を実行すると、最初のcrea teコマンドと最後
のassociateコマンドによって、メタセグメン
トQueueの子ノードとしてセグメントElemen
tが追加され、その図形は2個のdrawコマンドで定
義される長方形と塗り潰し長方形によって描かれ、又2
個の5et−attributeコマンドで、disp
lacea+ent属性とpriorfty属性が設定
され、優先度は1にされる。
Next, when the segment management unit 11 executes the command sequence shown in FIG. 5(f), the segment Element is created as a child node of the metasegment Queue by the first create command and the last associate command.
t is added, the shape is drawn by a rectangle defined by two draw commands, and a filled rectangle, and
With 5et-attribute commands, disp
The lacea+ent attribute and the priority attribute are set, and the priority is set to 1.

従って、第7図(ロ)に示すように、メタセグメン) 
Queueの書き直しが起こり、優先度順に先ず優先度
の大きい(従って優先度の低い)セグメントArro−
の画面構造をメタセグメントQueueの画面構造に複
写し、次にセグメントElementの画面構造をdi
splacement属性に従って移動した位置に複写
して、メタセグメントQueueの画面構造を更新する
。次いで、これが論理ウィンドウの子ノードであるので
、ウィンドウ管理部12がメタセグメントQueueの
画面構造を表示画面に複写する。
Therefore, as shown in Figure 7 (b), metasegment)
A rewrite of the Queue occurs, and in order of priority the segment Arro-
Copy the screen structure of the meta segment Queue to the screen structure of the meta segment Queue, and then copy the screen structure of the segment Element to
The screen structure of the metasegment Queue is updated by copying it to the moved position according to the placement attribute. Next, since this is a child node of the logical window, the window management unit 12 copies the screen structure of the metasegment Queue onto the display screen.

次にセグメント管理部11は、5et−attribu
te ニアマント(第5図(g))を実行する。その結
果、セグメントElementのdisplaceme
nt属性が更新されるので、再び前記及び第7図(b)
に示す手順でメタセグメントQueueの画面構造が更
新され、この場合にセグメン) Ele■entは前の
画面より移動した位置に複写されるので、更新されたメ
タセグメントQueueが表示画面に複写されると、矢
印の線上をセグメントElementO長方形が移動す
るアニメーションが実現される。且つ矢印は書き直され
ているので、前位置の長方形の跡が残って汚い図形にな
るようなごともない。
Next, the segment management unit 11 sets the 5et-attribute
te Nearmant (Fig. 5(g)) is executed. As a result, the segment Element's displacement
Since the nt attribute is updated, the above and FIG. 7(b)
The screen structure of the metasegment Queue is updated according to the procedure shown in , and in this case, the segment) Elent is copied to a position moved from the previous screen, so when the updated metasegment Queue is copied to the display screen. , an animation is realized in which the segment ElementO rectangle moves on the line of the arrow. Moreover, since the arrow has been redrawn, there will be no traces of the previous rectangle left behind, resulting in a messy figure.

次の第5図(ハ)のK11lコマンドの実行で、セグメ
ントElementが削除されるので、再びメタセグメ
ントQueueの画面構造が第7図(C)のようにセグ
メントArro−のみの図形に更新され、再表示される
ので、長方形がセグメントBの楕円に到着して消え、初
期画面に戻るアニメーションとなる。
The next execution of the K11l command in Figure 5(C) deletes the segment Element, so the screen structure of the metasegment Queue is updated again to a figure with only the segment Arro- as shown in Figure 7(C). As it is redisplayed, the rectangle reaches the ellipse of segment B and disappears, resulting in an animation that returns to the initial screen.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように本発明によれば、計算機
のグラフィックス・システムにおいて、アニメーション
のための、表示図形の変更を、迅速に処理でき、アニメ
ーションの開発も容易にできるという著しい工業的効果
がある。
As is clear from the above description, according to the present invention, changes in displayed figures for animation can be quickly processed in a computer graphics system, and animation can be easily developed, which is a remarkable industrial effect. There is.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の構成を示すブロック図、第2図はセグ
メント構造の説明図、 第3図は本発明の実施例を示すブロック図、第4図は本
発明Φ処理の流れ図、 第5図はコマンド列の例を示す図、 第6図はアニメーションの例を示す図、第7図は画面構
造の更新を説明する図、第8図は従来の構成例を示すブ
ロック図である。 図において、 1は処理部、 2.13は図形処理コマンド列、 3.14は表示画面、  10はセグメント構造、11
はセグメント管理部、12はウィンドウ管理部、本発明
の実施例を示すブロック図 第3図 本発明の処理の流れ図 第4図 本発明の構成を示すブロック図 第1図 セグメント構造の説明図 第2図 (a)  create (logical−wind
ow、 Logicalilindow)。 (155et−attribute (displac
esent+ EIesent+ (−50+Ol )
。 (h) kill (Elesent)。 コマンド列の例を示す図 第5図 アニメーションの例を示[ 第6図 両面構造の更新を説明する図 第 図(その1) 西面構造の更新を説明する図 第 7 図(その2) 従来の構成例を示すブロック図 第 図
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is an explanatory diagram of the segment structure, FIG. 3 is a block diagram showing an embodiment of the present invention, FIG. 4 is a flowchart of the Φ process of the present invention, and FIG. 6 is a diagram showing an example of a command string, FIG. 6 is a diagram showing an example of animation, FIG. 7 is a diagram explaining updating of the screen structure, and FIG. 8 is a block diagram showing an example of a conventional configuration. In the figure, 1 is a processing unit, 2.13 is a graphic processing command string, 3.14 is a display screen, 10 is a segment structure, 11
12 is a segment management unit; 12 is a window management unit; FIG. 3 is a block diagram showing an embodiment of the present invention; FIG. 3 is a flowchart of processing of the present invention; FIG. 4 is a block diagram showing the configuration of the present invention; Figure (a) create (logical-wind
ow, Logicalilindow). (155et-attribute (displac
esent+ EIsent+ (-50+Ol)
. (h) kill (Elescent). Figure 5 shows an example of an animation [ Figure 6 shows an example of an animation] Figure 6 shows an example of a double-sided structure Figure (Part 1) Figure explains an update of a west side structure Figure 7 (Part 2) Conventional Block diagram showing an example of the configuration of

Claims (1)

【特許請求の範囲】 セグメント構造(10)と、セグメント管理部(11)
と、ウィンドウ管理部(12)とを有し、 該セグメント構造(10)は、論理ウィンドウをルート
として、各ノードにセグメント又はメタセグメントを有
する木構造とし、 該論理ウィンドウは表示画面(14)に対応し、該セグ
メントは所定の基本図形のイメージを保持する画面構造
であり、 該メタセグメントは、当該ノードの下位につながる全セ
グメント及びメタセグメントから合成される図形のイメ
ージを保持する画面構造であり、各該セグメント及びメ
タセグメントは、それぞれ所定の属性情報を有し、該属
性情報によって表示状態と所定の優先度が規定され、 該セグメント管理部(11)は、所与のコマンドの指定
に従って、該セグメント構造(10)を生成及び変更し
て、該ウィンドウ管理部(12)に対し、該生成及び変
更に対応して定まる最上位階層の該セグメント又はメタ
セグメントの再表示を指示し、 該セグメント構造(10)を変更する場合に、該変更す
るセグメント又はメタセグメントに対応する変更ノード
について、最上位階層の該変更ノード自身又は該変更ノ
ードにつながる最上位階層のノードの該画面構造を再構
成し、 該画面構造の再構成を、該変更ノードから上位に向かい
、同階層では該優先度の低い順に、全ノードの画面構造
を順次上書きして行い、 該ウィンドウ管理部(12)は、該指示された画面構造
を表示画面に再表示するように構成されていることを特
徴とする図形表示処理方式。
[Claims] Segment structure (10) and segment management section (11)
and a window management unit (12), the segment structure (10) is a tree structure with a logical window as the root and a segment or metasegment at each node, and the logical window is arranged on a display screen (14). Correspondingly, the segment is a screen structure that holds an image of a predetermined basic figure, and the metasegment is a screen structure that holds an image of a figure that is synthesized from all segments and metasegments connected to the lower level of the node. , each segment and metasegment has predetermined attribute information, and the display state and predetermined priority are defined by the attribute information. Generating and changing the segment structure (10), instructing the window management unit (12) to redisplay the segment or metasegment in the top hierarchy determined in accordance with the generation and change, and When changing the structure (10), for the change node corresponding to the segment or metasegment to be changed, reconfigure the screen structure of the change node itself in the top layer or the node in the top layer connected to the change node. Then, the window management unit (12) reconfigures the screen structure by sequentially overwriting the screen structure of all nodes in the order of priority starting from the change node and ascending from the change node. A graphic display processing method characterized by being configured to redisplay an instructed screen structure on a display screen.
JP9113790A 1990-04-05 1990-04-05 Graphic display processing system Pending JPH03288972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9113790A JPH03288972A (en) 1990-04-05 1990-04-05 Graphic display processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9113790A JPH03288972A (en) 1990-04-05 1990-04-05 Graphic display processing system

Publications (1)

Publication Number Publication Date
JPH03288972A true JPH03288972A (en) 1991-12-19

Family

ID=14018145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9113790A Pending JPH03288972A (en) 1990-04-05 1990-04-05 Graphic display processing system

Country Status (1)

Country Link
JP (1) JPH03288972A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06243224A (en) * 1993-01-22 1994-09-02 Yushia Kwok Method and equipment for graphic stratification manufacture
JP2011507056A (en) * 2007-11-21 2011-03-03 マイクロソフト コーポレーション Layout manager

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06243224A (en) * 1993-01-22 1994-09-02 Yushia Kwok Method and equipment for graphic stratification manufacture
JP2011507056A (en) * 2007-11-21 2011-03-03 マイクロソフト コーポレーション Layout manager

Similar Documents

Publication Publication Date Title
US5262761A (en) Displaying hierarchical tree-like designs in windows
US8446415B2 (en) Framework for graphics animation and compositing operations
US5041992A (en) Interactive method of developing software interfaces
JP4166376B2 (en) Digital video signal processing apparatus and method
CA2461516C (en) System supporting animation of graphical display elements through animation object instances
US20020075284A1 (en) Display of images and image transitions
JPS6118036A (en) Document correction system
JPH05233185A (en) User interface control system
JPH03288972A (en) Graphic display processing system
JP2549244B2 (en) Hierarchical structure data display system and display method
JPH06110989A (en) Method and system for apparent direct editing for fixed element displayed in main window, which is provided by application
JPH09185482A (en) Scroll control method for picture
JPH09274627A (en) Method and device for generating schedule managing table
JPH08212038A (en) Display processing method for list picture
JP2001134360A (en) Method and device for displaying node data and hypertext device
JP3210486B2 (en) Display method
Landay et al. Just draw it! Programming by sketching storyboards
JPH04229376A (en) Object structure control system
JPH04294424A (en) Interactive screen controller for computer system
JP2880030B2 (en) Scheduling system
JPS63226723A (en) Multiwindow control system
CN116645445A (en) Intelligent drawing device based on anti/G6 and control method thereof
JPH0576058B2 (en)
JPH0550782B2 (en)
JPH05334285A (en) Document preparing device