JPS6339946B2 - - Google Patents
Info
- Publication number
- JPS6339946B2 JPS6339946B2 JP57187920A JP18792082A JPS6339946B2 JP S6339946 B2 JPS6339946 B2 JP S6339946B2 JP 57187920 A JP57187920 A JP 57187920A JP 18792082 A JP18792082 A JP 18792082A JP S6339946 B2 JPS6339946 B2 JP S6339946B2
- Authority
- JP
- Japan
- Prior art keywords
- divided
- area
- coordinate values
- original
- digitizer
- 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
Links
Description
(a) 発明の技術分野
本発明はコンピユータにデジタイザにより図形
を入力する方法に係わり、特に複数の領域に分割
された図形の入力方法の改善に関する。
(b) 技術の背景
デジタイザは、図形入力領域平面(例えば、
1050×1200mmのデータ入力領域を持つ平面)上で
操作者がカーソルによつて指定する点の直交座標
(デジタイザの)を分解能50本/mmで検出し座標
値を出力する機能を有する装置であり、デジタイ
ザ上に置いた入力図形をカーソルで辿ることによ
りデジタイザがカーソル位置を検出して発生する
位置座標データをCPU(コンピユータの中央処理
装置)に入力するもので図形データ入力手段とし
て広く利用されている。
(c) 従来技術と問題点
デジタイザは、上述のようにカーソルの指示に
よる通常図形入力領域平面上の入力図形に対し実
寸法による座標値を出力するので、例えば入力図
形がデータ入力領域をオーバーする場合は、入力
図形を複数の小領域に分割して入力する必要があ
る。
この分割された小領域の図形を入力する場合、
デジタイザの座標系と原図形の座標系との対応関
係を決めるため、分割図形の入力に先立つて、分
割図面上の点の座標(以下、物理座標値と略称す
る)をデジタイザで何点分か入力し、それらの点
に対応する原図面上の各点の座標値(原図形の座
標系での座標値:以下、論理座標値と略称する)
をキーボード等で数字にて入力する必要があり、
分割数が多くなると、この物理座標に対応する論
理座標を入力する操作は煩雑になり、又各点の物
理座標と論理座標の対応を間違えたりする欠点が
あつた。
尚、原図形或いは分割図形が拡大/縮小されて
いる場合があり、この場合の上述の対応論理座標
値を換算したりして得た上で入力する場合もあ
り、操作の煩雑さは益々増大することになる。
(d) 発明の目的
本発明の目的は、デジタイザにより分割図形を
入力する場合、従来のような分割図形の物理座標
値を何点分か入力し、更に、それらの点に対応す
る論理座標値をデジタイザ以外の入力手段による
数字にて入力する必要をなくし、入力操作を簡単
にし、原図形或いは分割図形が拡大/縮小されて
いる場合も同様に容易に対処できる図形入力方法
を提供することにある。
(e) 発明の構成
この目的は、記憶部を有する中央処理装置にカ
ーソル付きデジタイザとキーボード等の入力手段
を配して構成される図形入力システムに於いて、
記憶部に、予め該入力手段により入力して、矩形
の原図形領域のコードと、尺度(拡大/縮小比)
と、該矩形の対向する2頂点の座標値と、該矩形
の原図形領域を矩形の辺に夫々平行な直交する
X、Y軸方向に任意の複数の矩形領域に分割した
分割数と、該分割された矩形領域に付したアドレ
スと、該各分割矩形領域の対向する2頂点の座標
値とを登録記憶して置き、分割図形の入力に先立
つて、前記原図形のコードと、該分割図形に対応
する分割矩形領域のアドレスと、尺度とを前記入
力手段より入力し、その後前記デジタイザ上でカ
ーソルにより該分割矩形領域の対向する2頂点の
座標値を入力することにより、デジタイザの座標
系による分割矩形領域内の座標値を原図形領域の
座標系による座標値に前記中央処理装置により換
算し対応させるようにすることを特徴とする図形
入力方式により達成される。
(f) 発明の実施例
以下本発明の実施例に就いて図面を参照して説
明する。
第1図は、本発明の実施例における図形入力方
式のブロツク図、第2図a、bはその処理手順を
示すフローチヤート、第3図a、b、cは原図領
域及び分割2例を示し、第2図aは第3図bに、
第2図bは第3図cに対応する。
図に於いて、1はCPU(中央処理装置)、2は
デジタイザ、3はカーソル、5はキーボード
KB、6はデイスプレイ、7は原図形領域、10
は記憶部、11は分割図形制御プログラム、13
は分割テーブル第1領域、14a〜nは分割テー
ブル第2領域である。
CPU1は通常の中央処理装置であり、デジタ
イザ2はカーソル3により指定された点の物理座
標値をCPU1に送出するものである。KB5は汎
用入力手段、デイスプレイ6は入出力データのモ
ニタ用であり、記憶部10は入力データを記憶す
るものである。尚、原図形領域及び分割小領域は
全て、対応する辺がX、Y軸に平行な矩形である
とする。従つて、これ等の分割小領域の指定は対
向する2頂点の2個所の座標指定で良い。
CPU1には初期設定時に記憶部10の記憶領
域に分割図形制御プログラム11がローデイング
されており、このプログラムによつてKB5又は
デジタイザ2による原図形の分割登録と分割図形
の入力との双方が処理される。
以下に処理手順を説明する。始めに、原図形の
分割登録手順を説明する。分割図形制御プログラ
ム11によるデイスプレイ6に表示される案内に
従つて、KB5により、分割の対象である原図形
(領域)の原図形コード(及び名称)、拡大/縮小
比(スケール:以下、尺度と略称する)、外形座
標値(矩形領域の対向する2頂点の座標値)、分
割数、各分割矩形領域のアドレス(指定符号又は
番号)及び分割の境界座標値(分割矩形領域の対
向する2頂点の座標値)を、夫々これ等の順に入
力し登録する。CPU1はこれ等の登録データを
記憶部10の分割テーブル第1領域13に後述の
第1表のような様式で記憶保持させる。尚、尺度
の入力を省略した時は1/1の尺度として登録され
る。
分割矩形領域のアドレスの与え方は本来自由で
あるが、本実施例では、分割がX、Y軸に平行な
直線のみで分割領域が矩形になるように行われて
いるので、第3図b、cに示すように原図形の原
点からの分割領域の順序に従つて、X、Y軸方向
に夫々0,1,2……と付し座標的に2数字で表
示する。尚、分割小領域が各々等しい(合同の)
矩形に等分割される時は、X、Y軸方向の夫々の
分割数と等分割であることを指定するだけで、分
割小領域アドレスと境界座標値の入力は省略出来
る(この場合アドレスと境界座標値とはX、Y軸
方向の夫々の分割数によりCPU1で自動的に算
定される。)
例えば、第3図bの場合、第1表aに示すよう
に、尺度A、外形座標(00,xy),分割数(XY
共非等分割:11,分割数:05),分割小領域アド
レス(00,01,10,20及び21),分割境界座標値
(00ヘ,イニ,ロト,ホチ及びハxy)を、又、第
3図cの場合は、第1表bに示すように、、尺度
A、外形座標(00,xy)、分割数(XY共等分
割:00,分割数2×2:22)を入力することで
(この場合、分割小領域アドレス、分割境界座標
値は自動算出される)、記憶部10の分割テーブ
ル第1領域13に、夫々第1表a、bのような様
式で原図形の分割が登録される。
分割された小領域に関する原図形コード、尺度
及び小領域アドレスと分割境界座標値は論理境界
座標値として、分割領域毎に後述の記憶部10上
に置かれる分割テーブル第2領域14a〜nの対
応する分割テーブルにも、夫々第2表a、bのよ
うな様式で記憶保持される(001〜102頁)。
以上の分割領域登録の手順は、第3図b、cの
分割に対応して夫々第2図a、bの上部3段で示
されている。
(a) Technical Field of the Invention The present invention relates to a method for inputting figures into a computer using a digitizer, and more particularly to an improvement in a method for inputting figures divided into a plurality of regions. (b) Background of the technology A digitizer has a graphic input area plane (e.g.
This is a device that has the function of detecting the orthogonal coordinates (digitizer) of a point specified by the operator with a cursor on a plane with a data input area of 1050 x 1200 mm at a resolution of 50 lines/mm and outputting the coordinate values. , a digitizer that detects the cursor position by tracing an input figure placed on the digitizer with a cursor and inputs the generated position coordinate data to the CPU (computer central processing unit), and is widely used as a figure data input means. There is. (c) Prior Art and Problems As mentioned above, a digitizer outputs coordinate values based on actual dimensions for an input figure on the plane of the normal figure input area based on instructions from the cursor, so for example, if the input figure exceeds the data input area. In this case, it is necessary to divide the input figure into multiple small areas and input them. When inputting the shape of this divided small area,
In order to determine the correspondence between the coordinate system of the digitizer and the coordinate system of the original figure, before inputting the divided figure, the coordinates (hereinafter referred to as physical coordinate values) of the points on the divided figure are calculated using the digitizer. Input the coordinate values of each point on the original drawing corresponding to those points (coordinate value in the coordinate system of the original figure: hereinafter abbreviated as logical coordinate value)
must be entered numerically using a keyboard, etc.
When the number of divisions increases, the operation of inputting the logical coordinates corresponding to the physical coordinates becomes complicated, and there is also the drawback that the correspondence between the physical coordinates and the logical coordinates of each point may be mistaken. In addition, the original figure or the divided figure may be enlarged/reduced, and in this case, the above-mentioned corresponding logical coordinate values may be converted and then input, which increases the complexity of the operation. I will do it. (d) Purpose of the Invention The purpose of the present invention is that when inputting a divided figure using a digitizer, inputting the physical coordinate values of several points of the divided figure as in the conventional method, and then inputting the logical coordinate values corresponding to those points. To provide a figure input method that eliminates the need to input numbers using an input means other than a digitizer, simplifies the input operation, and can similarly easily cope with cases where the original figure or divided figures are enlarged/reduced. be. (e) Structure of the Invention The object is to provide a graphic input system comprising a central processing unit having a storage unit, a digitizer with a cursor, input means such as a keyboard, and the like.
The code and scale (enlargement/reduction ratio) of the rectangular original figure area are input into the storage unit in advance using the input means.
, the coordinate values of two opposing vertices of the rectangle, the number of divisions into which the original figure area of the rectangle is divided into a plurality of arbitrary rectangular areas in the orthogonal X and Y axes directions parallel to the sides of the rectangle, and The address assigned to each divided rectangular area and the coordinate values of two opposing vertices of each divided rectangular area are registered and stored, and prior to inputting the divided figure, the code of the original figure and the divided figure are stored. By inputting the address and scale of the divided rectangular area corresponding to the divided rectangular area from the input means, and then inputting the coordinate values of two opposing vertices of the divided rectangular area using the cursor on the digitizer, the coordinate system of the digitizer is inputted. This is achieved by a graphic input method characterized in that the central processing unit converts and makes the coordinate values in the divided rectangular areas correspond to the coordinate values in the coordinate system of the original graphic area. (f) Embodiments of the invention Examples of the invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a graphic input method according to an embodiment of the present invention, FIGS. 2 a and b are flowcharts showing its processing procedure, and FIGS. 3 a, b, and c show an original image area and two examples of division. , Figure 2a is shown in Figure 3b,
FIG. 2b corresponds to FIG. 3c. In the figure, 1 is the CPU (central processing unit), 2 is the digitizer, 3 is the cursor, and 5 is the keyboard
KB, 6 is the display, 7 is the original figure area, 10
11 is a storage unit, 11 is a divided figure control program, and 13 is a storage unit.
is a first area of the partitioned table, and 14a to 14n are second areas of the partitioned table. The CPU 1 is a normal central processing unit, and the digitizer 2 sends the physical coordinate values of the point designated by the cursor 3 to the CPU 1. KB5 is a general-purpose input means, display 6 is for monitoring input/output data, and storage section 10 is for storing input data. It is assumed that the original figure area and the divided small areas are all rectangles with corresponding sides parallel to the X and Y axes. Therefore, these divided small areas may be specified by specifying the coordinates of two opposing vertices. A divided figure control program 11 is loaded into the storage area of the storage unit 10 in the CPU 1 at the time of initial setting, and this program processes both the division registration of the original figure and the input of the divided figure by the KB5 or the digitizer 2. Ru. The processing procedure will be explained below. First, a procedure for dividing and registering an original figure will be explained. Following the guidance displayed on the display 6 by the dividing figure control program 11, the KB5 calculates the original figure code (and name) and enlargement/reduction ratio (scale: hereinafter referred to as scale) of the original figure (area) to be divided. (abbreviated), external coordinate value (coordinate value of two opposing vertices of a rectangular area), number of divisions, address (designation code or number) of each divided rectangular area, and boundary coordinate value of division (two opposing vertices of a divided rectangular area) coordinate values) are input and registered in this order. The CPU 1 stores and holds these registered data in the divided table first area 13 of the storage unit 10 in a format as shown in Table 1, which will be described later. Note that if scale input is omitted, it will be registered as a scale of 1/1. Although the address of the divided rectangular area can be given freely, in this embodiment, the divided area is divided into rectangular shapes using only straight lines parallel to the X and Y axes. , c, in accordance with the order of the divided areas from the origin of the original figure, the coordinates are indicated by two numbers, 0, 1, 2, etc. in the X and Y axis directions, respectively. In addition, each divided subregion is equal (congruent)
When dividing into rectangles equally, you can omit inputting the divided small area address and boundary coordinate values by simply specifying the number of divisions in each of the X and Y axis directions and the boundary coordinate values (in this case, the address and boundary The coordinate values are automatically calculated by the CPU 1 based on the number of divisions in the X and Y axis directions.) For example, in the case of Figure 3b, as shown in Table 1a, the scale A, external coordinates (00 , xy), number of divisions (XY
Common non-uniform division: 11, number of divisions: 05), divided small area addresses (00, 01, 10, 20 and 21), division boundary coordinate values (00, in, roto, hochi and haxy), and In the case of Figure 3 c, input the scale A, external coordinates (00, xy), and number of divisions (XY equal division: 00, number of divisions 2 x 2: 22) as shown in Table 1 b. (In this case, the divided small area address and the divided boundary coordinate values are automatically calculated.) The original figure is divided into the first area 13 of the dividing table of the storage unit 10 in the formats shown in Table 1 a and b, respectively. is registered. The original figure code, scale, and small area address regarding the divided small area and the division boundary coordinate value are used as logical boundary coordinate values to correspond to the second areas 14a to 14n of the division table placed on the storage unit 10, which will be described later, for each divided area. The information is also stored in the partitioned tables in the form shown in Table 2 a and b (pages 001 to 102). The above procedure for registering divided areas is shown in the upper three rows of FIGS. 2a and 2b corresponding to the divisions in FIGS. 3b and 3c, respectively.
【表】【table】
【表】【table】
【表】【table】
【表】【table】
Claims (1)
デジタイザとキーボード等の入力手段を配して構
成される図形入力システムに於いて、 記憶部に、予め該入力手段により入力して、矩
形の原図形領域のコードと、尺度(拡大/縮小
比)と、該矩形の対向する2頂点の座標値と、該
矩形の原図形領域を矩形の辺に夫々平行な直交す
るX、Y軸方向に任意の複数の矩形領域に分割し
た分割数と、該分割された矩形領域に付したアド
レスと、該各分割矩形領域の対向する2頂点の座
標値とを登録記憶して置き、 分割図形の入力に先立つて、前記原図形のコー
ドと、該分割図形に対応する分割矩形領域のアド
レスと、尺度とを前記入力手段より入力し、その
後前記デジタイザ上でカーソルにより該分割矩形
領域の対向する2頂点の座標値を入力することに
より、デジタイザの座標系による分割矩形領域内
の座標値を原図形領域の座標系による座標値に前
記中央処理装置により換算し対応させるようにす
ることを特徴とする図形入力方式。[Scope of Claims] 1. In a graphic input system configured by disposing input means such as a digitizer with a cursor and a keyboard in a central processing unit having a storage section, inputting information into the storage section in advance using the input means is provided. , the code of the original figure area of the rectangle, the scale (enlargement/reduction ratio), the coordinate values of two opposing vertices of the rectangle, and the X and Y points that are perpendicular to the rectangle's original figure area and parallel to the sides of the rectangle, respectively. The number of divisions into a plurality of arbitrary rectangular areas in the axial direction, the address assigned to the divided rectangular area, and the coordinate values of two opposing vertices of each divided rectangular area are registered and stored, and the division is performed. Prior to inputting a figure, the code of the original figure, the address and scale of the divided rectangular area corresponding to the divided figure are inputted from the input means, and then the opposite side of the divided rectangular area is moved with the cursor on the digitizer. By inputting the coordinate values of two vertices, the central processing unit converts the coordinate values in the divided rectangular area according to the coordinate system of the digitizer to the coordinate values according to the coordinate system of the original figure area, and makes them correspond. A graphical input method that uses
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57187920A JPS5977570A (en) | 1982-10-26 | 1982-10-26 | Graphic input system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57187920A JPS5977570A (en) | 1982-10-26 | 1982-10-26 | Graphic input system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5977570A JPS5977570A (en) | 1984-05-04 |
JPS6339946B2 true JPS6339946B2 (en) | 1988-08-09 |
Family
ID=16214512
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57187920A Granted JPS5977570A (en) | 1982-10-26 | 1982-10-26 | Graphic input system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5977570A (en) |
-
1982
- 1982-10-26 JP JP57187920A patent/JPS5977570A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS5977570A (en) | 1984-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS59123008A (en) | Forming method of part program | |
JP2750419B2 (en) | Register mark pattern creation device | |
US4555590A (en) | Method and apparatus for entering graphics | |
JPS6339946B2 (en) | ||
JPS635795B2 (en) | ||
JPS6128153B2 (en) | ||
JP3275277B2 (en) | Graphic drawing creation apparatus and method | |
JP3140174B2 (en) | Waveform data display device | |
JP3072564B2 (en) | Arbitrary angle figure generation method in charged particle beam exposure method | |
JPS62187975A (en) | automatic design system | |
JPH0731671B2 (en) | Formula input editing method | |
JPS6180363A (en) | Teaching method for automatically controlled work equipment | |
JPS6232491A (en) | Crt display unit | |
JP3505970B2 (en) | Input position coordinate correction method | |
JPH0738153B2 (en) | Display data enlargement device | |
JPS62183266A (en) | Input device for gradation correcting curve | |
JPH0248942B2 (en) | ||
JPH0452991B2 (en) | ||
JPH0682360B2 (en) | Document creation device | |
JPH0664589B2 (en) | Drawing method in CAD system | |
JPH0687252B2 (en) | Three-dimensional figure data calculation method | |
JPS60245023A (en) | Tablet device | |
JPH0831106B2 (en) | Automatic device for creating detailed drawings | |
JPH0664596B2 (en) | Image processing device | |
JPS613280A (en) | Cad device |