JP4064870B2 - Information processing apparatus, command execution method, and command execution program - Google Patents
Information processing apparatus, command execution method, and command execution program Download PDFInfo
- Publication number
- JP4064870B2 JP4064870B2 JP2003157757A JP2003157757A JP4064870B2 JP 4064870 B2 JP4064870 B2 JP 4064870B2 JP 2003157757 A JP2003157757 A JP 2003157757A JP 2003157757 A JP2003157757 A JP 2003157757A JP 4064870 B2 JP4064870 B2 JP 4064870B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- display screen
- virtual line
- distance
- designated
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 37
- 230000010365 information processing Effects 0.000 title claims description 29
- 230000006870 function Effects 0.000 description 65
- 241000699666 Mus <mouse, genus> Species 0.000 description 26
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 3
- 238000012800 visualization Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、情報処理装置、コマンド実行方法、及びコマンド実行プログラムに係わり、特に、表示画面に情報を表示する表示手段と、前記表示画面上の位置を指定するための位置指定手段とを備えた情報処理装置、コマンド実行方法、及びコマンド実行プログラムに関する。
【0002】
【従来の技術】
一般に、情報処理装置では、コマンドと対応付けられた操作ボタンや、複数の操作ボタンを並べて配置した所謂ツールバーをディスプレイの表示画面上に配置し、マウスなどのポインティングデバイスの操作によって操作ボタンが選択されることによってコマンド入力が行われている。このように操作ボタンをコマンド入力に用いる場合、本来表示したい情報の表示領域が操作ボタンの表示により制約を受けてしまう。また、制御量を変更可能なコマンドの場合、当該コマンドに対応する操作ボタンの選択とその制御量の指定との少なくとも2回の操作が必要とされるので、ユーザの操作が煩雑になることがある。
【0003】
特に、仮想空間内をユーザが歩き回っているかのようにディスプレイの表示画面を切り替えるウォークスルー機能を提供する場合、仮想空間内でのユーザの視点位置を上下左右前後に移動したり、左右上下に振ったり(所謂パン)、投影スクリーンを前後に移動する機能と共に、より広い仮想空間の表示領域が求められる。しかしながら、図13に示すように、視点を上下左右前後に移動させるための操作ボタン300Aや、視点を左右上下に振ったりするための操作ボタン300Bや、投影スクリーンを前後に移動させるための操作ボタン300Cを、それぞれの方向毎に設けられるための表示スペース302を確保する必要があり、この表示スペース302の分だけ仮想空間を表示するための表示画面304が狭くなってしまう。また、視点の位置を移動させるためには、ユーザは、表示スペース302内に設けられた入力欄306に移動量を入力してから、移動させたい方向に対応した操作ボタン300Aを選択しなければならず、仮想空間内を自由に歩き回る場合は視点位置の移動が頻繁に行われるため、ユーザの操作が大変面倒なものになってしまう。
【0004】
このため、従来より、仮想空間内をウォークスルーする際に、入力操作を円滑に且つ直感的に分かり易く行うことができる専用の三次元座標入力装置がある(例えば、特許文献1)。
【0005】
【特許文献1】
特開平10−149256号公報
【0006】
【発明が解決しようとする課題】
しかしながら、従来技術では、上記の三次元座標入力装置を情報処理装置の新規デバイスとして接続して用いなければならず、情報処理装置が通常備えているデバイスのみでコマンド入力を行うことはできなかった。
【0007】
本発明は上記問題点を解消するためになされたもので、情報表示領域に制約を与えることなく、且つ特別なデバイスを必要とせずに、コマンド入力を容易に行うことができる情報処理装置、コマンド実行方法、及びコマンド実行プログラムを提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1に記載のコマンド実行方法は、表示画面上に設定された仮想線を基準とした前記表示画面上の位置を、前記仮想線により区切られた面である面的要素、前記仮想線上である線的要素、及び複数の前記仮想線の交点である点的要素に区分し、前記点的要素に対して所定の情報処理を行うコマンドを対応付け、前記面的要素に対して表示画面上の位置の前記仮想線からの距離に応じて実行時の制御量を調整可能なコマンドを対応付け、前記線的要素に対して表示画面上の位置の前記仮想線の交点からの距離に応じて実行時の制御量を調整可能なコマンドを対応付ける対応情報を予め記憶しておき、前記表示画面上の位置が指定された場合に、当該指定された位置が前記点的要素である場合には、当該指定された位置と前記対応情報によって対応付けられているコマンドし、当該指定された位置が前記面的要素である場合には、当該指定された位置の前記仮想線からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記線的要素である場合には、当該指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行する、ことを特徴としている。
【0009】
請求項1に記載のコマンド実行方法によれば、仮想線を基準とした表示画面上の位置を、仮想線により区切られた面である面的要素、仮想線上である線的要素、及び複数の仮想線の交点である点的要素に区分し、点的要素に対して所定の情報処理を行うコマンドを対応付け、面的要素に対して表示画面上の位置の仮想線からの距離に応じて実行時の制御量を調整可能なコマンドを対応付け、線的要素に対して表示画面上の位置の仮想線の交点からの距離に応じて実行時の制御量を調整可能なコマンドを対応付ける対応情報が予め記憶されている。すなわち、対応情報により、仮想線を基準とした表示画面上の位置とコマンドとが予め対応付けられている。表示画面上の位置が指定された場合に、この指定された位置が点的要素である場合には、指定された位置と対応付けられているコマンドが実行され、指定された位置が面的要素である場合には、当該指定された位置の仮想線からの距離に応じて制御量を求めて当該指定された位置と対応付けられているコマンドが実行され、当該指定された位置が線的要素である場合には、指定された位置の仮想線の交点からの距離に応じて制御量を求めて指定された位置と対応付けられているコマンドが実行される。
【0010】
これにより、ユーザは、表示画面上の位置を指定するだけで、所望のコマンドを実行させることができるので、コマンド入力操作が容易である。また、単に表示画面上の位置を単に指定できればよく、この位置指定は、マウス、タッチパネルディスプレイ、タブレットなどの汎用のポインティングデバイスを位置指定手段として使用することで行うことができる。したがって、従来技術のように特別なデバイスを必要とすることもない。また、仮想線により表示画面上の位置を定義するので、たとえこの仮想線を表示画面上に表示しても、線であるため、従来の操作ボタンのように面積を必要とせず、情報表示領域に制約を与えることもない。
また、少ない仮想線数でも多数のコマンドを表示画面上の位置に対応付けることができ、表示画面上に仮想線を表示したときの影響をより小さくすることができる。
さらに、表示画面上の位置を1回指定するだけで、コマンド入力とその制御量の入力を同時に行うことができ、操作性をより向上させることができる。
【0011】
上記のコマンド実行方法は、以下のようなコマンド実行プログラムをコンピュータに実行させることで容易に実現可能である。すなわち、請求項2に記載されているように、記憶手段と、表示画面に情報を表示する表示手段と、前記表示画面上の位置を指定するための位置指定手段と、を備えたコンピュータにコマンドを実行させるためのコマンド実行プログラムであって、表示画面上に設定された仮想線を基準とした前記表示画面上の位置を、前記仮想線により区切られた面である面的要素、前記仮想線上である線的要素、及び複数の前記仮想線の交点である点的要素に区分し、前記点的要素に対して所定の情報処理を行うコマンドを対応付け、前記面的要素に対して前記位置指定手段により指定された位置の前記仮想線からの距離に応じて実行時の制御量を調整可能なコマンドを対応付け、前記線的要素に対して前記位置指定手段により指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を調整可能なコマンドを対応付ける対応情報が前記記憶手段に予め記憶されている状態で、前記位置指定手段により前記表示画面上の位置が指定された場合に、当該指定された位置が前記点的要素である場合には、当該指定された位置と前記対応情報によって対応付けられているコマンドを実行させ、当該指定された位置が前記面的要素である場合には、当該指定された位置の前記仮想線からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行させ、当該指定された位置が前記線的要素である場合には、当該指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行させる、ことを特徴とするコマンド実行プログラムをコンピュータに実行させればよい。
【0012】
また、上記のコマンド実行方法は、以下のような情報処理装置により容易に実現可能である。すなわち、この情報処理装置は、請求項3に記載されているように、表示画面に情報を表示する表示手段と、前記表示画面上の位置を指定するための位置指定手段と、前記表示画面上に設定された仮想線を基準とした前記表示画面上の位置を、前記仮想線により区切られた面である面的要素、前記仮想線上である線的要素、及び複数の前記仮想線の交点である点的要素に区分し、前記点的要素に対して所定の情報処理を行うコマンドを対応付け、前記面的要素に対して前記位置指定手段により指定された位置の前記仮想線からの距離に応じて実行時の制御量を調整可能なコマンドを対応付け、前記線的要素に対して前記位置指定手段により指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を調整可能なコマンドを対応付ける対応情報を記憶する記憶手段と、前記位置指定手段により前記表示画面上の位置が指定された場合に、当該指定された位置が前記点的要素である場合には、当該指定された位置と、前記記憶手段に記憶されている前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記面的要素である場合には、当該指定された位置の前記仮想線からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記線的要素である場合には、当該指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行するコマンド実行手段と、を備えればよい。
【0014】
また、上記の情報処理装置においては、請求項4に記載されているように、前記記憶手段が、前記仮想線の設定パターンが互いに異なる複数のモデルの前記対応情報を記憶しており、前記モデルの指定情報が入力され、当該入力された指定情報に基づいて前記モデルを選択する選択手段を更に備え、前記コマンド実行手段が、前記選択手段により選択したモデルの前記対応情報に基づいて、実行するコマンドを選択するとよい。これにより、実現したい機能に応じて、ユーザが操作し易いモデルを選択することができる。
【0015】
また、上記の情報処理装置においては、請求項5に記載されているように、前記表示画面上に前記仮想線を設定する設定手段と、前記設定手段により表示画面上に設定した前記仮想線を基準とした前記表示画面上の各位置に対して、コマンドを割り当てるコマンド割当手段と、前記設定手段により表示画面上に設定した前記仮想線を基準とした前記表示画面上の位置と、前記割当手段により割当てたコマンドとを対応付けた前記対応情報を生成する対応情報生成手段と、を更に備え、前記対応情報生成手段により生成された前記対応情報が前記記憶手段に記憶されるようにするとよい。これにより、各ユーザが感覚的に操作し易いように任意にモデルを設定することができる。
【0017】
また、上記の情報処理装置においては、請求項6に記載されているように、前記コマンドが、前記表示画面に仮想空間を表す画像を表示してウォークスルー機能を提供する際に、表視点を上下左右前後に移動させる、投影スクリーンを遠近させる、視点を上下左右に回転させる、視点を正面に戻す、の何れかを指示するコマンドであるとよい。これによりウォークスルー機能で必要とされた多数の操作ボタンを不要にすることができ、仮想空間の表示領域を従来よりも広くすることができる。
【0018】
この場合、請求項7に記載されているように、前記コマンドが、前記位置指定手段により指定された位置の前記仮想線又は前記仮想線の交点からの距離に応じて、視点を移動させる距離、投影スクリーンを遠近させる距離、視点を回転させる角度、移動させる速度、遠近させる速度、及び回転させる速度の何れかを調整可能にするとよい。これにより、ユーザは、より少ない操作で仮想空間内を自由に歩き回っているかの如く仮想体験をすることができる。
【0019】
【発明の実施の形態】
次に、図面を参照して本発明に係る実施形態の1例を詳細に説明する。なお、以下では、情報処理装置として一般的なパーソナルコンピュータ(以下、「PC」と称す)に本発明を適用した例について説明する。
【0020】
[全体構成]
図1に本発明が適用されたPC10を示す。図1に示すように、PC10は、表示手段としてのディスプレイ12と、入力手段としてのキーボード14と、位置指定手段としてのマウス16とを付属デバイス(周辺機器)として備えている。また、PC10は、CPU20と、RAM22と、ROM24と、HDD26と、ディスプレイ12、キーボード14、マウス16の各々とデータを入出力するためのインタフェース回路(以下、「I/F」と称す)28、30、32とを備えている。これらCPU20、RAM22、ROM24、HDD26、I/F28、I/F30、及びI/F32は、バスBUSを介して接続されている。なお、位置指定手段には、マウス16以外にも、タッチパネルディスプレイ、タブレットなど汎用のポインティングデバイスを用いることができる。
【0021】
上記のハードウェア構成はPCの一般的な構成であるため、以下では詳細な説明は省略し、本発明に係わる部分のみ詳細に説明する。
【0022】
ROM24には、OS(Operating System)を始めとする当該PC10を動作させるための各種プログラムが予め格納されており、特に本発明に係わるものとして、マウス16により指定された画面上の位置に応じてコマンドを実行するためのプログラム34が格納されている。なお、プログラム34は、HDD26に格納することも可能である。
【0023】
このプログラム34は、モデル設定処理(後述)を実行させるためのサブプログラム34Aと、コマンド実行処理(後述)を実行させるためのサブプログラム34Bとを備えている。なお、サブプログラム34Aは、ユーザからの指示入力により実行されるが、サブプログラム34Bについては、ユーザからの指示入力により実行してもよいし、予めサブプログラム34Bを所定の処理を行うアプリケーションプログラムと対応付けておき、該アプリケーションプログラムの起動時や実行時の所定のタイミングでサブプログラム34Bが呼び出されて実行されるようにしてもよい。
【0024】
PC10では、CPUによりサブプログラム34A、サブプログラム34Bを実行することにより、上記のハードウェア資源を利用して、以下のような機能が構築されるようになっている。
【0025】
[機能構成]
図2にPC10の機能構成を示す。図2に示すように、PC10には、サブプログラム34Aの実行により、設定手段としてのモデル定義部40、コマンド割当手段としてのコマンド割当部42、及び対応情報生成手段としての機能テーブル生成部44が構築され、サブプログラム34Bの実行により、選択手段としてのモデル選択部50、及びコマンド実行手段としてのコマンド選択・実行部52が構築される。
【0026】
モデル定義部40は、ユーザの操作によるキーボード14からの指示入力を受け付け、入力された指示に従って、図3に示すように、モデル毎に、ディスプレイ12に表示される表示画面70上に仮想線VLを設定し、仮想線VLを基準として表示画面70上の位置を定義する。なお、ユーザのマウス16の操作により指示入力を受けるようにしてもよい。また、図3では仮想線VLを点線で示しており、以降の説明で用いる他の表示画面を示す図もこれに従う。
【0027】
より詳しくは、モデル定義部40は、仮想線VLを設定することによって、仮想線VLにより区切られた面である面的要素、仮想線VL上である線的要素、複数の仮想線VLの交点である点的要素というように、表示画面70の領域を複数の要素に区分する。
【0028】
なお、このとき表示画面70上に設定する仮想線VLの種類(形状、長さ)や本数については、特に限定されるものではない。すなわち、図3の(A)に示す如く長短の仮想線VLが混在していてもよいし、(B)に示す如く表示画面70の各辺に平行に複数の仮想線VLを設けてもよいし、(C)に示す如く表示画面70の対角線となる仮想線VLを設けてもよい。図3(A)〜(C)は、直線の仮想線VLを示したが、仮想線は曲線であってもよい。また、所定の図形を描くように仮想線VLを設定してもよく、例えば(D)に示す如く円を描く仮想線VLを設けたり、(E)に示す如く矩形を描くように仮想線VLを設けることもできる。
【0029】
また、ユーザがマウス16を操作したときの指定誤差を考慮して、仮想線VLを所定の線幅を有する線として扱うことが好ましく、この場合の仮想線VLの線幅を任意に設定可能にしてもよい。このため、本実施の形態では、実際には、図4に一例を示す如く、線的要素及び点的要素についても面積を有する領域となっている。なお、図4では、仮想線VLを点線、その線幅を一点鎖線で示しており、表示画面70の中央を通り、且つ表示画面70のX方向及びY方向に渡る2本の長い仮想線VL(X)、VL(Y)を設定して、A〜Dの4つの面的要素、E〜Hの4つの線的要素、Iの1つの点的要素の計9つの要素を定義した例である。
【0030】
また、仮想線VLにより定義可能な全て要素を定義する必要はなく、定義する要素数については、使用したいコマンドの個数に応じて適宜選択することができる。例えば、図4では、面的要素のC,Dについては定義せずに、定義要素を計7つにしてもよい。
【0031】
コマンド割当部42は、ユーザの操作によるキーボード14からの指示入力を受け付け、入力された指示に従って、モデル定義部40において定義した領域の各要素に対してコマンドを割り当てるものである。なお、ユーザのマウス16の操作により指示入力を受けるようにしてもよい。
【0032】
より詳しくは、コマンド割当部42では、モデル定義部40で定義された要素(図4の例では、9つの要素A〜I)各々に対して、予めPC10で実行可能に定義されているコマンドを対応付けるが、このとき、次の表1に示すように、点的要素に対しては、ある所定の処理を行うだけの単純コマンドを割り当てるが、面的要素及び線的要素に対しては、単純コマンドと、制御量の調整も可能な量的調整コマンドの何れかを割り当てることができる。
【0033】
【表1】
【0034】
ここで面的要素に割り当てる量的調整コマンドとは、仮想線VLからの距離に応じて制御量を変化させるものであり、例えば、図4の面的要素である要素Aの領域内において、仮想線VL(X)上の点P01の制御量がD01であり、仮想線VL(X)からの距離に応じて制御量を線形変化させて、仮想線VL(X)から距離L1の位置にある点PL1の制御量をDL1にするようなコマンドである。この場合、仮想線VL(X)からの距離がα1である点Pα1の制御量Dα1は、以下の式(1)により決定される。
【0035】
【数1】
【0036】
また、線的要素に割り当てる量的調整コマンドとは、複数の仮想線VLの交点からの距離に応じて制御量を変化させるものであり、例えば、図4の線的要素である要素Gの領域内において、仮想線VL(X)及び仮想線VL(Y)の交点である点P02の制御量がD02であり、点P02からの距離に応じて制御量を線形変化させて、仮想線VL(X)上のP02から距離L2の位置にある点PL2の制御量をDL2にするようなコマンドである。この場合、点P02からの距離がα2である点Pα2の制御量Dα2は、以下の式(2)により決定される。
【0037】
【数2】
【0038】
したがって、量的制御コマンドを割り当てる場合は、上記式(1)、(2)のような制御量を求めるための計算式を定義する必要がある。なお、上記では、制御量が距離に応じて線形変化する(すなわち制御量を求めるための計算式が変数である距離の1次式となる)場合を例に説明したが、本発明はこれに限定されるものではなく非線形変化するようにしてもよい。
【0039】
機能テーブル生成部44は、対応情報として、モデル定義部40において定義した領域の各要素と、コマンド割当部42により割り当てたコマンドとの対応を示す機能テーブル72(図2参照)を生成して、例えばHDD26の所定領域を記憶手段として用いて、生成した機能テーブル72を記憶するものである。
【0040】
より詳しくは、機能テーブル生成部44では、図5示すように、面的要素、線的要素については、当該要素の名称(該要素を識別するための符号、該要素の境界となる表示画面70上の座標(始点・終点)、或いはこの座標の記憶位置を示すメモリアドレスなどでもよい)と、当該要素に割り当てたコマンドの名称(コマンド名)及び割り当てたコマンドが量的制御コマンドの場合は制御量を求めるための計算式との対応を表すテーブルデータ72A、72Bを生成し、点的要素の場合は、当該要素の名称と、当該要素に割り当てたコマンドの名称との対応を表すテーブルデータ72Cを生成して、これら面的要素、線的要素、及び点的要素のテーブルデータ72A〜Cをまとめて当該モデルの機能テーブル72として記憶する。
【0041】
モデル選択部50は、設定済み(機能テーブル72が記憶済み)のモデルの中から何れか1つを選択し、当該選択したモデルの機能テーブル72をHDD26から読み出すものである。選択するモデルについては、ユーザがキーボード14を操作して指定するようにしてもよいし、他のアプリケーションプログラムの起動時や実行時にサブプログラム34Bが呼び出されて実行される場合には、当該他のアプリケーションプログラムの機能により指定されるようにしてもよい。
【0042】
コマンド選択・実行部52は、ユーザによるマウス16のクリック操作による位置情報の入力を受け付け、入力された位置情報に基づいて、当該位置情報が示すユーザによる指定位置が、モデル選択部50で選択したモデルで定義されている要素のうちの何れの要素に該当するのかを判別すると共に、この判別した要素と、当該モデル選択部50で選択したモデルの機能テーブル72において対応つけられているコマンドを選択し、当該選択したコマンドを実行するものである。
【0043】
[作用]
次に本実施の形態の作用として、モデル設定処理及びコマンド実行処理について説明する。
【0044】
まず、図6を参照して、モデル設定処理を説明する。モデル設定処理では、図6に示すように、まずステップ100で、ユーザからの領域定義の指示入力を受け付け、入力されたユーザの指示に従って、表示画面70に仮想線VLが設定されて、表示画面70が複数の要素に区分される。これによって、当該モデルにおいて、表示画面70の領域をどのような要素に区分して用いるかが定義されることになる。次のステップ102では、定義した複数の要素各々に対して、ユーザからのコマンドを指定する指示入力を受け付け、入力されたユーザの指示に従って、定義した複数の要素各々に対して、コマンドが割り当てられる。そして次のステップ104において、ステップ100で定義した領域の各要素と、ステップ102で割り当てたコマンドとの対応を示すテーブルデータが生成されて、HDD26に機能テーブル72として記憶される。この機能テーブル72の記憶によりモデル設定処理は終了する。この結果、PC10には、例えば図3(A)〜(E)に示した如く仮想線の設定・領域定義を行って各モデルを設定した場合には、各モデルについて1つずつの計5つの機能テーブル72が記憶されることになる。
【0045】
次に、図7を参照して、コマンド実行処理について説明する。コマンド実行処理では、図7に示すように、まずステップ110で使用するモデルが選択され、当該モデルの機能テーブル72がHDD26から読み出される。なお、1モデルしか定義されていない場合には、ステップ110の処理は省略できる。
【0046】
その後は、ステップ112に進み、ユーザによりマウス16がクリック操作されて位置が指定されて位置情報が入力されるのを待機する。なお、この位置情報の入力待機時は、前述したコマンド選択・実行部52の機能により、当該時点で表示画面70上のマウスポインタが示している位置が指定された場合に、選択・実行されるコマンドを示す補助情報74(図10参照)が表示されるようにするとよい。補助情報74としては、例えば、コマンド名又はコマンド内容(コマンドにより実行される処理の内容)を表すテキスト、コマンドを表す図形などが挙げられる。また、量的制御コマンドの場合は、補助情報74として、当該位置での制御量を表す数値及び図形の少なくとも一方も表示されるようにするとよい。このような補助情報74により、ユーザは、当該時点でマウス16をクリック操作したら、どのようなコマンドを入力することができるのかを把握することができる。このような補助情報74の表示は、例えば機能テーブル72に補助情報74又は補助情報74へのリンク情報を含ませて記憶しておくことで容易に実現できる。
【0047】
そして、ユーザによりマウス16がクリック操作されて、ディスプレイ12の表示画面70上の位置が指定されたら、ステップ112から次のステップ114に進む。ステップ114では、選択したモデルで定義されている領域の各要素の中から、指定された位置に該当する要素が判別される。そして次のステップ116で、前述のステップ110で選択したモデルの機能テーブル72を参照して、判別した要素に対応つけられているコマンドが選択されて、ステップ118で、この選択されたコマンドが実行される。その後は、ユーザ又はPCの内部処理により終了指示が入力されるまでは、次のステップ120からステップ112に戻り、終了指示が入力されたら図7の処理は終了する。
【0048】
このようなコマンド実行処理により、例えば、図4で示した例において、ユーザが表示画面70の点Pα1上にマウスカーソルがあるときにマウス16をクリック操作して、点Pα1が指定された場合は、A〜Iの9つの要素のうち、指定された点Pα1は面的要素Aに該当すると判別されることになる。この場合、機能テーブル72を参照して面的要素Aに対応付けられているコマンドが選択されて、実行されることになる。このとき選択されたコマンドが量的制御コマンドの場合には、まず、前述の式(1)で示したような計算式に従った演算により制御量が求められ、当該制御量でコマンドが実行される。
【0049】
このように、本実施の形態では、モデル設定処理により、表示画面70上に仮想線VLを設定し、仮想線VLにより表示画面70を複数の要素に区分して各要素にコマンドを割り当てることで、仮想線VLを基準とした表示画面70上の位置とコマンドとを任意に対応付けて、その対応関係を機能テーブル72として予め記憶しておくことができる。
【0050】
また、コマンド実行処理では、このように記憶された機能テーブル72を参照して、表示画面70上の位置が指定されたら、当該指定された位置が該当する要素を判別し、その要素に対応付けられたコマンドを選択して実行する。これにより、指定された位置と対応付けらているコマンドが自動的に選択されて実行されることになり、ユーザは、マウス16の操作により所望のコマンドが対応付けられている表示画面70上の位置を指定するだけで、PC10に対して所望のコマンドを実行させることができる。
【0051】
なお、本実施形態では、プログラム34がサブプログラム34Aを含み、PC10のユーザがモデル設定を任意に行うことができるようにした場合を例に説明したが、本発明はこれに限定されるものではない。すなわち、プログラム34には、サブプログラム34Aが必ずしも含まれていなくてもよい。例えば、プログラム34の開発元においてモデル設定処理を行って各種のモデルを設定し、その結果である各モデルの機能テーブル72とプログラム34Bとをプログラム34としてパッケージ化して、PC10のROM24又はHDD26に格納されるようにしてもよい。
【0052】
[実施例]
次に、PC10においてウォークスルー機能を実現する際のコマンド入力に本発明を適用した場合を説明する。なお、以下では、ウォークスルー機能を実現するためにPC10で実行されるアプリケーションプログラムに、サブプログラム34Bが関連付けられており、該アプリケーションプログラムの起動中にユーザによりマウス16がクリック操作された場合に、以下のようなモデルが選択されるように指定されて、サブプログラム34Bが呼び出されて実行される場合を例に説明する。
【0053】
(モデル例)
すなわち、本例で用いるモデルは、図8に示すように、表示画面70上に、表示画面70の中央を通り且つ表示画面70のX方向及びY方向に渡る2本の長い仮想線VL(X1)、VL(Y1)と、仮想線VL(Y1)と直交し且つ仮想線VL(X)に対して対称に設けられた2本の短い仮想線VL(X2)、VL(X3)と、仮想線VL(X1)と直交し且つ仮想線VL(Y)に対して対称に設けられた2本の短い仮想線VL(Y2)、VL(Y3)の計6本の仮想線VLが設定されており、T1〜T13の13個の要素により表示画面70の領域が定義されている。
【0054】
なお、T1〜T4は、仮想線VL(X1)、VL(Y1)により区切られた面である面的要素である。T5、T6は、仮想線VL(Y1)上であり且つ仮想線VL(X1)及びVL(Y1)の交点T9から仮想線VL(X2)、VL(X3)までを範囲とした線的要素である。T7、T8は、仮想線VL(X1)上であり且つ仮想線VL(X1)及びVL(Y1)の交点T9から仮想線VL(Y2)、VL(Y3)までを範囲とした線的要素である。T9は、仮想線VL(X1)及びVL(Y1)の交点である点的要素である。T10、T11は、仮想線VL(Y1)上で且つ仮想線VL(X2)、VL(X3)から表示画面70の枠までを範囲とした線的要素である。T12、T13は、仮想線VL(X1)上で且つ仮想線VL(Y2)、VL(Y3)から表示画面70の枠までを範囲とした線的要素である。
【0055】
これらのT1〜T13の各要素に対して、以下の表2に示すようにコマンドが予め割り当てられて、各要素とコマンドの対応を表す機能テーブル72がHDD26(又はROM24)に記憶されている。
【0056】
【表2】
【0057】
なお、本例では、量的制御コマンドにより、移動させる距離、遠近させる距離、及び回転させる角度を調整可能なモデルを例に説明するが、移動、遠近、又は回転させるときの速度を調整可能にすることもできる。
【0058】
(ウォークスルー制御処理)
PC10では、ウォークスルー機能を実現するためのアプリケーションプログラムが起動されると、上記のモデルを選択して、図9のウォークスルー制御処理を行う。
【0059】
図9に示すように、このウォークスルー制御処理では、まずステップ200において、仮想空間を表す3D画像を表示した表示画面(初期画面)70がディスプレイ12に表示されて、ステップ202に進み、ユーザによりマウス16がクリック操作されて、ディスプレイ12の表示画面70上の位置が指定されるのを待機する。
【0060】
図10に、このときディスプレイ12に表示される表示画面(初期画面)70の一例を示す。図10に示す表示画面70では、仮想空間を表す3D画像上に、図8で示したモデルの仮想線VLが重ねられて表示されている。ユーザは、この仮想線VLを目安にして、所望のコマンドを入力するには、何れの位置を指定すればよいのかを判断することができる。また、この表示画面70では、図10に示すように現時点のマウスカーソルCrの位置が指定された(クリックした)場合に、選択・実行されるコマンドを示す補助情報74が表示されるようになっている。この場合、ユーザは、マウス16の操作により表示画面70上でマウスカーソルCrの位置を移動しながら補助情報74によりコマンドを確認することで、所望のコマンドが入力される表示画面70上の位置を把握することができる。
【0061】
ユーザによりマウス16がクリック操作されて、ディスプレイ12の表示画面70上の位置が指定されると、当該指定された位置がT1〜T13の何れの要素に該当するのかを判別するために、図9のステップ202からステップ204に進む。
【0062】
そして、指定された位置に該当する要素がT1又はT2であれば、ステップ204からステップ206に進み、表2に示したようにT1又はT2には量的制御コマンドが割り当てられているので、機能テーブルを参照して、T1又はT2の該当する要素に対応するコマンドの計算式を用いた演算により、指定された位置の仮想線VL(X)からの距離に応じて視点を近づける又は遠ざける距離を求めるズーム距離演算が行われる。そして、T1又はT2の該当する要素に対応するコマンドの実行により、次のステップ208で、現在の視点位置からズーム距離演算により求めた距離だけ視点を前後させる視点位置演算が行われ、続いてステップ210に進んで、その結果が新しい視点位置に設定されてから、ステップ212に進み、当該設定後の視点位置に応じた3D画像が生成され、この生成された3D画像が表示画面70に表示されることになる(3D表示更新)。これによって、仮想空間内を前後に自由に移動する機能(ズーム機能)が実現される。
【0063】
また、指定された位置に該当する要素がT5〜T8の何れかである場合は、ステップ204からステップ214、ステップ216と進む。ステップ216では、表2に示したようにT5〜T8には量的制御コマンドが割り当てられているので、機能テーブルを参照して、T5〜T8の何れかの該当する要素に対応するコマンドの計算式を用いた演算により、指定された位置の仮想線VL(X1)又はVL(Y1)からの距離に応じて視点を回転させる角度を求めるパン角度演算が行われる。そして、T5〜T8の何れかの該当する要素に対応するコマンドの実行により、次のステップ218で、現在の視点位置からパン角度演算により求めた角度だけ上下左右の何れかの方向に視点を回転させる視点位置演算が行われてから、同様にステップ210に進み、その結果が新しい視点位置に設定されて、ステップ212の3D表示が行われる、すなわち、設定後の視点位置に応じた3D画像が生成されて表示画面70に表示されることになる(3D表示更新)。これによって、仮想空間内で視点を自由に回転する機能(パン機能)が実現される。
【0064】
また、指定された位置に該当する要素がT10〜T13の何れかである場合は、ステップ204からステップ214、ステップ220、ステップ222と進む。ステップ222では、表2に示したようにT10〜T13には量的制御コマンドが割り当てられているので、機能テーブルを参照して、T10〜T13の何れかの該当する要素に対応するコマンドの計算式を用いた演算により、指定された位置の仮想線VL(X2)又はVL(X3)又はVL(Y2)又はVL(Y3)からの距離に応じて視点を移動させる距離を求める移動距離演算が行われる。そして、T10〜T13の何れかの該当する要素に対応するコマンドの実行により、次のステップ224で、現在の視点位置から移動距離演算により求めた値だけ上下左右の何れかへ視点を移動させる視点位置演算が行われてから、同様にステップ210に進み、その結果が新しい視点位置に設定されて、ステップ212の3D表示が行われる、すなわち、設定後の視点位置に応じた3D画像が生成されて表示画面70に表示されることになる(3D表示更新)。これによって、仮想空間内で視点を上下左右に自由に移動する機能(移動機能)が実現される。
【0065】
また、指定された位置に該当する要素がT3又はT4である場合は、ステップ204からステップ214、ステップ220、ステップ226、ステップ228と進む。ステップ228では、表2に示したようにT3又はT4には量的制御コマンドが割り当てられているので、機能テーブルを参照して、T3又はT4の該当する要素に対応するコマンドの計算式を用いた演算により、指定された位置の仮想線VL(X1)からの距離に応じて投影スクリーンを近づける又は遠ざける距離を求めるスクリーン移動距離演算が行われる。そして、T3又はT4の何れかの該当する要素に対応するコマンドの実行により、次のステップ230で、現在の投影スクリーン位置からスクリーン移動距離演算により求めた距離だけ前後に投影スクリーンを移動させるスクリーン位置演算が行われ、次いでステップ232で、その結果に基づいて、仮想空間内の可視化範囲(ビューイング・ボリューム)を設定してから、ステップ212の3D表示が行われる、すなわち、設定後の可視化範囲に応じた3D画像が生成されて表示画面70に表示されることになる(3D表示更新)。これによって、画面に表示する投影スクリーン面を前後に自由に移動する機能(スクリーン機能)が実現される。
【0066】
また、指定された位置に該当する要素がT9である場合は、ステップ204からステップ214、ステップ220、ステップ226、ステップ234と進む。ステップ234では、表2に示したようにT9には単純コマンドが割り当てられているので、機能テーブルを参照して、T9の要素に対応するコマンドを実行することで、視点位置を初期位置(例えば、正面方向で高さ1500mm)として、ステップ212の3D表示が行われる、すなわち視点位置を初期位置に戻した3D画像が生成されて表示画面70に表示されることになる(3D表示更新)。これによって、仮想空間内でユーザの視点がどのような方向に向いていても、ユーザの体の正面方向で高さ1500mmの高さの視点に戻る機能(定点機能)が実現される。
【0067】
このようにして、ステップ212で3D表示を行った後は、ウォークスルー機能を実現するためのプログラムが起動中であれば、次のステップ236で否定判定されてステップ202に戻り、表示画面70上の位置が指定されるのを待機する待機状態になる。ウォークスルー機能を実現するためのプログラムの終了が指示されたら、ステップ236で肯定判定されて、図9の処理は終了する。
【0068】
上記のような処理により、ユーザはマウス16をクリック操作して表示画面70上の位置を指定するだけで、ズーム機能、パン機能、移動機能、スクリーン機能、定点機能を任意に動作させて、あたかも表示画面70に3D表示された仮想空間内を自由に歩き回っているかのような仮想体験をすることができる。
【0069】
例えば、図10の表示画面(初期画面)70上で点PAを指定すれば、図11に示すように表示画面70の表示が更新されて、仮想線VL(Y1)から点PAまでの距離に応じた角度(例えば30度)だけ視点を右方向に回転させることができる。また、図10の表示画面(初期画面)70上で点PBを指定すれば、図12に示すように表示画面70の表示が更新されて、視点を右方向にさらに大きな角度(例えば60度)回転させることができる。
【0070】
[まとめ]
上記をまとめると、仮想線VLを基準とした表示画面70上の位置とコマンドとが予め対応付けられるので、ユーザは、マウス16の操作により表示画面70上の位置を指定するだけで、PC10に所望のコマンドを実行させることができ、コマンド入力操作が容易である。また、一般的なPCに通常備えられているマウス16のような汎用のポインティングデバイスを操作して表示画面70上の位置を指定するだけで、所望のコマンド入力を行うことができ、従来技術のように特別なデバイスを必要とすることもない。
【0071】
また、仮想線VLによって表示画面70上の位置を定義するので、表示画面70上に仮想線VLを表示しても、線であるため、従来の操作ボタンのように面積を必要とせず、情報表示領域に制約を与えることがない。また、使用したいコマンド数に応じて仮想線VLの本数や形状を選択することで、略無制限に表示画面上の位置とコマンドを対応付けることができる。特に、面的要素、線的要素、点的要素に分けて定義することにより、より少ない仮想線数で多数のコマンドを表示画面上の位置に対応付けることができる。
【0072】
また、ウォークスルー機能に適用した場合、従来必要とされた多数の操作ボタン300を表示するための表示スペース302(図13参照)が不要となり、図10を図13と比較することから分かるように、この表示スペース302(図10の一点鎖線で囲んだ部分参照)の分だけ仮想空間の表示範囲を広くとることができるので、特に有効である。また、仮想線VLを表示しても線であるため視覚的にも目立たず、ウォークスルー機能のように表示したい情報が画像である場合にユーザに違和感を与えることがないという効果も有る。
【0073】
また、制御量を可変にする場合には、基準位置(仮想線や仮想線の交点)から指定された位置までの距離に応じて、制御量を調整する量的制御コマンドを割り当てれば、ユーザは1回の操作(表示画面上の1箇所をクリックする)だけで、コマンド入力と制御量の入力を同時に行うことができ、より操作性が向上する。
【0074】
また、仮想線の配置パターンが異なる複数のモデルの中から使用するモデルを選択可能にしたので、実現したい機能に応じて、ユーザが操作し易いモデルを選択することができる。例えば、ウォークスルー機能であれば、図8及び表2に示したモデルを選択することで、右方向へ移動や回転させたい場合は表示画面の右側、左方向へ移動や回転させたい場合は表示画面の左側の位置を指定すればよく、ユーザが感覚的に容易に操作することができる。また、サブプログラム34Aの起動により、任意に仮想線を設定して、コマンドを対応つけることができるので、ユーザは各自で操作し易いようにモデルを設定することができる。
【0075】
【発明の効果】
上記に示したように、本発明は、情報表示領域に制約を与えることなく、且つ特別なデバイスを必要とせずに、コマンド入力を容易に行うことができるという優れた効果を有する。
【図面の簡単な説明】
【図1】 本実施形態に係るパーソナルコンピュータの構成図である。
【図2】 本実施形態に係るパーソナルコンピュータに構築される機能を示す機能構成図である。
【図3】 (A)〜(E)はモデル設定例を示す表示画面の図である。
【図4】 仮想線により定義される要素、及び量的制御コマンドを説明するための表示画面の図である。
【図5】 機能テーブルを示す図である。
【図6】 本実施形態に係るパーソナルコンピュータで実行されるモデル設定処理を示すフローチャートである。
【図7】 本実施形態に係るパーソナルコンピュータで実行されるコマンド実行処理を示すフローチャートである。
【図8】 ウォークスルー機能時に用いるモデル例を示す表示画面の図である(実施例)。
【図9】 ウォークスルー機能時にパーソナルコンピュータで実行されるウォークスルー制御処理を示すフローチャートである(実施例)。
【図10】 ウォークスルー機能時に表示される初期画面例を示す図である(実施例)。
【図11】 図10から視点を右方向に回転させた場合の表示画面例である(実施例)。
【図12】 図10から視点を右方向に図11よりも大きく回転させた場合の表示画面例である(実施例)。
【図13】 ウォークスルー機能時に表示される従来の表示画面例を示す図である(従来技術)。
【符号の説明】
10 PC
12 ディスプレイ
14 キーボード
16 マウス
34 プログラム
34A、34B サブプログラム
40 モデル定義部
42 コマンド割当部
44 機能テーブル生成部
50 モデル選択部
52 コマンド選択・実行部
70 表示画面
72 機能テーブル
74 補助情報[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus, a command execution method, and a command execution program, and in particular, includes a display unit that displays information on a display screen, and a position specifying unit for specifying a position on the display screen. The present invention relates to an information processing apparatus, a command execution method, and a command execution program.
[0002]
[Prior art]
In general, in an information processing apparatus, an operation button associated with a command or a so-called toolbar in which a plurality of operation buttons are arranged side by side is arranged on a display screen of the display, and the operation button is selected by operating a pointing device such as a mouse. Command input. When the operation button is used for command input in this way, the display area of information originally desired to be displayed is restricted by the display of the operation button. In addition, in the case of a command that can change the control amount, it is necessary to perform at least two operations of selecting an operation button corresponding to the command and specifying the control amount, which may complicate the user's operation. is there.
[0003]
In particular, when providing a walk-through function that switches the display screen as if the user is walking around in the virtual space, the user's viewpoint position in the virtual space can be moved up and down, left and right, and back and forth. In other words (so-called panning), a display area of a wider virtual space is required with the function of moving the projection screen back and forth. However, as shown in FIG. 13, an
[0004]
For this reason, conventionally, there is a dedicated three-dimensional coordinate input device that can perform an input operation smoothly and intuitively when walking through a virtual space (for example, Patent Document 1).
[0005]
[Patent Document 1]
JP-A-10-149256
[0006]
[Problems to be solved by the invention]
However, in the prior art, the above three-dimensional coordinate input device has to be used as a new device of the information processing apparatus, and it has not been possible to input commands only with the devices that the information processing apparatus normally has .
[0007]
The present invention has been made to solve the above-described problems, and is an information processing apparatus and a command that can easily input commands without restricting the information display area and without requiring a special device. An object is to provide an execution method and a command execution program.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, the command execution method according to
[0009]
According to the command execution method of
[0010]
As a result, the user can execute a desired command simply by specifying a position on the display screen, so that a command input operation is easy. Further, it is only necessary to simply specify the position on the display screen, and this position specification can be performed by using a general-purpose pointing device such as a mouse, a touch panel display, or a tablet as the position specifying means. Therefore, no special device is required unlike the prior art. In addition, since the position on the display screen is defined by a virtual line, even if this virtual line is displayed on the display screen, it is a line, so it does not require an area like a conventional operation button, and the information display area There are no restrictions on
In addition, a large number of commands can be associated with positions on the display screen even with a small number of virtual lines, and the influence of displaying virtual lines on the display screen can be further reduced.
Furthermore, by specifying the position on the display screen only once, command input and control amount input can be performed simultaneously, and operability can be further improved.
[0011]
The above command execution method can be easily realized by causing a computer to execute a command execution program as described below. That is, as described in
[0012]
Further, the above command execution method can be easily realized by the following information processing apparatus. That is, as described in
[0014]
In the above information processing apparatus, the claim4As described in the above, the storage unit stores the correspondence information of a plurality of models having different virtual line setting patterns, the model specification information is input, and the input specification information is input. And selecting means for selecting the model on the basis of the model, and the command executing means may select a command to be executed based on the correspondence information of the model selected by the selecting means. As a result, a model that can be easily operated by the user can be selected according to the function to be realized.
[0015]
In the above information processing apparatus, the claim5And setting means for setting the virtual line on the display screen, and for each position on the display screen based on the virtual line set on the display screen by the setting means A command allocating unit for allocating a command, the correspondence information in which the position on the display screen with reference to the virtual line set on the display screen by the setting unit is associated with the command allocated by the allocating unit. And a correspondence information generation unit for generating the correspondence information. The correspondence information generated by the correspondence information generation unit may be stored in the storage unit. Thereby, a model can be arbitrarily set so that each user can operate it sensuously.
[0017]
In the above information processing apparatus, the claim6When the command displays an image representing a virtual space on the display screen and provides a walk-through function, the front view point is moved up, down, left and right, front and rear, The command may be an instruction to rotate the viewpoint up / down / left / right or to return the viewpoint to the front. As a result, a large number of operation buttons required for the walk-through function can be eliminated, and the display area of the virtual space can be made wider than before.
[0018]
In this case, the claim7The command moves the viewpoint according to the distance from the virtual line at the position designated by the position designation means or the intersection of the virtual lines, and the distance to make the projection screen close. Any one of an angle for rotating the viewpoint, a moving speed, a moving speed, and a rotating speed may be adjusted. As a result, the user can experience a virtual experience as if walking freely in the virtual space with fewer operations.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Next, an example of an embodiment according to the present invention will be described in detail with reference to the drawings. An example in which the present invention is applied to a general personal computer (hereinafter referred to as “PC”) as an information processing apparatus will be described below.
[0020]
[overall structure]
FIG. 1 shows a
[0021]
Since the above hardware configuration is a general configuration of a PC, a detailed description thereof will be omitted below, and only the portion related to the present invention will be described in detail.
[0022]
Various programs for operating the
[0023]
The
[0024]
In the
[0025]
[Function configuration]
FIG. 2 shows a functional configuration of the
[0026]
The
[0027]
More specifically, the
[0028]
Note that the type (shape, length) and number of virtual lines VL set on the
[0029]
In consideration of a designation error when the user operates the
[0030]
Further, it is not necessary to define all elements that can be defined by the virtual line VL, and the number of elements to be defined can be appropriately selected according to the number of commands to be used. For example, in FIG. 4, the defining elements C and D may not be defined, and the total number of defining elements may be seven.
[0031]
The
[0032]
More specifically, in the
[0033]
[Table 1]
[0034]
Here, the quantitative adjustment command assigned to the planar element changes the control amount in accordance with the distance from the virtual line VL. For example, in the area of the element A which is the planar element in FIG. Point P on line VL (X)01Control amount is D01And the point P at the position of the distance L1 from the virtual line VL (X) by linearly changing the control amount according to the distance from the virtual line VL (X).L1Control amount of DL1This command is In this case, the point Pα whose distance from the virtual line VL (X) is α1.1Control amount Dα1Is determined by the following equation (1).
[0035]
[Expression 1]
[0036]
Further, the quantitative adjustment command assigned to the linear element is to change the control amount in accordance with the distance from the intersection of the plurality of virtual lines VL. For example, the area of the element G that is the linear element in FIG. , The point P that is the intersection of the virtual line VL (X) and the virtual line VL (Y)02Control amount is D02And point P02The control amount is linearly changed according to the distance from, and P on the virtual line VL (X)02Point P at a distance L2 fromL2Control amount of DL2This command is In this case, the point P02Point Pα whose distance from α2 is α22Control amount Dα2Is determined by the following equation (2).
[0037]
[Expression 2]
[0038]
Therefore, when assigning a quantitative control command, it is necessary to define a calculation formula for obtaining a control amount as in the above formulas (1) and (2). In the above description, the case where the control amount changes linearly according to the distance (that is, the calculation formula for obtaining the control amount is a linear expression of the variable distance) has been described as an example. It is not limited and may be changed nonlinearly.
[0039]
The function
[0040]
More specifically, as shown in FIG. 5, in the function
[0041]
The
[0042]
The command selection /
[0043]
[Action]
Next, model setting processing and command execution processing will be described as operations of the present embodiment.
[0044]
First, the model setting process will be described with reference to FIG. In the model setting process, as shown in FIG. 6, first, in
[0045]
Next, command execution processing will be described with reference to FIG. In the command execution process, as shown in FIG. 7, first, a model used in
[0046]
Thereafter, the process proceeds to step 112 and waits for the user to click the
[0047]
When the user clicks the
[0048]
By such command execution processing, for example, in the example shown in FIG.1Clicking the
[0049]
As described above, in the present embodiment, the virtual line VL is set on the
[0050]
Further, in the command execution process, referring to the function table 72 stored in this way, when a position on the
[0051]
In the present embodiment, the case where the
[0052]
[Example]
Next, the case where the present invention is applied to command input when realizing the walk-through function in the
[0053]
(Example model)
That is, the model used in this example is, as shown in FIG. 8, on the
[0054]
T1 to T4 are planar elements that are surfaces separated by virtual lines VL (X1) and VL (Y1). T5 and T6 are linear elements that are on the virtual line VL (Y1) and range from the intersection T9 of the virtual lines VL (X1) and VL (Y1) to the virtual lines VL (X2) and VL (X3). is there. T7 and T8 are linear elements that are on the virtual line VL (X1) and range from the intersection T9 of the virtual lines VL (X1) and VL (Y1) to the virtual lines VL (Y2) and VL (Y3). is there. T9 is a point element that is an intersection of the virtual lines VL (X1) and VL (Y1). T10 and T11 are linear elements on the virtual line VL (Y1) and in the range from the virtual lines VL (X2) and VL (X3) to the frame of the
[0055]
As shown in Table 2 below, commands are assigned in advance to each element of T1 to T13, and a function table 72 that indicates the correspondence between each element and the command is stored in the HDD 26 (or ROM 24).
[0056]
[Table 2]
[0057]
In this example, a model that can adjust the distance to move, the distance to be moved, and the angle to rotate by a quantitative control command will be described as an example, but the speed at the time of movement, perspective, or rotation can be adjusted. You can also
[0058]
(Walk-through control processing)
In the
[0059]
As shown in FIG. 9, in this walk-through control process, first, in
[0060]
FIG. 10 shows an example of a display screen (initial screen) 70 displayed on the
[0061]
When the user clicks the
[0062]
If the element corresponding to the designated position is T1 or T2, the process proceeds from
[0063]
If the element corresponding to the designated position is any one of T5 to T8, the process proceeds from
[0064]
When the element corresponding to the designated position is any one of T10 to T13, the process proceeds from
[0065]
If the element corresponding to the designated position is T3 or T4, the process proceeds from
[0066]
If the element corresponding to the designated position is T9, the process proceeds from
[0067]
In this way, after the 3D display is performed in step 212, if the program for realizing the walk-through function is running, a negative determination is made in the
[0068]
With the above processing, the user can operate the zoom function, pan function, move function, screen function, and fixed point function by simply clicking the
[0069]
For example, the point P on the display screen (initial screen) 70 of FIG.AIs displayed, the display on the
[0070]
[Summary]
To summarize the above, since the position on the
[0071]
Further, since the position on the
[0072]
Further, when applied to the walk-through function, the display space 302 (see FIG. 13) for displaying a large number of operation buttons 300 that has been conventionally required becomes unnecessary, and as can be seen from comparing FIG. 10 with FIG. This is particularly effective because the display range of the virtual space can be widened by the display space 302 (see the portion surrounded by the one-dot chain line in FIG. 10). Further, even if the virtual line VL is displayed, the virtual line VL is not visually noticeable, and there is an effect that the user does not feel uncomfortable when the information to be displayed is an image like the walk-through function.
[0073]
When the control amount is variable, a user can assign a quantitative control command to adjust the control amount according to the distance from the reference position (virtual line or intersection of virtual lines) to the specified position. The command input and the control amount input can be performed simultaneously by one operation (clicking one place on the display screen), and the operability is further improved.
[0074]
In addition, since a model to be used can be selected from a plurality of models having different virtual line arrangement patterns, a model that can be easily operated by the user can be selected according to a function to be realized. For example, in the case of the walk-through function, the model shown in FIG. 8 and Table 2 is selected, and if it is desired to move or rotate rightward, it is displayed on the right side of the display screen or if it is desired to move or rotate leftward. The position on the left side of the screen may be specified, and the user can easily operate it intuitively. Further, since the virtual line can be arbitrarily set and the command can be associated by starting the
[0075]
【The invention's effect】
As described above, the present invention has an excellent effect that command input can be easily performed without restricting the information display area and without requiring a special device.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a personal computer according to an embodiment.
FIG. 2 is a functional configuration diagram showing functions constructed in the personal computer according to the present embodiment.
FIGS. 3A to 3E are diagrams of display screens showing model setting examples. FIGS.
FIG. 4 is a diagram of a display screen for explaining elements defined by virtual lines and quantitative control commands.
FIG. 5 is a diagram showing a function table.
FIG. 6 is a flowchart showing model setting processing executed by the personal computer according to the present embodiment.
FIG. 7 is a flowchart showing command execution processing executed by the personal computer according to the embodiment.
FIG. 8 is a diagram of a display screen showing a model example used in the walk-through function (Example).
FIG. 9 is a flowchart showing a walk-through control process executed by a personal computer during the walk-through function (Example).
FIG. 10 is a diagram showing an example of an initial screen displayed during the walk-through function (Example).
FIG. 11 is an example of a display screen when the viewpoint is rotated rightward from FIG. 10 (Example).
12 is a display screen example when the viewpoint is rotated to the right from FIG. 10 more than in FIG. 11 (Example).
FIG. 13 is a diagram showing an example of a conventional display screen displayed during the walk-through function (prior art).
[Explanation of symbols]
10 PC
12 display
14 Keyboard
16 mice
34 programs
34A, 34B Subprogram
40 Model definition section
42 Command allocation part
44 Function table generator
50 Model selection section
52 Command selection / execution section
70 Display screen
72 Function table
74 Auxiliary information
Claims (7)
前記表示画面上の位置が指定された場合に、当該指定された位置が前記点的要素である場合には、当該指定された位置と前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記面的要素である場合には、当該指定された位置の前記仮想線からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記線的要素である場合には、当該指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行する、
ことを特徴とするコマンド実行方法。A position on the display screen with reference to a virtual line set on the display screen, a planar element that is a plane divided by the virtual line, a linear element that is on the virtual line, and a plurality of the virtual lines The point element is divided into point elements, and a command for performing predetermined information processing is associated with the point element , and according to the distance from the virtual line at the position on the display screen to the surface element associating an adjustable command control amount during execution Te, adjustable command control amount during execution according to the distance from the intersection of the pre-Symbol phantom line position on the display screen relative to the line element Is stored in advance as correspondence information for associating
Wherein if the position on the display screen is designated, when the designated position is the point element is to execute the command that is associated by the association information with the specified position, the When the designated position is the planar element , a control amount at the time of execution is obtained according to the distance from the virtual line of the designated position, and the designated position is associated with the correspondence information it is to execute the command and, if the designated position is the line element is seeking control amount during execution according to the distance from the intersection of the pre-Symbol phantom line position which is the designated Execute a command associated with the specified position by the correspondence information;
A command execution method characterized by the above.
表示画面上に設定された仮想線を基準とした前記表示画面上の位置を、前記仮想線により区切られた面である面的要素、前記仮想線上である線的要素、及び複数の前記仮想線の交点である点的要素に区分し、前記点的要素に対して所定の情報処理を行うコマンドを対応付け、前記面的要素に対して前記位置指定手段により指定された位置の前記仮想線からの距離に応じて実行時の制御量を調整可能なコマンドを対応付け、前記線的要素に対して前記位置指定手段により指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を調整可能なコマンドを対応づける対応情報が前記記憶手段に予め記憶されている状態で、
前記位置指定手段により前記表示画面上の位置が指定された場合に、当該指定された位置が前記点的要素である場合には、当該指定された位置と前記対応情報によって対応付けられているコマンドを実行させ、当該指定された位置が前記面的要素である場合には、当該指定された位置の前記仮想線からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行させ、当該指定された位置が前記線的要素である場合には、当該指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行させる、
ことを特徴とするコマンド実行プログラム。A command execution program for causing a computer to execute a command comprising storage means, display means for displaying information on a display screen, and position specifying means for specifying a position on the display screen,
A position on the display screen with reference to a virtual line set on the display screen, a planar element that is a plane divided by the virtual line, a linear element that is on the virtual line, and a plurality of the virtual lines Is divided into point elements that are intersections of the points, and a command for performing predetermined information processing is associated with the point element , and the planar element is determined from the virtual line at the position specified by the position specifying unit. associating an adjustable command control amount during execution depending on the distance, at runtime depending on the distance from the intersection of the front Symbol phantom lines in the position specified by the position specifying means to said wire element In a state in which correspondence information that associates a command capable of adjusting the control amount is stored in the storage unit in advance,
When the position on the display screen is designated by the position designating means, command the specified position in the case of the point element is that associated with the corresponding information with the specified position When the designated position is the planar element , a control amount at the time of execution is obtained according to the distance from the virtual line of the designated position and the designated position and the to execute the command associated with the corresponding information, the designated position in the case of the line element is the runtime according to the distance from the intersection of the pre-Symbol imaginary line of the specified position Obtaining a control amount and executing a command associated with the specified position by the correspondence information;
A command execution program characterized by that.
前記表示画面上の位置を指定するための位置指定手段と、
前記表示画面上に設定された仮想線を基準とした前記表示画面上の位置を、前記仮想線により区切られた面である面的要素、前記仮想線上である線的要素、及び複数の前記仮想線の交点である点的要素に区分し、前記点的要素に対して所定の情報処理を行うコマンドを対応付け、前記面的要素に対して前記位置指定手段により指定された位置の前記仮想線からの距離に応じて実行時の制御量を調整可能なコマンドを対応付け、前記線的要素に対して前記位置指定手段により指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を調整可能なコマンドを対応づける対応情報を記憶する記憶手段と、
前記位置指定手段により前記表示画面上の位置が指定された場合に、当該指定された位置が前記点的要素である場合には、当該指定された位置と、前記記憶手段に記憶されている前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記面的要素である場合には、当該指定された位置の前記仮想線からの距離に応じて実行時 の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行し、当該指定された位置が前記線的要素である場合には、当該指定された位置の前記仮想線の交点からの距離に応じて実行時の制御量を求めて当該指定された位置と前記対応情報によって対応付けられているコマンドを実行するコマンド実行手段と、
を備えた情報処理装置。Display means for displaying information on the display screen;
Position specifying means for specifying a position on the display screen;
The position on the display screen with reference to the virtual line set on the display screen is a plane element that is a plane divided by the virtual line, a linear element that is on the virtual line, and a plurality of the virtual lines The virtual line is divided into point elements that are intersections of lines, and a command for performing predetermined information processing is associated with the point element , and the virtual line at the position specified by the position specifying unit with respect to the plane element associating an adjustable command control amount during execution according to the distance from the execution in accordance with the distance from the intersection of the pre-Symbol phantom lines in the position specified by the position specifying means to said wire element Storage means for storing correspondence information for associating a command capable of adjusting a control amount at the time;
When the position on the display screen is designated by the position designating means, the said specified position when it is the point element is being said and the designated position stored in the storage means It executes the commands associated with the corresponding information, when the designated position is the surface element is a control amount at the time of execution according to the distance from the imaginary line of the specified position calculated by executing the commands associated with the corresponding information with the specified position, when the designated position is the line element is the intersection of the pre-Symbol phantom line position which is the designated and command execution means for executing the commands associated with the corresponding information with the specified position seeking control amount during execution according to the distance from,
An information processing apparatus comprising:
前記モデルの指定情報が入力され、当該入力された指定情報に基づいて前記モデルを選択する選択手段を更に備え、
前記コマンド実行手段が、前記選択手段により選択したモデルの前記対応情報に基づいて、実行するコマンドを選択する、
ことを特徴とする請求項3に記載の情報処理装置。The correspondence information of a plurality of models having different virtual line setting patterns is stored in the storage means,
The model specification information is input, and further comprises selection means for selecting the model based on the input specification information,
The command execution means selects a command to be executed based on the correspondence information of the model selected by the selection means;
The information processing apparatus according to claim 3.
前記設定手段により表示画面上に設定した前記仮想線を基準とした前記表示画面上の各位置に対して、コマンドを割り当てるコマンド割当手段と、
前記設定手段により表示画面上に設定した前記仮想線を基準とした前記表示画面上の位置と、前記割当手段により割当てたコマンドとを対応付けた前記対応情報を生成する対応情報生成手段と、を更に備え、
前記対応情報生成手段により生成された前記対応情報が前記記憶手段に記憶される、
ことを特徴とする請求項3又は請求項4に記載の情報処理装置。Setting means for setting the virtual line on the display screen;
Command assigning means for assigning a command to each position on the display screen based on the virtual line set on the display screen by the setting means;
Correspondence information generating means for generating the correspondence information associating the position on the display screen with reference to the virtual line set on the display screen by the setting means and the command assigned by the assigning means; In addition,
The correspondence information generated by the correspondence information generation means is stored in the storage means;
The information processing apparatus according to claim 3, wherein the information processing apparatus is an information processing apparatus.
ことを特徴とする請求項3乃至請求項5の何れか1項に記載の情報処理装置。When the command displays an image representing a virtual space on the display screen and provides a walk-through function, the front viewpoint is moved up, down, left and right, front and back, the projection screen is moved away, the viewpoint is rotated up, down, left and right, It is a command that instructs either to return the viewpoint to the front.
The information processing apparatus according to claim 3, wherein the information processing apparatus is an information processing apparatus.
ことを特徴とする請求項6に記載の情報処理装置。According to the distance from the virtual line at the position designated by the position designation means or the intersection of the virtual lines, the command moves the viewpoint, the distance to move the projection screen, the angle to rotate the viewpoint, and the movement Any of the speed at which to rotate, the speed to make it close, and the speed to rotate it can be adjusted.
The information processing apparatus according to claim 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003157757A JP4064870B2 (en) | 2003-06-03 | 2003-06-03 | Information processing apparatus, command execution method, and command execution program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003157757A JP4064870B2 (en) | 2003-06-03 | 2003-06-03 | Information processing apparatus, command execution method, and command execution program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004362113A JP2004362113A (en) | 2004-12-24 |
| JP4064870B2 true JP4064870B2 (en) | 2008-03-19 |
Family
ID=34051371
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003157757A Expired - Fee Related JP4064870B2 (en) | 2003-06-03 | 2003-06-03 | Information processing apparatus, command execution method, and command execution program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4064870B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5225820B2 (en) * | 2008-11-25 | 2013-07-03 | アイシン精機株式会社 | Input device, vehicle periphery monitoring device, icon switch selection method and program |
-
2003
- 2003-06-03 JP JP2003157757A patent/JP4064870B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004362113A (en) | 2004-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3280559B2 (en) | Jog dial simulation input device | |
| JPH10283158A (en) | Window stereoscopic display apparatus and method | |
| JP4106058B2 (en) | Information processing apparatus, frame rearrangement method, and program for rearranging frames in window | |
| JP3982288B2 (en) | 3D window display device, 3D window display method, and 3D window display program | |
| JP2003131777A (en) | Method for displaying symbol on display and system therefor | |
| JPH0827700B2 (en) | Computer display control system | |
| JP3705826B2 (en) | Virtual three-dimensional window display control method | |
| JP6360509B2 (en) | Information processing program, information processing system, information processing method, and information processing apparatus | |
| US20210141514A1 (en) | Automatically positioning objects in three-dimensional space utilizing a widget | |
| KR100348181B1 (en) | A computer system and a method for dynamic information display | |
| JP4064870B2 (en) | Information processing apparatus, command execution method, and command execution program | |
| JP2004054854A (en) | Input method and input system using pointing device | |
| KR20220143611A (en) | Interfacing method for 3d sketch and apparatus thereof | |
| CN115480765A (en) | Configuration method, device, electronic device and storage medium of scrolling time axis | |
| JPH05165565A (en) | Coordinate input method | |
| JPH0816803A (en) | Graphic processing apparatus and method | |
| US20250209765A1 (en) | Method for determining model arrangement information, electronic device and storage medium | |
| JPH10105334A (en) | Two-point selected figure moving method by touch panel | |
| JPH11353069A (en) | Virtual mouse display information device and recording medium recording virtual mouse display program | |
| JP2013020446A (en) | Multi-pointing device control method and program | |
| JPH03129513A (en) | Function selecting system | |
| JPH06119430A (en) | Graphic display | |
| JP2002023915A (en) | Device and method for controlling display of tool button and recording medium | |
| JPH0887395A (en) | Icon menu selection method, its system, and information processing apparatus | |
| JP2908524B2 (en) | Wood structure display |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051228 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060228 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060428 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070123 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070326 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071002 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071130 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20071225 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071227 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4064870 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110111 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120111 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130111 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140111 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |