JPH0792728B2 - Display controller - Google Patents
Display controllerInfo
- Publication number
- JPH0792728B2 JPH0792728B2 JP60290349A JP29034985A JPH0792728B2 JP H0792728 B2 JPH0792728 B2 JP H0792728B2 JP 60290349 A JP60290349 A JP 60290349A JP 29034985 A JP29034985 A JP 29034985A JP H0792728 B2 JPH0792728 B2 JP H0792728B2
- Authority
- JP
- Japan
- Prior art keywords
- coordinate
- cursor
- input
- area
- graphic
- 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
Links
Landscapes
- Position Input By Displaying (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えば透明デジタイザ等の座標入力手段が例
えばCRT等の表示手段に組合せられた表示装置を制御す
る表示制御装置に関する。The present invention relates to a display control device for controlling a display device in which coordinate input means such as a transparent digitizer is combined with display means such as a CRT.
[従来の技術] コンピユータによるデータ処理と画像処理技術とを組合
せてグラフイツクによるデータ入力分野では、オペレー
タが指示する位置に応じて表示変化をもたらすことによ
り、機械と人間とが会話的に作業を進められるマン=マ
シンインターフエースの必要性が叫ばれている。[Prior Art] In the field of data input by graphics by combining data processing by a computer and image processing technology, a machine and a human can work interactively by causing a display change according to a position designated by an operator. The need for a man-machine interface is being screamed.
この種のマン=マシンインターフエースには、透明デジ
タイザ又はタブレツトの下に液晶表示器等の表示装置を
重ねた組合せのもの、CRTとライトペンによる組合せの
もの、又は透明タツチパネルをCRT等の表示装置前面に
重ねたもの等が考案されている。即ち、座標入力装置と
表示装置とが一体となつた座標入力/表示装置ともいう
べきものである。このような装置において、画面上にメ
ニユーリストの各項目をいくつかの領域に分けて表示
し、ペン先や指先で押された位置を含む領域の項目を選
択するような場合には、当該領域が充分広いためにペン
先や指先の入力座標値が目的とする位置より多少ずれて
も大きな問題はおこらない。This type of man-machine interface has a combination of a transparent digitizer or a display device such as a liquid crystal display under a tablet, a combination of a CRT and a light pen, or a transparent touch panel such as a CRT display device. It has been devised as a stack on the front. That is, it should be called a coordinate input / display device in which the coordinate input device and the display device are integrated. In such a device, when each item of the menu list is displayed on the screen in several areas and the item in the area including the position pressed by the pen tip or the fingertip is selected, Is sufficiently wide so that even if the input coordinate value of the pen tip or finger tip deviates slightly from the target position, no serious problem occurs.
しかし、例えば昨今注目されているCAD(CONPUTER AIDE
D DESIGN)等の如き、図形作成等の精度が要求される分
野においては種々の問題がある。第2図はCADによりプ
リント配線の設計を行う場合のCRT表示例である。CRT画
面上には図示の如く横方向に密集したプリント配線が走
つている。さて、今カーソルが画面左上の点Aにあつた
場合を想定してみる。点Aから配線密集領域内の点Bま
でカーソルを移動する場合に、2つの方法がある。その
第1の方法は軌跡Cの如くプリント配線の間を縫つてカ
ーソルを移動しつつ点Bに到達する方法である。これは
軌跡C上に新たなプリント配線を作図する事を想定すれ
ば容易に了解できるであろう。そして、第2の方法は軌
跡Dの如く略最短距離で点Bに到達する方法である。However, for example, CAD (CONPUTER AIDE
There are various problems in the field such as D DESIGN) where precision of figure creation is required. Fig. 2 shows an example of CRT display when designing printed wiring by CAD. On the CRT screen, as shown in the figure, printed wiring lines are densely packed in the lateral direction. Now, assume that the cursor is at the point A on the upper left of the screen. There are two methods for moving the cursor from the point A to the point B in the wiring dense area. The first method is to reach the point B while moving the cursor by sewing between the printed wirings as shown by the locus C. This can be easily understood by assuming that a new printed wiring is drawn on the locus C. Then, the second method is a method of reaching the point B in a substantially shortest distance like the trajectory D.
[発明が解決しようとする問題点] 上記2つの方法を分析して検討すれば、当該座標入力/
表示装置には下記のような視点が必要なことが分る。即
ち、 :カーソルを移動すべき方向,カーソルを移動すべき
距離が把握できるような構成になつていること、 :座標入力の観点から見れば目標位置を速くかつ正確
に指示する事が課題である。これは現在のカーソルの位
置から目標位置にカーソルを速やかに移動し、目標位置
の近くにきたら正確にその位置を指示できなくてはなら
ない。言い換えれば、目標点をより正確に指示できて、
そのためには装置の操作者が目標点の位置を視認し易い
構成になつていることである。又、目標への方向、目標
までの距離を見失わない事も重大である。ところが、こ
の観点に対して従来の座標入力指示具がスタイラスペン
や指先などでは、その先端に表示されている図形がかく
れてしまい、目的とする位置を的確に指示することが困
難である。特にタツチパネル等のように座標入力装置の
分解能がCRT等の表示手段の分解能に比較して小さい場
合、CRT等に表示された任意の微小区画、例えば1ドツ
トを正確に指示することはできない。又、タツチパネル
等において、ある格子点とそのとなりにある格子点との
間に表示されたドツトを指示しようと思つても、場合に
よつては誤つた方の格子点の直下に表示された点を指示
することになつてしまう。[Problems to be Solved by the Invention] If the above two methods are analyzed and examined, the coordinate input /
It can be seen that the display device requires the following viewpoints. That is, it is structured so that the direction in which the cursor should be moved and the distance in which the cursor should be moved can be grasped .: From the viewpoint of inputting coordinates, the problem is to indicate the target position quickly and accurately. . This requires that the cursor be quickly moved from the current cursor position to the target position, and that the position can be accurately indicated when the cursor is near the target position. In other words, you can specify the target point more accurately,
For that purpose, the operator of the apparatus is configured to easily recognize the position of the target point. It is also important not to lose track of the direction to the target and the distance to the target. However, from this point of view, with a conventional coordinate input pointing tool, a stylus pen, fingertip, or the like hides the figure displayed at the tip of the stylus, and it is difficult to accurately point the target position. In particular, when the resolution of the coordinate input device is smaller than the resolution of the display means such as a CRT such as a touch panel, it is not possible to accurately indicate an arbitrary minute section displayed on the CRT or the like, for example, one dot. In addition, even if you intend to indicate the dot displayed between a grid point and the grid point next to it on the touch panel, etc., in some cases, the point displayed directly below the wrong grid point. Will end up instructing you.
:はある目標点に達するにはどうするかという観点
からみた従来技術の問題点であつた。しかし第2図の軌
跡Cの例でも分るように、ある目標点へ到達する事と同
時にその目標点までの到達経路が問題になつている。即
ち、上記軌跡Cの例では既に表示されているプリント配
線を避けつつ目標点Bに達するにはどうすればよいかと
いうことである。このカーソル位置を既存の画像から所
定距離に保つ等という観点は、言い換えれば操作者が指
示する点を軌跡として一次元的に表示するという問題で
ある。この点に関しても従来技術は、例えばタツチパネ
ル等で入力できる座標の格子点の直下の点のみが正確に
指示、即ち表示可能であるからして、不充分である。: Is a problem of the conventional technology from the viewpoint of how to reach a certain target point. However, as can be seen from the example of the trajectory C in FIG. 2, when reaching a certain target point, the route to reach that target point becomes a problem at the same time. That is, in the example of the locus C, what should be done to reach the target point B while avoiding the printed wiring already displayed. From the viewpoint of keeping the cursor position at a predetermined distance from the existing image, in other words, there is a problem that the point designated by the operator is displayed as a locus in one dimension. Regarding this point as well, the conventional technique is not sufficient because only the point directly below the grid point of the coordinates that can be input by the touch panel or the like can be accurately indicated, that is, displayed.
:更に正確に目標点に達するためには、又は所望の軌
跡を描きながら目標点に達するためには、操作者の入力
指示速度とカーソルの移動速度(又は、軌跡が描かれる
表示描画速度)が、例えば目標点が遠いときは軌跡の描
画速度を入力指示速度より速く、一方近くなつたときは
前者の速度を後者の速度より遅くできる事が望ましい。: In order to reach the target point more accurately, or to reach the target point while drawing a desired trajectory, the input instruction speed of the operator and the moving speed of the cursor (or the display drawing speed at which the trajectory is drawn) are For example, when the target point is far, it is desirable that the drawing speed of the locus can be made faster than the input instruction speed, and when the target point is near, the former speed can be made slower than the latter speed.
:単なる表示装置又は座標入力装置としてではなく、
以上の点を加味したマン=マシンインターフエースが望
まれる事等である。: Not just as a display device or coordinate input device,
The man-machine interface that considers the above points is desired.
本発明は上記従来技術の問題点に鑑みてなされたもので
その目的は、例えばタッチパネル等の座標入力手段を用
いて移動対象の図形(例えばカーソル図形)を移動表示
させるに際し、この移動対象の図形を所望の移動速度で
且つ正確に移動させて表示することのできる表示制御装
置を提案するところにある。The present invention has been made in view of the above problems of the prior art, and an object thereof is to move and display a figure to be moved (for example, a cursor figure) by using coordinate input means such as a touch panel. The present invention proposes a display control device capable of accurately moving and displaying a desired moving speed.
[問題点を解決するための手段] 上記課題を達成するため、本発明の表示制御装置は、 表示手段の表示画面に、移動対象の図形と、該図形の近
傍に予め定められた距離だけ離れた所定の大きさの領域
とを表示する表示制御手段と、 前記表示画面に重なるように配設された座標入力面をも
つ座標入力手段と、 前記座標入力手段の指示されている位置を検出する検出
手段と、 前記領域に対応した前記座標入力手段の座標入力面の位
置が指示されていることが検知され、該指示されている
位置が移動されると、該移動に応じて前記図形を移動さ
せる移動制御手段とを有し、 前記移動制御手段は、前記指示された位置の移動速度の
違いにより、前記図形の移動距離を変化させることを事
を特徴とする。[Means for Solving the Problems] In order to achieve the above object, the display control device of the present invention separates a moving target graphic and a predetermined distance in the vicinity of the graphic on the display screen of the display means. Display control means for displaying an area of a predetermined size, coordinate input means having a coordinate input surface arranged so as to overlap the display screen, and detecting a position designated by the coordinate input means. When it is detected that the position of the coordinate input surface of the coordinate input unit corresponding to the detection unit and the area is designated and the designated position is moved, the figure is moved according to the movement. And a movement control means for changing the movement distance of the graphic according to a difference in movement speed of the designated position.
[作用] 上記構成の表示制御装置において、表示制御手段は移動
対象の図形の近傍に所定の領域を表示させる。表示画面
に重なるように配設された座標入力面をもつ座標入力手
段において操作者により指示されている位置を検出する
と、移動制御手段により該指示されている位置が移動さ
れ、該移動に応じて前記図形を移動させる。即ち、移動
対象の図形に対して直接的な指示を与えることなく、そ
の移動対象の図形を移動させることができる。さらに、
この移動制御手段は、前記指示された位置の移動速度の
違いにより、前記図形の移動距離を変化させるので、指
示した領域の移動速度に応じて、移動対象の図形の移動
速度を設定することができる。[Operation] In the display control device having the above configuration, the display control means displays a predetermined area in the vicinity of the figure to be moved. When the coordinate input means having the coordinate input surface arranged so as to overlap the display screen detects the position designated by the operator, the movement control means moves the designated position, and in response to the movement. The figure is moved. That is, the figure to be moved can be moved without giving a direct instruction to the figure to be moved. further,
The movement control means changes the moving distance of the graphic according to the difference in the moving speed of the designated position. Therefore, the moving speed of the graphic to be moved can be set according to the moving speed of the designated area. it can.
[実施例] 以下、添付図面を参照しながら本発明の好適な実施例を
説明する。[Embodiment] A preferred embodiment of the present invention will be described below with reference to the accompanying drawings.
本発明の好適な実施例としての例えば第1図に示す実施
例の座標入力装置は、表示手段であるCRTデイスプレイ
2の表示面と座標入力手段である透明タブレツト1とを
重なるようにしてかつ両者の表示座標と入力座標とが所
定の対応関係を有するように重ねる。これらの重なつた
面には、カーソル400を移動すべき指示を入力するカー
ソル移動指示領域500と、カーソル400の表示位置での座
標を所望の座標として入力すべきである事を指示するカ
ーソル座標入力指示領域501との夫々が、CRTデイスプレ
イ2の表示面とタツチパネル1の入力面とで重なるよう
な領域をもつように設定されている。As a preferred embodiment of the present invention, for example, in the coordinate input device of the embodiment shown in FIG. 1, a display surface of a CRT display 2 which is a display means and a transparent tablet 1 which is a coordinate input means are overlapped with each other, and The display coordinates and the input coordinates are overlapped so as to have a predetermined correspondence. On these overlapping surfaces, a cursor movement instruction area 500 for inputting an instruction to move the cursor 400 and cursor coordinates for instructing that the coordinates at the display position of the cursor 400 should be input as desired coordinates. Each of the input instruction areas 501 is set to have an area in which the display surface of the CRT display 2 and the input surface of the touch panel 1 overlap.
又、座標入力装置にはカーソル移動手段402と、座標変
位検出手段401が設けられている。Further, the coordinate input device is provided with cursor moving means 402 and coordinate displacement detecting means 401.
以上の構成の下に、座標入力面上のある点の座標を入力
するときは、カーソル移動指示領域500上に指等をあて
て、その上で目標点方向に指を動かすと、座標変位検出
手段401が指の移動方向,距離及び速度等の座標変位と
して検出し、その移動方向,距離及び速度等にもとづい
て、カーソル移動手段402がカーソル400を移動する。カ
ーソル移動手段402がカーソル400を移動する際、例えば
変位速度が所定の速度より大のときは指の移動距離の1
倍以上の距離を、変位速度が所定の速度より小のときは
指の移動距離の1倍未満の距離をカーソル400に移動さ
せるようする。このようにすると、カーソル400の移動
は操作者の移動指示領域500への指による入力によりコ
ントロールでき、更にカーソル400を移動すべき目標点
に遠いときと近いときとで、カーソル400の移動速度を
可変にできるので、操作性が良く、又所望の目標に高速
かつ正確に移動できる。カーソル400とカーソル移動指
示領域500とは距離が離れているので、カーソル400は指
で隠されることもなく従つて正確にカーソル400を目標
点に到達させることができる。正確にカーソル400を目
標点に到達した時点でカーソル座標入力指示領域501を
指で押すことにより、カーソル400の位置座標を目標点
の座標として入力する。Under the above configuration, when inputting the coordinates of a point on the coordinate input surface, place a finger or the like on the cursor movement instruction area 500 and move the finger in the direction of the target point to detect coordinate displacement. The means 401 detects a coordinate displacement such as a moving direction, a distance and a speed of the finger, and the cursor moving means 402 moves the cursor 400 based on the moving direction, the distance and the speed. When the cursor moving means 402 moves the cursor 400, for example, when the displacement speed is higher than a predetermined speed, the moving distance of the finger is 1
If the displacement speed is smaller than a predetermined speed, a distance less than twice the moving distance of the finger is moved to the cursor 400. In this way, the movement of the cursor 400 can be controlled by the operator's input to the movement instruction area 500 with a finger, and the movement speed of the cursor 400 can be changed depending on whether the cursor 400 is far from the target point to be moved. Since it can be changed, the operability is good, and a desired target can be moved quickly and accurately. Since the cursor 400 and the cursor movement instruction area 500 are apart from each other, the cursor 400 is not hidden by the finger, and thus the cursor 400 can accurately reach the target point. When the cursor 400 accurately reaches the target point, the cursor coordinate input instruction area 501 is pressed with a finger to input the position coordinate of the cursor 400 as the coordinate of the target point.
以下、本発明のさらなる好適な実施例を詳細に説明す
る。Hereinafter, further preferred embodiments of the present invention will be described in detail.
〈実施例のブロツク構成〉 第3図(a)は実施例の表示機能付きの座標入力装置の
ブロツク構成図である。1はタツチパネルでCRTデイス
プレイ2の画面上に画面を覆うように取りつける。CRT
コントローラ3はCPU4のプログラムの実行により作成さ
れた画像データを画像メモリ5より取り出しCRTデイス
プレイ2上に表示する。CPU4のプログラム及びデータは
メモリ6に格納する。また、タツチパネル1の面におい
て指等で触れられた位置は、タツチパネル制御回路7に
よつて検出される。これはCPU4が座標値として読み出
す。CPU4はこれらのデータをバス8を介してアクセスす
る。キーボード9は画像表示,座標入力に必要な操作を
入力するためのものである。例えば「モード」キー80,
「入力」キー81等である。これらのキーの使用方法は後
述する。<Block Configuration of Embodiment> FIG. 3A is a block configuration diagram of the coordinate input device with a display function of the embodiment. A touch panel 1 is attached to the screen of the CRT display 2 so as to cover the screen. CRT
The controller 3 takes out the image data created by executing the program of the CPU 4 from the image memory 5 and displays it on the CRT display 2. The program and data of the CPU 4 are stored in the memory 6. The position touched by a finger or the like on the surface of the touch panel 1 is detected by the touch panel control circuit 7. This is read by the CPU 4 as coordinate values. The CPU 4 accesses these data via the bus 8. The keyboard 9 is for inputting operations required for image display and coordinate input. For example, "mode" key 80,
The "input" key 81 and the like. How to use these keys will be described later.
第3図(b)はCRT画面の例を示す。この画面の画素数
は例えば横640ドツト、縦400ドツトとする。そして左上
端の画素の座標を(0,0)、右上端を(0,633)、左下端
を(399,0)、右下端を(399,633)とする。一般に、こ
の様に座標づけした画素に対応するデータを画像メモリ
5に格納する場合、横方向の8画素を1単位のメモリ位
置、即ち1バイドに対応させ、横方向にシーケンシヤル
に格納し、1ドツトライン分の次の1ドツトラインをシ
ーケンシヤルに格納していき、1画面分のデータをラス
タイメージで格納する方法が一般にとられる。この様に
して、CPU4から画像メモリ5の内容を通常のメモリ6と
同様に取り扱えるようにする。以上の様な環境のもと
で、CRTデイスプレイ2の画面上の任意位置に点を形成
する。任意位置から任意位置に線を引く。任意位置を中
心に円をえがく、等の描画プログラムの他、画面上の任
意矩形領域のビツトパタンデータを特定の形式でメモリ
6中に転送したり、その逆でメモリ6中のデータを画面
の任意の位置に出力する等の描画プログラムがある。こ
れはCPU4が画像メモリ5の内容を書き換えたり、メモリ
6との間でデータ転送することにより実現している。こ
の画像メモリ5の内容を書き換える際にそれぞれの画素
データに対応するビツト単位で、書き換えのソースデー
タをS、画像メモリの画素データをDとしたとき、D=
α・Sなる論理演算αを施した結果を画像メモリの新デ
ータとする手法などもとられる。例えば、画面の反転で
あれば、αを排他的論理和、Sを“1"とすることにより
実現できる。FIG. 3 (b) shows an example of the CRT screen. The number of pixels on this screen is, for example, 640 dots horizontally and 400 dots vertically. The coordinates of the pixel at the upper left corner are (0,0), the upper right corner is (0,633), the lower left corner is (399,0), and the lower right corner is (399,633). Generally, when the data corresponding to the pixels thus coordinated is stored in the image memory 5, 8 pixels in the horizontal direction are made to correspond to one unit of memory position, that is, 1 byte, and are sequentially stored in the horizontal direction. A method is generally used in which the next one dot line for one dot line is sequentially stored and the data for one screen is stored as a raster image. In this way, the contents of the image memory 5 can be handled by the CPU 4 in the same manner as the normal memory 6. Under the above environment, a point is formed at an arbitrary position on the screen of CRT display 2. Draw a line from any position to any position. Besides drawing programs such as drawing a circle around an arbitrary position, the bit pattern data of an arbitrary rectangular area on the screen is transferred to the memory 6 in a specific format, and vice versa. There is a drawing program that outputs to an arbitrary position. This is realized by the CPU 4 rewriting the contents of the image memory 5 or transferring data with the memory 6. When the content of the image memory 5 is rewritten, when the rewriting source data is S and the pixel data of the image memory is D in bit units corresponding to respective pixel data, D =
For example, a method of using the result of the logical operation α of α · S as new data in the image memory can be used. For example, screen reversal can be realized by setting α to exclusive OR and S to “1”.
以上はCPU4のプログラムとして図形処理を行なう例であ
るが、CRTコントローラ3にこれらの機能を有するもの
もあり、この場合、CPU4は描画指令をCRTコントローラ
3に出すだけでよい。The above is an example of performing graphic processing as a program of the CPU 4, but there are some CRT controllers 3 having these functions. In this case, the CPU 4 only has to issue a drawing command to the CRT controller 3.
一方画面上の任意の点を指等で押すと、画面上にはタツ
チパネル1が配置されているので、その座標位置をCPU4
はタツチパネル制御回路7から読み出すことができる。
タツチパネル制御回路7は押された位置のX方向の座標
とY方向の座標とを数値コードでCPU4に受け渡してもよ
いし、2進数値として受け渡してもよい。いずれにおい
ても、タツチパネル1の座標と、CRTデイスプレイ2上
の座標と、画像メモリ5内の座標とがユニークに対応し
ているので、CRT画面をみながら画素上を押したときの
タツチパネル1上の座標値を入力し、その値から、画像
メモリ5の座標(x,y)を算出できればよい。On the other hand, if you touch any point on the screen with your finger etc., touch panel 1 is placed on the screen.
Can be read from the touch panel control circuit 7.
The touch panel control circuit 7 may pass the X-direction coordinate and the Y-direction coordinate of the pressed position to the CPU 4 as a numeric code or as a binary value. In any case, the coordinates of the touch panel 1, the coordinates on the CRT display 2, and the coordinates in the image memory 5 uniquely correspond to each other, so that the touch panel 1 on the touch panel 1 is pressed while observing the CRT screen. It suffices that the coordinate (x, y) of the image memory 5 can be calculated from the input coordinate value.
〈グラフイツクカーソル〉 さて第4図は実施例に用いられるグラフイツクカーソル
の原理的構成例を示す。CRTデイスプレイ2の表示面に
はL型の図形を4つ合せたカーソル10とカーソル移動指
示表示領域11と座標入力指示表示領域12という3つの表
示領域が設けられている。又、タツチパネル1の座標入
力面には前記カーソル移動指示表示領域11に対応したカ
ーソル移動指示入力領域14と、座標入力指示表示領域12
に対応した座標入力指示入力領域13の2つの領域が設け
られている。操作者はカーソル10の中心部Pを所望の表
示位置に移動するために、カーソル移動指示表示領域11
を視認しながらカーソル移動指示入力領域14内で移動方
向及び移動距離を、例えば指又はスタイラスペン等で与
える。又、座標入力指示表示領域12の表示を視認しなが
ら座標入力指示入力領域13を押すことにより、カーソル
10の中心部Pの示す画素を新たな画像(ドツト)として
入力すべき事を指示する。<Graphic Cursor> FIG. 4 shows an example of the principle of the graphic cursor used in the embodiment. The display surface of the CRT display 2 is provided with three display areas, that is, a cursor 10 in which four L-shaped figures are combined, a cursor movement instruction display area 11 and a coordinate input instruction display area 12. Further, on the coordinate input surface of the touch panel 1, a cursor movement instruction input area 14 corresponding to the cursor movement instruction display area 11 and a coordinate input instruction display area 12 are provided.
The coordinate input instruction input area 13 corresponding to the two areas is provided. In order to move the central portion P of the cursor 10 to a desired display position, the operator moves the cursor movement instruction display area 11
While visually recognizing, the moving direction and the moving distance are given in the cursor movement instruction input area 14 with, for example, a finger or a stylus pen. Also, by pressing the coordinate input instruction input area 13 while observing the display of the coordinate input instruction display area 12, the cursor
It indicates that the pixel indicated by the central portion P of 10 should be input as a new image (dot).
このように構成されたカーソルを本実施例では「グラフ
イツクカーソル」と呼ぶこととする。第4図に示したよ
うに5つの構成要素からなるグラフイツクカーソルを適
当に組合せて色々な操作が可能となる。例えば :カーソル10と、カーソル移動指示表示領域11とカー
ソル移動指示入力領域14とを、カーソル10がカーソル移
動指示入力領域14を指で押しても隠されない程度に近接
した領域に設定するようにする。カーソル移動指示表示
領域11上にて指を動かしてカーソル10を移動させると、
カーソル移動指示表示領域11とカーソル移動指示入力領
域14もカーソル10と一緒に移動するようにする。この操
作は指の移動につれてカーソル10が指と短い距離を保つ
たまま移動するものであり、しかもカーソル10は指から
離れているので指で隠されることはないから、極めて操
作性が高い。目標点まで正確かつ要領良く到達できるの
で表示装置としての価値が高い。In this embodiment, the cursor thus configured will be referred to as a "graphic cursor". As shown in FIG. 4, various operations can be performed by appropriately combining graphic cursors composed of five constituent elements. For example: The cursor 10, the cursor movement instruction display area 11, and the cursor movement instruction input area 14 are set to areas close to each other so that the cursor 10 is not hidden even if the cursor movement instruction input area 14 is pressed with a finger. If you move your cursor by moving your finger on the cursor movement instruction display area 11,
The cursor movement instruction display area 11 and the cursor movement instruction input area 14 are also moved together with the cursor 10. This operation is to move the cursor 10 while keeping a short distance from the finger as the finger moves, and since the cursor 10 is away from the finger and is not hidden by the finger, the operability is extremely high. Since the target point can be reached accurately and conveniently, it is highly valuable as a display device.
:の構成に加えて座標入力指示表示領域12と座標入
力指示入力領域13もカーソル10に近接させて設定し、か
つカーソル10が移動するときはこの領域も移動する。こ
の手法ではに述べた特徴に加えて、座標入力という点
で極めて操作性が良くなる(この例として、第5図
(a),(b)に示す)。In addition to the configuration of :, the coordinate input instruction display area 12 and the coordinate input instruction input area 13 are set close to the cursor 10, and when the cursor 10 moves, these areas also move. In addition to the features described in this method, the operability is extremely good in terms of inputting coordinates (as an example of this, shown in FIGS. 5A and 5B).
:以上2つの構成はカーソル移動指示表示領域11及び
座標入力指示表示領域12がグラフイツク表示されるもの
であつた。それらに対して、例えば座標入力指示表示領
域12と座標入力指示入力領域13をキーボード9上の例え
ば前述の「入力」キー81等で代用させてもよい。又、 :カーソル移動指示表示領域11とカーソル移動指示入
力領域14とをカーソル10と一緒に移動させないで、第6
図(c)の如く固定領域に設定してもよい。: In the above two configurations, the cursor movement instruction display area 11 and the coordinate input instruction display area 12 are displayed graphically. For example, the coordinate input instruction display area 12 and the coordinate input instruction input area 13 may be replaced by the above-mentioned “input” key 81 on the keyboard 9, for example. In addition ,: Do not move the cursor movement instruction display area 11 and the cursor movement instruction input area 14 together with the cursor 10.
It may be set in the fixed area as shown in FIG.
:又、カーソルの代りに図形一般を移動対象とするこ
ともできる。: Also, it is possible to set a general figure as a moving object instead of the cursor.
〈グラフイツクカーソルの具体例〉 グラフイツクカーソルの構成の2つの例を第5図
(a),(b)に示す。<Specific Example of Graphic Cursor> Two examples of the configuration of the graphic cursor are shown in FIGS. 5 (a) and 5 (b).
第5図(a)のグラフイツクカーソル100では、カーソ
ル10と座標入力指示表示領域12,座標入力指示入力領域1
3とを一致させて重ね(このように重ねた領域を座標入
力指示領域30と呼ぶことにする)、座標入力指示領域30
の近くにカーソル移動指示表示領域11とカーソル移動指
示入力領域14とを重ねた移動指示領域40を設定する。第
5図(a)のグラフイツクカーソル100の全体は水平長
がL1x、垂直長がL1yの矩形領域に形成される。L字形の
領域20a,20b,20c,20dはカーソル10を構成し、特にこの
ような構成にしたのもその中央部Pを特定し易くしたた
めである。従来のグラフイツクカーソルと本実施例のグ
ラフイツクカーソルとの差異を際立たせるために、この
4辺のL字形の中心を以後「代替位置」と呼ぶ。カーソ
ル10と移動指示領域40とを分離して、指等による入力に
対してカーソルの中心部Pの座標が「代りに」入力座標
となる本実施例の特徴からである。In the graphic cursor 100 shown in FIG. 5A, the cursor 10, the coordinate input instruction display area 12, the coordinate input instruction input area 1
3 and 3 are matched and overlapped (the area thus overlapped is referred to as coordinate input instruction area 30), and coordinate input instruction area 30
A movement instruction area 40 in which a cursor movement instruction display area 11 and a cursor movement instruction input area 14 are overlapped is set near the. The entire graphic cursor 100 of FIG. 5A is formed in a rectangular area having a horizontal length of L 1x and a vertical length of L 1y . The L-shaped regions 20a, 20b, 20c, 20d form the cursor 10, and the reason why the cursor 10 has such a structure is that the central portion P can be easily identified. In order to highlight the difference between the conventional graphic cursor and the graphic cursor of this embodiment, the center of the L-shaped four sides is hereinafter referred to as an "alternative position". This is because the cursor 10 and the movement instruction area 40 are separated, and the coordinates of the central portion P of the cursor become the input coordinates "instead of" with respect to the input by a finger or the like.
グラフイツクカーソル100の基準座標位置を左上隅(Xb,
yb)とすると、代替位置pの相対的長さは水平距離がΔ
X1、垂直距離がΔY1である。即ち、代替位置Pは(Xb,Y
b)を原点として、(ΔX1,ΔY1)で表わされる。移動指
示領域40は四角形で表わされ、その領域の大きさは水平
長がl2x、垂直長がl2y、又、当該領域の基準点である左
上隅位置は(Xb、yb+l3)となるようにしてある。ま
た、座標入力指示領域30の基準位置は(xb,yb)にと
り、その水平長はl1x、垂直長l1yとする。このように各
図形の基準座標とそこからの距離を与えれば、所望のグ
ラフイツクカーソル図形を描く事は容易である。即ち、
基準位置を移動させていけばグラフイツクカーソル100
はそのまま移動することになる。Set the reference coordinate position of the graphic cursor 100 to the upper left corner (X b ,
y b ), the relative length of the alternative position p is
X 1 , the vertical distance is ΔY 1 . That is, the alternative position P is (X b , Y
It is represented by (ΔX 1 , ΔY 1 ) with b ) as the origin. The movement instruction area 40 is represented by a rectangle, and the size of the area is horizontal length l 2x , vertical length l 2y , and the upper left corner position which is the reference point of the area is (X b , y b + l 3 ). The reference position of the coordinate input instruction area 30 is (x b , y b ), and its horizontal length is l 1x and vertical length l 1y . In this way, it is easy to draw a desired graphic cursor graphic by giving the reference coordinates of each graphic and the distance from it. That is,
If you move the reference position, the graph cursor 100
Will move as it is.
第5図(b)は第5図(a)のグラフイツクカーソル10
0とは若干異なつた機能を有するグラフイツクカーソル2
00の例である。このグラフイツクカーソル200は水平長
がL2y、垂直長がL2yの矩形領域に形成される。代替位置
Qのオフセツトは水平がΔX2、垂直がΔY2である。グラ
フイツクカーソル100と特に異なるのは、移動指示領域6
0がグラフイツクカーソル200全体に設定しているもので
あり、従つて座標入力指示領域50(この領域は同時に移
動指示領域でもある)は移動指示領域60から移動のみを
指示する領域を表わす四角形70を除いた、グラフイツク
カーソル200の残りの領域である。尚、この座標入力指
示領域50の水平長はl4x、水平長はl4yで、基準位置から
のオフセツトは水平、垂直とも“0"である。このグラフ
イツクカーソル200はグラフイツクカーソル100の機能に
加えて、座標を連続して入力することが可能であるよう
に、座標入力指示領域50を代替位置Qが隠れないように
して押しつつ移動させると移動指示と座標入力指示が同
時に可能になるものである。FIG. 5 (b) shows the graphic cursor 10 of FIG. 5 (a).
Graphic cursor 2 which has a slightly different function from 0
This is an example of 00. The graphic cursor 200 is formed in a rectangular area having a horizontal length of L 2y and a vertical length of L 2y . The offset at the alternate position Q is ΔX 2 horizontally and ΔY 2 vertically. The difference from the graphic cursor 100 is the movement instruction area 6
0 is set for the entire graphic cursor 200, and accordingly, the coordinate input instruction area 50 (this area is also a movement instruction area at the same time) is a rectangle 70 that represents an area for instructing only movement from the movement instruction area 60. It is the remaining area of the graphic cursor 200 excluding. The horizontal length of the coordinate input instruction area 50 is l 4x , the horizontal length is l 4y , and the offset from the reference position is “0” both horizontally and vertically. In addition to the function of the graphics cursor 100, the graphics cursor 200 moves the coordinate input instruction area 50 while pushing the alternate position Q so that the alternate position Q is not hidden so that the coordinates can be continuously input. The movement instruction and the coordinate input instruction can be made simultaneously.
〈グラフイツクカーソルの操作〉 第6図(a)にグラフイツクカーソル100(第5図
(a))の操作方法の一例を示す。CRTデイスプレイ2
上でのカーソル出発位置で、移動指示領域40を押しなが
ら、指を離さずに指を移動する。この移動につれてグラ
フイツクカーソル100又は200全体が移動する。この移動
は基準座標(xb,yb)の値を変える事によりなされる。
図を見てもわかるように、移動中は指で代替位置Pは指
で隠されないことに留意すべきである。代替位置Pが目
標位置に到達すれば座標入力指示領域30を指で押すこと
により、その目標位置の座標が入力される。<Operation of Graphic Cursor> FIG. 6 (a) shows an example of a method of operating the graphic cursor 100 (FIG. 5 (a)). CRT Display 2
At the cursor starting position above, while pressing the movement instruction area 40, move the finger without releasing the finger. With this movement, the entire graphic cursor 100 or 200 moves. This movement is performed by changing the value of the reference coordinates (x b , y b ).
As can be seen from the figure, it should be noted that the alternative position P is not hidden by the finger during the movement. When the alternative position P reaches the target position, the coordinates of the target position are input by pushing the coordinate input instruction area 30 with a finger.
第6図(b)は「モード」キー80の操作により、連続入
力モード(第11図の制御手順)として本装置を使用する
ときの図である。この連続入力モードではグラフイツク
カーソル100の移動指示領域40に指を当てながら移動す
ると、グラフイツクカーソル100は指の移動につれて移
動するのはもちろんであるが、同時に代替位置Pの座標
が入力されて連続した座標入力(それをそのまま表示す
れば軌跡になる)が得られる。FIG. 6B is a diagram when the present apparatus is used in the continuous input mode (control procedure of FIG. 11) by operating the “mode” key 80. In this continuous input mode, when the finger is moved to the movement instruction area 40 of the graphic cursor 100, the graphic cursor 100 naturally moves as the finger moves, but at the same time, the coordinates of the alternative position P are input. It is possible to obtain continuous coordinate input (display it as it is to form a locus).
第6図(c)の例は第4図の各構成要素がばらばらであ
る構成であつて、カーソル10が従来のようにCRTデイス
プレイ2上を移動するのであるが、カーソル移動指示表
示領域11,座標入力指示表示領域12,座標入力指示入力領
域13,カーソル移動指示入力領域14とが移動せずに、図
示の固定的な位置に留まるものである。The example of FIG. 6 (c) has a configuration in which the respective constituent elements of FIG. 4 are disjointed, and the cursor 10 moves on the CRT display 2 as in the conventional case. The coordinate input instruction display area 12, the coordinate input instruction input area 13, and the cursor movement instruction input area 14 do not move and remain at the fixed positions shown in the figure.
第6図(d)の例は座標入力指示をキーボード9上の座
標入力キー81により行うものである。In the example of FIG. 6 (d), the coordinate input instruction is performed by the coordinate input key 81 on the keyboard 9.
〈その他のグラフイツクカーソルの例〉 第5図(c),(d)に他のグラフイツクカーソル300,
600の例を示す。第5図(c)のように外枠301と内枠30
2と間の領域を移動のみの指示領域とし、内枠302の内部
が入力指示領域304、外枠301の内部が移動指示領域303
である。尚、代替座標Rは前述と同様に4つのL字形の
中心で表わされる。このように代替座標のまわりを入力
指示領域とし、そのまわりを移動指示領域とすることに
より、代替座標Rを画面の上下左右端の任意の位置に移
動できるようになる。第5図(d)のように、代替座標
Sのまわり以外のところに、入力指示領域601を定義し
てもよい。特に、グラフイツクカーソルの大きさが限ら
れる場合、代替座標Sから離れた場所でも、軌跡入力で
きるようにする場合に有効になる。もちろん、領域602
を移動のみとして、領域601とL字形付近を入力指示領
域とするようにしてもよい。<Examples of Other Graphic Cursors> Other graphical cursors 300, 300 are shown in FIGS.
An example of 600 is shown. As shown in FIG. 5 (c), the outer frame 301 and the inner frame 30
The area between 2 and 2 is designated as a movement-only instruction area, the inside of the inner frame 302 is the input instruction area 304, and the inside of the outer frame 301 is the movement instruction area 303.
Is. The alternative coordinate R is represented by the center of the four L-shapes as described above. As described above, by setting the area around the alternative coordinate as the input instruction area and the area around the alternative coordinate as the movement instruction area, the alternative coordinate R can be moved to any position at the top, bottom, left, and right ends of the screen. As shown in FIG. 5D, the input instruction area 601 may be defined in a place other than around the alternative coordinate S. In particular, when the size of the graphic cursor is limited, it is effective when the locus can be input even at a place away from the alternative coordinate S. Of course area 602
The area 601 and the vicinity of the L-shape may be used as the input instruction area only by moving.
〈描画プログラムと座標入力プログラム〉 第7図(c)はCRTデイスプレイ2上に回路図を描画す
る一例を表わしている。点Eからゲート101の入力ピン
Fまで直線(プリント配線)を引くものである。点Fは
ゲート102の入力ピンとは近接しており従来のグラフイ
ツクカーソルでは点Fと点Gとを区別してカーソルを移
動させる事は困難であつたのは前述した通りである。こ
の描画プログラムの一例は第9図の如くである。さて描
画プログラムに描画させるには、入力座標等が必要であ
るが、そのような情報を与えるのが座標入力プログラム
である。座標入力プログラムはカーソルを移動したり、
入力座標を描画プログラムに与える役目をもつ。座標入
力プログラムの例の第10図,第11図,第12図,第13図,
第14図,第15図に示す。座標入力プログラムはCPU4によ
り所定の時間間隔のタイマ値105(第8図)毎に呼び出
されて、描画プログラムとは独立して実行される。<Drawing Program and Coordinate Input Program> FIG. 7C shows an example of drawing a circuit diagram on the CRT display 2. A straight line (printed wiring) is drawn from the point E to the input pin F of the gate 101. As described above, the point F is close to the input pin of the gate 102 and it is difficult to move the cursor by distinguishing the point F and the point G with the conventional graphic cursor. An example of this drawing program is as shown in FIG. Input coordinates and the like are necessary for the drawing program to draw, and the coordinate input program gives such information. The coordinate input program moves the cursor,
It has a role of giving input coordinates to the drawing program. Figure 10, Figure 11, Figure 12, Figure 13 of the example of the coordinate input program
Figures 14 and 15 show this. The coordinate input program is called by the CPU 4 for each timer value 105 (FIG. 8) at a predetermined time interval and executed independently of the drawing program.
描画プログラムと座標入力プログラムのメモリ6内での
配置は第7図(b)のようである。第7図(c)は描画
プログラムと座標入力プログラムとのインターフエース
を示す図である。座標入力プログラムからは、ONOFF変
化フラグ、OFFON変化フラグ、スタート座標,エンド座
標,ON座標,ONフラグ等が描画プラグラムに渡される。こ
れらの情報は座標入力プログラムがメモリ6内に格納す
る(第8図参照)。描画プログラムと座標入力プログラ
ムとは多重処理される。描画プログラムはメモリ6に格
納されたこれらの情報を読み出して、自分のプログラム
を制御手順に沿つて描画していく。The arrangement of the drawing program and the coordinate input program in the memory 6 is as shown in FIG. 7 (b). FIG. 7C is a diagram showing an interface between the drawing program and the coordinate input program. From the coordinate input program, an ONOFF change flag, an OFFON change flag, a start coordinate, an end coordinate, an ON coordinate, an ON flag, etc. are passed to the drawing program. These pieces of information are stored in the memory 6 by the coordinate input program (see FIG. 8). The drawing program and the coordinate input program are multi-processed. The drawing program reads these pieces of information stored in the memory 6 and draws its own program according to the control procedure.
〈制御情報〉 第8図は実施例の制御に必要なフラグ等がメモリ6に格
納されている様子を示している。順に、仮座標90,移動
中フラグ91,基準位置座標92,旧座標93,ONフラグ94,代替
位置座標95,移動領域内フラグ96,入力中フラグ97,連続
モードフラグ98,OFFON変化フラグ99,ONOFF変化フラグ10
1,スタート座標102,エンド座標103,ON座標104,タイマー
値105等であり、これらの具体的説明は制御手順説明時
に行う。又、前述のグラフイツクカーソルの大きさ等を
特定するL1x等の量もメモリ6に格納される。<Control Information> FIG. 8 shows a state in which flags and the like necessary for the control of the embodiment are stored in the memory 6. Temporary coordinates 90, moving flag 91, reference position coordinates 92, old coordinates 93, ON flag 94, alternative position coordinates 95, moving area flag 96, input flag 97, continuous mode flag 98, OFFON change flag 99, ON OFF change flag 10
1, a start coordinate 102, an end coordinate 103, an ON coordinate 104, a timer value 105, etc., and a detailed description thereof will be given when the control procedure is described. Further, the amount of L 1x or the like for specifying the size of the graphic cursor or the like is also stored in the memory 6.
〈描画プログラムの制御手順〉 第9図は描画プログラムの制御手順である。第7図
(a)に示したような直線を引くための簡単なプログラ
ムである。ステツプS2ではこの描画プログラムに必要な
メニユーを表示する。ステツプS4ではOFFON変化フラグ9
9がセツトされるのを待つ。このOFFON変化フラグ99は座
標入力プログラムでセツトされるもので、このフラグが
“1"であることは指等でカーソル移動指示入力領域14が
初めて押された事を示す。この時、後述する座標入力プ
ログラムによりメモリ6内にスタート座標102が格納さ
れている。ステツプS6ではONOFF変化フラグ101がセツト
されのを待つ。このONOFF変化フラグ101はカーソル移動
指示入力領域14から指が離されたことを示すフラグであ
る。このフラグが“1"のときにはメモリ6にはエンド座
標103が格納されている。ステツプS8ではスタート座標1
02とエンド座標103に対応する画像メモリ5内のアドレ
スを算出し、その間にある画素を全て“1"とする。こう
して第7図(a)に示された点Eと点Fは簡単に直線で
結ばれたことになる。<Drawing Program Control Procedure> FIG. 9 shows a drawing program control procedure. This is a simple program for drawing a straight line as shown in FIG. In step S2, the menu required for this drawing program is displayed. OFF ON change flag 9 in step S4
Wait for 9 to be set. The OFF / ON change flag 99 is set by the coordinate input program, and the fact that this flag is "1" indicates that the cursor movement instruction input area 14 has been pressed for the first time by a finger or the like. At this time, the start coordinates 102 are stored in the memory 6 by the coordinate input program described later. Step S6 waits for the ON / OFF change flag 101 to be set. The ON / OFF change flag 101 is a flag indicating that the finger has been released from the cursor movement instruction input area 14. When this flag is "1", the end coordinates 103 are stored in the memory 6. Start coordinate 1 for step S8
The addresses in the image memory 5 corresponding to 02 and the end coordinates 103 are calculated, and all the pixels between them are set to "1". Thus, the points E and F shown in FIG. 7A are simply connected by a straight line.
〈座標入力プログラム〉 次に本実施例に最も特徴的な座標入力プログラムの例を
以下に説明する。前述したように、この座標入力プログ
ラムは定期的に所定時間間隔(タイマー値105)毎に呼
び出され実行される。<Coordinate Input Program> Next, an example of the coordinate input program most characteristic of this embodiment will be described below. As described above, this coordinate input program is periodically called and executed at predetermined time intervals (timer value 105).
〈グラフイツクカーソル100の制御手順〉 第10図は第5図(a)に示したグラフイツクカーソル10
0の操作に伴う制御手順である。ステツプS60でタツチパ
ネル1のいずれかの場所が押されたかどうか判断する。
ステツプS60で入力なしと判断したときはステツプS94に
進む。指が触れていないので、ステツプS94で移動中フ
ラグ91を“0"にする。この移動中フラグ91はカーソル移
動指示入力領域14が一度は押された事を示すものであ
る。ステツプS96ではONフラグ94をチエツクする。このO
Nフラグ94は指がタツチパネル1のいずれかの点を前回
に押していた事を示す。ONフラグ94が“0"のときは座標
入力プログラムを終了し、“1"の場合はステツプS98
で、ONOFF変化フラグ101を“1"にする。ステツプS100
で、エンド座標103としてON座標104を、即ち前回の入力
座標値で、指が離れる直前の座標値を登録する。そして
ステツプS102でONフラグ94を“0"にして座標入力プログ
ラムを終了する。所定時間経過後には本座標入力プログ
ラムは再び実行される。<Control Procedure for Graphic Cursor 100> FIG. 10 shows the graphic cursor 10 shown in FIG.
This is a control procedure associated with operation 0. In step S60, it is determined whether any part of the touch panel 1 has been pressed.
If it is determined in step S60 that there is no input, the process proceeds to step S94. Since the finger is not touching, the moving flag 91 is set to "0" in step S94. The moving flag 91 indicates that the cursor movement instruction input area 14 has been pressed once. At step S96, the ON flag 94 is checked. This O
The N flag 94 indicates that the finger previously pressed any point on the touch panel 1. When the ON flag 94 is "0", the coordinate input program is terminated, and when it is "1", step S98.
Then, the ON / OFF change flag 101 is set to "1". Step S100
Then, the ON coordinate 104 is registered as the end coordinate 103, that is, the coordinate value immediately before the finger is released is registered as the previously input coordinate value. Then, in step S102, the ON flag 94 is set to "0" to end the coordinate input program. This coordinate input program is executed again after a predetermined time has elapsed.
ステツプS60でタツチパネル1のいずれかの点が押され
ている場合に、入力有りとしてステツプS62に進み、そ
のタツチ座標106(X′,y′)を入力する。このとき、
タツチパネル1の制御方式によつては、まず座標値
(X′,y′)を入力し、この値の範囲チエツクにより入
力の有無を判断してもよい。ステツプS64では、タツチ
パネル1と画像メモリ5との対応に従つた座標変換をほ
どこし、画面上の座標に変換し仮座標90として登録す
る。ステツプS66では前回のサンプリング時に移動指示
領域内に指が触れられたかどうかを示す移動中フラグ91
をチエツクし、このフラグが“0"のとき、即ち、前回の
サンプリング時にカーソル移動が指示されていないとき
はステツプS72に進む。ステツプS72では仮座標90(これ
を(X,y)とする)と、(x,y)が移動指示領域40内かど
うかを判断する。この判断は、基準位置を(xb,yb)と
すると、 のとき移動指示領域40内と判断する。If any point on the touch panel 1 is pressed at step S60, it is determined that there is input, and the process proceeds to step S62 to input the touch coordinates 106 (X ', y'). At this time,
Depending on the control method of the touch panel 1, the coordinate value (X ', y') may be input first, and the presence or absence of the input may be determined by the range check of this value. In step S64, coordinate conversion is performed according to the correspondence between the touch panel 1 and the image memory 5, and the coordinates are converted into on-screen coordinates and registered as temporary coordinates 90. In step S66, a moving flag 91 indicating whether or not a finger is touched in the movement instruction area during the previous sampling
When this flag is "0", that is, when the cursor movement is not instructed at the time of the previous sampling, the process proceeds to step S72. At step S72, it is determined whether the temporary coordinate 90 (which is (X, y)) and (x, y) are within the movement instruction area 40. In this judgment, if the reference position is (x b , y b ), At this time, it is determined that the movement instruction area 40 is present.
この領域外のときステツプS76に進み、移動中フラグ91
を“0"にしてステツプS80で、仮座標90が座標入力指示
領域30内かどうかを判断する。このチエツクは、 のとき座標入力指示領域30内と判断する。座標入力指示
領域30内のときはステツプS84にてON座標104を代替座標
95、即ちカーソル内の点Pの座標で登録する。描画プロ
グラムに渡されるべき情報であるON座標104を(x″,
y″)とすると、 と表わされることになる。ステツプS80にて仮座標90
(タツチされた点)が座標入力指示領域30外のときは、
ステツプS82にてON座標104を仮座標90の値で登録する。
これは操作者がカーソルを使う以外の目的でタツチパネ
ル1にタツチしたものと考えたからである。If it is outside this area, the process proceeds to step S76, where the moving flag 91
Is set to "0" and it is determined in step S80 whether the temporary coordinate 90 is within the coordinate input instruction area 30. This check is When it is, it is determined to be within the coordinate input instruction area 30. When in the coordinate input instruction area 30, the ON coordinate 104 is replaced with the alternate coordinate in step S84.
95, that is, the coordinates of the point P in the cursor are registered. The ON coordinate 104, which is the information to be passed to the drawing program, is set to (x ″,
y ″) Will be expressed as Temporary coordinates 90 at step S80
When (touched point) is outside the coordinate input instruction area 30,
In step S82, the ON coordinate 104 is registered with the value of the temporary coordinate 90.
This is because it is considered that the operator has touched the touch panel 1 for the purpose other than using the cursor.
そしてステツプS86に進む。ここではONフラグ94をチエ
ツクする。ONフラグ94は前回のサンプリングで座標入力
されたことを表わすフラグであり、これが“1"ならばプ
ログラムを終了し、“0"ならば前回サンプリング時オ
フ、今回オンであるので、その変化を処理するためにス
テツプS88に進む。ここでON状態への変化が発生したこ
とを表わすOFFON変化フラグ99を“1"にし、ステツプS90
でスタート座標102をON座標104の値で登録し、ステツプ
S92でONフラグ94を“1"にしてプログラムを終了する。Then go to step S86. Here, the ON flag 94 is checked. The ON flag 94 is a flag indicating that the coordinates have been input in the previous sampling. If the flag is "1", the program is terminated. If the flag is "0", it is turned off at the last sampling and turned on this time. Proceed to step S88 to do so. At this time, the OFF ON change flag 99 indicating that the change to the ON state has occurred is set to "1", and step S90
Register the start coordinate 102 with the value of the ON coordinate 104, and press the step.
In S92, the ON flag 94 is set to "1" and the program ends.
ステツプS72で移動指示領域40内と判断したときは、ス
テツプS74で移動中フラグ91を“1"にして、ステツプS98
に進む。ここで仮座標90の値を旧座標93として登録す
る。これは後述するステツプにて、移動指示領域40に指
を触れたまま指を動かすことによりグラフイツクカーソ
ル100を移動させるために、もとの指の位置を記憶して
おくためのものである。If it is determined in step S72 that the movement is within the movement instruction area 40, the movement flag 91 is set to "1" in step S74, and step S98 is executed.
Proceed to. Here, the value of the temporary coordinate 90 is registered as the old coordinate 93. This is for storing the original position of the finger in order to move the graphic cursor 100 by moving the finger while touching the movement instruction area 40 in a step described later.
ステツプS66にて移動中フラグ91が“1"のときは、前回
移動指示領域40に触れており、現在も画面に触れている
ことになる。従つて、ステツプS68,S70に進み、グラフ
イツクカーソル100を指の移動に従つて移動させる。即
ち、ステツプS68ではグラフイツクカーソル100の基準座
標の新しい値を算出する。これは指の移動変位をそれぞ
れx座標、y座標でδx,δyとすると、 δx ←(仮座標90のx座標値)−(旧座標93のx座標値) δy ←(仮座標90のy座標値)−(旧座標93のy座標値) であるから、グラフイツクカーソル100の新たな基準座
標(xb,yb)を と更新する。そしてステツプS70でグラフイツクカーソ
ル100の移動処理を行なう。即ち、グラフイツクカーソ
ル100の表示機構(不図示のグラフイツクカーソル表示
回路)に対し、新しい基準座標の更新を行なえばよい。
次に、ステツプS98で次の基準位置移動に備えて、この
仮座標90の値を旧座標93に移す。If the moving flag 91 is "1" in step S66, the previous movement instruction area 40 has been touched, and the screen is still touched now. Therefore, the process proceeds to steps S68 and S70, and the graphic cursor 100 is moved according to the movement of the finger. That is, in step S68, a new value of the reference coordinate of the graphic cursor 100 is calculated. Assuming that the displacement of the finger is x-coordinate and δy in y-coordinate, respectively, δx ← (x-coordinate value of temporary coordinate 90)-(x-coordinate value of old coordinate 93) δy ← (y-coordinate of temporary coordinate 90) value) - (because the y-coordinate value) of the old coordinates 93, new reference coordinates (x b of the graphic cursor 100, a y b) And update. Then, in step S70, the graphic cursor 100 is moved. That is, the display mechanism of the graphics cursor 100 (graphics cursor display circuit (not shown)) may be updated with new reference coordinates.
Next, in step S98, the value of the temporary coordinate 90 is moved to the old coordinate 93 in preparation for the next movement of the reference position.
以上のように構成すると、任意の位置の座標は移動指示
領域40に触れてそのまま指を動かして、4つのL字形領
域の中心、即ち代替位置Pをその所望の位置に設定した
のち座標入力指示領域30を指で触れることにより可能に
なる。With the above-described configuration, the coordinates of an arbitrary position touch the movement instruction region 40, move the finger as it is, set the centers of the four L-shaped regions, that is, the alternative positions P to the desired positions, and then input the coordinate input instruction. This is possible by touching the area 30 with a finger.
〈グラフイツクカーソル200の制御手順〉 以上説明したグラフイツクカーソル100の構成では、正
確な軌跡を入力することができない。これに対応するに
は、第5図(b)の如くグラフイツクカーソル200全体
を移動指示領域とみなし、その中の一部を確定指示領域
50とする。このようなグラフイツクカーソル200の操作
に係る制御手順を第11図に示す。<Control Procedure of Graphic Cursor 200> With the configuration of graphic cursor 100 described above, an accurate trajectory cannot be input. To deal with this, as shown in FIG. 5B, the entire graphic cursor 200 is regarded as a movement instructing area, and a part of it is determined as the confirming instruction area.
Set to 50. FIG. 11 shows a control procedure relating to the operation of such a graphic cursor 200.
ステツプS110で、タツチパネル1が押されたかどうか判
断する。押されていない場合の制御手順は第10図のステ
ツプS94〜ステツプS102と略同じであるので説明は省略
する。In step S110, it is determined whether or not the touch panel 1 has been pressed. Since the control procedure when it is not pressed is substantially the same as steps S94 to S102 in FIG. 10, description thereof will be omitted.
タツチパネル1が押されていると判断した場合入力有り
としてステツプS112に進み、そのタツチ座標106(x′,
y′)を入力する。ステツプS114ではタツチ座標106
(X′,y′)に前記実施例のステツプS64で行つたのと
同じ座標変換を施し画面上の座標に変換し、仮座標90と
して登録する。ステツプS116では、前回のサンプリング
時にグラフイツクカーソル200内の何処かにか指が触れ
られていたのかどうかを示す移動領域内フラグ96をチエ
ツクする。If it is determined that the touch panel 1 is pressed, it is determined that there is an input, and the process proceeds to step S112, where the touch coordinates 106 (x ',
Enter y ′). In step S114, touch coordinate 106
(X ', y') is subjected to the same coordinate transformation as that performed in step S64 of the above-mentioned embodiment to transform into coordinates on the screen, and registered as temporary coordinates 90. In step S116, the movement area flag 96 indicating whether or not the finger is touched anywhere in the graphics cursor 200 at the time of the previous sampling is checked.
移動領域内フラグ96が“1"のとき、即ち、前回はグラフ
イツクカーソル200上を指示していないとき、ステツプS
122に進む。ステツプS122では、仮座標90(x,y)がグラ
フイツクカーソル200内の座標かどうかを判断する。こ
の判断は第5図(b)を参照しつつ、 のときグラフイツクカーソル200内であると判断すれば
よい。When the movement area flag 96 is "1", that is, when the previous graphic cursor 200 is not instructed, step S
Continue to 122. In step S122, it is determined whether the provisional coordinates 90 (x, y) are within the graphics cursor 200. This judgment, referring to FIG. 5 (b), At this time, it may be determined that the cursor is within the graphic cursor 200.
今、仮座標90がグラフイツクカーソル200内にない場合
はステツプS130に進み、移動領域内フラグ96を“0"にし
て、ステツプS132で座標入力中フラグ107を“0"にす
る。座標入力中フラグ107はグラフイツクカーソル200の
座標入力指示領域50に指が触れられていた事を表わすも
のであるから、グラフイツクカーソル200に触れていな
いため“0"クリアする。そこで現在、指はグラフイツク
カーソル200以外の場所を触れていることになるので、
この位置を入力座標値とするため、ステツプS146でON座
標104の値を仮座標90の値で登録する。そしてステツプS
154ではONフラグ94をチエツクする。ONフラグ94が“1"
ならばプログラムを終了し、“0"ならば前回のサンプリ
ング時にオフ、今回はオンであるので、ステツプS156に
進む。ここでタツチパネル1へのON状態への変化が発生
したことを表わすOFFON変化フラグ99を“1"にし、ステ
ツプS158でスタート座標102をON座標104の値で登録し、
ステツプS160でONフラグ94を“1"にしてプログラムを終
了する。If the temporary coordinate 90 is not in the graphics cursor 200, the process proceeds to step S130, the intra-movement area flag 96 is set to "0", and the coordinate inputting flag 107 is set to "0" at step S132. The coordinate inputting flag 107 indicates that the finger is touching the coordinate input instruction area 50 of the graphic cursor 200, and is cleared to "0" because the graphic cursor 200 is not touched. So, now that your finger is touching a place other than the graphic cursor 200,
In order to use this position as the input coordinate value, the value of the ON coordinate 104 is registered as the value of the temporary coordinate 90 in step S146. And step S
At 154, the ON flag 94 is checked. ON flag 94 is "1"
If so, the program ends, and if "0", it is off at the last sampling, and this time is on, so the process proceeds to step S156. Here, the OFF ON change flag 99 indicating that the touch panel 1 has changed to the ON state has been set to "1", and in step S158 the start coordinate 102 is registered with the value of the ON coordinate 104,
In step S160, the ON flag 94 is set to "1" and the program ends.
ステツプS122にてグラフイツクカーソル200内を指がさ
していると判断したときは、ステツプS124に進み、まず
移動領域内フラグ96を“1"にする。さらにステツプS126
にて仮座標90が座標入力指示領域50内かどうかをチエツ
クし、座標入力指示領域50内になつているときのみ、ス
テツプS128で座標入力中フラグ107を“1"にする。そう
でないときはこの107はステツプS132,S136でクリアされ
ているため“0"のままである。ステツプS126の座標入力
指示領域50内かどうかのチエツクは、 の式に基づいて判断すればよい。If it is determined in step S122 that the finger is pointing inside the graphic cursor 200, the process proceeds to step S124, and the movement area flag 96 is first set to "1". Further step S126
Check whether or not the temporary coordinate 90 is within the coordinate input instruction area 50. Only when the temporary coordinate 90 is within the coordinate input instruction area 50, the coordinate input flag 107 is set to "1" in step S128. Otherwise, this 107 remains "0" because it was cleared in steps S132 and S136. Check whether or not it is in the coordinate input instruction area 50 of step S126. It may be determined based on the formula of.
そしてステツプS148に進み、ここで仮座標90の値を旧座
標93として登録する。このステツプS148の意味は前述の
ステツプS78と同じである。ステツプS150では座標入力
入フラグ107が“1"かどうかを調べる。このフラグが
“0"であるときは、即ち座標入力指示領域50に触れてい
ない場合は、本プログラムを終了し、触れている場合は
ステツプS152にてグラフイツクカーソル200の代替位置
の座標値をON座標104の値として登録する。この座標指
示位置の座標(x″,y″)は以下のようにして算出でき
る。Then, in step S148, the value of the temporary coordinate 90 is registered as the old coordinate 93. The meaning of this step S148 is the same as that of the above-mentioned step S78. In step S150, it is checked whether the coordinate input flag 107 is "1". When this flag is "0", that is, when the coordinate input instruction area 50 is not touched, this program is terminated, and when touched, the coordinate value of the alternative position of the graphic cursor 200 is set at step S152. Register as the value of the ON coordinate 104. The coordinates (x ″, y ″) of this coordinate designated position can be calculated as follows.
これにより指で押した位置ではなく、グラフイツクカー
ソル200で示した点Qの位置の座標をON座標104として用
いることが可能となる。そしてステツプS154以下を前述
のように実行すれば、ON状態への変化も同様にしてとら
えることができ、指を離したときのOFF状態への変化も
同様に入力可能となる。 This makes it possible to use the coordinates of the position of the point Q indicated by the graphic cursor 200 as the ON coordinates 104 instead of the position pressed by the finger. If the steps S154 and thereafter are executed as described above, the change to the ON state can be detected in the same manner, and the change to the OFF state when the finger is released can be similarly input.
ステツプS116にて移動領域内フラグ96が“1"のときは、
前回グラフイツクカーソル200に触れており、現在も画
面に触れていることになる。従つてステツプS118,S120
と進みグラフイツクカーソル200を指の移動に従つて移
動させる。ステツプS118ではグラフイツクカーソルの基
準座標の新しい値を算出する。これは、指の移動変位を
それぞれX座標、y座標でδx,δyとすると、 δx =(仮座標90のx座標値)−(旧座標93のx座標値) δy =(仮座標90のy座標値)−(旧座標93のy座標値) であるから、グラフイツクカーソル200の基準座標(xb,
yb)を とすればよい。そしてステツプS120で、グラフイツクカ
ーソル200の移動処理を行なう。If the movement area flag 96 is "1" at step S116,
You touched the graphic cursor 200 last time, and you are still touching the screen. Therefore, steps S118, S120
Then, the graph cursor 200 is moved according to the movement of the finger. In step S118, a new value of the reference coordinate of the graphic cursor is calculated. Assuming that the displacement of the finger is X coordinate and δy in y coordinate, respectively, δx = (x coordinate value of temporary coordinate 90) − (x coordinate value of old coordinate 93) δy = (y of temporary coordinate 90) (Coordinate value)-(y coordinate value of old coordinate 93), the reference coordinate (x b ,
y b ) And it is sufficient. Then, in step S120, the moving process of the graphic cursor 200 is performed.
そしてステツプS148以下を前述のように実行することに
より、座標座標入力指示領域50に触れたまま指を移動さ
せて、グラフイツクカーソル200内の点Qの座標指示位
置の座標を連続して入力することも可能となる。即ち、
描画プログラム(第9図とは異なる)として、座標入力
プログラムから得たON座標104を連続的に画像メモリ5
内に展開するように組めば、座標入力が軌跡として得ら
れることになる。前述の第7図(a)を実行する座標入
力プログラム(第10図)は特に表示装置としてみた場合
に効果的であるが、第11図の座標入力プログラムは座標
入力装置のプログラムとしての意義がある。Then, by executing Step S148 and the subsequent steps as described above, the finger is moved while touching the coordinate coordinate input instruction area 50 to continuously input the coordinates of the coordinate indicated position of the point Q in the graphic cursor 200. It is also possible. That is,
As the drawing program (different from FIG. 9), the ON coordinates 104 obtained from the coordinate input program are continuously stored in the image memory 5
If it is constructed so that it expands inside, the coordinate input will be obtained as a locus. The coordinate input program (FIG. 10) for executing the above-described FIG. 7 (a) is particularly effective when viewed as a display device, but the coordinate input program shown in FIG. 11 has significance as a program for the coordinate input device. is there.
〈連続座標入力〉 第12図は第5図(a)のグラフイツクカーソル100を使
つて、連続的に座標入力する変形例である。その為にキ
ーボード9上の「モード」キー80を操作して連続入力モ
ードに切換える(即ち、連続モードフラグ98が“1"とな
る)。第10図のフローチヤートとの相違はステツプS79
のみで、このステツプS79で連続モードフラグ98を調
べ、このフラグが“1"であればステツプS84へ進むが、
“0"であるときはプログラムを終了させるというもので
ある。<Continuous Coordinate Input> FIG. 12 shows a modification in which coordinates are continuously input using the graphic cursor 100 of FIG. 5 (a). Therefore, the "mode" key 80 on the keyboard 9 is operated to switch to the continuous input mode (that is, the continuous mode flag 98 becomes "1"). The difference from the flow chart in Fig. 10 is step S79.
Then, the continuous mode flag 98 is checked in this step S79, and if this flag is "1", the process proceeds to step S84,
When it is "0", the program is terminated.
更に、「モード」キー80の代りに画面上にモード切換指
示のための領域を設定することもできる。その場合、例
えば移動指示領域40,60内の一部にモード切換指示領域
を設定し、この領域へのOFF→ON変化をチェツクするス
テツプを、ステツプS66とS72との間に入れ、その領域で
のOFF→ON又はON→OFF変化の度に連続モードフラグ98を
反転させるようにする。一方、移動指示領域40,60外に
モード切換指示領域を設定する場合は、OFF→ON又はON
→OFF変化チエツクするステツプをステツプS80とステツ
プS82との間に入れる。但しこの場合、モード切換え指
示があつた場合、ステツプS82には進まずプログラムを
終了するようにすればよい。Further, instead of the "mode" key 80, an area for instructing mode switching can be set on the screen. In that case, for example, a mode switching instruction area is set in a part of the movement instruction areas 40, 60, and a step for checking the OFF → ON change to this area is inserted between steps S66 and S72, and in that area. The continuous mode flag 98 is inverted every time OFF → ON or ON → OFF change of the. On the other hand, when setting the mode switching instruction area outside the movement instruction areas 40 and 60, OFF → ON or ON
→ Insert the OFF change check step between step S80 and step S82. However, in this case, if a mode switching instruction is issued, the program may be terminated without proceeding to step S82.
こうして、座標入力の方式を単発か連続かのいずれかに
適宜変更しながら、かつ代替位置座標を入力座標として
座標入力可能となるので、操作性が大幅に向上する。In this way, the coordinate input method can be appropriately changed to either one-shot or continuous, and the coordinate can be input using the alternative position coordinate as the input coordinate, so that the operability is significantly improved.
〈キーボードからの座標入力指示〉 以上説明した実施例は座標入力指示を表示図形上への入
力(即ち、タツチパネル1への入力)により行うもので
あつた。第13図に示す実施例は第6図(d)に一部対応
するもので、座標入力指示をキーボード9から行うもの
である。この指示は第6図(d)にも示す如く「入力」
キー81によりなされたものである。第13図に示したフロ
ーチヤートはその構成上第12図のフローチヤートと基本
的に同じで、第12図のステツプS80,82,S84に代つて、ス
テツプS95で「入力」キー81からの座標入力指示の有無
を確かめるものである。<Coordinate Input Instruction from Keyboard> In the embodiment described above, the coordinate input instruction is performed by inputting on the display graphic (that is, inputting on the touch panel 1). The embodiment shown in FIG. 13 partially corresponds to FIG. 6 (d), and the coordinate input instruction is given from the keyboard 9. This instruction is “input” as shown in FIG. 6 (d).
It was done by key 81. The flow chart shown in FIG. 13 is basically the same as the flow chart shown in FIG. 12 in terms of its structure. Instead of steps S80, 82, S84 shown in FIG. 12, the coordinates from the “input” key 81 at step S95 are used. This is to confirm whether or not there is an input instruction.
〈カーソル移動速度の可変化〉 以上説明した実施例は移動指示領域40又は60に入力した
ときは原則的に、グラフイツクカーソルの移動速度は指
の移動速度と同じものであつた。次に説明する実施例は
このカーソルの移動速度を可変にするものである。これ
は、カーソルを移動するに際し、目標が遠いときはカー
ソルを高速に移動し、目標点に近づいたときは精度を上
げるために指の移動速度より遅くして近づけるものであ
る。<Variation of Cursor Movement Speed> In the embodiment described above, when the movement instruction area 40 or 60 is input, the movement speed of the graphic cursor is basically the same as the movement speed of the finger. In the embodiment described below, the moving speed of the cursor is made variable. This is to move the cursor at high speed when the target is far, and to move the cursor closer to the target point at a speed lower than the moving speed of the finger in order to improve accuracy.
そのために、第10図,第12図,第13図のステツプS68及
び第11図のステツプS118を、第14図の如く変更する。即
ち、前記フローチヤートのステツプS68又はステツプS12
8へきたときは、第14図のステツプS1001へジヤンプし
て、実行する。まず、指の移動変位をそれぞれx座標,y
座標でδx,δyとすると、ステツプS1001で、 δx← (仮座標90のx座標値)−(旧座標93のx座標値) δy← (仮座標90のy座標値)−(旧座標93のy座標値) を算出する。そして、ステツプS1002で、グラフイツク
カーソルの移動量をγ(107)として、 を算出し、メモリ6に格納されていた一定距離の閾値R
(111)と比較する。移動量γ(107)がR(111)未満
の場合、ステツプS1003を実行し、そうでないときステ
ツプS1003を省略してステツプS1004に進む。Therefore, step S68 in FIGS. 10, 12, and 13 and step S118 in FIG. 11 are changed as shown in FIG. That is, the flow chart step S68 or step S12
When step 8 is reached, jump to step S1001 in FIG. 14 and execute. First, the movement displacement of the finger is calculated as x coordinate, y
If the coordinates are δx and δy, in step S1001, δx ← (x coordinate value of temporary coordinate 90)-(x coordinate value of old coordinate 93) δy ← (y coordinate value of temporary coordinate 90)-(old coordinate 93 y coordinate value) is calculated. Then, in step S1002, the moving amount of the graphic cursor is set to γ (107), Is calculated and the threshold value R stored in the memory 6 at a constant distance is calculated.
Compare with (111). If the movement amount γ (107) is less than R (111), step S1003 is executed, and if not, step S1003 is omitted and the process proceeds to step S1004.
ステツプS1003では、移動量δx,δyにそれぞれ定数α
(108)を乗じた結果をあらためてそれぞれの移動量と
する。ここで、定数α(108)は1未満とすることによ
り実際の指の動きに比較して移動量を小さく変更するこ
とになる。1以上の量であれば逆に高速にする事ができ
る。ステツプS1004にて、グラフイツクカーソルの基準
座標(xb,yb)を とする。In step S1003, a constant α is set for each of the movement amounts δx and δy.
The result of multiplying by (108) is set again as each movement amount. Here, by setting the constant α (108) to be less than 1, the movement amount is changed to be smaller than the actual movement of the finger. On the contrary, if the amount is 1 or more, the speed can be increased. At step S1004, set the reference coordinates (x b , y b ) of the graphic cursor. And
以上のように構成すると、正確な位置の指示は移動指示
領域に触れて、そのまま指を動かして4つのL字形領域
の中心、すなわち代替位置をすばやく目的位置近傍に移
動させたのち、正確に位置合わせをするときは、ゆつく
りと指を移動させることにより、たとえ座標入力装置の
分解能が小さくても任意の位置への移動が可能となる。
一般に正確な位置を指示するときは、初めはすばやく大
体の位置合わせをして、最終位置を指示するときはゆつ
くりと行なうことする人間の行動とも合致しているため
違和感もない。According to the above-described configuration, the precise position is instructed by touching the movement instruction area, moving the finger as it is, and quickly moving the center of the four L-shaped areas, that is, the alternative positions to the vicinity of the target position, At the time of alignment, by moving the finger flexibly, even if the resolution of the coordinate input device is small, it is possible to move to any position.
Generally, when pointing a precise position, at first, a rough and rough alignment is performed, and when pointing the final position, it is in agreement with the human action to be performed gently, so that there is no discomfort.
さて第14図のプログラムは定期的に呼び出される。従つ
て、上述した式により計算される移動量は、その単位が
ドツトであるにもかかわらず、そのプログラムの呼出し
の定期性故、速度としての意味をもつ。ここで、前記一
定の閾値R(111)を導いてみる。Now, the program in Fig. 14 is called regularly. Therefore, the movement amount calculated by the above-mentioned formula has a meaning as a speed because the program is called regularly although the unit is a dot. Here, the fixed threshold R (111) will be derived.
カーソルの移動速度が毎秒30mm未満の移動が微調モー
ド、これ以上を粗調モードとする事が操作者に適当な操
作感を与えるものであるならば、この30mm内には、画面
のドツト密度が4ドツト/mmとした場合に、4×30ドツ
トが含まれる。即ち、カーソルの移動速度をvaとすれ
ば、va=120ドツト/秒である。従つて、座標入力プロ
グラムがts秒毎に呼び出されるとすると、 R=ts・Va=ts×(30×4) =120ts[ドツト] が閾値R(111)の目安となる。例えば、座標入力プロ
グラムを100ms毎に呼び出した場合、R(111)=12[ド
ツト]となる。このときの指の移動ががγaドツトであ
つたとき、指の移動速度Vaは Va=γa/ts[ドツト/秒] である。ここで、γaの単位は[(画面の実距離)/
(その長さの座標間の長さ)]である。If the movement speed of the cursor is less than 30 mm per second for the fine adjustment mode, and if the higher speed is for the coarse adjustment mode to give the operator an appropriate operating feeling, the dot density of the screen is within 30 mm. If 4 dots / mm, 4 × 30 dots are included. That is, if the moving speed of the cursor is v a , then v a = 120 dots / sec. Therefore, if the coordinate input program is called every t s seconds, R = t s · V a = t s × (30 × 4) = 120 t s [dot] is a standard for the threshold value R (111). For example, when the coordinate input program is called every 100 ms , R (111) = 12 [dots]. When the movement of the finger at this time is γ a dot, the moving speed V a of the finger is V a = γ a / t s [dot / sec]. Here, the unit of γ a is [(actual distance of screen) /
(The length between the coordinates of that length)].
〈移動速度可変の変形例〉 さて座標入力プログラムを100ms毎に呼び出した場合閾
値R=12となるのは前述した通りであるが、サンプリン
グの度(座標入力プログラムが呼び出される度)に指の
移動量が12未満のときは速度が30mm/s未満との判断がで
きる。そこで座標入力の分解能が低い場合の対処を以下
に説明する。このような場合でもカーソルの代替位置は
1ドツト毎に精度よく特定の点を指示できくてはならな
い。そこで、nドツト(nは自然数)毎の座標入力しか
できないようなタツチパネル1の場合でも(例えば、最
小幅が1mmのとき4ドツト毎の座標入力となる)、上記
の定数α(108)を「1/n」に設定すれば、入力変位がγ
のとき、ゆつくり移動したときの代替位置座標の移動は
γ/nとなり、最小移動nドツトの場合、代替位置座標の
変位は1ドツトとなるので、1ドツト単位に任意の位置
を指示することが可能となる。<Modified Example of Variable Moving Speed> As described above, when the coordinate input program is called every 100 ms , the threshold value R = 12 is obtained as described above, but the finger input is changed at each sampling (when the coordinate input program is called). When the movement amount is less than 12, it can be determined that the speed is less than 30 mm / s . Therefore, the measures to be taken when the resolution of coordinate input is low will be described below. Even in such a case, the alternative position of the cursor must be able to accurately indicate a specific point for each dot. Therefore, even in the case of the touch panel 1 in which only coordinate input for every n dots (n is a natural number) is possible (for example, coordinate input for every 4 dots when the minimum width is 1 mm), the above constant α (108) is set to " If set to 1 / n, the input displacement will be γ
In this case, the movement of the alternate position coordinate when moving slowly becomes γ / n, and in the case of the minimum movement n dots, the displacement of the alternate position coordinate is 1 dot, so specify an arbitrary position in 1 dot units. Is possible.
ただし、上記例の場合は毎秒10回のサンプリングの例
(100msのサンプリングレート)を示したが、さらにス
ムーズな動きを実行する場合や、さらに高速に軌跡を入
力したいときなどはサンプリングレートを上げる必要が
ある。こういつた場合、サンプリング毎の変位が小さく
なつてしまい、上述の方法では変位速度が高速、低速の
区別がつかなくなる。例えば、10ms毎のサンプリングに
すると、R=1.2となつてしまい、最小4ドツト毎の座
標入力の場合γ≧4となるべきでるが、γ<R(111)
の条件はγ=0のときしか成り立たなくなつてしまい、
上記の効果がなくなつてしまう。この様な場合は1つの
方法として、過去k回のサンプリングにおける変位の平
均値をγ′として算出して記憶し、γ′<Rの条件をス
テツプS1002で用いればよい。However, in the case of the above example, an example of sampling 10 times per second (100 ms sampling rate) was shown, but it is necessary to increase the sampling rate when performing a smoother movement or when inputting a trajectory at a higher speed. There is. In this case, the displacement for each sampling becomes small, and it becomes impossible to distinguish the displacement speed from the high speed and the low speed in the above method. For example, when sampling every 10 m s , R = 1.2, which should be γ ≥ 4 in the case of coordinate input with a minimum of 4 dots, but γ <R (111)
The condition of is only satisfied when γ = 0,
The above effect disappears. In such a case, as one method, the average value of the displacements in the past k samplings is calculated and stored as γ ′, and the condition of γ ′ <R may be used in step S1002.
次に、グラフイツクカーソルの操作の1態様として指の
移動のし方が急激に大きく移動する場合がある。その対
処として、第14図のフローチヤートにかえて第15図のフ
ローチヤートの制御を用いてもよい。即ち、ステツプS1
001のつぎにステツプS1010で移動量γを で算出し、ステツプS1011でγが“0"かどうかチエツク
し、“0"以外の場合、ステツプS1012で平均変位γ′を γ′←γ/B で算出する。このパラメータβ(109)の初期値は値
“1"としておく。γ=0のときは、ステツプS1014で平
均変位γ′も“0"にして、ステツプS1015ではβ(109)
の値を1つインクリメントしておく。こうすることによ
り、γ(107)が“0"から急激に大となつても、β(10
9)はγ(107)が“0"であつた時間に見合つた量となつ
ているので、ステツプS1012でγ(107)/β(109)と
する事により急激な移動を緩和することができる。又、
ステツプS1013でβ(109)を“1"に設定し直すことによ
り、γ(107)が連続して大きな値のときは、前記変位
の緩和は最初だけであるのでその変位に見合つた変位
γ′が次回から得られる。上記の手法は概念を第16図に
示した。Next, as one mode of the operation of the graphic cursor, the movement of the finger may move abruptly and largely. As a countermeasure, the control of the flow chart shown in FIG. 15 may be used instead of the flow chart shown in FIG. That is, step S1
After 001, the movement amount γ is set in step S1010. Then, in step S1011, check whether γ is "0". If it is not "0", in step S1012 the average displacement γ'is calculated by γ '← γ / B. The initial value of this parameter β (109) is set to the value “1”. When γ = 0, the average displacement γ ′ is also set to “0” in step S1014, and β (109) in step S1015.
The value of is incremented by one. By doing so, even if γ (107) suddenly increases from “0”, β (10
Since 9) is an amount commensurate with the time when γ (107) was “0”, abrupt movement can be alleviated by setting γ (107) / β (109) in step S1012. . or,
By resetting β (109) to "1" in step S1013, when γ (107) is continuously large, the displacement is compensated only at the beginning, so that the displacement γ ' Will be available from next time. The concept of the above method is shown in FIG.
このようにしておくと、座標入力の分解能が低いような
場合に、変位“0"が続き、ある境界で急激に変位が大き
くなる場合にも対応がとれるようになる。By doing so, when the resolution of coordinate input is low, the displacement "0" continues, and it becomes possible to deal with the case where the displacement rapidly increases at a certain boundary.
また更に、上記実施例では、変位γが閾値R(111)よ
り小さいとき、水平変位δx、垂直変位δyに係数α
(108)をかけるようにしたが、係数α(108)を変位γ
の関数f(γ)を定義して、ステツプS1002(S1002′)
を省略し、ステツプS1003の代わりに、ここで、 としてもよい。この関数f(γ)を として、プログラムを100ms毎に呼び出した場合R=12
となる。よつて、複数個のα1,α2,…αkのうちのいず
れか1つを返すようにして、選ばれたαにrを乗しても
よい。尚、αを1未満だけでなく、1以上にすれば、急
激に指を動かし、グラフイツクカーソルをはじくように
動かすことも可能となる。Furthermore, in the above embodiment, when the displacement γ is smaller than the threshold value R (111), the coefficient α is added to the horizontal displacement δx and the vertical displacement δy.
(108) is applied, but the coefficient α (108) is displaced by γ
Function f (γ) of step S1002 (S1002 ')
Instead of step S1003, instead of May be This function f (γ) As, when calling the program for each 100m s R = 12
Becomes Therefore, the selected α may be multiplied by r by returning any one of the plurality of α 1 , α 2 , ... α k . It should be noted that if α is set to not only less than 1 but also to 1 or more, it is possible to rapidly move the finger and move the graphic cursor so as to repel it.
〈一般図形への適用〉 ところで、以上色々な実施例について説明したものは全
てカーソル又はグラフイツクカーソルの例であつた。し
かし、本発明はカーソル又はグラフイツクカーソルへの
適用に留まるものではない。即ち、一般的な図形を移動
対象とすることも当然考えられる。この場合、上記実施
例のカーソル又はグラフイツクカーソルを用いて移動対
象の図形を指定し、その指定された図形の移動は前述し
たカーソルの移動と類似した手法により、即ち平行移動
により簡単になされる。<Application to General Graphic> By the way, all of the various embodiments described above are examples of cursors or graphic cursors. However, the invention is not limited to application to cursors or graphics cursors. That is, it is naturally conceivable to use a general figure as a moving target. In this case, the figure to be moved is designated by using the cursor or the graphic cursor of the above-mentioned embodiment, and the designated figure is easily moved by a method similar to the above-mentioned cursor movement, that is, parallel movement. .
[発明の効果] 以上説明したように本発明の表示制御装置によれば、移
動対象の図形の近傍に所定の領域を表示させ、この領域
における指示位置を移動させると共に、指示位置の移動
速度に応じて移動対象の図形の移動速度を制御してい
る。このために、移動対象の図形の移動が所望の速度で
行なわれ、且つその移動が正確なものとなる。[Effects of the Invention] As described above, according to the display control device of the present invention, a predetermined area is displayed in the vicinity of the graphic to be moved, the designated position in this area is moved, and the moving speed of the designated position is changed. Accordingly, the moving speed of the figure to be moved is controlled. Therefore, the figure to be moved is moved at a desired speed, and the movement is accurate.
第1図は本発明に係る実施例の原理を説明する図、 第2図は従来例の問題点をCADにおいて説明した図、 第3図(a)は実施例の座標入力/表示装置のブロツク
構成図、 第3図(b)はCRTデイスプレイの表示面を説明する
図、 第4図は実施例に用いられるグラフイツクカーソルの原
理的構成図、 第5図(a)〜(d)は実施例に用いられるグラフイツ
クカーソルの種々の例の構成図、 第6図(a)〜(d)はグラフイツクカーソル等を用い
て操作を行う様子を説明する図、 第7図(a)は描画プログラムをCADに適用した様子を
説明する図、 第7図(b),(c)は座標入力プログラムと描画プロ
グラムとの関連を説明する図、 第8図は実施例の制御に用いられる種々の制御情報がメ
モリに格納されている様子を説明する図、 第9図は描画プログラムの一例のフローチヤート、 第10図〜第15図は実施例の制御手順のフローチヤート、 第16図はカーソルの移動の変形例の動作を説明する図で
ある。 図中、 1……タツチパネル、2……CRTデイスプレイ、4……C
PU、5……画像メモリ、6……メモリ、7……タツチパ
ネル制御回路、9……キーボード、10……カーソル、11
……カーソル移動指示表示領域、12……座標入力指示表
示領域、13……座標入力指示入力領域、14……カーソル
移動指示入力領域、30……座標入力指示領域、40……移
動指示領域、50……座標入力指示領域、60……移動指示
領域、100,200,300,600……グラフイツクカーソル、C,D
……カーソル移動軌跡、P,Q,R,S……代替位置、400……
カーソル、401……座標変位検出手段、402……カーソル
移動手段、403……図形移動手段、500……カーソル移動
指示領域、700……移動対象図形である。FIG. 1 is a diagram for explaining the principle of the embodiment according to the present invention, FIG. 2 is a diagram for explaining the problems of the conventional example in CAD, and FIG. 3 (a) is a block of the coordinate input / display device of the embodiment. Configuration diagram, FIG. 3 (b) is a diagram for explaining the display surface of the CRT display, FIG. 4 is a principle configuration diagram of the graphic cursor used in the embodiment, and FIG. 5 (a) to (d) are implementations. Configuration diagrams of various examples of the graphic cursor used in the examples, FIGS. 6 (a) to 6 (d) are diagrams for explaining how to perform an operation using the graphic cursor, and FIG. 7 (a) is a drawing. FIG. 7 is a diagram for explaining how the program is applied to CAD, FIGS. 7 (b) and 7 (c) are diagrams for explaining the relationship between the coordinate input program and the drawing program, and FIG. 8 is various types used for controlling the embodiment. FIG. 9 is a diagram for explaining how control information is stored in the memory, and FIG. 9 is a drawing. A flow chart of an example of the program, FIGS. 10 to 15 are flow charts of the control procedure of the embodiment, and FIG. 16 is a view for explaining the operation of the modification of the movement of the cursor. In the figure, 1 ... Touch panel, 2 ... CRT display, 4 ... C
PU, 5 ... Image memory, 6 ... Memory, 7 ... Touch panel control circuit, 9 ... Keyboard, 10 ... Cursor, 11
...... Cursor movement instruction display area, 12 …… Coordinate input instruction display area, 13 …… Coordinate input instruction input area, 14 …… Cursor movement instruction input area, 30 …… Coordinate input instruction area, 40 …… Movement instruction area, 50 …… Coordinate input instruction area, 60 …… Movement instruction area, 100,200,300,600 …… Graphic cursor, C, D
...... Cursor movement locus, P, Q, R, S …… Alternative position, 400 ……
Cursor, 401 ... Coordinate displacement detection means, 402 ... Cursor movement means, 403 ... Graphic movement means, 500 ... Cursor movement instruction area, 700 ... Movement target figure.
Claims (3)
と、該図形の近傍に予め定められた距離だけ離れた所定
の大きさの領域とを表示する表示制御手段と、 前記表示画面に重なるように配設された座標入力面をも
つ座標入力手段と、 前記座標入力手段の指示されている位置を検出する検出
手段と、 前記領域に対応した前記座標入力手段の座標入力面の位
置が指示されていることが検知され、該指示されている
位置が移動されると、該移動に応じて前記図形を移動さ
せる移動制御手段とを有し、 前記移動制御手段は、前記指示された位置の移動速度の
違いにより、前記図形の移動距離を変化させることを事
を特徴とする表示制御装置。1. Display control means for displaying a graphic to be moved and a region of a predetermined size, which is separated by a predetermined distance in the vicinity of the graphic, on the display screen of the display means. A coordinate input means having coordinate input surfaces arranged so as to overlap, a detection means for detecting a position indicated by the coordinate input means, and a position of the coordinate input surface of the coordinate input means corresponding to the area are And a movement control unit that moves the graphic according to the movement when the designated position is detected and the designated position is moved. A display control device characterized in that the moving distance of the figure is changed according to the difference in moving speed of the figure.
とする特許請求の範囲第1項に記載の表示制御装置。2. The display control device according to claim 1, wherein the graphic is a cursor graphic.
とを特徴とする特許請求の範囲第2項に記載の表示制御
装置。3. The display control device according to claim 2, wherein a line is displayed at a position where the graphic has moved.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60290349A JPH0792728B2 (en) | 1985-12-25 | 1985-12-25 | Display controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60290349A JPH0792728B2 (en) | 1985-12-25 | 1985-12-25 | Display controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62150423A JPS62150423A (en) | 1987-07-04 |
| JPH0792728B2 true JPH0792728B2 (en) | 1995-10-09 |
Family
ID=17754895
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60290349A Expired - Fee Related JPH0792728B2 (en) | 1985-12-25 | 1985-12-25 | Display controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0792728B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3103085B2 (en) * | 1989-12-15 | 2000-10-23 | 株式会社東芝 | Display input device |
| JP2986234B2 (en) * | 1991-03-28 | 1999-12-06 | シャープ株式会社 | Input / display device |
| US5621438A (en) * | 1992-10-12 | 1997-04-15 | Hitachi, Ltd. | Pointing information processing apparatus with pointing function |
| JP5718042B2 (en) | 2010-12-24 | 2015-05-13 | 株式会社ソニー・コンピュータエンタテインメント | Touch input processing device, information processing device, and touch input control method |
| JP5780438B2 (en) * | 2013-05-21 | 2015-09-16 | カシオ計算機株式会社 | Electronic device, position designation method and program |
| JP2021086586A (en) * | 2019-11-29 | 2021-06-03 | キヤノン株式会社 | Display control apparatus and control method thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58211243A (en) * | 1982-05-31 | 1983-12-08 | Sharp Corp | Display controlling system of cursor |
| JPS60181786A (en) * | 1984-02-29 | 1985-09-17 | 株式会社東芝 | Cursor position indicator |
-
1985
- 1985-12-25 JP JP60290349A patent/JPH0792728B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62150423A (en) | 1987-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103270485B (en) | Touch input processing device, signal conditioning package and touch input control method | |
| JPH0762821B2 (en) | Touch panel input device | |
| JP3319647B2 (en) | Character input device | |
| KR20110063561A (en) | Device for controlling electronic devices by handling graphic objects on multi-touch touch screens | |
| KR20100041006A (en) | A user interface controlling method using three dimension multi-touch | |
| JP3744116B2 (en) | Display input device | |
| JP2012203644A (en) | Electronic device | |
| JPH07182092A (en) | Vector input device | |
| JP2010218286A (en) | Information processor, program, and display method | |
| JP2000267808A (en) | Input method linking touch panel input device with display device | |
| JPH1124841A (en) | Information processing apparatus, processing method, and storage medium | |
| JP2568174B2 (en) | Display controller | |
| JPH0792728B2 (en) | Display controller | |
| JP2015035045A (en) | Information processing apparatus and display control program | |
| JPH11175212A (en) | Touch operation processing method for touch panel device | |
| JP3228584B2 (en) | Mouse input method on touch panel | |
| JP2001195170A (en) | Portable electronic equipment, input controller and storage medium | |
| JPS62150476A (en) | display device | |
| JPS62150422A (en) | coordinate input device | |
| JPH09237175A (en) | Scroll controller | |
| JP4925989B2 (en) | Input device and computer program | |
| JP6622837B2 (en) | Input display device and input display method | |
| JP3232537B2 (en) | Computer and window control method | |
| JPH1173153A (en) | Display device | |
| JPH09244858A (en) | Window system control method and information processing apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |