JP3599198B2 - Figure editing device - Google Patents

Figure editing device Download PDF

Info

Publication number
JP3599198B2
JP3599198B2 JP24111592A JP24111592A JP3599198B2 JP 3599198 B2 JP3599198 B2 JP 3599198B2 JP 24111592 A JP24111592 A JP 24111592A JP 24111592 A JP24111592 A JP 24111592A JP 3599198 B2 JP3599198 B2 JP 3599198B2
Authority
JP
Japan
Prior art keywords
point
graphic
referenced
reference point
information
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
Application number
JP24111592A
Other languages
Japanese (ja)
Other versions
JPH0696177A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP24111592A priority Critical patent/JP3599198B2/en
Priority to PCT/JP1993/001303 priority patent/WO1994006090A1/en
Priority to GB9409280A priority patent/GB2277661B/en
Priority to GB9618852A priority patent/GB2303281B/en
Priority to GB9618919A priority patent/GB2303282B/en
Publication of JPH0696177A publication Critical patent/JPH0696177A/en
Priority to US08/786,190 priority patent/US5926186A/en
Application granted granted Critical
Publication of JP3599198B2 publication Critical patent/JP3599198B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (AREA)

Description

【0001】
【産業上の利用分野】
本発明は,計算機により表示装置上で複数の図形を作成/編集する際に,図形要素を関係付けて編集することができる図形編集装置に関する。
【0002】
図形を作成/編集するためには,各種の図形要素の位置や,その変形を指定していくが,複数の図形要素を組み合わせていく場合には,それらの図形要素間の位置関係も考えに入れて編集していく必要がある。また,一定の関連を持った図形群を,その位置関係も含めてまとめて部品として扱うことも可能にする必要がある。
【0003】
【従来の技術】
計算機を利用した図形処理システムでは,表示装置上で個別に作成された複数の図形を関係付けて,1つの図形として扱うことが必要になる場合が多くある。例えば,自転車のハンドルの図形,車体フレームの図形,サドル部分の図形,前輪の図形,後輪の図形等を個別に作成し,それを組み合わせて自転車の図形とするような場合である。また,ハンドルや車体フレームの各部の図形についても,さらに部品化された図形の組み合わせによって構成することが必要になる場合がある。
【0004】
従来の技術では,複数の図形を位置関係も含めて部品とする場合には,部品化の時点での図形群の位置を記憶してグループとし,グループ全体を1つの図形とみなして,全体としての変形や回転,移動などを実現するようにしていた。
【0005】
【発明が解決しようとする課題】
しかし,従来の方法では,一旦,グループとした図形群の中の特定の図形を変形させるためには,図形のグループを解いて変形操作を行わなければならず,グループを解いた場合には,他の図形との位置関係がすべて消滅してしまうため,変形に合わせて他の図形についても,編集者が変形したり移動したりしなければならないという問題があった。
【0006】
例えば,自転車のハンドルの図形と車体フレームとの図形を関係付けてグループ化した場合,それらは一体化された図形として扱われるため,ハンドルだけを大きくしたり,小さくしたりすることはできず,車体フレームも含めて拡大または縮小しなければならなかった。すなわち,ハンドルだけを拡大する場合には,一旦,ハンドルと車体フレームとのグループ化を解消し,ハンドルのみを拡大した後に,拡大されたハンドルと元の車体フレームの位置合わせを行い,再度,グループ化しなければならなかった。
【0007】
本発明は上記問題点の解決を図り,一定の関連を持った図形群を,その位置関係も含めて,まとめて部品として扱うことができるようにするとともに,関係付けた図形要素の個々に対する編集操作によって,関連する図形が関係付けの種類に応じて矛盾なく自動的に編集されるようにすることを目的とする。
【0008】
【課題を解決するための手段】
図1は,本発明の原理説明図である。
図1において,10はCPUおよびメモリなどからなる処理装置,11は作成/編集する図形を表示する表示装置,12はマウスやキーボードなどの表示画面中での位置を指定する位置指定装置,13は図形情報記憶部,14A,14Bは図形に関する管理情報を持つ図形ヘッダ情報,15A,15Bは図形の形状を決定する点に関する形状決定点情報,16は他の図形の形状決定点に関係付けられた点に関する被参照点情報,17は関係付け処理手段,18は図形操作処理手段,20A,20Bは編集対象の図形,21は参照点,22は参照点21に関係して定義された被参照点,23は図形中にあらかじめ定められた束縛点を表す。
【0009】
表示装置11に表示される各図形の図形情報は,図形ヘッダ情報14とその図形の形状を決定する形状決定点情報15からなる。さらに本発明では,図形中のある点が,他の図形の形状決定点に関係付けられた場合,その情報が被参照点情報16として図形情報記憶部13に記憶される。被参照点に関係する他の図形の形状決定点を,参照点という。
【0010】
関係付け処理手段17は,図形の形状を決定する形状決定点と他の図形上の任意の点との間の参照/被参照関係を,位置指定装置12から入力することにより,被参照点情報16を作成するとともに,該当する形状決定点情報15中に被参照点情報16へのポインタ情報を設定する処理手段である。
【0011】
図形操作処理手段18は,被参照点を含む図形の移動または変形によって,被参照点が移動すると,それを参照する参照点を被参照点に協調させて移動させ,参照点を持つ図形を移動または変形させる編集を行う処理手段である。
【0012】
本発明による処理は,次のように行われる。
関係付け処理手段17は,例えば図1の(ロ)に示す図形20B中の参照点21と図形20A中の被参照点22との間に,参照/被参照の関係付けを行う指示情報を,位置指定装置12から入力する。この関係付け指示情報の入力があったならば,被参照点22の位置情報などを持つ被参照点情報16を作成し,参照点21を示す形状決定点情報15から被参照点情報16をポイントする。
【0013】
図形20Aに対する編集操作により,例えば図1の(ハ)に示すように図形20Aが移動すると,被参照点22も移動する。図形操作処理手段18は,被参照点22の移動を検出すると,被参照点情報16を調べ,被参照点22を参照する参照点21の形状決定点情報15を得て,それを被参照点22に協調させて移動させ,参照点21を持つ図形20Bを移動または変形させる。図1の(ハ)の例では,被参照点22が上方へ移動することに伴って,参照点21も上方に移動するようにされ,図形20Bが変形する。この例の場合,図形20Bの底辺の右角点が束縛点23としてあらかじめ定義されているので,束縛点23は移動しないようにされ,図形20Bは,縦方向に伸びるように変形する。
【0014】
参照/被参照の関係には,少なくとも回転,変形,および拡大または縮小させる相似変形の種類がある。この種類は,関係付け指示情報の入力または同じ図形中の束縛点23と参照点21との位置関係によって決められる。なお,束縛点23は,各図形に対して1点または複数点,事前に設定できるようにされた点であり,この情報は,図形情報記憶部13中に記憶されている。
【0015】
参照点21が被参照点22に対して回転参照の関係にある場合には,被参照点22の移動に伴い,参照点21を持つ図形20Bが,例えば束縛点23を中心として回転する。参照点21が被参照点22に対して変形参照の関係にある場合には,被参照点22の移動に伴い,参照点21を持つ図形20Bが,例えば図1の(ハ)に示すように変形する。参照点21が被参照点22に対して相似変形参照の関係にある場合には,被参照点22の移動に伴い,参照点21を持つ図形20Bが,拡大または縮小するように変形する。
【0016】
【作用】
本発明では,図形20Bの形状を決定する点を参照点21とし,他の図形20A上の被参照点22に関係付け,その関係情報を図形情報記憶部13に保持することによって,図形20Aが位置指定装置12による編集操作によって変形または移動した場合にも,あらかじめ指定した関係が保持されるように,参照点21を持つ図形20Bを変形/移動させることができる。
【0017】
また,参照点21を持つ図形20Bの他の形状決定点,例えば束縛点23を位置指定装置12によって下方へ移動させた場合,参照点21と被参照点22との関係は保持されるので,図形20Bを下方に長く伸びるように変形させることもできる。
【0018】
【実施例】
図2は,本発明の実施例に係る図形情報のデータ構造の例を示す図である。
例えば図2の(イ)に示す図形20Aと図形20Bとの参照/被参照関係は,図2の(ロ)に示すようなデータ構造によって管理される。
【0019】
各図形に対して,図形ヘッダ情報14A,14Bが設けられる。図形ヘッダ情報14A(14B等も同様)は,図形が占める矩形の範囲(これを,エクステントという)に関する情報と,形状決定点の数および先頭の形状決定点情報15Aへのポインタ等の情報を持つ。さらに,その図形において束縛点として定義された形状決定点情報へのポインタ情報を持つ。
【0020】
図2の(イ)に示す図形20Aのエクステントは,点線の矩形で図示した範囲の領域であり,図形ヘッダ情報14A中のエクステント情報は,エクステントの左上角の点の座標(x0,y0)と,エクステントの幅wと,エクステントの高さh等の情報からなる。形状決定点情報15Aは,図形20Aの頂点に関する位置情報(x1,y1)や次の点へのポインタ情報等を持つ。また,その形状決定点が他の図形の点に関係付けられた参照点である場合に,被参照情報をポイントするためのフィールドおよび参照の種類を示すフィールドが,形状決定点情報15A中に設けられている。
【0021】
図2の(ロ)に示す形状決定点情報15Bは,(イ)における参照点21に関する形状決定点の情報であり,被参照点情報16が,被参照点22の情報である。被参照点22は,形状決定点である必要はなく,図形20Aの形状決定点に依存する任意の点である。ここで,被参照点22の位置がa,b,cの3つの形状決定点に依存するとすると,被参照点情報16には,それらの点へのポインタと,各点への依存度k,k,kが設定される。
【0022】
図2の(ハ)に示すように,a,b,cの各点の座標を,それぞれ(x,y),(x,y),(x,y)とし,被参照点22の座標を(x,y)とする。3点からの依存度k,k,kは,
+x+x=x
+y+y=y
+ k+ k=1
の連立方程式の解として得られる値である。
【0023】
被参照点情報16は,関係付け処理手段17によって動的に作成され,参照点21である形状決定点情報15Bとの間の相互のポインタ情報を持つ。図形20A中に複数の被参照点がある場合には,次の被参照点情報へのポインタ情報を持つ。
【0024】
図3は,本発明の実施例に係る変形参照の例を示す図である。図中,30は画面上の操作位置を示すカーソル,31は各種操作を指定するための領域であるアイコン,32は表示画面を表す。
【0025】
図1に示す位置指定装置12としてマウスを用い,カーソル30はマウスの操作によって位置が変わるものとする。図3の(イ)に示すように,カーソル30によって,変形参照の操作を指示するアイコン31を選択し,さらに関係付ける図形20A,20Bを選択する。
【0026】
ここで,図形20Bの右上の形状決定点を,図形20Aの下辺上の1点に関係付ける場合,図3の(ロ)に示すように,カーソル30を図形20Bの右上の点に持っていき,マウスボタンを押下する。そして,マウスボタンを押下した状態で,図3の(ハ)に示すように,カーソル30を移動させる。このようにマウスボタンを押下した状態でカーソル30を移動させる操作をドラッグという。
【0027】
図3の(ニ)に示すように,図形20A上の関係づける点にカーソル30を移動させ,ドラッグを終了すると,図3の(ホ)に示すように,そのドラッグの終了点が被参照点22として認識され,図形20B上のドラッグ開始点である参照点21が,被参照点22の位置に合うように,図形20Bが変形される。
【0028】
図1に示す関係付け処理手段17は,関係付け操作に対して,以上のような処理を行い,図形情報記憶部13に参照点21と被参照点22との参照/被参照関係およびその関係が変形参照である旨の情報を設定する。
【0029】
このような図形の関係付けが行われた後,例えば図3の(ヘ)に示すように,図形20Aを左方へ移動させる操作が行われたとすると,被参照点22も左方へ移動するので,それに合わせて参照点21が移動し,図形20Bの横幅が短くなるように,図形20Bの自動編集が行われる。また,図3の(ト)に示すように,図形20Aが右方へ移動すると,参照点21も右方へ移動し,図形20Bは長く変形させられる。以上の図形操作の処理は,図1に示す図形操作処理手段18が図形情報記憶部13の参照/被参照の関係情報に基づいて実行する。
【0030】
図4は,本発明の実施例に係る回転参照の例を示す図である。図3に示す例と同様に,位置指定装置12としてマウスを用い,カーソル30はマウスの操作によって位置が変わるものとする。
【0031】
図4の(イ)に示すように,カーソル30によって,回転参照の操作を指示するアイコン31を選択し,さらに関係付ける図形20A,20Bを選択する。
ここで,図形20Bの矢印の先の形状決定点が,図形20Aの左側辺上の1点を常に向くように関係付ける場合,図4の(ロ)に示すように,カーソル30を図形20Bの矢印の先端に持っていき,マウスボタンを押下する。そして,マウスボタンを押下した状態で,図4の(ハ)に示すようにドラッグする。ドラッグによって,図形20Bは回転し,点線で示すようなラバーバンドが表示される。
【0032】
図形20A上の関係付ける点でドラッグを終了すると,図4の(ニ)に示すように,図形20Bが,束縛点23を中心として,図形20A上のドラッグ終了点(被参照点22)を向くように回転して再表示される。
【0033】
この関係を維持するため,図1に示す関係付け処理手段17は,図形情報記憶部13に参照点21と被参照点22との参照/被参照関係およびその関係が回転参照である旨の情報を設定する。
【0034】
このような図形の関係付けが行われた後,例えば図4の(ホ)に示すように,図形20Aを下方へ移動させる操作が行われると,回転参照の関係情報に基づく図形操作処理手段18の処理により,被参照点22と参照点21とが協調して動作し,図形20Bの矢印の先端にある参照点21が被参照点22の方向を向くように,図形20Bの回転操作が行われる。
【0035】
図5は,本発明の実施例に係る相似変形参照の例を示す図である。
相似変形とは,参照点21を持つ図形20Bを,被参照点22の移動に応じて拡大または縮小させる操作である。相似変形の操作を選択した後,図5の(イ)に示すように,図形20B上の参照点21を,図3または図4と同様な操作により,図形20A上の被参照点22に関係付ける。関係付け処理手段17は,図形情報記憶部13に参照点21と被参照点22との参照/被参照関係およびその関係が相似変形参照である旨の情報を設定する。
【0036】
このような図形の関係付けが行われた後,例えば図5の(ロ)に示すように,図形20Aを移動させる操作が行われると,相似変形参照の関係情報に基づく図形操作処理手段18の処理により,参照点21が被参照点22と協調して動作するように操作され,参照点21の新たな位置が計算されて,図形20Bは拡大または縮小される。
【0037】
図6は,本発明の実施例に係る移動参照の例を示す図である。
移動参照は,変形参照の一種である。変形参照の操作において,図6の(イ)に示すように,参照点21として図形20Bの束縛点23が選択されたとき,すなわち束縛点23と参照点21とが一致するとき,移動参照となる。
【0038】
移動参照の場合,図6の(ロ)に示すように,被参照点22を持つ図形20Aが移動すると,参照点21と被参照点22との関係により,図形20Bもそのまま移動する編集が行われる。
【0039】
図7は,本発明の実施例に係る束縛点による変形操作の例を示す図である。
図3などの例で説明したように,参照の種類をアイコン31によって指定し,回転や変形の動作を決めることができるが,束縛点23と参照点21との位置関係によって,変形動作を確定させることもできる。
【0040】
図7において,参照点21aの位置は,被参照点が移動する前の参照点の位置,参照点21bの位置は,被参照点の移動に伴って,参照点が引きずられる方向の仮想的な位置を表している。
【0041】
図7の(イ)に示すような二次元図形に対して,束縛点23が左上の点に定義されており,その束縛点23と同一の辺上にある隣の点が参照点21aであったとする。被参照点(図示省略)の移動により,参照点21aが参照点21bの位置まで引っ張られたとすると,図形操作処理手段18は,束縛点23と参照点21aとの位置関係から1軸変形が必要であると認識し,(イ)に点線で示すように長方形を引き伸ばす変形を行う。
【0042】
また,参照点21aが束縛点23と一致する場合には,(ロ)に点線で示すように,被参照点の移動に伴い,図形全体を束縛点23(参照点)とともに平行移動させる。
【0043】
参照点21aが頂点ではなく,辺上の点であるとき,(ハ)に示すように,束縛点23を中心として,被参照点の方向である参照点21bの方向へ図形を回転させる。
【0044】
さらに,(ニ)に示すように,参照点21aが束縛点23と対角の位置にあるときには,長方形に2軸変形を施し,参照点21bの位置まで図形を相似変形(拡大/縮小)させる。
【0045】
図形が三次元図形である場合にも,同様に束縛点23と参照点21aとの位置関係によって,例えば次のように変形動作を確定させる。
図7の(ホ)は,1軸変形の例であり,参照点21aが束縛点23と同一辺上の隣の点であるとき,参照点21bの方向へ長方体図形を引き伸ばす。
【0046】
参照点21aが束縛点23とは同一面にはない対角点である場合には,(ヘ)に示すように,三次元図形に対して3軸相似変形を施し,図形全体を拡大または縮小させる。
【0047】
参照点21aが束縛点23と同一面上の対角点上にある場合には,(ト)に示すように,参照点21bの位置まで2軸変形を施し,縦横の長さを伸縮させる。図7の(チ)は,1軸回転の例である。この例では,束縛点23−1と束縛点23−2の2点が束縛点として定義されている。この図形の辺上の点が参照点21aであり,被参照点の移動に伴い,これが参照点21bまで引っ張られたとすると,束縛点23−1と束縛点23−2の軸を中心として,三次元図形が点線で示すように回転操作される。
【0048】
図7の(リ)と(ヌ)は,連続直線に対する参照編集操作の例であり,例えば(リ)に示すように,束縛点23と異なる頂点を参照点21aとすると,被参照点の移動に伴い,1点変形によって参照点21bまでの図形の変形が行われる。また,参照点21aが束縛点23である場合には,(ヌ)に示すように,図形全体が平行移動される。
【0049】
なお,図7に示す例は,被参照点を参照する図形の変形操作の例であるが,本実施例では,被参照点の移動ではなく,直接,マウスなどにより参照点21aの位置から参照点21bの位置まで形状決定点をドラッグした場合にも,同様な変形動作の確定により図形が編集操作される。
【0050】
図8は,本発明の実施例に係るグリップ表示説明図である。
本発明の場合,参照/被参照関係を持たせる点を選択する場合には,どの点が形状決定点であるか,特に,どの点が束縛点であるかを,表示装置11上の画面ですぐに見分けることができる必要がある。また,参照点として定義された点と,参照点ではない点とをすぐに見分けることができる必要がある。
【0051】
そこで本実施例では,図形編集操作の指定対象候補となる点を「グリップ」とし,グリップを特定のマークで表示可能としている。グリップには,束縛点を示す束縛点グリップと,束縛点以外の通常グリップとがある。
【0052】
操作対象として選択されていない点の場合には,通常グリップは,図8(イ)の(a) に示すように,正方形のマークで表示される。これに対し,束縛点は,(b) に示すように,菱形の図形で表示される。図1に示す位置指定装置12により,それらの点が操作対象として選択されると,そのマークがそれぞれ(c) または(d) に示すように拡大して表示される。さらに,これらのグリップは,参照点でない場合には,(イ)の上段に示すマークで,参照点である場合には,(イ)の下段に示す白抜きのマークで表示される。なお,例えば束縛点グリップを円のような他の形状で表示したり,または各マークを色によって識別できるように表示してもよい。
【0053】
これらのマークは,一般に図形の作成/編集が完了した後は不要である。そこで,本実施例では,図形を選択したときに自動的に,または表示モードの選択指定操作により,グリップ非表示モードとグリップ表示モードとが切り替えられるようにしている。
【0054】
グリップ非表示モードでは,図形が長方形の場合,図8の(ロ)に示すように,その図形の形状だけが表示される。グリップ表示モードが選択されると,図8の(ハ)に示すように,各形状決定点の種類に応じてグリップが表示される。この例では,長方形図形に対して,9個のグリップが設けられるようになっている。図示省略するが,図形が例えば円の場合には,円を囲む長方形図形を想定し,そのグリップ位置に相当する位置に9個のグリップが,自動的に設けられる。
【0055】
図9は,本発明の実施例に係る関係付け処理説明図である。図1に示す関係付け処理手段17は,図9に示す処理(a) 〜(g) により,複数の図形を関係付ける。
【0056】
(a) 変形参照,回転参照,相似変形参照というような図形参照指定モードの指定を入力する。なお,この処理は,次の(b) による図形選択の後に実行してもよい。
【0057】
(b) 関係付けを行う複数の図形についてのマウス操作による選択指示を入力し,関係付けの対象を認識する。
(c) 選択された図形について,操作を容易にするために,図8に示すようなグリップを表示する。
【0058】
(d) 選択図形上のグリップが,マウスボタンの操作によりドラッグされたならば,そのドラッグ開始点の形状決定点を参照点として認識する。
(e) 他の選択図形上におけるドラッグ終了点を,被参照点とする。もし,ドラッグ終了点が他の選択図形上にない場合には,関係付けの操作を無効とする。
【0059】
(f) 被参照点が決定したならば,その図形における形状決定点と,被参照点との位置関係から依存点を決め,依存度を計算する。そして,被参照点情報16を作成し,図形情報記憶部13に格納する。被参照点情報16には,被参照点の位置情報,依存点,依存度,参照の種類などを設定するとともに,参照点の形状決定点情報15に対するポインタを設定する。一方,参照点の形状決定点情報15には,被参照点情報16へのポインタを設定する。
【0060】
(g) 参照点を持つ図形を,被参照点に合うように更新し,再表示する。
図10は,本発明の実施例に係る図形操作処理説明図である。図1に示す図形操作処理手段18は,図10に示す処理(a) 〜(g) により,関係付けられた点を持つ図形に関する編集操作を実行する。この処理は,マウスによって図形上の点が操作されたとき,および関連する被参照点が何らかの操作によって移動したときに呼び出されて実行される。
【0061】
(a) 図形上の点の移動通知を受ける。
(b) 回転/変形/相似変形などの編集モード,参照の種類,または移動する点と束縛点との位置関係などにより,点が移動する図形の編集態様を決定し,移動/回転/変形/相似変形などの図形編集処理を行う。
【0062】
(c) 更新した図形を表示装置11に再描画する。
(d) 図形情報記憶部13を検索し,更新した図形に被参照点情報16があるかどうかを調べる。被参照点情報16がなければ,処理を終了する。
【0063】
(e) 被参照点情報16があれば,他の点への依存度から被参照点の新しい位置を算出する。被参照点がa,b,cの3点に依存し,各点への依存度がそれぞれk,k,kであるとすると,被参照点の新しい座標(x,y)は,
=x+x+x
=y+y+y
の計算によって算出される。なお,(x,y),(x,y),(x,y)は,図形更新後の点a,b,cの座標である。
【0064】
(f) 被参照点の旧座標と新座標との差から,参照の種類に応じた参照点の移動量を計算し,その点の移動通知を行う。すなわち,被参照点を参照する参照点を持つ図形の編集操作を,再帰的に実行する。
【0065】
(g) 次の被参照点があれば,同様に処理(e) ,(f) を繰り返す。
本実施例の説明から明らかなように,本システムを通常の逐次処理による処理機構で実現することもできるが,例えば形状決定点情報15等を操作手続きと内部状態値とからなるオブジェクトとして構成し,メッセージ・パッシングによって処理を進めるオブジェクト指向の処理機構によって実現することもできる。この場合,特に参照/被参照関係等に関する処理構成の簡易化が可能である。
【0066】
図形間の参照/被参照関係は,関係解除操作によって解消することができる。関係解除操作が行われると,被参照点情報16が削除され,各々独立な図形として扱われる。
【0067】
図11は,本発明の実施例で用いるハードウェア構成例を示す図である。
本発明は,例えば図11に示すような周知のハードウェア機構により実施することができる。システムバス107には,ディスプレイアダプタ103,ランダム・アクセス・メモリ(RAM)105,CPU106,ディスクアダプタ108が接続されている。ディスプレイアダプタ103には,グラフィックディスプレイ100,キーボード101,マウス102,ビデオ用メモリ(VRAM)104が接続され,VRAM104の内容がディスプレイアダプタ103を介して,グラフィックディスプレイ100に表示される。ディスクアダプタ108には,磁気ディスクなどのディスク記憶装置109が接続され,ディスクアダプタ108は,CPU106の入出力命令によって,RAM105とディスク記憶装置109との間のデータ転送を制御する。
【0068】
グラフィックディスプレイ100,キーボード101,マウス102およびディスプレイアダプタ103は,図1に示す表示装置11および位置指定装置12に相当する。図1に示す図形情報記憶部13は,RAM105またはディスク記憶装置109に設けられる。
【0069】
もちろん,本発明は,図11に示すシステムに限らず,通常の汎用計算機,ワークステーション・タイプの計算機または一般のパーソナル・コンピュータ等によっても実施することが可能である。
【0070】
【発明の効果】
以上説明したように,本発明によれば,一定の関連を持った図形群を,その位置関係も含めて,まとめて部品として扱うことができるようになるとともに,関係付けた図形要素の個々に対する編集操作によって,関連する図形を関係付けの種類に応じて矛盾なく自動的に編集することができるようになる。特に,アニメーションなどの動画編集の場合,従来方式による複数図形のグループ化では,図形全体が固定化されてしまうことになるが,本発明による図形の関係付けによれば,個々の図形要素を変形させ,かつその変形によって影響を受ける部分を,自動的に追従させることができるので,編集操作がきわめて容易になる。
【図面の簡単な説明】
【図1】本発明の原理説明図である。
【図2】本発明の実施例に係る図形情報のデータ構造の例を示す図である。
【図3】本発明の実施例に係る変形参照の例を示す図である。
【図4】本発明の実施例に係る回転参照の例を示す図である。
【図5】本発明の実施例に係る相似変形参照の例を示す図である。
【図6】本発明の実施例に係る移動参照の例を示す図である。
【図7】本発明の実施例に係る束縛点による変形操作の例を示す図である。
【図8】本発明の実施例に係るグリップ表示説明図である。
【図9】本発明の実施例に係る関係付け処理説明図である。
【図10】本発明の実施例に係る図形操作処理説明図である。
【図11】本発明の実施例で用いるハードウェア構成例を示す図である。
【符号の説明】
10 処理装置
11 表示装置
12 位置指定装置
13 図形情報記憶部
14A,14B 図形ヘッダ情報
15A,15B 形状決定点情報
16 被参照点情報
17 関係付け処理手段
18 図形操作処理手段
20A,20B 図形
21 参照点
22 被参照点
23 束縛点
[0001]
[Industrial applications]
According to the present invention, when a plurality of graphics are created / edited on a display device by a computer, the graphics elements can be associated and edited.Figure editing deviceAbout.
[0002]
In order to create / edit a figure, the position of each figure element and its deformation are specified, but when combining multiple figure elements, the positional relationship between these figure elements must be considered. You need to edit it. Further, it is necessary to be able to handle a group of figures having a certain relation together as a part, including their positional relation.
[0003]
[Prior art]
In a graphic processing system using a computer, it is often necessary to associate a plurality of figures individually created on a display device and handle them as one figure. For example, there is a case where a figure of a handle of a bicycle, a figure of a body frame, a figure of a saddle portion, a figure of a front wheel, a figure of a rear wheel, and the like are individually created and combined to form a figure of a bicycle. In addition, it may be necessary to configure the graphic of each part of the steering wheel and the body frame by a combination of further graphic parts.
[0004]
In the conventional technology, when a plurality of figures are used as a part including a positional relationship, the positions of the figure groups at the time of the parts are stored as a group, and the entire group is regarded as one figure. The transformation, rotation, and movement of the object were realized.
[0005]
[Problems to be solved by the invention]
However, in the conventional method, in order to deform a specific figure in the group of figures once, it is necessary to solve the group of figures and perform a deformation operation. Since all the positional relationships with other figures disappear, there is a problem that the editor must deform or move other figures in accordance with the deformation.
[0006]
For example, if the shape of the bicycle handle and the shape of the body frame are related and grouped, they are treated as an integrated shape, so the handle alone cannot be made larger or smaller. It had to be enlarged or reduced, including the body frame. That is, when only the steering wheel is enlarged, the grouping of the steering wheel and the body frame is temporarily canceled, and only the steering wheel is enlarged. Then, the position of the enlarged steering wheel and the original body frame are adjusted, and the group is again formed. Had to be converted.
[0007]
SUMMARY OF THE INVENTION The present invention solves the above problems, and enables a group of figures having a certain relation, including their positional relations, to be collectively handled as a part, and also edits each of the related graphic elements. It is an object of the present invention to automatically edit related graphics according to the type of association by operation.
[0008]
[Means for Solving the Problems]
FIG. 1 is a diagram illustrating the principle of the present invention.
In FIG. 1, reference numeral 10 denotes a processing device including a CPU and a memory, 11 denotes a display device for displaying a figure to be created / edited, 12 denotes a position specifying device for specifying a position on a display screen such as a mouse or a keyboard, and 13 denotes a position specifying device. A graphic information storage unit, 14A and 14B are graphic header information having management information on the graphic, 15A and 15B are shape determining point information on points for determining the shape of the graphic, and 16 is related to a shape determining point of another graphic. Referenced point information on a point, 17 is an association processing means, 18 is a graphic operation processing means, 20A and 20B are figures to be edited, 21 is a reference point, and 22 is a reference point defined in relation to the reference point 21. , 23 represent predetermined binding points in the figure.
[0009]
The graphic information of each graphic displayed on the display device 11 includes graphic header information 14 and shape determining point information 15 for determining the shape of the graphic. Further, in the present invention, when a point in a figure is related to a shape determining point of another figure, the information is stored in the figure information storage unit 13 as referenced point information 16. The shape determining point of another figure related to the referenced point is called a reference point.
[0010]
The associating processing unit 17 inputs the reference / reference relationship between the shape determination point for determining the shape of the graphic and an arbitrary point on another graphic from the position specifying device 12, thereby obtaining the reference point information. 16 is a processing means for creating pointer information 16 and setting pointer information to the referenced point information 16 in the corresponding shape determination point information 15.
[0011]
When the referenced point moves due to the movement or deformation of the figure including the referenced point, the figure operation processing means 18 moves the reference point referring to it in cooperation with the referenced point, and moves the figure having the reference point. Alternatively, it is a processing unit that performs editing for deformation.
[0012]
The processing according to the present invention is performed as follows.
The associating processing means 17 transmits, for example, instruction information for associating a reference / reference with the reference point 21 in the graphic 20B and the referenced point 22 in the graphic 20A shown in FIG. Input from the position designation device 12. When the association instruction information is input, the reference point information 16 having the position information of the reference point 22 and the like is created, and the reference point information 16 is pointed from the shape determination point information 15 indicating the reference point 21. I do.
[0013]
When the graphic 20A is moved by the editing operation on the graphic 20A, for example, as shown in FIG. 1C, the referenced point 22 also moves. When detecting the movement of the referenced point 22, the figure operation processing unit 18 examines the referenced point information 16, obtains the shape determination point information 15 of the reference point 21 referring to the referenced point 22, 22, the figure 20B having the reference point 21 is moved or deformed. In the example of FIG. 1C, as the referenced point 22 moves upward, the reference point 21 also moves upward, and the figure 20B is deformed. In the case of this example, the right corner point at the base of the figure 20B is defined in advance as the binding point 23, so that the binding point 23 is not moved, and the figure 20B is deformed so as to extend in the vertical direction.
[0014]
The reference / reference relationship includes at least rotation, deformation, and a similar deformation type for enlarging or reducing. This type is determined by the input of the association instruction information or the positional relationship between the binding point 23 and the reference point 21 in the same figure. Note that the binding point 23 is one or more points that can be set in advance for each figure, and this information is stored in the figure information storage unit 13.
[0015]
When the reference point 21 is in a rotational reference relationship with respect to the referenced point 22, the figure 20 </ b> B having the reference point 21 rotates around, for example, the binding point 23 as the referenced point 22 moves. If the reference point 21 is in a deformed reference relationship with respect to the referenced point 22, the figure 20B having the reference point 21 is moved as the referenced point 22 moves, for example, as shown in FIG. Deform. When the reference point 21 has a similar deformation reference relationship with respect to the referenced point 22, the graphic 20 </ b> B having the reference point 21 is deformed so as to be enlarged or reduced with the movement of the referenced point 22.
[0016]
[Action]
In the present invention, the point that determines the shape of the figure 20B is set as the reference point 21, is related to the referenced point 22 on another figure 20A, and the related information is stored in the figure information storage unit 13, so that the figure 20A The figure 20B having the reference point 21 can be deformed / moved so that the relationship specified in advance is maintained even when the figure 20B is deformed or moved by the editing operation performed by the position specifying device 12.
[0017]
Further, when another shape determining point of the graphic 20B having the reference point 21 such as the binding point 23 is moved downward by the position specifying device 12, the relationship between the reference point 21 and the referenced point 22 is maintained. The figure 20B can be deformed so as to extend long downward.
[0018]
【Example】
FIG. 2 is a diagram illustrating an example of a data structure of graphic information according to the embodiment of the present invention.
For example, the reference / reference relationship between the graphic 20A and the graphic 20B shown in FIG. 2A is managed by a data structure as shown in FIG.
[0019]
Graphic header information 14A, 14B is provided for each graphic. The graphic header information 14A (similarly for 14B and the like) has information on a rectangular range occupied by the graphic (this is called an extent), information on the number of shape determination points, and a pointer to the top shape determination point information 15A. . Further, it has pointer information to shape decision point information defined as a binding point in the figure.
[0020]
The extent of the graphic 20A shown in FIG. 2A is an area in the range shown by the dotted rectangle, and the extent information in the graphic header information 14A includes the coordinates (x0, y0) of the point at the upper left corner of the extent. , Extent width w, and extent height h. The shape determination point information 15A has position information (x1, y1) relating to the vertices of the figure 20A, pointer information to the next point, and the like. When the shape determination point is a reference point associated with a point of another figure, a field for pointing to the referenced information and a field indicating the type of reference are provided in the shape determination point information 15A. Have been.
[0021]
The shape determination point information 15B shown in (b) of FIG. 2 is information of the shape determination point regarding the reference point 21 in (a), and the referenced point information 16 is information of the referenced point 22. The referenced point 22 does not need to be a shape determination point, but is an arbitrary point depending on the shape determination point of the figure 20A. Here, assuming that the position of the referenced point 22 depends on three shape determination points a, b, and c, the referenced point information 16 includes pointers to those points and a degree of dependence k for each point.a, Kb, KcIs set.
[0022]
As shown in FIG. 2C, the coordinates of each of the points a, b, and c are respectively represented by (xa, Ya), (Xb, Yb), (Xc, Yc), And the coordinates of the referenced point 22 are (xp, Yp). Dependency k from three pointsa, Kb, KcIs
xaka+ Xbkb+ Xckc= Xp
yaka+ Ybkb+ Yckc= Yp
ka+ Kb+ Kc= 1
Is a value obtained as a solution to the simultaneous equations
[0023]
The referenced point information 16 is dynamically created by the association processing unit 17 and has mutual pointer information between the reference point 21 and the shape determination point information 15B as the reference point 21. If there are a plurality of referenced points in the figure 20A, it has pointer information to the next referenced point information.
[0024]
FIG. 3 is a diagram illustrating an example of modification reference according to the embodiment of the present invention. In the figure, reference numeral 30 denotes a cursor indicating an operation position on the screen, 31 denotes an icon for designating various operations, and 32 denotes a display screen.
[0025]
A mouse is used as the position designation device 12 shown in FIG. 1, and the position of the cursor 30 changes according to the operation of the mouse. As shown in FIG. 3A, an icon 31 for instructing the operation of the deformation reference is selected by the cursor 30, and the figures 20A and 20B to be related are further selected.
[0026]
Here, when associating the shape determination point at the upper right of the figure 20B with one point on the lower side of the figure 20A, the cursor 30 is moved to the upper right point of the figure 20B as shown in (b) of FIG. , Press the mouse button. Then, while the mouse button is pressed, the cursor 30 is moved as shown in FIG. The operation of moving the cursor 30 with the mouse button pressed in this manner is called dragging.
[0027]
As shown in (d) of FIG. 3, the cursor 30 is moved to a point to be related on the graphic 20A, and when the drag is completed, the end point of the drag is changed to the reference point as shown in (e) of FIG. The figure 20B is transformed such that the reference point 21 which is recognized as 22 and is the drag start point on the figure 20B matches the position of the referenced point 22.
[0028]
The associating processing means 17 shown in FIG. 1 performs the above processing for the associating operation, and stores the reference / referenced relationship between the reference point 21 and the referenced point 22 in the graphic information storage unit 13 and the relationship. Is set as information indicating that is a transformation reference.
[0029]
After such graphic association is performed, if an operation of moving the graphic 20A to the left is performed, for example, as shown in FIG. 3F, the referenced point 22 also moves to the left. Therefore, the reference point 21 is moved accordingly, and the graphic 20B is automatically edited so that the horizontal width of the graphic 20B is reduced. As shown in FIG. 3G, when the graphic 20A moves rightward, the reference point 21 also moves rightward, and the graphic 20B is deformed long. The above graphic operation processing is executed by the graphic operation processing means 18 shown in FIG. 1 based on the reference / referenced relationship information in the graphic information storage unit 13.
[0030]
FIG. 4 is a diagram illustrating an example of rotation reference according to the embodiment of the present invention. As in the example shown in FIG. 3, a mouse is used as the position specifying device 12, and the position of the cursor 30 is changed by operating the mouse.
[0031]
As shown in FIG. 4A, an icon 31 for instructing a rotation reference operation is selected by the cursor 30, and graphics 20A and 20B to be related are further selected.
Here, when the shape determining point at the tip of the arrow of the graphic 20B is related so that it always points to one point on the left side of the graphic 20A, as shown in FIG. Bring to the tip of the arrow and press the mouse button. Then, while the mouse button is pressed, the mouse is dragged as shown in FIG. By dragging, the figure 20B rotates, and a rubber band as indicated by a dotted line is displayed.
[0032]
When the dragging is completed at the point to be related on the graphic 20A, the graphic 20B faces the drag end point (reference point 22) on the graphic 20A with the binding point 23 as the center, as shown in FIG. Rotate and re-display.
[0033]
In order to maintain this relationship, the association processing means 17 shown in FIG. 1 stores in the graphic information storage unit 13 a reference / reference relationship between the reference point 21 and the referenced point 22 and information indicating that the relationship is a rotation reference. Set.
[0034]
After such graphic association is performed, when an operation of moving the graphic 20A downward is performed, for example, as shown in (e) of FIG. 4, the graphic operation processing means 18 based on the rotational reference relation information , The reference point 22 and the reference point 21 operate in cooperation with each other, and the rotation operation of the figure 20B is performed so that the reference point 21 at the tip of the arrow of the figure 20B faces the direction of the reference point 22. Is
[0035]
FIG. 5 is a diagram showing an example of similarity modification reference according to the embodiment of the present invention.
The similar deformation is an operation of enlarging or reducing the figure 20B having the reference point 21 according to the movement of the referenced point 22. After selecting the similar deformation operation, the reference point 21 on the graphic 20B is related to the reference point 22 on the graphic 20A by the same operation as in FIG. 3 or FIG. wear. The association processing means 17 sets the reference / reference relationship between the reference point 21 and the referenced point 22 in the graphic information storage unit 13 and information indicating that the relationship is a similar deformation reference.
[0036]
After the association of the figures is performed, when the operation of moving the figure 20A is performed, for example, as shown in (b) of FIG. 5, the figure operation processing unit 18 based on the similar deformation reference relation information is performed. Through the processing, the reference point 21 is operated so as to operate in cooperation with the referenced point 22, a new position of the reference point 21 is calculated, and the figure 20B is enlarged or reduced.
[0037]
FIG. 6 is a diagram illustrating an example of movement reference according to the embodiment of the present invention.
A moving reference is a type of deformed reference. 6A, when the binding point 23 of the graphic 20B is selected as the reference point 21, that is, when the binding point 23 and the reference point 21 match, as shown in FIG. Become.
[0038]
In the case of moving reference, as shown in FIG. 6B, when the graphic 20A having the referenced point 22 moves, the graphic 20B is also moved as it is due to the relationship between the reference point 21 and the referenced point 22. Is
[0039]
FIG. 7 is a diagram illustrating an example of a deformation operation by a binding point according to the embodiment of the present invention.
As described in the example of FIG. 3 and the like, the type of reference can be specified by the icon 31 to determine the rotation or deformation operation. However, the deformation operation is determined by the positional relationship between the binding point 23 and the reference point 21. It can also be done.
[0040]
In FIG. 7, the position of the reference point 21a is a position of the reference point before the reference point moves, and the position of the reference point 21b is a virtual position in the direction in which the reference point is dragged along with the movement of the reference point. Indicates the position.
[0041]
For a two-dimensional figure as shown in FIG. 7A, a binding point 23 is defined at the upper left point, and the next point on the same side as the binding point 23 is a reference point 21a. Suppose. Assuming that the reference point 21a is pulled to the position of the reference point 21b by the movement of the referenced point (not shown), the graphic operation processing unit 18 needs to perform uniaxial deformation based on the positional relationship between the binding point 23 and the reference point 21a. Then, the rectangle is stretched as shown by the dotted line in (a).
[0042]
When the reference point 21a coincides with the binding point 23, the entire figure is moved in parallel with the binding point 23 (reference point) with the movement of the referenced point, as indicated by the dotted line in (b).
[0043]
When the reference point 21a is not a vertex but a point on a side, the figure is rotated around the binding point 23 in the direction of the reference point 21b, which is the direction of the referenced point, as shown in (c).
[0044]
Further, as shown in (d), when the reference point 21a is at a position diagonal to the binding point 23, the rectangle is biaxially deformed, and the figure is similarly deformed (enlarged / reduced) to the position of the reference point 21b. .
[0045]
Even when the figure is a three-dimensional figure, similarly, for example, the deformation operation is determined as follows based on the positional relationship between the binding point 23 and the reference point 21a.
FIG. 7E shows an example of uniaxial deformation. When the reference point 21a is the next point on the same side as the binding point 23, the rectangular figure is stretched in the direction of the reference point 21b.
[0046]
If the reference point 21a is a diagonal point that is not on the same plane as the binding point 23, a three-dimensional similarity transformation is performed on the three-dimensional figure as shown in FIG. Let it.
[0047]
When the reference point 21a is on a diagonal point on the same plane as the binding point 23, as shown in (g), biaxial deformation is performed up to the position of the reference point 21b to expand and contract the length and width. FIG. 7H shows an example of uniaxial rotation. In this example, two points, a binding point 23-1 and a binding point 23-2, are defined as binding points. Assuming that a point on the side of this figure is a reference point 21a and this is pulled to the reference point 21b with the movement of the referenced point, a cubic point is set about the axes of the binding points 23-1 and 23-2. The original figure is rotated as shown by the dotted line.
[0048]
FIGS. 7A and 7B show an example of a reference editing operation on a continuous line. For example, as shown in FIG. Accordingly, the figure is deformed up to the reference point 21b by one-point deformation. When the reference point 21a is the binding point 23, the entire figure is translated as shown in (nu).
[0049]
Note that the example shown in FIG. 7 is an example of a deformation operation of a figure referring to a referenced point. In the present embodiment, instead of moving the referenced point, reference is made directly from the position of the reference point 21a using a mouse or the like. Even when the shape determination point is dragged to the position of the point 21b, the figure is edited by the same determination of the deformation operation.
[0050]
FIG. 8 is an explanatory diagram of a grip display according to the embodiment of the present invention.
In the case of the present invention, when selecting a point to have a reference / referenced relationship, it is necessary to determine on the screen on the display device 11 which point is a shape determination point, in particular, which point is a binding point. You need to be able to identify it quickly. In addition, it is necessary to be able to immediately distinguish points defined as reference points from points that are not reference points.
[0051]
Therefore, in the present embodiment, a point that is a candidate for designation of a figure editing operation is referred to as a “grip”, and the grip can be displayed with a specific mark. The grip includes a binding point grip indicating a binding point and a normal grip other than the binding point.
[0052]
If the point is not selected as an operation target, the grip is usually displayed as a square mark as shown in FIG. On the other hand, the binding point is displayed as a diamond-shaped figure as shown in (b). When those points are selected as operation targets by the position specifying device 12 shown in FIG. 1, the marks are enlarged and displayed as shown in (c) or (d), respectively. Further, when these grips are not reference points, they are displayed as marks shown in the upper part of (a), and when they are reference points, they are displayed as white marks in the lower part of (a). For example, the binding point grip may be displayed in another shape such as a circle, or each mark may be displayed so as to be identified by color.
[0053]
These marks are generally unnecessary after the creation / edit of the figure is completed. Therefore, in this embodiment, the mode is switched between the grip non-display mode and the grip display mode automatically when a figure is selected or by a display mode selection designation operation.
[0054]
In the grip non-display mode, when a figure is a rectangle, only the shape of the figure is displayed as shown in (b) of FIG. When the grip display mode is selected, grips are displayed according to the type of each shape determination point, as shown in (c) of FIG. In this example, nine grips are provided for a rectangular figure. Although not shown, if the figure is a circle, for example, a rectangular figure surrounding the circle is assumed, and nine grips are automatically provided at positions corresponding to the grip positions.
[0055]
FIG. 9 is an explanatory diagram of the association processing according to the embodiment of the present invention. The associating processing means 17 shown in FIG. 1 associates a plurality of figures by the processes (a) to (g) shown in FIG.
[0056]
(A) The designation of a figure reference designation mode such as deformation reference, rotation reference, and similar deformation reference is input. This processing may be executed after the figure selection according to the following (b).
[0057]
(B) Inputting a selection instruction by a mouse operation for a plurality of figures to be related, and recognizing a relation target.
(C) For the selected figure, a grip as shown in FIG. 8 is displayed to facilitate the operation.
[0058]
(D) If the grip on the selected figure is dragged by operating the mouse button, the shape determination point of the drag start point is recognized as a reference point.
(E) The drag end point on another selected figure is set as a referenced point. If the drag end point is not on another selected figure, the association operation is invalidated.
[0059]
(F) When the referenced point is determined, the dependent point is determined from the positional relationship between the shape determining point in the figure and the referenced point, and the degree of dependence is calculated. Then, the referenced point information 16 is created and stored in the graphic information storage unit 13. In the referenced point information 16, position information of the referenced point, a dependent point, a degree of dependence, a type of reference, and the like are set, and a pointer to the shape determination point information 15 of the reference point is set. On the other hand, a pointer to the referenced point information 16 is set in the reference point shape determination point information 15.
[0060]
(G) Update the figure having the reference point so as to match the referenced point and redisplay.
FIG. 10 is an explanatory diagram of the graphic operation processing according to the embodiment of the present invention. The graphic operation processing means 18 shown in FIG. 1 executes an editing operation on a graphic having associated points by the processing (a) to (g) shown in FIG. This process is called and executed when a point on the graphic is operated by the mouse and when a related referenced point is moved by some operation.
[0061]
(A) Receive notification of a point movement on a graphic.
(B) The editing mode of the figure in which the point moves is determined by the edit mode such as rotation / deformation / similar deformation, the type of reference, or the positional relationship between the moving point and the binding point, and the movement / rotation / deformation / Perform figure editing processing such as similar deformation.
[0062]
(C) Redraw the updated graphic on the display device 11.
(D) The graphic information storage unit 13 is searched to determine whether or not the updated graphic includes the referenced point information 16. If there is no referenced point information 16, the process is terminated.
[0063]
(E) If the referenced point information 16 exists, a new position of the referenced point is calculated from the degree of dependence on another point. The referenced point depends on three points a, b, and c, and the degree of dependence on each point is ka, Kb, Kc, The new coordinates (xp, Yp)
xp= Xaka+ Xbkb+ Xckc
yp= Yaka+ Ybkb+ Yckc
Is calculated. Note that (xa, Ya), (Xb, Yb), (Xc, Yc) Are the coordinates of points a, b, and c after the graphic update.
[0064]
(F) Based on the difference between the old coordinates and the new coordinates of the referenced point, the movement amount of the reference point according to the type of reference is calculated, and the movement of the point is notified. That is, the editing operation of the figure having the reference point that refers to the referenced point is recursively executed.
[0065]
(G) If there is a next reference point, the processing (e) and (f) are similarly repeated.
As is clear from the description of the present embodiment, the present system can be realized by a processing mechanism using ordinary sequential processing. For example, the shape determination point information 15 and the like are configured as an object including an operation procedure and an internal state value. , Can be realized by an object-oriented processing mechanism that advances processing by message passing. In this case, it is possible to simplify the processing configuration particularly regarding the reference / reference relationship.
[0066]
The reference / reference relationship between the figures can be canceled by a relationship canceling operation. When the relation canceling operation is performed, the referenced point information 16 is deleted and treated as independent figures.
[0067]
FIG. 11 is a diagram illustrating an example of a hardware configuration used in the embodiment of the present invention.
The present invention can be implemented by a known hardware mechanism as shown in FIG. 11, for example. The display adapter 103, the random access memory (RAM) 105, the CPU 106, and the disk adapter 108 are connected to the system bus 107. A graphic display 100, a keyboard 101, a mouse 102, and a video memory (VRAM) 104 are connected to the display adapter 103, and the contents of the VRAM 104 are displayed on the graphic display 100 via the display adapter 103. A disk storage device 109 such as a magnetic disk is connected to the disk adapter 108, and the disk adapter 108 controls data transfer between the RAM 105 and the disk storage device 109 according to input / output instructions of the CPU 106.
[0068]
The graphic display 100, the keyboard 101, the mouse 102, and the display adapter 103 correspond to the display device 11 and the position designation device 12 shown in FIG. The graphic information storage unit 13 shown in FIG. 1 is provided in the RAM 105 or the disk storage device 109.
[0069]
Of course, the present invention is not limited to the system shown in FIG. 11, but can be implemented by a general-purpose computer, a workstation type computer, or a general personal computer.
[0070]
【The invention's effect】
As described above, according to the present invention, a group of figures having a certain relation can be collectively handled as a part, including their positional relations, and a graphic group corresponding to each of the related graphic elements can be handled. By the editing operation, it becomes possible to automatically edit related graphics according to the type of association without inconsistency. In particular, in the case of moving image editing such as animation, grouping a plurality of figures by the conventional method would fix the entire figure, but according to the association of figures according to the present invention, individual graphic elements were deformed. In addition, since the portion affected by the deformation can be automatically followed, the editing operation becomes extremely easy.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating the principle of the present invention.
FIG. 2 is a diagram illustrating an example of a data structure of graphic information according to the embodiment of the present invention.
FIG. 3 is a diagram illustrating an example of a modification reference according to the embodiment of the present invention.
FIG. 4 is a diagram showing an example of rotation reference according to the embodiment of the present invention.
FIG. 5 is a diagram showing an example of similarity modification reference according to the embodiment of the present invention.
FIG. 6 is a diagram showing an example of movement reference according to the embodiment of the present invention.
FIG. 7 is a diagram illustrating an example of a deformation operation by a binding point according to the embodiment of the present invention.
FIG. 8 is an explanatory diagram of a grip display according to the embodiment of the present invention.
FIG. 9 is an explanatory diagram of an associating process according to the embodiment of the present invention.
FIG. 10 is an explanatory diagram of a graphic operation process according to the embodiment of the present invention.
FIG. 11 is a diagram illustrating an example of a hardware configuration used in an embodiment of the present invention.
[Explanation of symbols]
10 Processing equipment
11 Display device
12 Positioning device
13 Graphic information storage
14A, 14B graphic header information
15A, 15B Shape decision point information
16 Referenced point information
17 Association processing means
18 figure operation processing means
20A, 20B figure
21 Reference point
22 Referenced point
23 Binding Point

Claims (3)

画面上の位置を入力する位置入力装置を用いて図形を編集する図形編集装置において,
前記位置入力装置により指定された第一図形上の参照点と前記位置入力装置により指定された第二図形上の被参照点とを関連付ける関連付手段と,
図形中にあらかじめ設定された束縛点の定義情報を記憶する手段と,
第二図形に対する図形編集操作により被参照点が移動した場合,前記関連付手段により関連付けられた第一図形上の参照点を被参照点に協調させて移動させると共に,当該参照点が束縛点として設定されている場合には,当該参照点を持つ第一図形を被参照点の移動に合わせて平行移動させ,第一図形上において当該参照点と異なる点が束縛点として設定されている場合には,当該束縛点の表示画面上での位置を固定した状態で第一図形を変形させる処理手段と
を有することを特徴とする図形編集装置。
In a figure editing apparatus for editing a figure using a position input device for inputting a position on a screen,
Association means for associating a reference point on the first graphic designated by the position input device with a referenced point on the second graphic designated by the position input device;
Means for storing preset binding point definition information in the figure;
If the referenced point by graphic editing operation for the second figure is moved, it is moved by coordinated to the referenced point reference point on the first graphic associated by the association means, the reference point is constrained point If the first figure with the reference point is translated in parallel with the movement of the referenced point, and a point different from the reference point on the first figure is set as the binding point And a processing unit for deforming the first figure while fixing the position of the binding point on the display screen .
前記関連付手段は,参照点と被参照点との関係として回転参照の関係情報を設定する手段を有し,
前記処理手段は,第一図形上において参照点と異なる点が束縛点として設定されており,第二図形に対する図形編集操作により当該参照点と回転参照の関係がある被参照点が移動した場合に,前記束縛点を中心として第一図形上の参照点を被参照点に協調させて移動させ,第一図形を回転させる処理を行う手段を有する
ことを特徴とする請求項1記載の図形編集装置。
The associating means includes means for setting rotation reference relationship information as a relationship between the reference point and the referenced point;
The processing means is configured to set a point different from the reference point on the first graphic as a binding point, and to move a reference point having a rotational reference relationship with the reference point by a graphic editing operation on the second graphic. The apparatus according to claim 1, further comprising means for moving a reference point on the first figure around the bound point in cooperation with the referenced point and rotating the first figure. Figure editing device.
前記関連付手段は,参照点と被参照点との関係として相似変形参照の関係情報を設定する手段を有し,
前記処理手段は,第二図形に対する図形編集操作により被参照点が移動した場合に,当該被参照点に相似変形参照の関係がある第一図形上の参照点を当該被参照点に協調させて移動させ,第一図形の全体を拡大または縮小する処理を行う手段を有する
ことを特徴とする請求項1または請求項2記載の図形編集装置。
The associating means includes means for setting relation information of similar deformation reference as a relation between a reference point and a referenced point,
The processing means cooperates with a reference point on the first graphic having a similar deformation reference relationship with the referenced point when the referenced point is moved by a graphic editing operation on the second graphic. The figure editing apparatus according to claim 1 or 2, further comprising means for moving the first figure to enlarge or reduce the entire first figure .
JP24111592A 1992-09-10 1992-09-10 Figure editing device Expired - Fee Related JP3599198B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP24111592A JP3599198B2 (en) 1992-09-10 1992-09-10 Figure editing device
PCT/JP1993/001303 WO1994006090A1 (en) 1992-09-10 1993-09-10 Graphic editor and processing method
GB9409280A GB2277661B (en) 1992-09-10 1993-09-10 Graphic editor and processing method
GB9618852A GB2303281B (en) 1992-09-10 1993-09-10 Graphic editing apparatus and method
GB9618919A GB2303282B (en) 1992-09-10 1993-09-10 Graphic editing apparatus
US08/786,190 US5926186A (en) 1992-09-10 1997-01-21 Graphic editing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24111592A JP3599198B2 (en) 1992-09-10 1992-09-10 Figure editing device

