JP2790526B2 - Data management method - Google Patents

Data management method

Info

Publication number
JP2790526B2
JP2790526B2 JP18689790A JP18689790A JP2790526B2 JP 2790526 B2 JP2790526 B2 JP 2790526B2 JP 18689790 A JP18689790 A JP 18689790A JP 18689790 A JP18689790 A JP 18689790A JP 2790526 B2 JP2790526 B2 JP 2790526B2
Authority
JP
Japan
Prior art keywords
mesh
primitive
graphic
representative
drawn
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.)
Expired - Fee Related
Application number
JP18689790A
Other languages
Japanese (ja)
Other versions
JPH0477876A (en
Inventor
章 本山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP18689790A priority Critical patent/JP2790526B2/en
Publication of JPH0477876A publication Critical patent/JPH0477876A/en
Application granted granted Critical
Publication of JP2790526B2 publication Critical patent/JP2790526B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、画面上に表示される図形要素をメッシュ
単位に管理して表示するためのデータ管理方式に関する
もである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data management system for managing and displaying graphic elements displayed on a screen in mesh units.

〔従来の技術〕[Conventional technology]

従来、描画プリミティブの画面上への表示方式として
は、第3図に示す如く、スクロール機能によって画面上
に図形プリミティブを描画する際、一回のスクロールに
おける描画領域移動単位をメッシュで分割し、各メッシ
ュ毎の図形プリミティブの内容を格納する図形プリミテ
ィブ管理テーブルを備え、これら管理テーブルに基づい
てメッシュ分割された各メッシュ領域のメッシュ内容を
描画する時点で、該メッシュに含まれる全ての図形プリ
ミティブをその都度描画していた。
Conventionally, as a method of displaying a drawing primitive on a screen, as shown in FIG. 3, when drawing a primitive on a screen by a scroll function, a drawing area movement unit in one scroll is divided by a mesh, and It has a figure primitive management table for storing the contents of figure primitives for each mesh, and at the time of drawing the mesh contents of each mesh area divided into meshes based on these management tables, all figure primitives included in the mesh are deleted. I was drawing each time.

すなわち、第3図において、各々メッシュ1、メッシ
ュ3、メッシュ4には図形プリミティブa,b,cが表わさ
れ、また、メッシュ2、メッシュ3、メッシュ4にはこ
れらにまたがる図形プリミティブdが表わされており、
例えばメッシュ3及びメッシュ4には図形プリミティブ
の管理テーブルT3,T4が備えられ、これら管理テーブル
に基づき各メッシュ領域毎にその内容を描画するように
なされている。
That is, in FIG. 3, mesh primitives a, b, and c are shown in mesh 1, mesh 3, and mesh 4, respectively, and a graphics primitive d that spans these is shown in mesh 2, mesh 3, and mesh 4. Forgotten,
For example, the meshes 3 and 4 are provided with management tables T3 and T4 for figure primitives, and the contents are drawn for each mesh area based on these management tables.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、上記方式では複数メッシュにまたがる
図形プリミティブに関しては、その図形プリミティブが
含まれるメッシュ内容が描画される都度、何回も描画処
理が実行され、結局、システムの表示性能の低下をもた
らすという欠点があった。
However, the above method has a drawback that a graphic primitive that spans a plurality of meshes is executed many times each time the mesh content including the graphic primitive is drawn, resulting in a decrease in the display performance of the system. there were.

この発明は、この様な従来例の問題点を解決する為に
なされたもので、複数メッシュにまたがる図形データに
関しても繰り返し表示されることなく一度のみの描画処
理で描画することで、処理性能の向上を図ることができ
るデータ管理方式を提供することを目的としたものであ
る。
The present invention has been made in order to solve such a problem of the conventional example, and it is possible to improve the processing performance by performing drawing once only without repeatedly displaying graphic data extending over a plurality of meshes. It is an object of the present invention to provide a data management method capable of improving the data management method.

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

この発明に係るデータ管理方式は、スクロール機能に
よって画面上に図形プリミティブを描画する際、一回の
スクロールにおける描画領域移動単位をメッシュで分割
し、各メッシュ毎の図形プリミティブの内容を格納する
図形プリミティブ管理テーブルを備え、これら管理テー
ブルに基づいて画面上に図形プリミティブを描画するよ
うにしたデータ管理方式において、上記各メッシュ毎の
図形プリミティブ管理テーブルを、図形プリミティブが
対応するメッシュ内に完全に含まれているか否かを示す
メッシュ交叉フラグ及び代表メッシュ管理テーブルに格
納されているその図形プリミティブエントリへのポイン
タの2つのフィールドより構成するとともに、図形プリ
ミティブフィールドと該プリミティブがどのメッシュを
描画する時点で描画するかを指定した代表メッシュ識別
フィールドより構成される代表メッシュ管理テーブル備
え、複数のメッシュにまたがる図形プリミティブに関し
ては、各メッシュに属する図形プリミティブを代表メッ
シュに相当する図形プリミティブの描画時に一度に描画
するようにしたものである。
According to the data management method of the present invention, when a graphic primitive is drawn on a screen by a scroll function, a drawing area movement unit in one scroll is divided by a mesh, and a graphic primitive for storing the contents of the graphic primitive for each mesh. In a data management method including a management table and drawing a graphic primitive on a screen based on the management table, the graphic primitive management table for each of the meshes is completely included in the mesh corresponding to the graphic primitive. And a mesh intersection flag indicating whether or not the drawing is performed, and a pointer to the graphic primitive entry stored in the representative mesh management table. A representative mesh management table configured from a representative mesh identification field designating whether or not a figure primitive spans a plurality of meshes is drawn at a time when drawing a figure primitive corresponding to the representative mesh. It is like that.

〔作用〕[Action]

この発明においては、複数メッシュにまたがる図形プ
リミティブに関し、代表メッシュ管理テーブルにより、
該図形プリミティブをどのメッシュ描画時に描画するか
を管理し、繰り返し描画することを防止する。
In the present invention, with respect to a graphic primitive spanning a plurality of meshes, a representative mesh management table
It manages which mesh is to be drawn when drawing the figure primitive, and prevents repeated drawing.

〔実施例〕〔Example〕

以下、この発明の一実施例を図に基づいて説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図(a)は図形プリミティブの描画例、同図
(b)はその管理テーブルを説明するもので、メッシュ
1には図形プリミティブA、メッシュ2には図形プリミ
ティブC、さらにメッシュ1とメッシュ2にまたがって
図形プリミティブBが描画されており、そして、メッシ
ュ1及びメッシュ2に対応して図形プリミティブ管理テ
ーブルT1とT2が、さらに、代表メッシュ管理を行う代表
メッシュ管理テーブルT0が備えられる。
FIG. 1 (a) illustrates a drawing example of a figure primitive, and FIG. 1 (b) illustrates a management table thereof. FIG. 1 (a) illustrates a figure primitive A, FIG. 2 illustrates a figure primitive C, and FIG. , A graphic primitive B is drawn, and graphic primitive management tables T1 and T2 corresponding to mesh 1 and mesh 2 are provided, and a representative mesh management table T0 for performing representative mesh management is provided.

これら図形プリミティブ管理テーブルT1とT2は、図形
プリミティブが各メッシュ内に完全に含まれているか否
かを示すメッシュ交叉フラグ(11)及び代表メッシュ管
理テーブルT0に格納されているその図形プリミティブエ
ントリへのポインタ(12)の2つのフィールドより構成
されている。また、代表メッシュ管理テーブルT0は、図
形プリミティブフィールド(13)と該プリミティブがど
のメッシュを描画する時点で描画するかを指定した代表
メッシュ識別フィールド(14),(15)より構成されて
いる。ここで、識別フィールド(14)は代表メッシュが
1の場合にONとなり、識別フィールド(15)はメッシュ
が2の場合にONとなる等である。
These graphic primitive management tables T1 and T2 include a mesh crossing flag (11) indicating whether or not the graphic primitive is completely included in each mesh, and an entry for the graphic primitive entry stored in the representative mesh management table T0. It is composed of two fields of a pointer (12). The representative mesh management table T0 includes a graphic primitive field (13) and representative mesh identification fields (14) and (15) that specify which mesh is to be drawn when the primitive is drawn. Here, the identification field (14) turns ON when the representative mesh is 1, the identification field (15) turns ON when the mesh is 2, and so on.

又、図形プリミティブがメッシュ内で完全に閉じてい
る場合には、代表メッシュ識別フィールドの値は、意味
を持たないものとする。
When the graphic primitive is completely closed in the mesh, the value of the representative mesh identification field has no meaning.

この様に管理されている状態でメッシュ1及びメッシ
ュ2に含まれている3つの図形プリミティブA,B,Cの描
画シーケンスについて第2図に従って説明する。
A drawing sequence of three graphic primitives A, B, and C included in the mesh 1 and the mesh 2 in the state managed as described above will be described with reference to FIG.

・メッシュ1の内容を描画する。Draw the contents of mesh 1

メッシュ1に対応した図形プリミティブ管理テーブル
T1において、1番目のエントリのメッシュ交叉フラグ
(11)をチェックし、この場合OFFなのでポインタ(1
2)で指定される代表メッシュ管理テーブルT0上のプリ
ミティブAを描画する(S1〜S3)。
Graphic primitive management table corresponding to mesh 1
At T1, the mesh crossing flag (11) of the first entry is checked, and since it is OFF in this case, the pointer (1
The primitive A on the representative mesh management table T0 specified in 2) is drawn (S1 to S3).

次に、2番目のエントリのメッシュ交叉フラグ(11)
はONなので同様にしてポインタで示される代表メッシュ
管理テーブルT0上のエントリを求め代表メッシュ識別フ
ィールド(14)をチェックする。この場合はOFFとなっ
ているので、この時点ではプリミティブBは描画しない
(S4,S5→S2→S8)。
Next, the mesh crossing flag of the second entry (11)
Is ON, similarly, an entry on the representative mesh management table T0 indicated by the pointer is obtained, and the representative mesh identification field (14) is checked. In this case, since it is OFF, the primitive B is not drawn at this point (S4, S5 → S2 → S8).

さらに、該テーブルを全てサーチしていない場合はエ
ントリを1進め(S5)、ステップS2〜S4を繰り返し、全
てサーチした場合はメッシュ番号を1つ進めメッシュ2
の処理に移る。
Further, if all the tables have not been searched, the entry is incremented by one (S5), and steps S2 to S4 are repeated. If all the tables have been searched, the mesh number is incremented by one and the mesh 2 is incremented.
Move on to processing.

・メッシュ2の内容を描画する。・ Draw the contents of mesh 2.

メッシュ2に対応した図形プリミティブ管理テーブル
T2において、一番目のエントリのメッシュ交叉フラグ
(11)はOFFなのでポインタで指定する代表メッシュ管
理テーブルT0上のプリミティブCを描画する(S1〜S
3)。
Graphic primitive management table corresponding to mesh 2
At T2, since the mesh crossing flag (11) of the first entry is OFF, the primitive C on the representative mesh management table T0 specified by the pointer is drawn (S1 to S1).
3).

次に、2番目のエントリのメッシュ交叉フラグ(11)
はONなので、ポインタで指定される代表メッシュ管理テ
ーブルT0上の代表メッシュ識別フィールド(15)をチェ
ックすると、ONとなっているので、この時点でプリミテ
ィブBを描画する(S4,S5→S2→S8→S3)。
Next, the mesh crossing flag of the second entry (11)
Is ON, the representative mesh identification field (15) on the representative mesh management table T0 specified by the pointer is checked, and since it is ON, primitive B is drawn at this point (S4, S5 → S2 → S8) → S3).

さらに、該テーブルを全てサーチした時点で次のメッ
シュ番号の処理に移る(S4→S6,S7)。
Further, when all the tables have been searched, the process proceeds to the next mesh number (S4 → S6, S7).

〔発明の効果〕〔The invention's effect〕

以上の様に、この発明によれば、複数メッシュにまた
がる図形プリミティブを描画する場合に、代表メッシュ
管理テーブルにより、該プリミティブをどのメッシュ内
容を描画する時点で描画するかを管理する事により、繰
り返し描画を防ぐことによって描画処理性能の向上を図
る事ができるという効果がある。
As described above, according to the present invention, when drawing a graphic primitive extending over a plurality of meshes, the representative mesh management table manages which mesh content is to be drawn at the time of drawing the primitive. There is an effect that drawing processing performance can be improved by preventing drawing.

【図面の簡単な説明】[Brief description of the drawings]

第1図(a),(b)はこの発明の一実施例による図形
プリミティブ及びメッシュの説明図と、図形プリミティ
ブ管理テーブル及び代表メッシュ管理テーブルの説明
図、第2図はこの発明のデータ管理方式のシーケンス処
理図、第3図は従来のメッシュデータ管理方式の説明
図、 図中、A,Cは各々メッシュ1とメッシュ2に完全に含ま
れる図形プリミティブ、Bはメッシュ1及びメッシュ2
にまたがる図形プリミティブ、T1,T2はメッシュ1及び
メッシュ2に対応した図形プリミティブ管理テーブル、
T0は代表メッシュ管理テーブル、(11)は図形プリミテ
ィブがそのメッシュ内に含まれているかどうかを示すメ
ッシュ交叉フラグ、(12)は代表メッシュ管理テーブル
上の図形プリミティブの指すポインタ、(3)は図形プ
リミティブフィールド、(14),(15)は図形プリミテ
ィブをどのメッシュを表示する時点で描画するかを示す
代表メッシュ識別フィールドである。 なお、各図中、同一符号は同一または相当部分を示す。
1 (a) and 1 (b) are explanatory diagrams of a graphic primitive and a mesh according to an embodiment of the present invention, and explanatory diagrams of a graphic primitive management table and a representative mesh management table. FIG. 2 is a data management method of the present invention. FIG. 3 is an explanatory view of a conventional mesh data management method. In the figure, A and C are figure primitives completely included in mesh 1 and mesh 2, respectively, and B is mesh 1 and mesh 2
Primitive primitives, T1 and T2 are graphic primitive management tables corresponding to mesh 1 and mesh 2,
T0 is a representative mesh management table, (11) is a mesh crossing flag indicating whether or not a figure primitive is included in the mesh, (12) is a pointer indicated by the figure primitive on the representative mesh management table, and (3) is a figure. The primitive fields (14) and (15) are representative mesh identification fields indicating which mesh is to be displayed when the figure primitive is displayed. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】スクロール機能によって画面上に図形プリ
ミティブを描画する際、一回のスクロールにおける描画
領域移動単位をメッシュで分割し、各メッシュ毎の図形
プリミティブの内容を格納する図形プリミティブ管理テ
ーブルを備え、これら管理テーブルに基づいて画面上に
図形プリミティブを描画するようにしたデータ管理方式
において、上記各メッシュ毎の図形プリミティブ管理テ
ーブルを、図形プリミティブが対応するメッシュ内に完
全に含まれているか否かを示すメッシュ交叉フラグ及び
代表メッシュ管理テーブルに格納されているその図形プ
リミティブエントリへのポインタの2つのフィールドよ
り構成するとともに、図形プリミティブフィールドと該
プリミティブがどのメッシュを描画する時点で描画する
かを指定した代表メッシュ識別フィールドより構成され
る代表メッシュ管理テーブルを備え、複数のメッシュに
またがる図形プリミティブに関しては、各メッシュに属
する図形プリミティブを代表メッシュに相当する図形プ
リミティブの描画時に一度に描画するようにしたことを
特徴とするデータ管理方式。
When a graphic primitive is drawn on a screen by a scroll function, a drawing primitive movement table is provided which divides a drawing area movement unit in one scroll by a mesh and stores the contents of the figure primitive for each mesh. In a data management method in which a graphic primitive is drawn on a screen based on these management tables, the graphic primitive management table for each of the meshes is used to determine whether the graphic primitive is completely included in the corresponding mesh. And a pointer to the graphic primitive entry stored in the representative mesh management table. The graphic primitive field and the mesh to be drawn when the primitive is drawn are designated. Representative It has a representative mesh management table consisting of a mesh identification field, and for graphic primitives that span multiple meshes, the graphic primitives belonging to each mesh are drawn at once when drawing the graphic primitive corresponding to the representative mesh. Characteristic data management method.
JP18689790A 1990-07-13 1990-07-13 Data management method Expired - Fee Related JP2790526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18689790A JP2790526B2 (en) 1990-07-13 1990-07-13 Data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18689790A JP2790526B2 (en) 1990-07-13 1990-07-13 Data management method

Publications (2)

Publication Number Publication Date
JPH0477876A JPH0477876A (en) 1992-03-11
JP2790526B2 true JP2790526B2 (en) 1998-08-27

Family

ID=16196603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18689790A Expired - Fee Related JP2790526B2 (en) 1990-07-13 1990-07-13 Data management method

Country Status (1)

Country Link
JP (1) JP2790526B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4616088B2 (en) * 2005-06-22 2011-01-19 株式会社フリーソフトネット Geographic information processing system and geographic information processing program

Also Published As

Publication number Publication date
JPH0477876A (en) 1992-03-11

Similar Documents

Publication Publication Date Title
US6437799B1 (en) Method and apparatus for logical zooming of a directed graph
US5377314A (en) Method and system for selective display of overlapping graphic objects in a data processing system
KR880002089A (en) Display control device for compound document processing device
US5581673A (en) Method and device for dividing and drawing polygons
JP3110837B2 (en) Map figure data management method
WO1993007583A1 (en) Graphics output system with bounded updating
JP2790526B2 (en) Data management method
JPS6472263A (en) Display system for drawing information
JPS6398780A (en) Drawing display system
US6933940B2 (en) Incremental resolution changes in multi-resolution meshes with update records
JPS648854B2 (en)
JPH01140270A (en) Map retrieving method
JPH06274102A (en) Control processing method for map facility drawing information
JP3500812B2 (en) Table processing equipment
JPH0517592B2 (en)
JP3570773B2 (en) Graphic processing unit
JP3206113B2 (en) Graphics data construction device
JP2546828B2 (en) Information processing device
JPS617938A (en) Document retrieving device
JPH056910B2 (en)
JPH07146873A (en) Image data retrieval device
JPH04130581A (en) Pattern data processing method
JPH03103981A (en) Image display device
JPS59228295A (en) Editing display system
JPH05313843A (en) Hierarchical structure display system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees