JPH03102573A - Pattern processing system - Google Patents

Pattern processing system

Info

Publication number
JPH03102573A
JPH03102573A JP1241550A JP24155089A JPH03102573A JP H03102573 A JPH03102573 A JP H03102573A JP 1241550 A JP1241550 A JP 1241550A JP 24155089 A JP24155089 A JP 24155089A JP H03102573 A JPH03102573 A JP H03102573A
Authority
JP
Japan
Prior art keywords
basic
attribute
house
data
composite
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.)
Granted
Application number
JP1241550A
Other languages
Japanese (ja)
Other versions
JP2675410B2 (en
Inventor
Masaaki Aoshima
青島 正明
Hiroshi Ishikawa
博 石川
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 JP1241550A priority Critical patent/JP2675410B2/en
Publication of JPH03102573A publication Critical patent/JPH03102573A/en
Application granted granted Critical
Publication of JP2675410B2 publication Critical patent/JP2675410B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To reduce access to a data base, and to quickly display a composite pattern by assembling the data attribute of a basic pattern object in a composite pattern object by an object directive type data base, and simultaneously, coordinating previously the procedure attribute of the basic pattern object to it. CONSTITUTION:The displaying instruction of 'house' is received from a user or an application program. The composite pattern object 'house' 1 of the designated 'house' is taken out on main storage. The procedure attribute 2-1 of the basic pattern object 2 coordinated to the data attribute 1-1 of the composite pattern object 'house' 1 is loaded on the main storage, and is started. The sub-routine of the started procedure attribute 2-1 refers to the corresponding data attribute 1-1, and shades all over the inside of the triangular part, for instance, of a roof to constitute the 'house' at a designated position and by a designated color, and displays a contour line by a designated kind of a line and so on.

Description

【発明の詳細な説明】 〔{既要〕 オブジェクト指向型のデーター、一スを用いて複合図形
の表示などを行う図形処理方式乙こ関し、オブジェクト
指向型のデータベースで複合図形オブジェク1・内に基
本図形オブジェクトのデータ属性を組み込むと共にこれ
に基本図形オブジェクトの手続き属性を対応づけておき
、データベースに対するアクセスなどの処理を少なくし
、複合図形を迅速に表示などすることを目的とし、表示
などしようとする複合図形を構成する各基本図形のデー
タ属性を紹み込んだ複合図形オブジェク1・と、この複
合図形オブジェクト・に組み込んだ基本図形のデータ属
性に対応する手続き属性を持つ基本図形オブシェク1・
とを備え、表示指示などに幻応して、オブジェクト指向
型のデータベースから該当する上記複合図形オブジェク
1・を取り出し、これに組み込まれている基本図形のデ
ータ属性に対応する基本図形オブジェク1・の手続き属
性を起動して当該データ属性を参照して基本図形を順次
表示などして複合図形を表示などするように構成する。
[Detailed Description of the Invention] [{Already required] A graphic processing method for displaying complex figures using object-oriented data and a single object, and a method for displaying complex figure objects in an object-oriented database. Incorporating the data attributes of basic graphic objects and associating them with the procedural attributes of basic graphic objects, we aim to reduce processing such as accessing the database and quickly display complex shapes. A complex figure object 1 that introduces the data attributes of each basic figure that makes up the complex figure to be constructed, and a basic figure object 1 that has procedural attributes that correspond to the data attributes of the basic figures incorporated into this complex figure object.
In response to display instructions, etc., extracts the corresponding compound figure object 1 from the object-oriented database, and extracts the basic figure object 1 corresponding to the data attribute of the basic figure incorporated therein. The system is configured to activate a procedural attribute, refer to the data attribute, and sequentially display basic figures to display a composite figure.

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

本発明は、オブジェク]・指向型のデータベースを用い
て複合図形の表示などを行う図形処理方式に関するもの
である。ユーザが容易Cこ図形を操作することを可能と
するために、図形処理をオブジェクI・指向型の知識表
現システム上で実現するシステムが普及している。この
オブジェクト指向型の知識表現システムが持つオブジェ
クトのアクセスなどの機能によるオーハヘソドのために
、地図などの複合図形を構戒する多量の基本図形データ
を効率的にアクセス、ジョインなどし、表示、消去、移
動、拡縮(拡大・縮小)することが困難どなってきてお
り、オーバヘノドを減らして高速に表示処理などするこ
とが望まれている。
The present invention relates to a graphics processing method for displaying complex graphics using an object-oriented database. In order to enable users to easily manipulate C figures, systems that implement figure processing on an object-oriented knowledge representation system have become widespread. This object-oriented knowledge representation system has functions such as object access that allow us to efficiently access, join, display, erase, etc. a large amount of basic figure data that composes complex figures such as maps. It is becoming increasingly difficult to move and scale (enlarge/reduce) images, and it is desired to reduce overhead and perform display processing at high speed.

〔従来の技術と発明が解決しようとする課題〕従来、第
3図に示すように、例えば家などの複数の基本図形く例
えば屋根を表す図形、壁などを表す矩形〕からなる複合
図形を表示、消去、移動、拡縮なとする場合、複合図形
オブジェク1・21“家”を構威する各基本図形オブジ
ェクト22をオブジェクト指向型のデータベースからそ
れぞれ検索して表示などを行うようにしていた。このた
め、複合図形オブジェクI・から多量の基本オブジェク
1・についてテ゛一タベースをアクセスして該当するも
のを取り出すと共に、これら取り出したものから該当す
るものを結合(ジョイン)などするオーハヘソドが人と
なり、ユーザが迅速に図形を操作し得ないという問題が
あった。
[Prior art and problems to be solved by the invention] Conventionally, as shown in FIG. 3, a composite figure consisting of a plurality of basic figures such as a house, for example a figure representing a roof, a rectangle representing a wall, etc. is displayed. , deletion, movement, scaling, etc., each basic graphic object 22 that makes up the complex graphic objects 1 and 21 "house" is searched from an object-oriented database and displayed. For this reason, the Ohhesod becomes a person who accesses the database for a large number of basic objects 1 from the complex figure object I, extracts the corresponding ones, and joins the corresponding ones from these retrieved objects. There was a problem in that the user could not quickly manipulate the figures.

本発明は、オブジェク1・指向型のデータベース」二で
複合図形オブジェクI・内に基本図形オブジェク1一の
デーク属性を3、■み込むと共にこれに基本図形オブジ
ェクI・の手続き属性を対応づけておき、データベース
に対するアクセスなどの処理を少な4 くし、複合図形を迅速に表示などすることを目的として
いる。
The present invention incorporates the data attributes of the basic graphic object 11 into the composite graphic object I in the object 1 oriented database 2, and also associates the procedural attributes of the basic graphic object I with this. The purpose is to reduce processing such as database access, and quickly display complex figures.

〔課題を解決する手段〕[Means to solve problems]

第↓図を参照して課題を解決する手段を説明する。 Explain the means to solve the problem with reference to Figure ↓.

第1図において、複合図形オブジェク1−1は、表示な
どしようとする複合図形を構或する各基本図形のデータ
属性1−1を組み込んだ複合図形のオブジェクトである
In FIG. 1, a composite graphic object 1-1 is a composite graphic object that incorporates data attributes 1-1 of each basic graphic forming the composite graphic to be displayed.

基本図形オブジェク1・2は、複合図形オブジェクト・
1に組み込んだ基本図形のデータ属性1−1に幻応する
手続き属性2−1などを持つオブジェクトである。
Basic figure objects 1 and 2 are compound figure objects.
It is an object that has procedural attributes 2-1 that correspond to the data attributes 1-1 of the basic figure incorporated in 1.

〔作川〕[Sakukawa]

本発明は、第1図に示すように、複合図形オブシェクl
1に表示などしようとする複合図形を構戒する各基本図
形のデータ属性1−1を州み込み、基本図形オブシ1ク
l− 2 1:’−複合(2)形オブジェクト1に組み
込んだ基本図形のデータ属性1− 1に幻応する手続き
属性1−2を持たせ、表示指示などに幻応して、オブジ
ェクト指向型のデータベースから該当する複合図形オブ
ジェクト1を取り出し、これにN.IIみ込まれている
基本図形のデータ属性1lに対応する基本図形オブジェ
ク1・2の手続き属性2−1を起動して当該データ属性
ゴー1を参照して基本図形を順次表示などして複合図形
を表示などするようにしている。
As shown in FIG.
The data attributes 1-1 of each basic figure that composes the complex figure to be displayed in the basic figure object 1 are incorporated into the basic figure object 1. A procedural attribute 1-2 corresponding to the data attribute 1-1 of the figure is provided, and in response to a display instruction, etc., the corresponding composite figure object 1 is retrieved from an object-oriented database, and N. II Start the procedure attribute 2-1 of the basic figure objects 1 and 2 corresponding to the data attribute 1l of the included basic figure, refer to the data attribute Go 1, display the basic figures sequentially, etc., and create a composite figure. I am trying to display etc.

従って、オブジェク1・指向型のデータベースの複合図
形オブジェクl− 1に基本図形のデータ属性1−lを
組み込むと共にこれに基本図形オブジェク1〜2の手続
き属性2−1を対応づけておくことにより、データベー
スに対するアクセス、ジョインなどの処理を少なくして
複合図形を迅速↓こ操作(表示など)することか可能と
なる。
Therefore, by incorporating the data attribute 1-l of the basic figure into the complex figure object l-1 of the object 1-oriented database and associating it with the procedure attribute 2-1 of the basic figure objects 1 and 2, It becomes possible to quickly manipulate (display, etc.) complex figures by reducing the number of database accesses, joins, and other processes.

(実施例〕 次Cこ、第1図および第2図を用いて本発明の1実施例
の構或および動作を順次詳細に説明する。
(Embodiment) Next, the structure and operation of an embodiment of the present invention will be explained in detail with reference to FIGS. 1 and 2.

第II21において、複合図形オフジェク1・1は、例
えば“家”などの複合図形を構戒する基本図形のデータ
属性1−1などを持つオブジェクトである。ここでは、
複合図形オブジェク[・1を構或する基本図形について
、OID(基本図形のID,例えば001、002など
)に幻応づけて構或要素の1つのとしてデータ属性1−
 1を組み込んでいる。例えば基本図形が′゛3角形”
の場合のデータ属性1−1は、下端に示すように、3角
形、3角形の頂点座標Pl,P,、P3、3角形の内部
の色、3角形の輪郭線の線種、その他、および手続き属
性2−1に対応づけるポインタなどから構威されている
In II21, the composite figure object 1.1 is an object that has data attributes 1-1 of a basic figure, such as a "house", that controls the complex figure. here,
For the basic figures that make up the complex figure object [.1, data attributes 1-
1 is incorporated. For example, the basic shape is a triangle.
Data attributes 1-1 in the case of , as shown at the bottom, are the triangle, the vertex coordinates of the triangle Pl, P,, P3, the color inside the triangle, the line type of the outline of the triangle, etc. It is constructed from a pointer, etc. associated with the procedure attribute 2-1.

基本図形オブジェクl− 2は、本実施例では手続き属
性2−1などから構成されている。手続き属性2−1は
、データ属性1−1を参照して表示、拡大、縮小、再表
示、移動、複写などを行うサブルーチンである。例えば
複合図形オブジェクl− 1のデータ属性1−1が下端
の左に示す“3角形・・・゛の場合、手続き属性2−1
は下端の右に示ず“3角形表示”のタブルーチンとなり
、起動された“3角形表示”のザブルーチンがデータ属
性“3角形・・・”を参照して3角形を指定された位置
、指定された色、指定された線種などで表示する。
In this embodiment, the basic graphic object 1-2 is composed of procedure attributes 2-1 and the like. The procedure attribute 2-1 is a subroutine that refers to the data attribute 1-1 and performs display, enlargement, reduction, redisplay, movement, copying, etc. For example, if data attribute 1-1 of complex graphic object l-1 is "triangle..." shown on the left of the bottom edge, procedure attribute 2-1
is not shown on the right side of the bottom edge, and becomes a tab routine of "Display triangle", and the subroutine of "Display triangle" that is started refers to the data attribute "Triangle..." and displays the triangle at the specified position. Display in the specified color, specified line type, etc.

次に、第2図フローチャートに示す順序Cこ従い、第1
図構成の動作を詳細に説明する。
Next, following the order C shown in the flowchart of FIG.
The operation of the diagram configuration will be explained in detail.

第2図において、■は、“家゛の表示指示を受ける。こ
れは、利用者あるいはアプリケーションプログラムから
“家”の表示指示を受ける。これに対応して、■ないし
[相]の処理が起動される。
In FIG. 2, ■ receives an instruction to display "house". This means that it receives an instruction to display "house" from the user or an application program. In response, the processes from ■ to [phase] are activated. be done.

@は、DB(データベース)から該当するタソプルを取
り出す。これば、指定された“家”の複合図形オブジェ
クI・“家゛を第1図に示すようにDBを検索して主記
憶上に取り出す。
@ retrieves the corresponding tasopple from the DB (database). Then, as shown in FIG. 1, the DB is searched for the composite graphic object I/"house" of the specified "house" and taken out onto the main memory.

■は、手続き属性を起動する。これは、@で取り出した
複合図形オブジェクト“家”のデータ属性1−1に対応
づけられている基本図形オブジェク1〜2の手続き属性
2−1そ生記憶上にロードして起動する。
■ starts the procedural attribute. This is activated by loading the procedure attributes 2-1 of the basic graphic objects 1 and 2, which are associated with the data attribute 1-1 of the composite graphic object "house" retrieved with @, onto the raw memory.

■は、タソプルのデータ属性を参照して“家”を表示す
る。これは、■で起動された手続き属性2−1のサブル
ーチンが、該当するデーク属性】1を参照して“家”を
構戒する例えば屋根の部分の3角形を指定された位置、
指定された色で内部を塗りつぶし、指定された線種で輪
郭線を表示などする。
■Displays “house” by referring to the data attributes of Tasople. This means that the subroutine of procedure attribute 2-1 started in ■ looks up the "house" by referring to the corresponding deck attribute]1.
Fills the interior with the specified color, displays the outline with the specified line type, etc.

[相]は、終わりか否かを判別する。YESの場合には
、終了する。Noの場合には、複合図形オブジ玉ク1−
1から次の基本図形について同様に、0、■を繰り返し
、実行する。
[Phase] determines whether it is the end or not. If YES, the process ends. In the case of No, the compound figure object ball 1-
Repeat steps 0 and ■ from 1 to the next basic figure in the same way.

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

以上説明したように、本発明によれば、オブジェクト指
向型のデータベースの複合図形オブジェクI・↓に基本
図形のデータ属性1−1を組み込むと.!5にこれに丞
木図形オブジェク1・2の手統き属性2−1を対応づけ
てお《構或を採用しているため、データベースに幻する
アクセス、ジョインなどの処理を少なくして複合図形を
迅速に表示などすることができる。これにより、,コー
−ザは地図などのような多量の基本図形からなる複合図
形について、オブジェクト指向型のデータベースを検索
して容易に表示、消去、移動、複写、拡大、縮小などの
操作を行うこどが可能となる。
As explained above, according to the present invention, when the data attribute 1-1 of a basic figure is incorporated into a complex figure object I.↓ of an object-oriented database. ! 5, this is associated with the control attribute 2-1 of the Ogi figure objects 1 and 2. Since the structure is adopted, it is possible to reduce the number of processes such as accesses and joins that are hidden in the database, and create complex figures. can be displayed quickly. With this, the Coser can search an object-oriented database for complex figures such as maps, which consist of a large number of basic figures, and easily perform operations such as displaying, deleting, moving, copying, enlarging, and reducing them. Children become possible.

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

第1図は本発明の1実施例構戒図、第2図は本発明の動
作説明フローチャ−1−、第3図は従来技iイ・iの説
明図を示す。 図中、1は複合図形オブジェク1・、1−1は基本図形
のデータ属性、2は基本図形オブジェクト、2−1は基
本図形の手続き属性を表す。
FIG. 1 is a schematic diagram of one embodiment of the present invention, FIG. 2 is a flowchart 1 for explaining the operation of the present invention, and FIG. 3 is an explanatory diagram of the conventional technique i.i. In the figure, 1 represents a composite graphic object 1., 1-1 represents a data attribute of a basic graphic, 2 represents a basic graphic object, and 2-1 represents a procedure attribute of a basic graphic.

Claims (1)

【特許請求の範囲】 オブジェクト指向型のデータベースを用いて複合図形の
表示などを行う図形処理方式において、表示などしよう
とする複合図形を構成する各基本図形のデータ属性(1
−1)を組み込んだ複合図形オブジェクト(1)と、 この複合図形オブジェクト(1)に組み込んだ基本図形
のデータ属性(1−1)に対応する手続き属性(2−1
)を持つ基本図形オブジェクト(2)とを備え、表示指
示などに対応して、オブジェクト指向型のデータベース
から該当する上記複合図形オブジェクト(1)を取り出
し、これに組み込まれている基本図形のデータ属性(1
−1)に対応する基本図形オブジェクト(2)の手続き
属性(2−1)を起動して当該データ属性(1−1)を
参照して基本図形を順次表示などして複合図形を表示な
どするように構成したことを特徴とする図形処理方式。
[Claims] In a graphic processing method that displays a complex figure using an object-oriented database, the data attributes (1
-1), and a procedural attribute (2-1) corresponding to the data attribute (1-1) of the basic figure incorporated in this composite figure object (1).
), and in response to a display instruction, extracts the corresponding compound figure object (1) from the object-oriented database and retrieves the data attributes of the basic figure incorporated therein. (1
Activate the procedure attribute (2-1) of the basic figure object (2) corresponding to -1), refer to the data attribute (1-1), and display the basic figures sequentially to display the composite figure. A graphic processing method characterized by being configured as follows.
JP1241550A 1989-09-18 1989-09-18 Graphic processing method Expired - Fee Related JP2675410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1241550A JP2675410B2 (en) 1989-09-18 1989-09-18 Graphic processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1241550A JP2675410B2 (en) 1989-09-18 1989-09-18 Graphic processing method

Publications (2)

Publication Number Publication Date
JPH03102573A true JPH03102573A (en) 1991-04-26
JP2675410B2 JP2675410B2 (en) 1997-11-12

Family

ID=17076024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1241550A Expired - Fee Related JP2675410B2 (en) 1989-09-18 1989-09-18 Graphic processing method

Country Status (1)

Country Link
JP (1) JP2675410B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192363B1 (en) 1997-06-25 2001-02-20 Nec Corporation Method and apparatus for supplying multi-media data to a client by using threads

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6192363B1 (en) 1997-06-25 2001-02-20 Nec Corporation Method and apparatus for supplying multi-media data to a client by using threads

Also Published As

Publication number Publication date
JP2675410B2 (en) 1997-11-12

Similar Documents

Publication Publication Date Title
US5619628A (en) 3-Dimensional animation generating apparatus
US5337407A (en) Method and system for identifying users in a collaborative computer-based system
US5058042A (en) Method for employing a hierarchical display list in global rendering
EP0698265B1 (en) Display compositing system
US5847956A (en) Automatic trimming of geometric objects in CAD/CAM systems
JPH0411286A (en) Method of displaying three-dimensional structure
JPH07200218A (en) Method and equipment for interlocking of graphical object
JPH03139781A (en) Primitive drawing method, polygon-shading method and display-processor
JPH03102573A (en) Pattern processing system
JP3186240B2 (en) Figure editing device
US5850223A (en) Editing three-dimensional vertex data with undo facility
JPH03149678A (en) Method for forming composite graphic
JPH08106538A (en) Method and device for graph display
JPS61286977A (en) Partial deforming system for graph in graph forming device
JP3268667B2 (en) Interactive polygon selection device
JP2667454B2 (en) Plotting device
JP2666303B2 (en) Graphic display device
JPH04125787A (en) Method and device for displaying three-dimensional graphic
JPH09134396A (en) Table processor
JPH02285470A (en) Data structure display system
JPH0935083A (en) Animation editing device
JPH02204786A (en) Method for controlling window display and overlap window display system
JPH02189693A (en) Three-dimensional display device
JPH02140888A (en) Filter control system
JPH06149979A (en) Three-dimensional image processing method

Legal Events

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