JPH02148365A - Echo displaying system for graphic display device - Google Patents
Echo displaying system for graphic display deviceInfo
- Publication number
- JPH02148365A JPH02148365A JP63305270A JP30527088A JPH02148365A JP H02148365 A JPH02148365 A JP H02148365A JP 63305270 A JP63305270 A JP 63305270A JP 30527088 A JP30527088 A JP 30527088A JP H02148365 A JPH02148365 A JP H02148365A
- Authority
- JP
- Japan
- Prior art keywords
- pick
- echo
- stack
- segment
- identifier
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
- Digital Computer Display Output (AREA)
Abstract
Description
【発明の詳細な説明】
〔4既要]
階層構造によるデータ管理を行うグラフィックディスプ
レイ装置に関し、
エコー制御を高速に行うことが可能なグラフィックディ
スプレイ装置を提供することを目的とし、ピック図形の
検索の際、図形データ記憶部のルートセグメントの図形
データから検索を始め、セグメントの呼出しが行われた
時には復帰するための情報をスタックに記憶すると共に
、その時点で検索されている最新のピック識別子の位置
をスタックに記憶し、エコー表示の際、スタックに記憶
されたピック識別子の位置からエコー表示を行うように
構成する。[Detailed Description of the Invention] [4 Already Required] The present invention relates to a graphic display device that performs data management using a hierarchical structure, and aims to provide a graphic display device that can perform echo control at high speed. When searching, the search starts from the graphic data of the root segment of the graphic data storage unit, and when the segment is called, information for returning is stored in the stack, and the position of the latest pick identifier being searched at that time is stored. is stored in the stack, and when echo display is performed, the echo display is performed from the position of the pick identifier stored in the stack.
本発明は、階層構造によるデータ管理を行うグラフィッ
クディスプレイ装置に関する。The present invention relates to a graphic display device that manages data using a hierarchical structure.
オペレータの入力に対するエコーつまりリアクションは
、マンマシンインターフェースにとって重要なものであ
る。エコーは、例えばデイスプレィに表示された任意の
図形を削除する際、マウス等により図形を指定すると、
実際に削除を行う前に指定した図形を高輝度にするなど
強調表示してその図形をオペレータに通知するものであ
り、オペレータが確認の入力をすると指定された図形が
削除される。Echoes or reactions to operator input are important to man-machine interfaces. For example, when deleting an arbitrary figure displayed on the display, if you specify the figure with the mouse etc.,
Before actually deleting the specified figure, the specified figure is displayed in a highlighted manner, such as with high brightness, and the operator is notified of the figure, and when the operator inputs confirmation, the specified figure is deleted.
第2図にグラフィックディスプレイ装置の説明図を示す
。図中、10はマウス等の入力部、20は図形入力処理
部、21はピック図形識別情報検索部、22はエコー制
御部、30は図形データ管理部、40は図形表示部、5
0は図形処理部である。FIG. 2 shows an explanatory diagram of the graphic display device. In the figure, 10 is an input unit such as a mouse, 20 is a figure input processing unit, 21 is a pick figure identification information search unit, 22 is an echo control unit, 30 is a figure data management unit, 40 is a figure display unit, 5
0 is a graphic processing section.
図形データにはピック識別子、出力図形データ、属性情
報等がある。ピンク識別子は図形処理部50により一意
に設定され、エコー範囲を決定するものである。エコー
制御部22はピック図形を含みピック識別子で区切られ
た出力図形データをエコー(高輝度)表示する。出力図
形データは図形を出力表示するためのデータであり、例
えば線分なら線分を識別する情報と線分の両端の座標が
記憶されている。属性情報には線屈性(点線、実線、太
線等)や色属性等がある。The graphic data includes a pick identifier, output graphic data, attribute information, etc. The pink identifier is uniquely set by the graphic processing unit 50 and determines the echo range. The echo control unit 22 echoes (high brightness) displays output graphic data including pick graphics and separated by pick identifiers. The output graphic data is data for outputting and displaying a graphic, and for example, in the case of a line segment, information for identifying the line segment and the coordinates of both ends of the line segment are stored. Attribute information includes line tropism (dotted line, solid line, thick line, etc.), color attribute, and the like.
図形データ管理部30のデータ構造について説明する。The data structure of the graphic data management section 30 will be explained.
階層構造のデータ管理は新しい技術であり、説明も複雑
になるので、最初に従来の単層構造のデータ管理につい
て説明する。Hierarchical data management is a new technology and its explanation is complicated, so we will first explain conventional single-layer data management.
第5図Aは単層構造の図形データの一例であり、同図B
はその表示画面である。図形データの−かたまりをセグ
メントと呼ぶ。以下に従来のエコー制御の処理を説明す
る。オペレータが人力部10によりピックすべき図形を
指示すると、入力部lOから図形入力部20に指定され
た座標が入力される。Figure 5A is an example of graphic data of a single layer structure, and Figure 5A is an example of graphic data of a single layer structure.
is the display screen. A block of graphic data is called a segment. Conventional echo control processing will be explained below. When the operator specifies a figure to be picked using the human power section 10, the specified coordinates are input from the input section 10 to the figure input section 20.
ピック図形検索処理部21は、セグメントの先頭から入
力された座標と一致する出力図形データを検索し、検索
した出力図形データの位置をエコー制御部22に送出す
る。The pick figure search processing section 21 searches for output figure data that matches the coordinates input from the beginning of the segment, and sends the position of the searched output figure data to the echo control section 22 .
次いでエコー制?11部22は、その出力図形データの
直前に位置するピック識別子をセグメントの先頭から検
索し、そのピック識別子までの属性を読み取る(属性情
報はセグメント間に承継されるので、ある図形を表示す
るにはそれ以前の属性情報をすべて把握する必要がある
)。そして、そのピック識別子から次のピック識別子の
間に位置する出力図形データをエコー表示する。Next is the echo system? 11 section 22 searches for the pick identifier located immediately before the output figure data from the beginning of the segment, and reads the attributes up to the pick identifier (attribute information is inherited between segments, so when displaying a certain figure, (need to know all previous attribute information). Then, output graphic data located between that pick identifier and the next pick identifier is echo-displayed.
例えば、第5図Bに示した表示画面において、オペレー
タがCの家の屋根をピンクすると、ピンク図形検索部2
1はセグメント中の要素1からピッツクされた座標と一
致する出力図形データを検索し、要素14の出力図形デ
ータを検出する。エコー制御部22はピックされた出力
図形の直前に位置するピック識別子(要素11)をセグ
メントの先頭から検索し、エコー範囲の先頭を求める。For example, on the display screen shown in FIG. 5B, if the operator makes the roof of house C pink, the pink shape search section
1 searches for output graphic data that matches the coordinates picked from element 1 in the segment, and detects the output graphic data of element 14. The echo control unit 22 searches for the pick identifier (element 11) located immediately before the picked output figure from the beginning of the segment to find the beginning of the echo range.
再びセグメント中の要素1から要素11までの碩性を設
定し、次のピンク識別子く要素16)までの間にある出
力図形データをエコー表示する。The quality of elements 1 to 11 in the segment is set again, and the output graphic data up to the next pink identifier (element 16) is echo-displayed.
〔発明が解決しようとする課題]
従来のエコー表示は図形データ管理部のデータ構造が?
!雑でなかったので、従来の技術で説明したようにセグ
メントの先頭からピック図形を検索した後再びセグメン
トの先頭からエコー範囲を検索する方法であっても、処
理時間は大きな問題にならなかった。[Problem to be solved by the invention] What is the data structure of the graphic data management section in the conventional echo display?
! Since it was not complicated, the processing time did not pose a big problem even if the method described in the prior art searched for the pick figure from the beginning of the segment and then searched for the echo range from the beginning of the segment again.
第6図Δは従来の技術で説明した単層構造の図形データ
を階層化したものであり、同図Bはその表示画面である
。図形データを階層化することにより複数のセグメント
を構成し、それらのセグメントを呼び出すことができる
。従って、同一形状の図形を多数表示する場合には、そ
の図形データを共用可能なため、記憶効率が良くなる。6.DELTA. is a hierarchical representation of the single-layer structure graphic data described in the prior art, and FIG. 6B is a display screen thereof. By layering graphic data, multiple segments can be constructed and these segments can be called. Therefore, when displaying a large number of figures of the same shape, the figure data can be shared, improving storage efficiency.
第6図Aにおいて、セグメント5の出力図形がその共通
図形データであり、各セグメント1〜4の変換行列は、
共通図形データを各表示位置に平行移動するための移動
量を示す情報である。In FIG. 6A, the output figure of segment 5 is the common figure data, and the transformation matrix of each segment 1 to 4 is as follows.
This is information indicating the amount of movement for parallelly moving the common graphic data to each display position.
このように、データを階層化することにより大量のデー
タが扱える反面、データの管理も複雑になる。よって、
従来の技術で述べた方法を階層構造の図形データに当て
はめると、エコー制御の処理に時間を要し、エコー制御
の処理能力が低下する。Although a large amount of data can be handled by layering data in this way, it also makes data management more complex. Therefore,
When the method described in the related art section is applied to hierarchically structured graphic data, it takes time to process the echo control, and the processing capacity of the echo control decreases.
本発明は、階層構造によるデータ管理を行うグラフィッ
クディスプレイ装置において、エコー制御を高速に行う
ことが可能なグラフィックディスプレイ装置を提供する
ことを目的とする。An object of the present invention is to provide a graphic display device that performs data management using a hierarchical structure and is capable of performing echo control at high speed.
〔課題を解決するための手段]
図形検索処理の際、セグメント呼出しが行われた時には
復帰するための情報を記憶し、復帰が行われた時には復
帰するための情報を削除するスタックにピック識別子情
報部を設ける。ピック図形検索の際、図形データ記憶部
のルート(開始)セグメントの図形データから検索を始
め、セグメントの呼出しが行われた時には復帰するため
の情報をスタックに記憶すると共に、その時点で検索さ
れている最新のピンク識別子の位置をスタックに記憶し
、エコー表示の際、スタックに記憶されたピック識別子
の位置からエコー表示を行うように構成する。[Means for solving the problem] During figure search processing, pick identifier information is stored in the stack that stores information for returning when a segment is called and deletes information for returning when returning is performed. A section will be established. When searching for a pick figure, the search starts from the figure data of the root (start) segment of the figure data storage unit, and when the segment is called, the information for returning is stored in the stack, and the information retrieved at that point is stored in the stack. The position of the latest pink identifier stored in the stack is stored in the stack, and when echo display is performed, the echo display is performed from the position of the pick identifier stored in the stack.
〔作用]
階N構造の図形データからピック図形を検索するために
は、セグメント呼出しが行われた時には復帰するための
情報を記憶し、復帰が行われた時には復帰するための情
報を削除するスタックが必要となる。このスタックにピ
ック識別子情報部を設け、ピック図形の検索と共にピッ
ク識別子の位置を記憶していくので、スタックに記憶さ
れたピック識別子の位置により、エコー範囲の検索を行
う必要がなく高速にエコー表示を行うことが可能である
。[Operation] In order to search for a pick shape from the shape data of the N-level structure, a stack is created that stores information for returning when a segment is called and deletes information for returning when a return is performed. Is required. A pick identifier information section is provided in this stack, and the position of the pick identifier is stored while searching for the pick shape. Therefore, the position of the pick identifier stored in the stack allows high-speed echo display without the need to search for the echo range. It is possible to do this.
第1図に本実施例のピック図形検索用のスタックを示す
。このスタックは第2図の図形入力処理部20の中に設
けられ、ピック図形検索処理部2Iおよびエコー制御部
22の両者から利用されるものである。スタックには、
セグメント呼出が行われた時にその位置を記憶する復帰
情報部71、セグメント呼出が行われた時の時点での直
前のピック識別子の位置が記憶される識別子情報部72
、セグメント呼出が行われた時点での属性情報が記憶さ
れる属性情報部73から構成される。又、セグメントI
Dはセグメントの識別番号であり、要素IDはセグメン
ト内の要素の識別番号である。属性情報は下位階層レヘ
ルには継承されるが、下位から上位階層レベルには継承
されないので、スタックにセグメント呼出し時の属性情
報も記憶しておく。FIG. 1 shows a stack for searching for pick figures in this embodiment. This stack is provided in the graphic input processing section 20 of FIG. 2, and is used by both the pick graphic search processing section 2I and the echo control section 22. The stack has
A return information section 71 that stores the position when a segment is called, and an identifier information section 72 that stores the position of the previous pick identifier at the time when the segment is called.
, and an attribute information section 73 in which attribute information at the time the segment is called is stored. Also, segment I
D is the identification number of the segment, and element ID is the identification number of the element within the segment. Attribute information is inherited by lower hierarchy levels, but not from lower to higher hierarchy levels, so attribute information at the time of segment call is also stored in the stack.
第3図はピック図形検索の処理を説明するフローチャー
トである。マウス等によってデイスプレィ上の任意の座
標が入力され、その座標を含む出力図形データを検索す
る。最初にSP(スタックポインタ)の初期値を設定し
、ルートセグメントの先頭要素から検索を始める。以下
、図形データの種類に応じて処理が進められる。FIG. 3 is a flowchart illustrating the process of searching for a picked figure. Arbitrary coordinates on the display are input using a mouse or the like, and output graphic data including the coordinates is searched. First, the initial value of SP (stack pointer) is set, and the search starts from the first element of the root segment. Thereafter, processing proceeds depending on the type of graphic data.
(1)要素が出力図形なら、その出力図形と入力された
座標が一致するか調べ、−敗したら出力図形の位置を現
SPの復帰情報処理部71に記憶して終了する。一致し
なかったら次の要素に進む。(1) If the element is an output figure, it is checked whether the output figure and the input coordinates match, and if it fails, the position of the output figure is stored in the return information processing unit 71 of the current SP and the process ends. If there is no match, proceed to the next element.
(2)要素がピック識別子なら、ピック識別子の位置を
現SPの識別子情報部71に記憶し、次の要素に進む。(2) If the element is a pick identifier, store the position of the pick identifier in the identifier information section 71 of the current SP, and proceed to the next element.
(3)要素が属性情報なら、変更された属性を現SPの
属性情報部73に記憶し、次の要素に進む。(3) If the element is attribute information, store the changed attribute in the attribute information section 73 of the current SP and proceed to the next element.
(4)要素がセグメント呼出しなら、復帰位置を現SP
の復帰情報部71に記憶する。また、現時点で検出され
た最も最新のピック識別子の位置を下位階層レベルに継
承するために、現SPのピック識別子情報部72の値を
次SP位置にコピーし、属性情報についても同様の処理
を行う。そして、SPを次位置に進めた後、次の要素に
進む。(4) If the element is a segment call, set the return position to the current SP
The data is stored in the recovery information section 71 of. In addition, in order to inherit the position of the latest pick identifier detected at the present time to the lower hierarchical level, the value of the pick identifier information section 72 of the current SP is copied to the next SP position, and the same process is performed for the attribute information. conduct. Then, after advancing SP to the next position, proceed to the next element.
(5)要素がセグメントの終了なら、現時点で検出され
た最も最新のピック識別子の位置を上位階層レベルに伝
えるために、現SPの識別子情報部72の値を前SP位
置にコピーする。終了か否かは、各セグメントの先頭で
そのセグメント内の要素数が設定されているので、要素
数を計数する事により判断される。そしてSPを前位置
に戻した後、次の要素に進む。(5) If the element is the end of a segment, copy the value of the identifier information section 72 of the current SP to the previous SP position in order to convey the position of the latest pick identifier detected at the current time to the upper hierarchical level. Since the number of elements in each segment is set at the beginning of each segment, whether or not it has ended is determined by counting the number of elements. Then, after returning the SP to the previous position, proceed to the next element.
又、要素が上記のいずれでもない場合には、次の要素に
進む。If the element is not one of the above, proceed to the next element.
上記のようにピック図形の検索が行われ、ピック図形が
検出されると、(1)に述べたようにピック図形検索の
処理が終了する。この時のSPの値、現SPの復帰情報
部71に記憶されたピック図形の位置と、現SPのピッ
ク識別子情報部72に記憶されたピック識別子の位置が
エコー制御部22に送出される。When a pick figure is searched as described above and a pick figure is detected, the pick figure search process ends as described in (1). At this time, the value of SP, the position of the pick figure stored in the return information section 71 of the current SP, and the position of the pick identifier stored in the pick identifier information section 72 of the current SP are sent to the echo control section 22.
第4図はエコー制御の処理を説明するフローチャートで
ある。ピンク図形検索処理部21から送出されたピック
識別子の位置までの属性を読み取る。FIG. 4 is a flowchart illustrating echo control processing. The attributes up to the position of the pick identifier sent from the pink figure search processing section 21 are read.
そして、フローチャートに示した処理に従い、次のピッ
ク識別子が検出されるまでの出力図形をエコー表示する
。Then, according to the process shown in the flowchart, the output graphic until the next pick identifier is detected is echo-displayed.
上記で説明したように本発明によれば、ピック図形を出
力図形を含みピック識別子で区切られた区間の図形デー
タをエコー表示するエコー制御時、ピック図形の検索と
同時に、エコー制御に必要なピック識別子の位置を記憶
するので、ピック図形の検索が終了した後にエコー範囲
の検索を行う必要がなく、エコー表示の処理を高速に行
うことが可能である。As explained above, according to the present invention, when performing echo control that echo-displays figure data in a section that includes an output figure and is delimited by pick identifiers, at the same time as searching for a pick figure, the pick figure necessary for echo control is displayed. Since the position of the identifier is stored, there is no need to search for the echo range after the search for the picked figure is completed, and it is possible to perform echo display processing at high speed.
【図面の簡単な説明】
第1図は本発明におけるピック図形検索用スタックの一
実施例構成図、
第2図はグラフィックディスプレイ装置の構成ブロック
図、
第3図はピック図形検索の処理を説明する一実施例フロ
ーチャート、
第4図はエコー制御の処理を説明する一実施例フローチ
ャート、
第5図は単層構造の図形データ管理を説明する図、
第6図は階層構造の図形データ管理を説明する図である
。
71・・・セグメント呼出が行われた時にその位置を記
憶する復帰情報部、
72・・・セグメント呼出が行われた時点での直前のピ
ック識別子の位置が記憶される
識別子情報部、
73・・・セグメント呼出が行われた時点での属性情報
が記憶される属性情報部。
不発用1ニおIJろピック図形才炙索用又り・Iグ茅
1 図
グラフィックテ゛イ人プレイMl
第2図
単層構造の図形データ
(A)
表示画面
(B)
宿
図
m層構造−図形データ
(A1
茅
図
表示画面
(B)[BRIEF DESCRIPTION OF THE DRAWINGS] Fig. 1 is a block diagram of an embodiment of a stack for searching for picked figures according to the present invention, Fig. 2 is a block diagram of the structure of a graphic display device, and Fig. 3 explains processing for searching for picked figures. Flowchart of one embodiment; FIG. 4 is a flowchart of one embodiment explaining echo control processing; FIG. 5 is a diagram explaining single-layer graphic data management; FIG. 6 is a diagram explaining hierarchical graphic data management. It is a diagram. 71... Return information section that stores the position when the segment is called, 72... Identifier information section that stores the position of the previous pick identifier at the time when the segment is called, 73... - Attribute information section in which attribute information at the time the segment is called is stored. 1st IJ filter for unexploded parts
1 Figure Graphic type person play Ml Figure 2 Figure data of single-layer structure (A) Display screen (B) Figure m-layer structure - figure data (A1 Figure display screen (B)
Claims (1)
ータ記憶部と、 図形処理の際、セグメント呼出しが行われた時には復帰
するための情報を記憶し、復帰が行われた時には復帰す
るための情報を削除するスタックと、 ピックする図形の座標情報を入力する入力部と、ピック
図形を図形データ記憶部から検索する手段と、検索され
たピック図形を含みピック識別子で区切られた出力図形
データをエコー表示する手段とを含み、 ピック図形の検索の際、図形データ記憶部のルートセグ
メントの図形データから検索を始め、セグメントの呼出
しが行われた時には復帰するための情報をスタックに記
憶すると共に、その時点で検索されている最新のピック
識別子の位置をスタックに記憶し、 エコー表示の際、スタックに記憶されたピック識別子の
位置からエコー表示を行うことを特徴としたグラフィッ
クディスプレイ装置のエコー表示方式。[Scope of Claims] A graphic data storage unit that hierarchically manages graphic data in units of segments; A stack for deleting information for restoring, an input section for inputting coordinate information of a shape to be picked, a means for searching for a pick shape from a shape data storage section, and a stack for deleting information for restoring a shape separated by a pick identifier. means for echo displaying the output graphic data; when searching for a pick shape, the search starts from the graphic data of the root segment of the graphic data storage unit; and when the segment is called, information for returning is stored in the stack. A graphic display device characterized in that the position of the latest pick identifier being searched at that time is stored in a stack, and when echo display is performed, the echo display is performed from the position of the pick identifier stored in the stack. echo display method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63305270A JPH02148365A (en) | 1988-11-30 | 1988-11-30 | Echo displaying system for graphic display device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63305270A JPH02148365A (en) | 1988-11-30 | 1988-11-30 | Echo displaying system for graphic display device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02148365A true JPH02148365A (en) | 1990-06-07 |
Family
ID=17943082
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63305270A Pending JPH02148365A (en) | 1988-11-30 | 1988-11-30 | Echo displaying system for graphic display device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02148365A (en) |
-
1988
- 1988-11-30 JP JP63305270A patent/JPH02148365A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5249265A (en) | Structure storage management in a graphics display device | |
| US5345544A (en) | Data base system | |
| JPH03139777A (en) | Graphic display system and method | |
| US5379407A (en) | Error handling in a state-free system | |
| JPH07271994A (en) | Figure selection method and method | |
| JP2712182B2 (en) | Graphic processing unit | |
| JPS63288357A (en) | Data editing method | |
| JPH04112253A (en) | Data accessing method using multilayer buffer | |
| JP3335213B2 (en) | Information devices and methods for displaying information graphically | |
| JPH064273A (en) | Data processing device | |
| JPS62165239A (en) | Information retrieving method | |
| JP2675410B2 (en) | Graphic processing method | |
| JPH03251937A (en) | Data base retrieving system | |
| JPS616760A (en) | Numeral data control system | |
| JPS62274338A (en) | Interactive data processing system | |
| JPS62192869A (en) | Control method for vector data base | |
| JP3570082B2 (en) | Database device and database search method | |
| JP3722854B2 (en) | Data editing device | |
| JPH02271476A (en) | Vector data managing system | |
| JPH0223470A (en) | Graphic data retrieving device | |
| JPS63269224A (en) | Data base access system | |
| JPH0822490A (en) | Layer selection method and layer attribute editing method | |
| JPS63276124A (en) | Research information processor | |
| JPS63150724A (en) | Data access processing system | |
| JPH02166564A (en) | Control system for display segment |