Publications (2)

Publication Number Publication Date
JPH0696177A JPH0696177A (en) 1994-04-08
JP3599198B2 true JP3599198B2 (en) 2004-12-08

Family

ID=17069511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24111592A Expired - Fee Related JP3599198B2 (en) 1992-09-10 1992-09-10 Figure editing device

Country Status (1)

Country Link
JP (1) JP3599198B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10143348A (en) * 1996-11-08 1998-05-29 Meidensha Corp Mouse event processing method, and gui part
JP3773670B2 (en) * 1998-09-30 2006-05-10 株式会社東芝 Information presenting method, information presenting apparatus, and recording medium
JP2001076163A (en) * 1999-09-01 2001-03-23 Ryobi Ltd Method and device for arranging graphic
JP2001134261A (en) * 1999-11-02 2001-05-18 Nippon Telegr & Teleph Corp <Ntt> Graphic group compatible fish-eye magnification display method and device therefor, and recording medium having recorded program for the method thereon
JP2003241359A (en) * 2001-12-13 2003-08-27 Dainippon Screen Mfg Co Ltd Layout processor, layout processing method, recording medium and program
JP2003191846A (en) * 2002-12-09 2003-07-09 Hitachi Ltd Operation arrangement device
US8655051B2 (en) 2003-01-31 2014-02-18 Fujitsu Limited Image editing method, image editing apparatus, computer program, and memory product
US7554689B2 (en) 2003-10-15 2009-06-30 Canon Kabushiki Kaisha Document layout method
JP4967934B2 (en) 2007-09-04 2012-07-04 富士ゼロックス株式会社 Image processing apparatus and program
JP6953208B2 (en) * 2017-07-07 2021-10-27 三菱電機株式会社 Screen editing device, screen editing method, and screen editing program

