JP2760798B2 - Figure selection device - Google Patents

Figure selection device

Info

Publication number
JP2760798B2
JP2760798B2 JP63079990A JP7999088A JP2760798B2 JP 2760798 B2 JP2760798 B2 JP 2760798B2 JP 63079990 A JP63079990 A JP 63079990A JP 7999088 A JP7999088 A JP 7999088A JP 2760798 B2 JP2760798 B2 JP 2760798B2
Authority
JP
Japan
Prior art keywords
graphic
priority
candidate
composite
sub
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 - Lifetime
Application number
JP63079990A
Other languages
Japanese (ja)
Other versions
JPH01250172A (en
Inventor
哲也 高橋
孝司 森田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NIPPON HYUURETSUTO PATSUKAADO KK
Kobe Steel Ltd
Original Assignee
NIPPON HYUURETSUTO PATSUKAADO KK
Kobe Steel Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NIPPON HYUURETSUTO PATSUKAADO KK, Kobe Steel Ltd filed Critical NIPPON HYUURETSUTO PATSUKAADO KK
Priority to JP63079990A priority Critical patent/JP2760798B2/en
Publication of JPH01250172A publication Critical patent/JPH01250172A/en
Application granted granted Critical
Publication of JP2760798B2 publication Critical patent/JP2760798B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、図形選択装置に関し、更に詳しくは、画面
に表示された合成図形を構成する一つの要素の図形を抽
出,選択する図形選択装置に関し、特にCAD等の分野に
おいて有用である。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic selecting device, and more specifically, a graphic selecting device for extracting and selecting a graphic of one element constituting a composite graphic displayed on a screen. Is particularly useful in fields such as CAD.

〔従来の技術〕[Conventional technology]

従来のこの種の装置としては、例えば特開昭62−1359
71号公報に開示の装置がある。この従来装置について、
第20図〜第28図を参照して説明する。
A conventional device of this type is disclosed in, for example, JP-A-62-1359.
There is an apparatus disclosed in Japanese Patent Application Publication No. 71-71. About this conventional device,
This will be described with reference to FIGS. 20 to 28.

まず第20図に示す直線αを入力し、次に第21図に示す
ように直線αを対角線とする長方形βを入力し、更に第
22図に示すように長方形βと3辺が一致する正方形γを
入力すると、これらの合成図形は第23図に示すようにな
る。
First, a straight line α shown in FIG. 20 is input, and then, as shown in FIG. 21, a rectangle β having the straight line α as a diagonal line is input.
When a square γ whose three sides coincide with each other is input as shown in FIG. 22, these composite figures become as shown in FIG.

次に、第23図に示す合成図形を構成する図形の中から
一つの図形を抽出・選択して移動,複写,消去等を行い
たいときには、第24図に示すように図形を指定するため
の指定領域Ha,Hb,Hc,Hd,He,Hfが表示される。このよう
な指定領域は、第26図〜第28図に示すように、図形の種
類に応じて予め任意に定められている。
Next, when one figure is to be extracted and selected from the figures constituting the composite figure shown in FIG. 23 and moved, copied, erased, etc., as shown in FIG. designated region H a, H b, H c , H d, H e, is H f is displayed. Such designated areas are arbitrarily determined in advance according to the type of graphic as shown in FIGS. 26 to 28.

そこで、例えばカーソルKを点部Dに近接すると、指
定領域Hdに対応する図形である長方形βを選択すること
が出来、長方形βが選択されていることを示すために、
長方形βの4つの点部A,C,B,Dに各々□a,c,b,dが表示さ
れる。
Therefore, for example, proximate the cursor K to point section D, it is possible to select the rectangle β is a figure corresponding to the designated region H d, to indicate that the rectangle β is selected,
□ a, c, b, d are displayed at four points A, C, B, D of the rectangle β, respectively.

その他の関連する従来技術としては、例えば特開昭60
−55469号,特開昭61−250780号,特開昭62−152079号
公報等に開示の装置がある。
Other related prior arts include, for example,
Japanese Patent Application Laid-Open Nos. 55469 / 1986-250780 / 62-152079 and the like disclose such apparatuses.

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

第20図〜第28図を参照して説明した上記従来装置にお
いて、複数の図形の指定領域が互いに重なり合った場
合、目的の図形を容易に選択できない問題点がある。
In the conventional apparatus described with reference to FIGS. 20 to 28, when designated areas of a plurality of figures overlap each other, there is a problem that a desired figure cannot be easily selected.

即ち、第24図に示す図形指定領域Hdは、本来ならば長
方形βと正方形γの両方の指定領域であるが、図に示す
例では長方形βの指定領域としてのみ機能し、正方形γ
を指定できなくなっている。そこで、正方形γを選択す
るためには、第25図に示すようにカーソルKを指定領域
Hfまで移動しなければならない不便がある。尚、□f,e,
b,dは、正方形γが選択されたことを表示している。
That is, the graphic specified area H d shown in FIG. 24 is a designated area of both rectangular β and square γ would otherwise only acts as a designated rectangular area β in the example shown, square γ
Can no longer be specified. Therefore, in order to select the square γ, as shown in FIG.
There is an inconvenience that must be moved to the H f. Note that □ f, e,
b and d indicate that the square γ has been selected.

更に、直線αと長方形βの指定領域が完全に重なり合
っているので、直線αを選択できなくなる問題点もあ
る。
Further, since the specified area of the straight line α and the specified area of the rectangle β completely overlap, there is a problem that the straight line α cannot be selected.

従って、本発明の目的とするところは、複数の図形が
複雑に合成された図形でも、その合成図形を構成する一
つの図形を容易に選択できるようにした図形選択装置を
提供することにある。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a graphic selecting apparatus capable of easily selecting one graphic constituting a composite graphic even when a plurality of graphics are complicatedly composed.

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

本発明の図形選択装置は、複数の図形の合成図形を画
面に表示し、画面上の一つの位置が指定されると、その
指定位置と合成図形の位置関係に基づいてその合成図形
を構成する一つの図形を選択する図形選択装置におい
て、指定位置と合成図形の位置関係に基づいて2以上の
候補図形を抽出しうる候補抽出手段と、それら候補図形
の中から一つの図形を仮選択する仮選択手段と、その仮
選択図形および他の候補図形を識別可能に表示する候補
表示手段と、候補図形の中から仮選択する図形を順次変
更させる次選択指示手段と、仮選択図形を選択図形とし
て確定させる選択確定指示手段とを具備したことを構成
上の特徴とするものである。
The graphic selecting apparatus of the present invention displays a composite graphic of a plurality of graphics on a screen, and when one position on the screen is designated, forms the composite graphic based on the positional relationship between the designated position and the composite graphic. In a figure selecting apparatus for selecting one figure, candidate extracting means for extracting two or more candidate figures based on a positional relationship between a designated position and a composite figure, and a provisional means for temporarily selecting one figure from the candidate figures Selection means, candidate display means for displaying the tentatively selected figure and other candidate figures in a distinguishable manner, next selection instructing means for sequentially changing the figure to be temporarily selected from among the candidate figures, and the tentatively selected figure as the selected figure The present invention is characterized in that it comprises a selection confirmation instruction means for confirmation.

また、他の観点では、本発明の図形選択装置は、複数
の図形の合成図形を画面に表示し、画面上の一つの位置
が指定されると、その指定位置と合成図形の位置関係に
基づいてその合成図形を構成する一つの図形を選択する
図形選択装置において、合成図形を構成する一つの図形
の線部と指定位置との位置関係に基づいてその図形の第
1のサブ優先度をその図形種別に応じて決定する第1の
サブ優先度決定手段と、合成図形を構成する一つの図形
の点部と指定位置との位置関係に基づいてその図形の第
2のサブ優先度をその図形種別に応じて決定する第2の
サブ優先度決定手段と、少なくとも上記第1および第2
のサブ優先度を統合してその図形の優先度を決定する優
先度決定手段と、優先度の最も高い図形を他の図形と識
別可能に表示する優先図形表示手段と、優先図形を選択
する指示を与える選択指示手段とを具備したことを構成
上の特徴とするものである。
In another aspect, the graphic selecting apparatus of the present invention displays a composite graphic of a plurality of graphics on a screen, and when one position on the screen is designated, based on the designated position and the positional relationship of the composite graphic. A graphic selecting device for selecting one graphic constituting the composite graphic by using a first sub-priority of the graphic based on a positional relationship between a line portion of the graphic constituting the composite graphic and a designated position. First sub-priority determining means for determining the second sub-priority of the figure based on the positional relationship between the point and the designated position of one of the figures forming the composite figure; A second sub-priority determining means for determining according to the type;
Priority determining means for integrating the subpriorities of the figures to determine the priority of the figure, priority figure display means for displaying the figure with the highest priority so as to be distinguishable from other figures, and an instruction for selecting a priority figure And a selection instructing means for providing the following.

〔作用〕[Action]

本発明に係る第1の構成においては、指定位置と合成
図形の位置関係に基づいて2以上の候補図形が抽出さ
れ、それらが候補図形であることが表示される。更に、
それら候補図形の中から一つの図形が仮選択されると共
に、指示によって仮選択する図形が順に変更される。
In the first configuration according to the present invention, two or more candidate graphics are extracted based on the positional relationship between the designated position and the composite graphic, and it is displayed that they are candidate graphics. Furthermore,
One of the candidate graphics is provisionally selected, and the graphics to be provisionally selected are sequentially changed according to an instruction.

このため、指定位置を動かさずに異なる図形を選択で
きるようになる。また指定した位置の適否を即座に的確
に知ることが出来る。
Therefore, a different figure can be selected without moving the designated position. In addition, the appropriateness of the designated position can be immediately and accurately known.

次に、本発明に係る第2の構成においては、図形の指
定領域として図形種別毎に異なる少なくとも2段階の領
域が設定され組み合わせられるから、指定位置と選択す
る図形の対応付けを細かく且つ柔軟に行えるようにな
る。そこで、ユーザが望む図形の選択を従来よりも的確
に行えるようになる。
Next, in the second configuration according to the present invention, at least two levels of areas different for each graphic type are set and combined as the specified area of the graphic, so that the correspondence between the specified position and the graphic to be selected is finely and flexibly. Will be able to do it. Therefore, the user can select a desired graphic more accurately than before.

〔実施例〕〔Example〕

以下、図に示す実施例に基づいて本発明を更に詳しく
説明する。ここに第1図は本発明の一実施例の図形選択
装置のブロック図、第2図は直線の例示図、第3図は直
線と長方形の例示図、第4図は直線と長方形と正方形の
例示図、第5図は直線と長方形と正方形の合成図形の例
示図、第6図は候補表示画面の例示図、第7図は他の候
補表示画面の例示図、第8図は直線の候補領域の例示
図、第9図は四角形の候補領域の例示図、第10図は円の
候補領域の例示図、第11図は本発明の他の実施例の図形
選択装置のブロック図、第12図は直線のサブ優先度領域
の例示図、第13図は四角形のサブ優先度領域の例示図、
第14図は円のサブ優先度領域の例示図、第15図は長方形
が優先図形として表示された画面の例示図、第16図は正
方形が優先図形として表示された画面の例示図、第17図
は直線が優先図形として表示された画面の例示図、第18
図は本発明の更に他の実施例の図形選択装置のブロック
図、第19図(a)(b)は第18図に示す実施例装置にお
ける図形選択画面の例示図である。尚、図に示す実施例
により本発明が限定されるものではない。
Hereinafter, the present invention will be described in more detail based on an embodiment shown in the drawings. FIG. 1 is a block diagram of a graphic selecting apparatus according to an embodiment of the present invention, FIG. 2 is an illustration of a straight line, FIG. 3 is an illustration of a straight line and a rectangle, and FIG. FIG. 5 is an illustrative view of a composite graphic of a straight line, a rectangle and a square, FIG. 6 is an illustrative view of a candidate display screen, FIG. 7 is an exemplary view of another candidate display screen, and FIG. FIG. 9 is a view showing an example of a rectangular candidate area, FIG. 10 is a view showing an example of a circular candidate area, FIG. 11 is a block diagram of a figure selecting apparatus according to another embodiment of the present invention, and FIG. The figure is an example of a straight line sub-priority area, FIG. 13 is an example of a square sub-priority area,
FIG. 14 is an illustration of a sub-priority area of a circle, FIG. 15 is an illustration of a screen in which a rectangle is displayed as a priority graphic, FIG. 16 is an illustration of a screen in which a square is displayed as a priority graphic, FIG. The figure shows an example of a screen on which a straight line is displayed as a priority figure.
FIGS. 19A and 19B are block diagrams of a graphic selecting apparatus according to still another embodiment of the present invention. FIGS. 19A and 19B are illustrations of a graphic selecting screen in the apparatus shown in FIG. The present invention is not limited by the embodiment shown in the drawings.

第1図に示す図形選択装置1において、図形データメ
モリ2には、第2図に示す直線αと、第3図に示す長方
形βと、第4図に示す正方形γと、それら図形の入力順
序と、相対位置とが記憶されている。図形の入力順序
は、直線α,長方形β,正方形γの順序であり、相対位
置は直線αの点部A,Bが長方形βの対角の点部に一致
し、長方形βの右側の点部B,Dが正方形γの右側の点部
に一致している。
In the figure selecting device 1 shown in FIG. 1, the figure data memory 2 stores a straight line α shown in FIG. 2, a rectangle β shown in FIG. 3, a square γ shown in FIG. And the relative position are stored. The input order of the figures is the order of the straight line α, the rectangle β, and the square γ, and the relative position is such that the points A and B of the line α coincide with the diagonal points of the rectangle β, and the right side of the rectangle β B and D coincide with the point on the right side of the square γ.

かかる図形データメモリ2の出力により、表示イメー
ジ作成部3は合成図形を作成し、表示コントローラ4を
介してディスプレイ5に表示する。第5図は画面に表示
された合成図形を示している。
Based on the output of the graphic data memory 2, the display image generating unit 3 generates a composite graphic and displays it on the display 5 via the display controller 4. FIG. 5 shows a composite figure displayed on the screen.

図形の選択処理に際しては、ユーザによるマウス6の
操作が入力解釈部7で解釈され、カーソルの位置に関す
るデータはカーソルデータ作成部8で作成されて表示イ
メージ作成部3及び候補抽出部9へと送られる。
In the process of selecting a figure, the operation of the mouse 6 by the user is interpreted by the input interpreting unit 7, data relating to the position of the cursor is created by the cursor data creating unit 8, and sent to the display image creating unit 3 and the candidate extracting unit 9. Can be

入力解釈部7から候補抽出部9に抽出指示信号が送ら
れると、候補抽出部9は、図形データメモリ2に記憶し
ている各図形とカーソルの位置関係をチェックし、候補
関数15に基づいて候補となる図形を抽出して、候補図形
メモリ10に送出する。候補関数15は、例えば第8図〜第
10図に示す如き候補領域Gu,Gv,Gw内にカーソルがあるか
否かで候補とするか否かを判断するものである。これに
従えば第6図に示すようにカーソルKが点部Dにある
と、直線αは候補として抽出されないが、長方形β及び
正方形γは候補として抽出される。
When an extraction instruction signal is sent from the input interpretation unit 7 to the candidate extraction unit 9, the candidate extraction unit 9 checks the positional relationship between each figure stored in the figure data memory 2 and the cursor, and based on the candidate function 15. A candidate figure is extracted and sent to the candidate figure memory 10. The candidate function 15 is, for example, shown in FIGS.
10 as shown in FIG candidate region G u, G v, is to determine whether a candidate based on whether the cursor is within the G w. According to this, when the cursor K is at the point D as shown in FIG. 6, the straight line α is not extracted as a candidate, but the rectangle β and the square γ are extracted as candidates.

候補出力部9から抽出終了信号が仮選択部11に入力さ
れると、仮選択部11は候補図形の中から一つの図形を仮
選択し、仮選択図形メモリ12へと出力する。この仮選択
は、例えば図形の入力順序に基づいて行われ、長方形β
と正方形γとが候補図形であるときには、先に入力され
た長方形βが仮選択される。
When the extraction end signal is input from the candidate output unit 9 to the tentative selection unit 11, the tentative selection unit 11 tentatively selects one of the candidate figures and outputs it to the tentatively selected figure memory 12. This tentative selection is performed based on, for example, the input order of the figures, and the rectangle β
When the square and the square γ are candidate figures, the previously input rectangle β is provisionally selected.

表示イメージ作成部3は、候補図形メモリ10に記憶さ
れた候補図形と、仮選択図形メモリ12に記憶された仮選
択図形とをチェックし、各々に識別マークを付加する。
例えば、第6図に示すように、仮選択図形の長方形βに
は、その4つの点部A,C,B,Dに□a,c,b,dを付加し、他の
候補図形である正方形γには、その4つの点部F,E,B,D
に○f′,e′,b′,d′を付加する。
The display image creation unit 3 checks the candidate figure stored in the candidate figure memory 10 and the temporarily selected figure stored in the temporarily selected figure memory 12 and adds an identification mark to each of them.
For example, as shown in FIG. 6, □ a, c, b, and d are added to the four points A, C, B, and D of the rectangle β of the tentatively selected figure to be another candidate figure. Square γ has four points F, E, B, D
○ f ', e', b ', d' are added to.

従って、ユーザは、長方形βが最も有力な候補図形で
あり、正方形γが次に有力な候補図形であり、このカー
ソルKの位置では直線αを選択するのに不適当である
と、即座に且つ明確に知ることが出来る。
Therefore, the user immediately and immediately determines that the rectangle β is the most probable candidate figure, the square γ is the next most probable candidate figure, and it is inappropriate to select the straight line α at the position of the cursor K. You can know clearly.

仮にユーザが正方形γを選択したいとするならば、マ
ウス6のボタンを操作し、次選択指示を与えれば良い。
この次選択指示信号によって、仮選択部11は、現在の仮
選択図形の次に入力された候補図形を新たな仮選択図形
とする。そこで、ディスプレイ5における画面表示は、
第7図に示すようになる。すなわち、□f,e,b,dによっ
て正方形γが仮選択図形であると示され、○a′,c′,
b′,d′によって長方形βが次の候補図形であると示さ
れる。
If the user wants to select the square γ, the user may operate the button of the mouse 6 to give a next selection instruction.
In response to the next selection instruction signal, the temporary selection unit 11 sets the candidate graphic input next to the current temporary selection graphic as a new temporary selection graphic. Therefore, the screen display on the display 5 is as follows.
As shown in FIG. In other words, □ f, e, b, d indicate that the square γ is a tentatively selected figure, and ○ a ′, c ′,
The rectangle β is indicated by b ′ and d ′ as the next candidate figure.

ここで正方形γを選択するのであれば、マウス6のボ
タンを押して、選択確定指示を入力する。これにより選
択確定部13は、現在の仮選択図形を選択図形として確定
し出力する。
If the user selects the square γ, the user presses the button of the mouse 6 and inputs a selection confirmation instruction. As a result, the selection determining unit 13 determines and outputs the current temporarily selected figure as the selected figure.

なお、仮選択図形にもその他の候補図形にも望む図形
がないときは、マウス6を操作して取消指示を入力す
る。取消終了部14は、その取消信号が入力されるか又は
選択確定部13から終了信号が送られてくると、候補図形
メモリ10,仮選択部11及び仮選択図形メモリ12をリセッ
トする。
If there is no desired graphic in the tentatively selected graphic and the other candidate graphic, the mouse 6 is operated to input a cancel instruction. When the cancellation signal is input or an end signal is sent from the selection deciding unit 13, the cancellation ending unit 14 resets the candidate figure memory 10, the tentative selection unit 11, and the tentatively selected figure memory 12.

以上の説明から理解されるように、この図形選択装置
1によれば、2以上の候補図形が同時表示されるので、
カーソルKの位置が適正か否かを直ちに知ることができ
ると共に、カーソルKを動かすことなく異なる図形を容
易に選択できるようになる。
As understood from the above description, according to the figure selecting apparatus 1, two or more candidate figures are displayed simultaneously,
Whether the position of the cursor K is appropriate or not can be immediately known, and a different figure can be easily selected without moving the cursor K.

次に、第11図に示す図形選択装置21について説明す
る。
Next, the figure selecting device 21 shown in FIG. 11 will be described.

この図形選択装置21において、図形データメモリ2,候
補抽出部9,候補図形メモリ10及び候補関数15は、上記実
施例装置1の対応する構成要素と同様であり、同じ参照
番号を付している。従って、図形データメモリ2には第
2図〜第4図に示す直線α,長方形β,正方形γが記憶
されている。そして、カーソルが図形の点部Dの近傍に
あるとき、長方形β及び正方形γが候補図形として候補
図形メモリ10に記憶されている。
In the figure selecting apparatus 21, the figure data memory 2, the candidate extracting unit 9, the candidate figure memory 10, and the candidate function 15 are the same as the corresponding components of the apparatus 1 of the embodiment, and are denoted by the same reference numerals. . Accordingly, the graphic data memory 2 stores straight lines α, rectangles β, and squares γ shown in FIGS. When the cursor is near the point D of the figure, the rectangle β and the square γ are stored in the candidate figure memory 10 as candidate figures.

優先度演算部31は、カーソルの位置と候補図形の位置
関係から優先度関数30に基づいて優先度を計算する。
The priority calculation unit 31 calculates the priority based on the priority function 30 from the positional relationship between the cursor position and the candidate graphic.

優先度関数30の一例を、第12図〜第14図を参照して説
明する。
An example of the priority function 30 will be described with reference to FIGS.

例えば直線uの場合、第12図に示すように、点部A,B
を対角とする長方形の内部にカーソルがあればサブ優先
度1、線部から一定の距離以内にカーソルがあればサブ
優先度2、点部A,Bから一定の距離以内にカーソルがあ
ればサブ優先度4とし、これらのサブ優先度を加算した
ものを直線Uの優先度とする。例えばP1にカソルがあれ
ば優先度は1であり、P2にあれば優先度は2であり、P3
にあれば優先度1+2=3であり、P4にあれば2+4=
6であり、P5にあれば1+2+4=7である。
For example, in the case of a straight line u, as shown in FIG.
Sub-priority 1 if the cursor is inside the rectangle diagonal to, sub-priority 2 if the cursor is within a certain distance from the line, and if there is a cursor within a certain distance from the points A and B Sub-priority 4 is set, and the sum of these sub-priorities is set as the priority of the straight line U. For example priority if there is Kasoru to P 1 is 1, the priority if the P 2 is 2, P 3
If if any is priority 1 + 2 = 3, the P 4 2 + 4 =
Is 6, which is 1 + 2 + 4 = 7, if the P 5.

また、四角形vの場合は、第13図に示すように、四角
形vの内部にあればサブ優先度1、線部から一定の距離
以内あればサブ優先度2、点部から一定の距離以内にあ
ればサブ優先度4とし、これらを加算して優先度を算出
する。従って、R1にあれば優先度は1であり、R2にあれ
ば優先度は2であり、R3にあれば1+2=3であり、R4
にあれば2+4=6であり、R5にあれば1+2+4=7
である。
In the case of a square v, as shown in FIG. 13, sub-priority 1 if within the square v, sub-priority 2 if within a certain distance from the line, and within a certain distance from the point. If there is, the sub-priority is set to 4, and these are added to calculate the priority. Therefore, the priority if the R 1 is 1, the priority if the R 2 is a 2, a 1 + 2 = 3, if the R 3, R 4
In a 2 + 4 = 6, if, if the R 5 1 + 2 + 4 = 7
It is.

また、円wの場合は、第14図に示すように、円wの内
部にあればサブ優先度1、線部から一定の距離以内にあ
ればサブ優先度2、線部の上下左右の一定領域又は中心
点Gから一定の距離以内にあればサブ優先度4とし、こ
れらを加算して優先度を算出する。例えば、Q1にカーソ
ルがあれば優先度1であり、Q2にあれば優先度2であ
り、Q3にあれば1+2=3であり、Q4にあれば優先度1
+4=5であり、Q5にあれば2+4=6であり、Q6にあ
れば1+2+4=7である。
Further, in the case of a circle w, as shown in FIG. 14, sub-priority 1 if within the circle w, sub-priority 2 if within a certain distance from the line portion, and constant vertical and horizontal directions of the line portion If it is within a certain distance from the area or the center point G, the sub-priority is set to 4, and these are added to calculate the priority. For example, a priority 1 if the cursor is Q 1, is a priority 2 if the Q 2, if the Q 3 is 1 + 2 = 3, the priority 1 if the Q 4
+ 4 = 5, and if the Q 5 is 2 + 4 = 6, 1 + 2 + 4 = 7, if the Q 6.

詳細は省略するが、曲線は直線uに準じ、多角形は四
角形vに準じ、閉曲線は円wに準じて優先度が算出され
る。
Although details are omitted, the priority is calculated based on the straight line u, the polygon is based on the square v, and the closed curve is based on the circle w.

さて、第15図に示すようにカーソルKが点部Dにある
と、候補図形としては長方形β及び正方形γが抽出さ
れ、各々の優先度として共に6が算出される。そこで、
優先度が等しいので先に入力された長方形βが優先図形
とされ、優先図形メモリ32に出力される。
When the cursor K is located at the point D as shown in FIG. 15, a rectangle β and a square γ are extracted as candidate graphics, and 6 is calculated as the priority of each. Therefore,
Since the priorities are equal, the previously input rectangle β is set as the priority figure and is output to the priority figure memory 32.

表示イメージ作成部23は、図形データメモリ2に記憶
した図形データに基づいて合成図形を作成すると共に、
優先図形の識別マークを付加する。例えば、第15図に示
すように、優先図形である長方形βは他の図形よりも太
い線で示される。
The display image creation unit 23 creates a composite figure based on the figure data stored in the figure data memory 2, and
A priority figure identification mark is added. For example, as shown in FIG. 15, a rectangle β which is a priority figure is indicated by a line thicker than other figures.

ユーザが正方形γを選択したい場合は、カーソルKを
第16図に示すように移動する。即ち、カーソルKが点部
Fに近付くと、正方形γの優先度は6となるが、長方形
βの優先度は2となるので、正方形γが優先図形とな
る。尚、第17図に示すように更にカーソルKを移動させ
れば、直線αの優先度が最も高くなり、直線αが優先図
形となる。
When the user wants to select the square γ, the cursor K is moved as shown in FIG. That is, when the cursor K approaches the point F, the priority of the square γ becomes 6, but the priority of the rectangle β becomes 2, so that the square γ becomes the priority figure. If the cursor K is further moved as shown in FIG. 17, the priority of the straight line α becomes the highest, and the straight line α becomes the priority figure.

所望の図形が優先図形となれば、それを選択図形とし
て確定させるのは上記実施例装置1と同様である。一つ
の選択図形が確定されれば、候補図形メモリ10等がリセ
ットされる。
When the desired graphic becomes the priority graphic, it is determined as the selected graphic in the same manner as in the apparatus 1 of the embodiment. When one selected figure is determined, the candidate figure memory 10 and the like are reset.

上記図形選択装置21によれば、少なくとも2段階のサ
ブ優先度によって各図形の優先度が決められるので、細
かな且つ柔軟な優先度を規定することが可能となり、
「使い勝手」を向上させることが出来る。
According to the figure selecting device 21, since the priority of each figure is determined by at least two levels of sub-priority, fine and flexible priorities can be defined.
"Convenience" can be improved.

次に、第18図は更に他の実施例の図形選択装置51を示
すものである。この図形選択装置51は、第1図に示す実
施例装置1の特徴と第11図に示す実施例装置21の特徴と
を共に具備したもので、候補抽出部59がカーソルと合成
図形の位置関係によって優先度関数30に基づき全ての図
形の優先度を算出して一定の優先度以上のものを候補図
形として抽出するようにしている。そして、抽出された
候補図形は候補図形メモリ60に記憶され、その中から仮
選択部61は優先度の高いものをまず仮選択し、仮選択図
形メモリ12へ送出する。ユーザから次選択指示信号が与
えられると、次に優先度が高いものに仮選択図形を変更
し、以下同様に順に仮選択図形を変更する。
Next, FIG. 18 shows a graphic selecting apparatus 51 of still another embodiment. The figure selecting apparatus 51 has both the features of the embodiment apparatus 1 shown in FIG. 1 and the features of the embodiment apparatus 21 shown in FIG. Thus, the priorities of all the figures are calculated based on the priority function 30, and those having a certain priority or higher are extracted as candidate figures. Then, the extracted candidate figures are stored in the candidate figure memory 60, and the temporary selection section 61 first provisionally selects the one with the highest priority from among them, and sends it to the temporary selection figure memory 12. When a next selection instruction signal is given from the user, the temporarily selected figure is changed to the one with the next highest priority, and the like.

第19図(a)は、上記図形選択装置51で得られる画面
例を示すもので、カーソルKが点部Eにあるので、直線
αの優先度は1,長方形βの優先度は3,正方形γの優先度
は6であり、これらが候補図形として抽出されている。
そして、優先度が最も高い正方形γが仮選択図形とな
り、長方形βが次の候補図形となり、直線αが次の次の
候補図形となっている。
FIG. 19A shows an example of a screen obtained by the figure selecting device 51. Since the cursor K is located at the point E, the priority of the straight line α is 1, the priority of the rectangle β is 3, and the square is square. The priority of γ is 6, and these are extracted as candidate graphics.
The square γ having the highest priority is the provisionally selected figure, the rectangle β is the next candidate figure, and the straight line α is the next next figure.

第19図(b)は、上記図形選択装置51で得られる他の
画面例を示すもので、カーソルKが点部Bにあるので、
直線α,長方形β,正方形γの優先度は共に6であり、
全てが候補図形として抽出されている。そして、優先度
が同じであるから、入力順序に従い、直線αが仮選択図
形となり、長方形βが次の候補図形となり、正方形γが
次の次の候補図形となっている。
FIG. 19 (b) shows another example of the screen obtained by the figure selecting device 51. Since the cursor K is at the point B,
The priority of the straight line α, rectangle β, and square γ is 6,
All are extracted as candidate figures. Then, since the priorities are the same, the straight line α becomes the tentatively selected figure, the rectangle β becomes the next candidate figure, and the square γ becomes the next next candidate figure in the input order.

上記図形選択装置51によれば、第1図に示す実施例装
置1と第11図に示す実施例装置21の両方の利点を得るこ
とができる。
According to the figure selecting device 51, the advantages of both the embodiment device 1 shown in FIG. 1 and the embodiment device 21 shown in FIG. 11 can be obtained.

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

本発明によれば、複数の図形の合成図形を画面に表示
し、画面上の一つの位置が指定されると、その指定位置
と合成図形の位置関係に基づいてその合成図形を構成す
る一つの図形を選択する図形選択装置において、指定位
置と合成図形の位置関係に基づいて2以上の候補図形を
抽出しうる候補抽出手段と、それら候補図形の中から一
つの図形を仮選択する仮選択手段と、その仮選択図形お
よび他の候補図形を識別可能に表示する候補表示手段
と、候補図形の中から仮選択する図形を順次変更させる
次選択指示手段と、仮選択図形を選択図形として確定さ
せる選択確定指示手段とを具備したことを特徴とする図
形選択装置が提供される。
According to the present invention, a composite graphic of a plurality of graphics is displayed on a screen, and when one position on the screen is designated, one of the composing graphics constituting the composite graphic is determined based on the positional relationship between the designated position and the composite graphic. In a figure selecting apparatus for selecting a figure, candidate extracting means for extracting two or more candidate figures based on a positional relationship between a designated position and a composite figure, and temporary selecting means for temporarily selecting one figure from the candidate figures Candidate display means for displaying the tentatively selected figure and other candidate figures identifiably, next selection instructing means for sequentially changing the figure to be temporarily selected from the candidate figures, and fixing the temporarily selected figure as the selected figure There is provided a graphic selecting device comprising a selection confirmation instruction means.

また、複数の図形の合成図形を画面に表示し、画面上
の一つの位置が指定されると、その指定位置と合成図形
の位置関係に基づいてその合成図形を構成する一つの図
形を選択する図形選択装置において、合成図形を構成す
る一つの図形の線部と指定位置との位置関係に基づいて
その図形の第1のサブ優先度をその図形種別に応じて決
定する第1のサブ優先度決定手段と、合成図形を構成す
る一つの図形の点部と指定位置との位置関係に基づいて
その図形の第2のサブ優先度をその図形種別に応じて決
定する第2のサブ優先度決定手段と、少なくとも上記第
1および第2のサブ優先度を統合してその図形の優先度
を決定する優先度決定手段と、優先度の最も高い図形を
他の図形と識別可能に表示する優先図形表示手段と、優
先図形を選択する指示を与える選択指示手段とを具備し
たことを特徴とする図形選択装置が提供される。
In addition, a composite graphic of a plurality of graphics is displayed on a screen, and when one position on the screen is designated, one graphic constituting the composite graphic is selected based on a positional relationship between the designated position and the composite graphic. In the graphic selecting apparatus, a first sub-priority for determining a first sub-priority of a graphic according to a graphic type based on a positional relationship between a line portion of one graphic constituting a composite graphic and a designated position Deciding means, and a second sub-priority determination for deciding a second sub-priority of the figure based on a positional relationship between a point portion of one of the figures constituting the composite figure and a designated position according to the figure type Means, priority determining means for integrating at least the first and second subpriorities to determine the priority of the graphic, and priority graphic for displaying the graphic with the highest priority so as to be distinguishable from other graphics Display means and finger to select priority figure Graphic selection device is provided which is characterized by comprising a selection instruction means for giving.

これにより、複数の図形が重なり合った合成図形から
目的の図形を簡単な操作で且つ正確に選択できるように
なる。従って、CAD等において極めて有用である。
As a result, a target graphic can be accurately selected by a simple operation from a composite graphic in which a plurality of graphics are overlapped. Therefore, it is extremely useful in CAD and the like.

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

第1図は本発明の一実施例の図形選択装置のブロック
図、第2図は直線の例示図、第3図は直線と長方形の例
示図、第4図は直線と長方形と正方形の例示図、第5図
は直線と長方形と正方形の合成図形の例示図、第6図は
候補表示画面の例示図、第7図は他の候補表示画面の例
示図、第8図は直線の候補領域の例示図、第9図は四角
形の候補領域の例示図、第10図は円の候補領域の例示
図、第11図は本発明の他の実施例の図形選択装置のブロ
ック図、第12図は直線のサブ優先度領域の例示図、第13
図は四角形のサブ優先度領域の例示図、第14図は円のサ
ブ優先度領域の例示図、第15図は長方形が優先図形とし
て表示された画面の例示図、第16図は正方形が優先図形
として表示された画面の例示図、第17図は直線が優先図
形として表示された画面の例示図、第18図は本発明の更
に他の実施例の図形選択装置のブロック図、第19図
(a)(b)は第18図に示す実施例装置における図形選
択画面の例示図、第20図は直線の例示図、第21図は直線
に長方形を加えた例示図、第22図は直線と長方形に正方
形を加えた例示図、第23図は合成図形の例示図、第24図
は従来装置における図形選択画面の例示図、第25図は従
来装置における図形選択画面の他の例示図、第26図は直
線の指定領域の例示図、第27図は四角形の指定領域の例
示図、第28図は円の指定領域の例示図である。 〔符号の説明〕 1,21,51……図形選択装置 2……図形データメモリ 3,23,53……表示イメージ作成部 4,24,54……表示コントローラ 5,25,55……ディスプレイ 6,26……マウス 7,27……入力解釈部 8,28……カーソルデータ作成部 9,59……候補抽出部 10,60……候補図形メモリ 11,61……仮選択部 12……仮選択図形メモリ 13,33……選択確定部 15……候補関数 30……優先度関数 31……優先度演算部 32……優先図形メモリ。
FIG. 1 is a block diagram of a graphic selecting apparatus according to one embodiment of the present invention, FIG. 2 is a diagram illustrating a straight line, FIG. 3 is a diagram illustrating a straight line and a rectangle, and FIG. 4 is a diagram illustrating a straight line, a rectangle and a square. FIG. 5 is a view showing an example of a combined figure of a straight line, a rectangle and a square, FIG. 6 is a view showing an example of a candidate display screen, FIG. 7 is a view showing an example of another candidate display screen, and FIG. FIG. 9 is an illustration of a square candidate area, FIG. 10 is an illustration of a circle candidate area, FIG. 11 is a block diagram of a graphic selection device according to another embodiment of the present invention, and FIG. Illustrative drawing of a straight line sub-priority area, thirteenth
The figure shows an example of a rectangular sub-priority area, FIG. 14 shows an example of a circular sub-priority area, FIG. 15 shows an example of a screen in which a rectangle is displayed as a priority figure, and FIG. FIG. 17 is an exemplary view of a screen displayed as a graphic, FIG. 17 is an exemplary view of a screen in which a straight line is displayed as a priority graphic, FIG. 18 is a block diagram of a graphic selecting apparatus according to still another embodiment of the present invention, and FIG. (A) and (b) are illustrations of a graphic selection screen in the embodiment device shown in FIG. 18, FIG. 20 is an illustration of a straight line, FIG. 21 is an illustration of a rectangle added to a straight line, and FIG. FIG. 23 is an illustration of a composite figure, FIG. 24 is an illustration of a figure selection screen in a conventional device, FIG. 25 is another example of a figure selection screen in a conventional apparatus, Fig. 26 is an example of a specified area of a straight line, Fig. 27 is an example of a specified area of a rectangle, and Fig. 28 is an example of an area of a circle. It is a diagram. [Explanation of Reference Codes] 1,21,51 ... Graphic selection device 2 ... Graphic data memory 3,23,53 ... Display image creation unit 4,24,54 ... Display controller 5,25,55 ... Display 6 , 26… mouse 7, 27… input interpretation unit 8, 28… cursor data creation unit 9, 59… candidate extraction unit 10, 60… candidate graphic memory 11, 61… temporary selection unit 12… temporary Selected graphic memory 13,33 Selection decision unit 15 Candidate function 30 Priority function 31 Priority calculation unit 32 Priority graphic memory.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−204077(JP,A) 特開 昭63−6676(JP,A) 特開 昭61−223987(JP,A) 特開 昭63−305472(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 17/50 G06T 11/80──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-60-204077 (JP, A) JP-A-63-6676 (JP, A) JP-A-61-223987 (JP, A) 305472 (JP, A) (58) Field surveyed (Int. Cl. 6 , DB name) G06F 17/50 G06T 11/80

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の図形の合成図形を画面に表示し、画
像上の一つの位置が指定されると、その指定位置と合成
図形の位置関係に基づいてその合成図形を構成する一つ
の図形を選択する図形選択装置において、 指定位置と合成図形の位置関係に基づいて2以上の候補
図形を抽出しうる候補抽出手段と、それら候補図形の中
から一つの図形を仮選択する仮選択手段と、その仮選択
図形および他の候補図形を識別可能に表示する候補表示
手段と、候補図形の中から仮選択する図形を順次変更さ
せる次選択指示手段と、仮選択図形を選択図形として確
定させる選択確定指示手段とを具備したことを特徴とす
る図形選択装置。
A composite graphic of a plurality of graphics is displayed on a screen, and when one position on an image is designated, one graphic constituting the composite graphic is determined based on a positional relationship between the designated position and the composite graphic. A candidate extracting means for extracting two or more candidate figures based on the positional relationship between the designated position and the composite figure; and a temporary selecting means for temporarily selecting one figure from the candidate figures. Candidate display means for displaying the tentatively selected figure and other candidate figures identifiably, next selection instructing means for sequentially changing the figure to be temporarily selected from the candidate figures, and selection for fixing the tentatively selected figure as the selected figure A figure selecting apparatus, comprising: a fixing instruction unit.
【請求項2】複数の図形の合成図形を画面に表示し、画
面上の一つの位置が指定されると、その指定位置と合成
図形の位置関係に基づいてその合成図形を構成する一つ
の図形を選択する図形選択装置において、 合成図形を構成する一つの図形の線部と指定位置との位
置関係に基づいてその図形の第1のサブ優先度をその図
形種別に応じて決定する第1のサブ優先度決定手段と、
合成図形を構成する一つの図形の点部と指定位置との位
置関係に基づいてその図形の第2のサブ優先度をその図
形種別に応じて決定する第2のサブ優先度決定手段と、
少なくとも上記第1および第2のサブ優先度を統合して
その図形の優先度を決定する優先度決定手段と、優先度
の最も高い図形を他の図形と識別可能に表示する優先図
形表示手段と、優先図形を選択する指示を与える選択指
示手段とを具備したことを特徴とする図形選択装置。
2. A composite graphic of a plurality of graphics is displayed on a screen, and when one position on the screen is designated, one graphic constituting the composite graphic is determined based on a positional relationship between the designated position and the composite graphic. A first sub-priority of the figure is determined based on a positional relationship between a line portion of one figure constituting the composite figure and a designated position in accordance with the figure type. Sub-priority determining means;
A second sub-priority determining means for determining a second sub-priority of the graphic based on a positional relationship between a point portion of one graphic constituting the composite graphic and a designated position according to the graphic type;
Priority determining means for integrating at least the first and second sub-priorities to determine the priority of the graphic; priority graphic display means for displaying the graphic having the highest priority so as to be distinguishable from other graphics; And a selection instruction means for giving an instruction to select a priority graphic.
JP63079990A 1988-03-30 1988-03-30 Figure selection device Expired - Lifetime JP2760798B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63079990A JP2760798B2 (en) 1988-03-30 1988-03-30 Figure selection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63079990A JP2760798B2 (en) 1988-03-30 1988-03-30 Figure selection device

Publications (2)

Publication Number Publication Date
JPH01250172A JPH01250172A (en) 1989-10-05
JP2760798B2 true JP2760798B2 (en) 1998-06-04

Family

ID=13705747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63079990A Expired - Lifetime JP2760798B2 (en) 1988-03-30 1988-03-30 Figure selection device

Country Status (1)

Country Link
JP (1) JP2760798B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2523129B1 (en) * 2011-05-11 2020-07-01 Dassault Systèmes Selection of a manipulator of an object among a plurality of manipulators

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60204077A (en) * 1984-03-28 1985-10-15 Hitachi Ltd Graphic selection control system
JPS636676A (en) * 1986-06-27 1988-01-12 Fujitsu Ltd Stroke instructing system
JPH0636185B2 (en) * 1987-06-08 1994-05-11 株式会社日立製作所 How to pick a shape

Also Published As

Publication number Publication date
JPH01250172A (en) 1989-10-05

Similar Documents

Publication Publication Date Title
JPH0816353A (en) Object display enlarging method
JP2618145B2 (en) Figure creation method and creation apparatus using figure icons
JP2760798B2 (en) Figure selection device
JP3858542B2 (en) Input guide display method
JPH0772856B2 (en) Pointing device and coordinate conversion method thereof
JP3356552B2 (en) Three-dimensional image processing apparatus and three-dimensional image processing method
JPS61267179A (en) Cursor window displaying system
JP2518918B2 (en) Inquiry display method of figure size
JP3043579B2 (en) Graphic processing system
JPH05204369A (en) Partial enlarging method for image
JP3486476B2 (en) Graphic processing method and apparatus
JP3804266B2 (en) How to display distribution line map
JPS6349883A (en) Graphic processor
JP2575636B2 (en) Graphic display device
JP2722544B2 (en) Data processing device
JPH0228189B2 (en)
JPH0659850A (en) Window display area control system
JPH05108263A (en) Mouse input device
JPH02186838A (en) Information processor
JPH06149524A (en) Multiwindow display system
JPH11306370A (en) Picture processor
JP3000749B2 (en) Character editing device
JPH096978A (en) Scenario information processor
JP3246952B2 (en) CAD processing method and apparatus
JPS6385978A (en) Graphic editing device