Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH04310B2 - - Google Patents
[go: Go Back, main page]

JPH04310B2 - - Google Patents

Info

Publication number
JPH04310B2
JPH04310B2 JP14590786A JP14590786A JPH04310B2 JP H04310 B2 JPH04310 B2 JP H04310B2 JP 14590786 A JP14590786 A JP 14590786A JP 14590786 A JP14590786 A JP 14590786A JP H04310 B2 JPH04310 B2 JP H04310B2
Authority
JP
Japan
Prior art keywords
unit
geometric
information
data
command
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
Application number
JP14590786A
Other languages
Japanese (ja)
Other versions
JPS633379A (en
Inventor
Takaaki Ishii
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP14590786A priority Critical patent/JPS633379A/en
Publication of JPS633379A publication Critical patent/JPS633379A/en
Publication of JPH04310B2 publication Critical patent/JPH04310B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、幾何学図形を組合せて形成される
ジオメトリツク図形の作成・編集装置の各幾何学
図形の情報を管理するジオメトリツク図形情報の
管理方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides geometric figure information for managing information of each geometric figure in a geometric figure creation/editing device formed by combining geometric figures. Regarding management methods.

〔従来の技術〕[Conventional technology]

従来、キヤプテンシステムなどの画像表現形式
に含まれるジオメトリツク図形は、点,直線,円
弧,多角形などの幾何学図形要素の選択用の図形
コマンドによつて指定される幾何学図形を、図形
コマンドの配列順すなわち出現順に描画し、この
とき既描画の幾何学図形との重複部分を最新の幾
何学図形に変更することにより、作成される。
Traditionally, geometric figures included in image representation formats such as the captain system are geometric figures specified by figure commands for selecting geometric figure elements such as points, straight lines, arcs, and polygons. It is created by drawing in the order in which the commands are arranged, that is, in the order in which they appear, and at this time, changing overlapping parts with already drawn geometric figures to the latest geometric figures.

なお、各幾何学図形の描画色,線幅,線種,面
種などの属性は、図形コマンドと別個の描画属性
コマンドによつて与えられる。
Note that attributes such as drawing color, line width, line type, surface type, etc. of each geometric figure are given by a figure command and a separate drawing attribute command.

ところで、ジオメトリツク図形の作成および、
作成後の幾何学図形の挿入追加,削除,配列順序
の変更などの編集を行なうジオメトリツク図形の
作成・編集装置には、いわゆる北米方式
(NAPLPS)のビデオテツクスサービスの符号化
方法に準拠する手法で各幾何学図形の図形コマン
ド,描画属性コマンドなどの情報を管理するもの
があり、この場合、とくに編集時には、挿入位
置,削除位置などを判別して編集処理を行なうた
めに、全幾何学図形の情報を順に検索する必要が
あり、非常に長時間を要するとともに作業が煩雑
化し、また、挿入追加,削除などによつて図形コ
マンドの出現順序が変化するため、描画属性コマ
ンドによつて与えられる描画色などの条件が、設
定時の条件から変化し、全幾何学図形が影響を受
けて正しい描画が行なえなくなる。
By the way, creating geometric shapes and
The geometric figure creation/editing device that performs editing such as inserting, adding, deleting, and changing the arrangement order of geometric figures after they have been created uses a method that complies with the encoding method of the so-called North American system (NAPLPS) video text service. There are tools that manage information such as figure commands and drawing attribute commands for each geometric figure. In this case, especially when editing, all geometric figures are It is necessary to search the information in order, which takes a very long time and complicates the work.Also, because the appearance order of the figure commands changes due to insertion, addition, deletion, etc., Conditions such as drawing colors change from the conditions at the time of setting, and all geometric figures are affected, making it impossible to draw correctly.

そこで、テレビジヨン技術学会報告(テレビジ
ヨン学会,1984年,Vol8,No.39)の19〜23頁の
「ジオメトリツク図形の編集・修正方法」には、
各幾何学図形の図形コマンド,描画属性コマンド
などの単位情報を複数個ずつPLUと称するユニ
ツトにブロツク化するとともに、PLUそれぞれ
の各単位情報を双方向のリンクポインタによつて
連結していわゆるリンクリスト構造に設定し、各
単位情報を管理することが記載され、この場合
は、PLUによつて単位情報が区切られ、かつ
PLUそれぞれの描画属性が各PLUの描画属性コ
マンドによつて定まるため、編集時などに、1つ
のPLU内の幾何学図形の挿入追加,削除,配列
順序の変更を行なつても、残りのPLUの幾何学
図形に影響を与えることがなく、前述の北米方式
のビデオテツクスサービスの符号化方法に準拠す
る手法で管理する場合より、比較的短時間で処理
が行なえる。
Therefore, in the report of the Television Technology Society (Television Society of Japan, 1984, Vol. 8, No. 39), pages 19 to 23, "Methods for editing and modifying geometric figures",
Unit information such as figure commands and drawing attribute commands for each geometric figure is blocked into multiple units called PLUs, and each unit information of each PLU is connected by bidirectional link pointers to a so-called link list. It is described that each unit information is managed by setting it in the structure, and in this case, the unit information is separated by PLU, and
Since the drawing attributes of each PLU are determined by the drawing attribute command of each PLU, even if you insert, add, delete, or change the arrangement order of geometric figures in one PLU during editing, the remaining PLUs This method does not affect the geometrical figures of the computer, and can be processed in a relatively shorter time than when managed using a method that conforms to the encoding method of the North American VideoText service described above.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、前述のようにPLUにブロツク化し
て各単位情報を管理する場合、たとえばあらたな
幾何学図形の図形コマンドを挿入追加するとき
は、挿入位置が、リンクポインタによつて結合さ
れている単位情報の指定にもとづき、指定された
単位情報の前あるいは後に固定されるため、先頭
の単位情報の前あるいは末尾の単位情報の後への
挿入追加が行なえなくなる問題点がある。
By the way, when managing each unit information by blocking it in PLU as described above, for example, when inserting and adding a figure command for a new geometric figure, the insertion position is the unit information connected by the link pointer. Since the specified unit information is fixed before or after the specified unit information based on the specification, there is a problem that insertion and addition cannot be performed before the first unit information or after the last unit information.

また、編集により、挿入追加,削除,配列順序
の変更を行なうと、少なくともPLU内の各単位
情報の図形が影響を受けることになるため、編集
処理を、少なくともPLUの単位で行なう必要が
あり、たとえばPLUが多数の単位情報を格納し
ている場合には、処理時間が長くなるとともに作
業が煩雑する問題点がある。
In addition, if you insert, add, delete, or change the arrangement order by editing, at least the figure of each unit information in the PLU will be affected, so it is necessary to perform the editing process at least in units of PLU. For example, if a PLU stores a large number of unit information, there is a problem that the processing time becomes long and the work becomes complicated.

〔問題点を解決するための手段〕[Means for solving problems]

この発明は、前記の諸点に留意してなされたも
のであり、直線,円弧,多角形などの幾何学図形
要素の選択用の図形コマンドによつて指定される
幾何学図形を、前記図形コマンドの配列順に、既
描画の幾何学図形との重複部分を最新の幾何学図
形に変更して描画し、ジオメトリツク図形を作成
するとともに、作成後に幾何学図形の挿入追加,
削除,配列順序の変更を行なつて作成したジオメ
トリツク図形を編集するジオメトリツク図形の作
成・編集装置の各幾何学図形の前記図形コマンド
などの各単位情報を管理するジオメトリツク図形
情報の管理方法において、各幾何学図形の前記図
形コマンドなどの各単位情報を、前記図形コマン
ドなどの単位情報毎のデータユニツトそれぞれに
格納するとともに、各データユニツトを、始端,
始端用の無情報の始,始端部ユニツト間に各幾何
学図形の描画順に挿入して配列し、かつ前記両端
部ユニツト間の1つまたは複数の任意の位置に各
データユニツトをブロツク単位で区切る無情報の
しおりユニツトを挿入するとともに、前記始端部
ユニツトから前記終端部ユニツトまでの各ユニツ
トを、作成時および編集時に双方向のリンクポイ
ンタによつて順に連結し、各単位情報を管理する
ようにしたことを特徴とするジオメトリツク図形
情報管理方法である。
The present invention has been made with the above-mentioned points in mind, and the geometric figure specified by the figure command for selecting a geometric figure element such as a straight line, arc, polygon, etc. In the order of arrangement, the overlapping parts with already drawn geometric figures are changed to the latest geometric figures and drawn, creating a geometric figure, and after creation, inserting and adding geometric figures.
A geometric figure information management method that manages each unit information such as the figure command of each geometric figure of a geometric figure creation/editing device that edits a geometric figure created by deleting and changing the arrangement order. In this step, each unit information such as the figure command of each geometric figure is stored in each data unit for each unit information such as the figure command, and each data unit is
Insert and arrange the geometric figures between the start and start end units with no information for the start end in the drawing order, and separate each data unit in blocks at one or more arbitrary positions between the end units. In addition to inserting a bookmark unit with no information, each unit from the start end unit to the end end unit is successively connected using a bidirectional link pointer during creation and editing, and the information of each unit is managed. This is a geometric figure information management method characterized by the following.

〔作 用〕[Effect]

したがつて、各単位情報がデータユニツトそれ
ぞれに格納され、このとき先頭のデータユニツト
の前および末尾のデータユニツトの後に、始,終
端部ユニツトそれぞれが設けられるとともに、始
端部ユニツトから終端部ユニツトまでの各ユニツ
トが双方向のリンクポインタによつて結合されて
いるため、始,終端ユニツトを含む各ユニツトを
指定して挿入追加位置を指定することができ、先
頭のデータユニツトの前および末尾のデータユニ
ツトの後にも、あらたな幾何学図形の単位情報の
データユニツトを挿入することができる。
Therefore, each unit information is stored in each data unit, and at this time, a start and end unit are provided before the first data unit and after the last data unit, and information is stored from the start unit to the end unit. Since each unit in the data unit is connected by a bidirectional link pointer, the insertion addition position can be specified by specifying each unit including the start and end units, and the data before and at the end of the first data unit can be specified. After the unit, a data unit of unit information of a new geometric figure can be inserted.

また、始,終端部ユニツト間の1つまたは複数
の任意の位置にしおりユニツトが挿入されるた
め、しおりユニツトにより、編集時に、任意の数
の単位情報をブロツク化して処理することがで
き、処理時間を短くするとともに作業を簡素化す
ることができる。
In addition, since a bookmark unit is inserted at one or more arbitrary positions between the start and end units, the bookmark unit allows any number of units of information to be processed as blocks during editing. It is possible to shorten the time and simplify the work.

〔実施例〕〔Example〕

つぎに、この発明を、その1実施例を示した第
1図ないし第7図とともに詳細に説明する。
Next, this invention will be explained in detail with reference to FIGS. 1 to 7 showing one embodiment thereof.

第1図はジオメトリツク図形の作成・編集装置
の全体ブロツクを示し、同図において、1は図形
コマンド,描画属性コマンドなどの種々の操作コ
マンドを入力するタブレツト、2はタブレツト1
に接続された主制御装置であり、マイクロコンピ
ユータなどからなり、作成・編集の種々の制御を
行なう。
Figure 1 shows the overall block of the geometric figure creation/editing device, in which 1 is a tablet for inputting various operation commands such as figure commands and drawing attribute commands;
This is the main control device connected to the computer, and consists of a microcomputer, etc., and performs various creation and editing controls.

3,4は主制御装置2に接続された一時記憶用
のバツフアメモリ,情報フアイル用の磁気デイス
ク、5は主制御装置2に接続された画像展開処理
部であり、主制御装置2から入力されたジオメト
リツク図形の図形コマンド,描画属性コマンドお
よび後述のマーカデータなどを解析して画像展開
し、画像メモリ6にジオメトリツク図形,マーカ
図形を展開して描画する。
3 and 4 are buffer memories for temporary storage and magnetic disks for information files connected to the main control device 2; 5 is an image expansion processing section connected to the main control device 2; A graphic command of a geometric figure, a drawing attribute command, marker data to be described later, etc. are analyzed and an image is developed, and the geometric figure and marker figure are developed and drawn in the image memory 6.

7は画像メモリ6に接続された表示制御回路で
あり、画像メモリ6を走査してジオメトリツク図
形,マーカ図形の画像データを読取り、CRT8
に、読取つた画像データの表示信号を出力してジ
オメトリツク図形,マーカ図形を描画する。
7 is a display control circuit connected to the image memory 6, which scans the image memory 6 to read image data of geometric figures and marker figures;
Then, a display signal of the read image data is outputted to draw a geometric figure and a marker figure.

ところで、図形コマンドは幾何学図形要素の指
定コマンドおよび座標値からなり、描画属性コマ
ンドは、描画色,線幅,線種,面種を指定する。
By the way, graphic commands are composed of geometric graphic element specification commands and coordinate values, and drawing attribute commands specify drawing color, line width, line type, and surface type.

さらに、この実施例では、描画色をセツトカラ
ーと呼ばれるカラーパレツトの番号で指定し、後
述するように編集時の処理時間、作業を一層簡素
化するため、描画属性コマンドを、描画に直接必
要な指定,すなわちカラーパレツトの番号,線
幅,線種、面種を指定する第1の属性コマンド
と、描画に直接必要でないカラーパレツトの色情
報,背景色情報などの設定コマンド,すなわち作
成時などに1回だけ設定すればよいコマンドを有
する第2の属性コマンドの2種類に分類する。
Furthermore, in this embodiment, the drawing color is specified by the number of a color palette called a set color, and in order to further simplify the processing time and work during editing, as will be described later, the drawing attribute command can be used to directly specify the settings necessary for drawing. , that is, the first attribute command that specifies the color palette number, line width, line type, surface type, and setting commands such as color information of the color palette, background color information, etc. that are not directly necessary for drawing, that is, only once at the time of creation etc. They are classified into two types: second attribute commands, which have commands that only need to be set.

そして、タブレツト1は、図形コマンド,第
1,第2の属性コマンドなどの種々の操作コマン
ドを主制御装置2に操作入力する。
The tablet 1 inputs various operation commands such as graphic commands, first and second attribute commands to the main controller 2.

さらに、主制御装置2は、入力された図形コマ
ンド,両属性コマンドなどのメモリ3および処理
部5に伝送する。
Furthermore, the main control device 2 transmits input graphic commands, both attribute commands, etc. to the memory 3 and the processing section 5.

そして、処理部5により、入力されたコマンド
が解析され、入力された図形コマンドの図形が画
像メモリ6に展開されてCRT8に描画される。
Then, the input command is analyzed by the processing unit 5, and the figure of the input graphic command is developed in the image memory 6 and drawn on the CRT 8.

ところで、メモリ3に各コマンドを伝送する
際、主制御装置2は、入力された各コマンドを、
コマンド毎に、第2図に示すデータ形式のデータ
ユニツトDUに格納する。
By the way, when transmitting each command to the memory 3, the main controller 2 transmits each input command as follows.
Each command is stored in a data unit DU in the data format shown in FIG.

なお、第2図のa,b,c,d,e,f,g,
h,iは種別エリア,描画色エリア,線幅エリ
ア,線種・面種エリア,図形コマンドエリア,オ
ペランド(座標値)エリア,前方リンクエリア,
後方リンクエリア,予備エリアを示す。
Note that a, b, c, d, e, f, g,
h and i are type area, drawing color area, line width area, line type/surface type area, figure command area, operand (coordinate value) area, forward link area,
Indicates the rear link area and reserve area.

そして、エリアaにはデータユニツトおよび後
述の始,終端部ユニツト,しおりユニツトの区別
を示すデータが格納され、エリアb〜fには描画
色を示すカラーパレツトの番号データあるいは第
2の属性コマンドのデータ,線幅データ,線種・
面種データ,図形コマンド,オペランドのデータ
それぞれが格納される。
Area a stores data indicating the distinction between a data unit, a start unit, an end unit, and a bookmark unit (to be described later), and areas b to f contain color palette number data indicating drawing colors or data of a second attribute command. , line width data, line type/
Surface type data, graphic commands, and operand data are each stored.

また、エリアgには直前のユニツトのアドレス
からなる前方リンクデータが格納され、エリアh
には直後のユニツトのアドレスからなる後方リン
クデータが格納される。
Further, forward link data consisting of the address of the immediately previous unit is stored in area g, and area h
Backward link data consisting of the address of the immediately succeeding unit is stored in .

一方、メモリ3は、初期設定により、第3図
a,bに示すように、コマンドDUと同一データ
形式で無情報の始端部ユニツトSU,終端部ユニ
ツトEUが設定され、このときユニツトSUには後
方リンクデータが格納され、ユニツトEUには前
方リンクデータが格納される。
On the other hand, in the memory 3, as shown in FIGS. 3a and 3b, a starting end unit SU and an end unit EU with no information are set in the same data format as the command DU, and at this time, the unit SU has the same data format as the command DU. Backward link data is stored, and forward link data is stored in the unit EU.

そして、主制御装置2からメモリ3に、各ユニ
ツトDUが順に伝送されると、入力された各ユニ
ツトDUが、ユニツトSUとユニツトEUの間に、
入力順,すなわち描画順に配列して記憶され、た
とえば第1ないし第11の11個のデータユニツト
DU1,DU2,…,DU11が入力されると、各ユニ
ツトDU1〜DU11は第4図に示すように配列して
記憶される。
Then, when each unit DU is sequentially transmitted from the main controller 2 to the memory 3, each input unit DU is transferred between the unit SU and the unit EU.
They are arranged and stored in the order of input, that is, the order of drawing, and for example, 11 data units from 1st to 11th.
When DU 1 , DU 2 , . . . , DU 11 are input, the units DU 1 to DU 11 are arranged and stored as shown in FIG.

また、前,後方リンクデータが形成する双方向
のリンクポインタにより、第5図に示すようにユ
ニツトSUないしユニツトEUの各ユニツトが、い
わゆるリンクリスト構造で連結される。
Further, by the bidirectional link pointers formed by the front and rear link data, the units SU to EU are connected in a so-called link list structure as shown in FIG.

ところで、タブレツト1から入力される操作コ
マンドには、ユニツトSUないしユニツトEUの間
に1つまたは複数の任意の個数のユニツトをブロ
ツク化してブロツク単位で区切るためのしおりの
操作コマンドがあり、該操作コマンドが主制御装
置2に入力されると、主制御装置2からメモリ3
に、第3図cに示すようにユニツトDUと同一デ
ータ形式で無情報のしおりユニツトMUが伝送さ
れ、このときユニツトMUは、前,後方リンクデ
ータが格納されるとともに、挿入位置の指定にも
とづき、たとえば第6図に示すように配列され、
ユニツトMUを含む各ユニツトがリンクリスト構
造で結合される。
By the way, among the operation commands input from the tablet 1, there is a bookmark operation command for dividing one or more units into blocks between units SU and EU, and separating them into blocks. When a command is input to the main controller 2, the main controller 2 transfers the command to the memory 3.
Then, as shown in Fig. 3c, a bookmark unit MU with no information is transmitted in the same data format as the unit DU, and at this time, the unit MU stores the front and rear link data and also performs the following based on the specified insertion position. , for example, arranged as shown in FIG.
Each unit including unit MU is connected in a linked list structure.

そして、第6図に示すようにユニツトSU,
EU,MUにより、各ユニツトが1つまたは複数
のブロツクBL1,BL2,BL3にブロツク化され、
このとき各ブロツクBL1〜BL3のユニツト数は、
ユニツトMUの挿入位置にもとづき、任意に数に
なる。
Then, as shown in Figure 6, the unit SU,
Each unit is blocked into one or more blocks BL 1 , BL 2 , BL 3 by EU, MU,
At this time, the number of units in each block BL 1 to BL 3 is
The number can be arbitrarily determined based on the insertion position of the unit MU.

すなわち、作成時および編集時の各コマンドな
どの単位情報は、たとえば第6図に示すように、
ユニツトSUないしユニツトEUの間に、ユニツト
MUを含む各ユニツトを配列するとともに、全ユ
ニツトをリンクリスト構造で連結して管理され
る。
That is, unit information such as each command at the time of creation and editing is, for example, as shown in FIG.
Between unit SU and unit EU, the unit
It is managed by arranging each unit including MU and connecting all units in a linked list structure.

また、作成時および編集時には、主制御装置2
の後述のマーカ制御により、処理中のユニツトの
図形を示すマーカ図形がCRT8に表示される。
Also, when creating and editing, the main controller 2
By the marker control described later, a marker figure indicating the figure of the unit being processed is displayed on the CRT 8.

なお、メモリ3の記憶情報は、タブレツト1の
書込み/読出しの操作コマンドにもとづき、主制
御装置2を介してデイスク4に転送され、メモリ
3の記憶情報がデイスク4に格納してフアイルさ
れる。
The information stored in the memory 3 is transferred to the disk 4 via the main controller 2 based on the write/read operation commands of the tablet 1, and the information stored in the memory 3 is stored and filed on the disk 4.

つぎに、主制御装置2の内部構成およびその動
作を、第7図を参照して説明する。
Next, the internal configuration and operation of the main controller 2 will be explained with reference to FIG.

第7図において、9はタブレツト1に接続され
た入力判別部、10,11,12は判別部9に接
続された図形コマンドレジスタ,座標値レジス
タ,属性レジスタであり、レジスタ10に図形コ
マンドの幾何学図形要素の指定コマンドおよび第
2の属性コマンドが入力され、レジスタ11に図
形コマンドの座標値が入力され、かつレジスタ1
2に第1の属性コマンドが入力される。
In FIG. 7, numeral 9 is an input discriminator connected to the tablet 1, 10, 11, and 12 are graphic command registers, coordinate value registers, and attribute registers connected to the discriminator 9. A designation command and a second attribute command for a graphical graphic element are input, the coordinate values of the graphical command are input to register 11, and register 1 is input.
2, the first attribute command is input.

13は判別部9に接続された書込み/読出し制
御部であり、書込み/読出しの操作コマンドにも
とづき、メモリ3,デイスク4の書込み,読出し
を制御し、メモリ3の記憶情報のデイスク4への
転送などを制御する。
Reference numeral 13 denotes a write/read control unit connected to the determination unit 9, which controls writing and reading of the memory 3 and disk 4 based on write/read operation commands, and transfers information stored in the memory 3 to the disk 4. control etc.

14は各レジスタ10〜12に格納されたコマ
ンドなどが入力されるユニツト生成部であり、図
形コマンド,第1,第2属性コマンドそれぞれを
格納したユニツトDUおよび、ユニツトSU,EU
およびMUを生成してメモリ3に出力する。
14 is a unit generator into which the commands stored in each register 10 to 12 are input, and the unit generator DU, which stores graphic commands, first and second attribute commands, and units SU and EU.
and MU is generated and output to the memory 3.

15は判別部9のユニツト移動,ブロツク移動
の操作コマンドが入力されるユニツト操作部であ
り、ユニツト移動の操作コマンドの入力時に、指
定されたユニツトを移動して挿入追加,削除,配
列順序の変更を実行し、ブロツク移動の操作コマ
ンドの入力時に、ブロツク操作部16とともに、
指定されたブロツクの移動を実行し、かつユニツ
ト移動,ブロツク移動にともなうマーカ移動の指
令により、CRT8に表示されたマーカ図形の移
動を実行する。
Reference numeral 15 denotes a unit operation section into which operation commands for unit movement and block movement of the discriminating section 9 are input, and when an operation command for unit movement is input, the specified unit can be moved, inserted, added, deleted, or the arrangement order can be changed. is executed, and when inputting the block movement operation command, the block operation section 16 and the
The specified block is moved, and the marker figure displayed on the CRT 8 is moved according to the unit movement and marker movement commands associated with the block movement.

17は操作部15に接続されたアドレスレジス
タであり、操作部15から出力されたアドレスを
保持し、生成されたユニツトあるいは移動したユ
ニツトなどの現在処理中のユニツトのリンクデー
タを生成部14の出力する。
17 is an address register connected to the operation section 15, which holds the address output from the operation section 15, and outputs the link data of the unit currently being processed, such as a generated unit or a moved unit, to the output of the generation section 14. do.

18は操作部15のマーカ制御によつて動作す
るマーカ発生部であり、現在処理中のユニツトの
幾何学図形の表示位置を示すマーカデータを発生
する。
Reference numeral 18 denotes a marker generating section which operates under the marker control of the operating section 15, and generates marker data indicating the display position of the geometric figure of the unit currently being processed.

19は判別部9および操作部15,発生部18
に接続されたデータ転送部であり、判別部9また
は操作部15から出力された図形コマンド,属性
コマンドと、発生部18のマーカデータとが入力
され、入力された図形コマンド,属性コマンドお
よびマーカデータを処理部5に出力する。
19 is a discrimination section 9, an operation section 15, and a generation section 18;
It is a data transfer unit connected to a data transfer unit, into which graphic commands and attribute commands output from the discriminator unit 9 or operation unit 15 and marker data from the generation unit 18 are input, and the input graphic commands, attribute commands, and marker data are input. is output to the processing section 5.

そして、タブレツト1の操作によつて入力され
た図形コマンドの幾何学図形要素の指定コマン
ド,第2の属性コマンドは、レジスタ10に入力
されるとともに、転送部19を介して処理部5に
出力される。
The geometric figure element designation command and second attribute command of the figure command input by operating the tablet 1 are input to the register 10 and output to the processing unit 5 via the transfer unit 19. Ru.

また、タブレツト1の操作によつて入力された
図形コマンドの座標値,第1の属性データは、レ
ジスタ11,12それぞれに入力されるととも
に、転送部19を介して処理部5に出力される。
Further, the coordinate values and first attribute data of the graphic command input by operating the tablet 1 are input to the registers 11 and 12, respectively, and are output to the processing unit 5 via the transfer unit 19.

さらに、生成部14は、レジスタ10,11,
12のコマンドにもとづき、図形コマンド,属性
コマンドそれぞれのユニツトDUを生成し、この
ときレジスタ17から入力されたリンクデータに
もとき、生成したユニツトDUそれぞれの前,後
方リンクデータが設定される。
Furthermore, the generation unit 14 includes registers 10, 11,
Based on the commands No. 12, unit DUs for graphic commands and attribute commands are generated, and the link data input from the register 17 at this time is also set with the front and rear link data of each of the generated unit DUs.

そして、生成部14によつて生成されたユニツ
トDUは、メモリ3に順次に転送され、メモリ3
のユニツトSU,EUの間に描画順に配列して記憶
される。
The unit DUs generated by the generator 14 are sequentially transferred to the memory 3.
They are arranged and stored in the drawing order between the units SU and EU.

なお、ユニツトMUも、タブレツト1の操作に
より、ユニツトDUとほぼ同様にして生成部14
で生成されるとともに、メモリ3に記憶される。
The unit MU also generates the generator 14 in almost the same way as the unit DU by operating the tablet 1.
is generated and stored in the memory 3.

ところで、生成部14によつて生成されたユニ
ツトDUの図形要素の指定コマンド、座標値など
が操作部15を介して発生部18に入力され、こ
のとき発生部18は、入力された座標値の位置に
マーカ図形を表示するためのマーカデータを発生
し、該マーカデータを転送部19に出力し、
CRT8に、生成されたユニツトDUの図形表示位
置を示すマーカ図形を表示させる。
By the way, the designation command, coordinate values, etc. of the graphic element of the unit DU generated by the generation section 14 are input to the generation section 18 via the operation section 15, and at this time, the generation section 18 inputs the input coordinate values. Generating marker data for displaying a marker figure at a position, outputting the marker data to the transfer unit 19,
A marker graphic indicating the graphic display position of the generated unit DU is displayed on the CRT 8.

つぎに、編集によつて挿入追加,削除,指定順
序の変更を行なう場合について説明する。
Next, the case of inserting, adding, deleting, and changing the specified order by editing will be explained.

まず、編集対象のユニツトをCRT8上で示す
ためのマーカ図形の移動を説明すると、ユニツト
移動の操作コマンドに含まれたマーカ移動の指令
により、操作部15に対して、マーカ図形が現在
示している図形のユニツトの前または後のユニツ
トへのマーカ移動が設定され、該設定にもとづ
き、操作部15は、設定された数だけ前または後
のユニツトを、リンクリスト構造にしたがつてメ
モリ3から検索し、当該ユニツトの図形コマン
ド,座標値を読取つて発生部18に出力する。
First, to explain the movement of a marker figure to indicate the unit to be edited on the CRT 8, a marker movement command included in a unit movement operation command causes the operation unit 15 to move the marker figure currently indicated. Marker movement to the unit before or after the unit of the figure is set, and based on the setting, the operation section 15 searches the memory 3 for the unit before or after the set number of units according to the link list structure. Then, the graphic command and coordinate values of the unit are read and output to the generating section 18.

そして、発生部18は、あらたな座標値の入力
により、まず、表示中のマーカ図形を消すための
マーカ消去のコマンドを転送部19に出力し、
CRT8のマーカ図形を消去した後、入力された
座標値が指定する位置にマーカ図形を表示するた
めのマーカデータを転送部19に出力し、CRT
8の指定された位置,すなわち指定順序の変更対
象のユニツトの図形を示す位置に、マーカ図形を
表示する。
Then, upon input of a new coordinate value, the generation unit 18 first outputs a marker deletion command to the transfer unit 19 to delete the marker figure being displayed.
After erasing the marker figure on the CRT 8, the marker data for displaying the marker figure at the position specified by the input coordinate values is output to the transfer unit 19, and the CRT
A marker figure is displayed at the specified position of No. 8, that is, at the position indicating the figure of the unit whose designation order is to be changed.

さらに、マーカ図形の移動が終了し、編集対象
のユニツトを決めた後、ユニツト移動によつて指
定順序を変更するために、編集対象のユニツトの
移動位置のデータをタブレツト1から操作部15
に入力すると、このとき操作部15は、メモリ3
の各ユニツトの種別エリアaから移動位置のユニ
ツトを識別し、該ユニツトの前または後に、編集
対象のユニツトを移動し、かつ新しい順序のリン
クデータの書換えを行なう。
Furthermore, after the movement of the marker figure is finished and the unit to be edited is determined, data on the movement position of the unit to be edited is transferred from the tablet 1 to the operation unit 15 in order to change the specified order by moving the unit.
At this time, the operation unit 15 inputs the data into the memory 3.
The unit to be moved is identified from the type area a of each unit, the unit to be edited is moved before or after the unit, and the link data is rewritten in the new order.

なお、マーカ図形は、ユニツトSUの直後のユ
ニツトないしユニツトEUの間で移動することが
でき、ユニツトEU,MUに移動制御されたとき
は表示されない。
Note that the marker figure can be moved between the unit immediately after the unit SU or the unit EU, and is not displayed when movement is controlled by the units EU and MU.

また、レジスタ17のアドレスは、マーカ図形
の移動にともなつて変化し、指定順序の変更後に
は、移動された編集対象のユニツトのリンクデー
タがアドレスとして設定される。
Further, the address of the register 17 changes as the marker figure is moved, and after the designated order is changed, the link data of the moved unit to be edited is set as the address.

つぎに、マーカ図形を移動して編集対象のユニ
ツトを決めた後、ユニツト移動によつて挿入追加
を行なうため、挿入追加する図形の図形コマンド
などをタブレツト1によつて入力すると、生成部
14により、あたらしいユニツトが生成され、こ
のとき、当該ユニツトの前,後方リンクデータ
は、レジスタ17に、設定されたアドレス,すな
わち編集対象のユニツトのリンクデータにもとづ
いて設定される。
Next, after moving the marker shape and determining the unit to be edited, in order to perform insertion and addition by moving the unit, when inputting a shape command etc. for the shape to be inserted and added using the tablet 1, the generation unit 14 , a new unit is generated, and at this time, the front and rear link data of the unit are set in the register 17 based on the set address, that is, the link data of the unit to be edited.

そして、生成されたあらたなユニツトがメモリ
3に入力され、このとき操作部15のリスト処理
により、マーカ図形で示されている元の編集対象
のユニツトの前,後方リンクデータが変更され,
追加挿入が行なわれる。
Then, the generated new unit is input to the memory 3, and at this time, the front and rear link data of the original unit to be edited, which is indicated by the marker shape, are changed by the list processing of the operation unit 15.
Additional insertions are made.

また、ユニツト操作によつて削除する場合は、
編集対象のユニツトを決めた後、当該ユニツトの
削除をタブレツト1によつて指令することによ
り、操作部15のリスト処理により、マーカ図形
が示す編集対象のユニツトのリンクデータが、リ
ンクリスト構造から外れるように変更され、削除
が行なわれる。
Also, when deleting by unit operation,
After determining the unit to be edited, by instructing deletion of the unit using the tablet 1, the link data of the unit to be edited indicated by the marker shape is removed from the link list structure through the list processing of the operation unit 15. The file will be changed and deleted as follows.

つぎに、ブロツク操作によつて指定順序の変
更,挿入追加,削除を行なう場合は、たとえば第
6図のブロツクBL1,BL2,BL3の番号,すなわ
ち何番目のブロツクであるかを示す番号を、タブ
レツト1から操作部15に入力する。
Next, when changing the specified order, inserting addition, or deleting by block operation, for example, the numbers of blocks BL 1 , BL 2 , and BL 3 in Fig. 6, that is, the number indicating the block number, should be used. is input from the tablet 1 into the operation section 15.

このとき、操作部15は、ブロツク単位の編集
であることを識別する。
At this time, the operation unit 15 identifies that the editing is in units of blocks.

ところで、操作部16は、メモリ3を走査し
て、各ブロツクBL1,BL2,BL3の順序を予め識
別している。
By the way, the operation unit 16 scans the memory 3 to identify the order of each block BL 1 , BL 2 , BL 3 in advance.

そこで、ブロツク単位の編集のときは、操作部
15が、操作部16に保持された順序と、入力さ
れた番号とにもとづき、編集対象のブロツクを判
別し、当該ブロツクの各ユニツトに対して、ユニ
ツト操作の場合と同様に指定順序の変更,挿入追
加,削除を行なう。
Therefore, when editing in block units, the operation section 15 determines the block to be edited based on the order held in the operation section 16 and the input number, and performs the following for each unit of the block: Change the specified order, insert, add, and delete in the same way as for unit operations.

そして、図形コマンドなどの各単位情報がデー
タユニツトDUそれぞれに格納され、このとき先
頭のデータユニツトDUの前および末尾のデータ
ユニツトDUの後に、始,終端部ユニツトSU,
EUそれぞれが設けられるとともに、始端部ユニ
ツトSUから終端部ユニツトEUまでの各ユニツト
が双方向のリンクポインタによつて結合されてい
るため、始,終端ユニツトSU,EUを含む各ユニ
ツトを指定して挿入追加位置を指定することがで
き、先頭のデータユニツトDUの前および末尾の
データユニツトDUの後にも、あらたなデータユ
ニツトDUを挿入することができる。
Then, each unit information such as graphic commands is stored in each data unit DU, and at this time, the beginning, end unit SU,
Each EU is provided, and each unit from the start unit SU to the end unit EU is connected by a bidirectional link pointer, so each unit including the start, end unit SU, and EU can be specified. The insertion addition position can be specified, and a new data unit DU can be inserted before the first data unit DU and after the last data unit DU.

また、始,終端部ユニツトSU,EU間の1つま
たは複数の任意の位置にしおりユニツトMUが挿
入されるため、しおりユニツトMUにより、編集
時に、任意の数の単位情報をブロツク化して処理
することができ、ユニツト単位の編集および任意
の長さのブロツク単位の編集が行なえ、処理時間
を短くするとともに作業を簡素化することができ
る。
In addition, since a bookmark unit MU is inserted at one or more arbitrary positions between the start and end units SU and EU, the bookmark unit MU can be used to block and process any number of unit information during editing. Editing can be done in units or blocks of arbitrary length, which shortens processing time and simplifies work.

また、マーカ図形を表示して編集対象への図形
をCRT8上で示すことにより、編集対象の図形
を、描画順序にもとづく時間管理と、CRT8の
表示画面にもとづく空間管理との双方によつて指
定し、編集することができ、編集作業が簡単に行
なえる。
In addition, by displaying marker shapes and indicating the shape to be edited on the CRT8, the shape to be edited can be specified by both time management based on the drawing order and space management based on the display screen of the CRT8. and can be edited easily.

さらに、描画属性コマンドを第1,第2の属性
コマンドに分割して管理し、とくに各図形の描画
色をカラーパレツトの番号で指定したことによ
り、全体の情報量が少なくなり、処理時間が一層
短くなるとともに、作業が簡素化する。
Furthermore, by dividing the drawing attribute command into the first and second attribute commands and specifying the drawing color of each figure using the color palette number, the overall amount of information is reduced and the processing time is further shortened. This also simplifies the work.

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

以上のように、この発明のジオメトリツク図形
情報の管理方法によると、各単位情報がデータユ
ニツトそれぞれに格納され、このとき先頭のデー
タユニツトの前および末尾のデータユニツトの後
に、始,終端部ユニツトそれぞれが設けられると
ともに、始端部ユニツトから終端部ユニツトまで
の各ユニツトが双方向のリンクポインタによつて
結合されているため、始,終端ユニツトを含む各
ユニツトを指定して挿入追加位置を指定すること
ができ、先頭のデータユニツトの前および末尾の
データユニツトの後にも、あらたな幾何学図形の
単位情報のデータユニツトを挿入することがで
き、かつ、始,終端部ユニツト間の1つまたは複
数の任意の位置にしおりユニツトが挿入されるた
め、しおりユニツトにより、編集時に、任意の数
の単位情報をブロツク化して処理することがで
き、処理時間を短くするとともに作業を簡素化す
ることができるものである。
As described above, according to the geometric figure information management method of the present invention, each piece of unit information is stored in each data unit, and at this time, the first and last units are stored before the first data unit and after the last data unit. Each unit is provided, and each unit from the start unit to the end unit is connected by a bidirectional link pointer, so each unit including the start and end units can be specified to specify the insertion addition position. It is possible to insert a new geometric figure unit information data unit before the first data unit and after the last data unit, and one or more data units between the start and end units can be inserted. Since a bookmark unit is inserted at an arbitrary position, the bookmark unit allows any number of units of information to be processed as blocks during editing, reducing processing time and simplifying the work. It is something.

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

第1図ないし第7図はこの発明のジオメトリツ
ク図形情報の管理方法の1実施例を示し、第1図
はブロツク図、第2図はデータユニツトのデータ
形式説明図、第3図a,b,cは始端部ユニツ
ト,終端部ユニツト,しおりユニツトの構成説明
図、第4図は各ユニツトの配列説明図、第5図は
各ユニツトのリンクリスト構造の説明図、第6図
はしおりユニツトによるブロツク化の説明図,第
7図は主制御装置の詳細なブロツク図である。 SU,EU…始,終端部ユニツト、DU…データ
ユニツト、MU…しおりユニツト。
1 to 7 show one embodiment of the method for managing geometric figure information according to the present invention, in which FIG. 1 is a block diagram, FIG. 2 is a data format explanatory diagram of a data unit, and FIGS. 3 a and b. , c is an explanatory diagram of the configuration of the start end unit, end unit, and bookmark unit, Fig. 4 is an explanatory diagram of the arrangement of each unit, Fig. 5 is an explanatory diagram of the link list structure of each unit, and Fig. 6 is an explanatory diagram of the structure of the bookmark unit. FIG. 7 is a detailed block diagram of the main controller. SU, EU...start and end unit, DU...data unit, MU...bookmark unit.

Claims (1)

【特許請求の範囲】[Claims] 1 直線,円弧,多角形などの幾何学図形要素の
選択用の図形コマンドによつて指定される幾何学
図形を、前記図形コマンドの配列順に、既描画の
幾何学図形との重複部分を最新の幾何学図形に変
更して描画し、ジオメトリツク図形を作成すると
ともに、作成後に幾何学図形の挿入追加,削除,
配列順序の変更を行なつて作成したジオメトリツ
ク図形を編集するジオメトリツク図形の作成・編
集装置の各幾何学図形の前記図形コマンドなどの
各単位情報を管理するジオメトリツク図形情報の
管理方法において、各幾何学図形の前記図形コマ
ンドなどの各単位情報を、前記図形コマンドなど
の単位情報毎のデータユニツトそれぞれに格納す
るとともに、各データユニツトを、始端,終端用
の無情報の始,終端部ユニツト間に各幾何学図形
の描画順に挿入して配列し、かつ前記両端部ユニ
ツト間の1つまたは複数の任意の位置に各データ
ユニツトをブロツク単位で区切る無情報のしおり
ユニツトを挿入するとともに、前記始端部ユニツ
トから前記終端部ユニツトまでの各ユニツトを、
作成時および編集時に双方向のリンクポインタに
よつて順に連結し、各単位情報を管理するように
したことを特徴とするジオメトリツク図形情報の
管理方法。
1. The geometric figures specified by the figure commands for selecting geometric figure elements such as straight lines, arcs, polygons, etc. are arranged in the order of arrangement of the figure commands, and the overlapping parts with the already drawn geometric figures are updated to the latest You can change the shape to a geometric shape and draw it to create a geometric shape, as well as add, delete, insert, or delete a geometric shape after creating it.
In a geometric figure information management method for managing each unit information such as the figure command of each geometric figure of a geometric figure creation/editing device for editing a geometric figure created by changing the arrangement order, Each unit information such as the figure command of each geometric figure is stored in each data unit for each unit information such as the figure command, and each data unit is stored as a start and end unit with no information for the start and end. Inserting and arranging each geometric figure in the drawing order between the data units, and inserting an information-free bookmark unit for separating each data unit into blocks at one or more arbitrary positions between the two end units; Each unit from the start end unit to the end end unit,
A method for managing geometric figure information, characterized in that each unit information is managed by sequentially connecting them using a bidirectional link pointer during creation and editing.
JP14590786A 1986-06-20 1986-06-20 Control method for geometric graphic information Granted JPS633379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14590786A JPS633379A (en) 1986-06-20 1986-06-20 Control method for geometric graphic information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14590786A JPS633379A (en) 1986-06-20 1986-06-20 Control method for geometric graphic information

Publications (2)

Publication Number Publication Date
JPS633379A JPS633379A (en) 1988-01-08
JPH04310B2 true JPH04310B2 (en) 1992-01-07

Family

ID=15395823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14590786A Granted JPS633379A (en) 1986-06-20 1986-06-20 Control method for geometric graphic information

Country Status (1)

Country Link
JP (1) JPS633379A (en)

Also Published As

Publication number Publication date
JPS633379A (en) 1988-01-08

Similar Documents

Publication Publication Date Title
US6963672B1 (en) Image processing apparatus, image processing method and storage medium
US4905185A (en) Apparatus for transferring block data in original form and editing the block data
US6518978B1 (en) Image-display edit processing method, image editing apparatus and storage medium
US6128020A (en) Computer system supporting design operation of three-dimensional object and method therefor
JP2001243490A (en) Drawing file creation and editing method and medium storing the program
JPS5836905B2 (en) Character display device editing method
JPH04310B2 (en)
JPH022598A (en) Method and device for data editing
JP3444620B2 (en) Filing system equipment
JPH07262345A (en) Multimedia presentation editing method
JP2925716B2 (en) Image retrieval device
JPH0935083A (en) Animation editing equipment
JP2655836B2 (en) Table device
JP2834032B2 (en) Individual output method of the same attribute form
JPH0792648B2 (en) Synchronous editing device
JPH11282599A (en) Display method and device for change of file contents and medium recording display program
JPS58211185A (en) Slit screen display control system
JPH0816834B2 (en) Curve generation method
JPH02250166A (en) information processing equipment
JPH0314195B2 (en)
JPH09146809A (en) Multimedia scenario editing device
KR960035308A (en) How to create and edit an electronic document form in an electronic document exchange system
JPH06236371A (en) Coupling device
JPH0237423A (en) Editing system accompanied with generation management of source program
JPH086928A (en) Document processing method and apparatus