Also Published As

Publication number Publication date
JPH0696177A (en) 1994-04-08

Similar Documents

Publication Publication Date Title
JP2642021B2 (en) Display systems
US5914715A (en) Analytical data display method and apparatus
JPH05307476A (en) Tree structure displaying and editing device
JP3186241B2 (en) Figure editing device
JP3599198B2 (en) Figure editing device
JP3369734B2 (en) Three-dimensional computer-aided design apparatus and method
JPH07220109A (en) Information processing device/method
JP2000057361A (en) Graphic editing device
JPH08255221A (en) Character graphic input editing device
JP2981516B2 (en) 3D shape editing device
JPH06119430A (en) Graphic display device
JP2616427B2 (en) String display device
JP2616426B2 (en) String display device
JPH03116285A (en) Graphic producing device
JPH04330568A (en) Cad for pattern layout
JP2879831B2 (en) Graphic element extraction method
JPH08171646A (en) Graphic preparation device
JPH04191972A (en) Editing system for character attribute
JPH0214373A (en) Three-dimensional point designating system
JP2000207087A (en) Displayed graphic selecting method
JPH01134673A (en) Method and device for displaying data of block chart
JPH11175714A (en) Document preparation device
JP2001046768A (en) Embroidery data preparation device
JPS63229568A (en) Moving method for display picture
JPS62279475A (en) Graphic processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040727

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080924

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090924

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees