JPH08166978A - Graphic processor and graphic position recognition method - Google Patents

Graphic processor and graphic position recognition method

Info

Publication number
JPH08166978A
JPH08166978A JP6310374A JP31037494A JPH08166978A JP H08166978 A JPH08166978 A JP H08166978A JP 6310374 A JP6310374 A JP 6310374A JP 31037494 A JP31037494 A JP 31037494A JP H08166978 A JPH08166978 A JP H08166978A
Authority
JP
Japan
Prior art keywords
light source
slit light
mouse
depth direction
view
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.)
Pending
Application number
JP6310374A
Other languages
Japanese (ja)
Inventor
Tomoko Shibata
智子 柴田
Koji Marume
孝二 丸目
Michimasa Aramaki
道昌 荒巻
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6310374A priority Critical patent/JPH08166978A/en
Publication of JPH08166978A publication Critical patent/JPH08166978A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE: To provided a graphic processor and a position recognition method in the device whereby the position information of the depth direction of a view is easily obtained and the operation efficiency of graphic edition is imporved. CONSTITUTION: The graphic processor consists of a central processing unit 1 processing required information, a display device 2, an input device 3 such as a mouse for imputing data of a character, etc., a main storage device 4 storing the program of an operating system etc., and a secondary storage device 5A storing data, etc. The secondary storage device 5A is provided with a mouse slit light source linkage control part 10 for visually giving the position recognition in the view depth direction by arranging a slit light source in the direction vertical to the view depth direction, a contrast adjustment control part 11, a color adjustment control part 12 and a slit width adjustment control part 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は図形処理装置および図形
処理装置における図形位置認識方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing apparatus and a graphic position recognition method in the graphic processing apparatus.

【0002】[0002]

【従来の技術】近年、複雑な形状の設計に伴い、CAD
による作業が普及しており、3次元グラフィックスシス
テムにおいては、グラフィックスの機能を応用すること
で、CADシステムの操作性を向上させる方向に進んで
いる。
2. Description of the Related Art In recent years, with the design of complicated shapes, CAD
The work by is spreading, and in the three-dimensional graphics system, the operability of the CAD system is being improved by applying the graphics function.

【0003】CAD作業者は、3次元グラフィックスシ
ステムにおいては、3次元空間上に物体を作成すること
で、設計を進めていく。CADによる設計作業中の3次
元空間上におけるワイヤーフレームモデル、サーフェス
モデル、ソリッドモデル等の物体の形状の判別はシェー
ディング処理を用いることで可能である。しかし、CA
D作業者がワイヤーフレーム状態で3次元空間上に配置
される物体をみる場合、その奥行き方向の位置関係を視
覚的に認識することは困難である。また、オペレーショ
ン過程で奥行き方向の位置情報が必要とされたときや、
作業中の平面いわゆる作業平面上にない要素の選択をし
たいときなどは、必要な位置の座標を実際に調べてその
座標データを入力するとか、作業平面をオペレーション
前に変更しておくなどの作業が必要となり、これらの作
業は図面編集の効率向上を妨げていた。
In a three-dimensional graphics system, a CAD worker advances design by creating an object in a three-dimensional space. It is possible to determine the shape of an object such as a wire frame model, a surface model, or a solid model in a three-dimensional space during CAD design work by using a shading process. But CA
D When a worker looks at an object arranged in a three-dimensional space in a wire frame state, it is difficult to visually recognize the positional relationship in the depth direction. Also, when position information in the depth direction is needed in the operation process,
Working plane When you want to select an element that is not on the so-called work plane, you need to actually check the coordinates of the required position and enter the coordinate data, or change the work plane before operation. However, these operations have hindered improvement in efficiency of drawing editing.

【0004】以下、従来の図形処理装置および図形位置
認識方法について図を用いて説明する。
A conventional graphic processing apparatus and graphic position recognition method will be described below with reference to the drawings.

【0005】図8は従来の図形処理装置を示す構成図で
ある。図8において、1は要求された情報を処理する中
央処理装置、2はウィンドウ、図形要素、文字等を表示
する表示装置、3は文字、数値、位置等のデータを入力
するキーボード、タブレット、マウス3a等の入力装
置、4はオペレーティングシステム、ウィンドウシステ
ム等のプログラムを記憶する主記憶装置、5は形状デー
タベース、保存領域等を記憶する二次記憶装置、6はC
AD作業者が3次元空間にある各要素をどの方向から見
ているのかというビュー方向の情報をもつビュー方向情
報管理部、7はシェーディング処理部、8はシェーディ
ング処理の中で各要素毎の輝度を求める輝度計算部であ
る。
FIG. 8 is a block diagram showing a conventional graphic processing apparatus. In FIG. 8, 1 is a central processing unit that processes requested information, 2 is a display device that displays windows, graphic elements, characters, etc., 3 is a keyboard, tablet, mouse that inputs data such as characters, numerical values, and positions. An input device such as 3a, 4 is a main storage device that stores programs such as an operating system and a window system, 5 is a secondary storage device that stores a shape database, a storage area, and the like, and 6 is C
A view direction information management unit having view direction information indicating from which direction the AD operator is looking at each element in the three-dimensional space, 7 is a shading processing unit, 8 is a luminance of each element in the shading processing. Is a brightness calculation unit for obtaining

【0006】次に、このように構成された従来の図形処
理装置における3次元描画処理を図9のフローチャート
を用いて説明する。
Next, the three-dimensional drawing process in the conventional graphic processing apparatus thus configured will be described with reference to the flowchart of FIG.

【0007】まず、ビュー方向情報管理部6において、
3次元空間上に配置された描画要素をどの方向から見て
いるのかというビュー方向の情報を参照する(S2
1)。次に、輝度計算部8において、描画要素ごとにビ
ュー方向から可視な要素に対してシェーディングの光源
との輝度計算および要素間の色補間を行なう(S2
2)。最後に、シェーディング処理部7において、ディ
スプレイなどの2次元の表示装置2への描画のために、
ピクセル(描画要素つまり画素)毎に色情報による2次
元の表示画データを生成する(S23)。
First, in the view direction information management unit 6,
The view direction information indicating from which direction the drawing elements arranged in the three-dimensional space are viewed is referred to (S2).
1). Next, the brightness calculation unit 8 calculates the brightness with respect to the element visible from the view direction with respect to the shading light source for each drawing element and performs color interpolation between the elements (S2).
2). Finally, in the shading processing unit 7, for drawing on the two-dimensional display device 2 such as a display,
Two-dimensional display image data based on color information is generated for each pixel (drawing element or pixel) (S23).

【0008】このように、従来のシェーディング処理
は、その基準点を光源の一点としているので、ひとつの
要素に関しての3次元的な形状はシェーディング処理後
の配色状態で確認することができる。しかし、いくつか
の要素に対してこの処理を行なった場合、各要素間の相
対的な奥行き方向の位置関係を確認することは困難であ
り、その位置関係を見るにはビュー方向の変更を余儀な
くされた。
As described above, in the conventional shading process, the reference point is one point of the light source, so that the three-dimensional shape of one element can be confirmed in the color arrangement state after the shading process. However, when this process is performed on some elements, it is difficult to confirm the relative positional relationship between elements in the depth direction, and the view direction must be changed to see the positional relationship. Was done.

【0009】また、奥行き方向の位置の確認に関して
は、ビュー方向の位置変更で可能であったとしても、そ
の位置座標が必要である場合やその位置に配置された描
画要素を選択したい場合などは、その位置を確認し、そ
こに例えばマウス3aで選択可能な作業平面を移動させ
る作業を行なわなければならなかった。
Regarding the confirmation of the position in the depth direction, even if it is possible to change the position in the view direction, when the position coordinates are necessary or when the drawing element arranged at that position is desired to be selected, It was necessary to confirm the position and move the work plane selectable with the mouse 3a, for example.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上記従
来の装置は単一の描画要素に対してその形状を確認する
ためには有効であるが、設計図等に作成される図面には
複雑な形状が多数配置され、各要素が形成する全体的な
構成をCAD作業者が視覚的に確認するには各要素の奥
行き方向の位置関係が明確になる必要があり、従来の装
置におけるシェーディング処理では不十分であった。特
に、隠線処理を施していないワイヤーフレームモデルの
場合、モデルの輪郭がすべてワイヤーで表示されるた
め、複雑なモデルになる程、奥行き方向の前後関係は認
識しづらいという問題点があった。
However, although the above-mentioned conventional device is effective for confirming the shape of a single drawing element, a complicated shape is required for a drawing created in a design drawing or the like. In order for the CAD operator to visually confirm the overall configuration formed by each element, the positional relationship of each element in the depth direction must be clear, which is not possible in the shading process in the conventional device. Was enough. In particular, in the case of a wire frame model that has not been subjected to hidden line processing, all the contours of the model are displayed with wires, so the more complicated the model, the more difficult it is to recognize the front-rear relationship in the depth direction.

【0011】また、奥行き方向に関しての位置指定は、
位置指定の前に作業平面を移動するための要素選択や座
標データ入力が必要であり、図面編集の作業効率向上を
妨げているという問題点があった。
The position designation in the depth direction is as follows.
There is a problem that it is necessary to select an element for moving the work plane and input coordinate data before designating the position, which hinders improvement of work efficiency in drawing editing.

【0012】本発明は上記従来の問題点を解決するもの
で、ビューの奥行き方向の位置情報を容易に得ることが
でき、図面編集の作業効率を向上できる図形処理装置お
よび図形位置認識方法を提供することを目的とする。
The present invention solves the above-mentioned conventional problems, and provides a graphic processing device and a graphic position recognition method that can easily obtain position information in the depth direction of a view and improve the work efficiency of drawing editing. The purpose is to do.

【0013】[0013]

【課題を解決するための手段】この目的を達成するため
に本発明の請求項1記載の図形処理装置は、要求された
情報を処理する中央処理装置と、ウィンドウ・図形要素
・文字等を表示する表示装置と、文字・数値・位置等の
データを入力するキーボード・タブレット・マウス等の
入力装置と、オペレーティングシステム・ウィンドウシ
ステム等のプログラムを記憶する主記憶装置と、形状デ
ータベース・保存領域等を記憶する二次記憶装置とから
成る図形処理装置であって、二次記憶装置が、ビューの
奥行き方向に垂直な方向にスリット光源を配置するスリ
ット光源配置制御部と、ワイヤーの表示をスリット光源
に反応させることによりビュー奥行き方向の位置認識を
視覚的に与える描画制御部とを有する構成とした。
In order to achieve this object, a graphic processing apparatus according to claim 1 of the present invention displays a central processing unit for processing requested information, windows, graphic elements, characters and the like. Display device, input device such as keyboard, tablet, mouse, etc. for inputting data such as characters, numerical values, position, main memory device for storing programs such as operating system, window system, shape database, save area, etc. A graphic processing device comprising a secondary storage device for storing, wherein the secondary storage device arranges a slit light source in a direction perpendicular to the depth direction of a view, and a slit light source for displaying a wire. It has a configuration including a drawing control unit that visually recognizes position recognition in the view depth direction by reacting.

【0014】請求項2記載の図形処理装置は、請求項1
において、スリット光源配置制御部が、マウスでの指定
可能な作業平面上にない物体に対してマウスでスリット
光源をビューの奥行き方向に移動させ、ワイヤーの表示
がスリット光源に反応する位置を認識させることによ
り、マウスにより作業平面上にない物体の選択、ビュー
の奥行き方向の位置指定を可能とする構成とした。
A graphic processing apparatus according to a second aspect is the first aspect.
In, the slit light source arrangement control unit moves the slit light source in the depth direction of the view with respect to an object that is not on the work plane that can be specified with the mouse, and recognizes the position where the wire display reacts to the slit light source. As a result, the mouse can be used to select objects that are not on the work plane and to specify the position of the view in the depth direction.

【0015】請求項3記載の図形処理装置は、描画制御
部が、ビューの奥行き方向の距離にスリット幅並びにス
リット光源の方向ベクトル、明暗度、色および強度を指
定することにより、スリット光源による照射範囲を指定
する構成とした。
In the graphic processing device according to the third aspect, the drawing control unit specifies the slit width and the direction vector, intensity, color and intensity of the slit light source in the distance in the depth direction of the view so that the slit light source illuminates. It is configured to specify the range.

【0016】請求項4記載の図形処理装置における図形
位置認識方法は、要求された情報を処理する中央処理装
置と、ウィンドウ・図形要素・文字等を表示する表示装
置と、文字・数値・位置等のデータを入力するキーボー
ド・タブレット・マウス等の入力装置と、オペレーティ
ングシステム・ウィンドウシステム等のプログラムを記
憶する主記憶装置と、形状データベース・保存領域等を
記憶する二次記憶装置とから成る図形処理装置における
位置認識方法であって、ビューの奥行き方向に垂直な方
向に配置されたスリット光源からの照射によって奥行き
方向の位置認識を視覚的に与える構成とした。
A graphic position recognition method in a graphic processing device according to claim 4 is a central processing device for processing requested information, a display device for displaying windows, graphic elements, characters, etc., and characters, numerical values, positions, etc. Figure processing consisting of input devices such as keyboard, tablet, mouse, etc. for inputting the data of main body, main memory device for storing programs such as operating system, window system, etc., and secondary memory device for storing shape database, save area, etc. The position recognition method in the apparatus is configured to visually provide position recognition in the depth direction by irradiation from a slit light source arranged in a direction perpendicular to the depth direction of the view.

【0017】[0017]

【作用】この構成によって、3次元空間上に配置された
ワイヤーフレームの要素に対し、ビューの奥行き方向に
垂直な方向に仮想の平行光線を発する光源(以下、「ス
リット光源」という)の位置を移動可能となしたので、
作業者にワイヤーの遠近感を与えて視覚的に3次元的位
置関係を認識でき、ビューの奥行き方向の位置情報を容
易に得ることができる。
With this configuration, the position of the light source (hereinafter, referred to as a "slit light source") that emits virtual parallel rays in the direction perpendicular to the depth direction of the view is set with respect to the elements of the wire frame arranged in the three-dimensional space. Since it is movable,
By giving the operator a perspective of the wire and visually recognizing the three-dimensional positional relationship, the positional information in the depth direction of the view can be easily obtained.

【0018】[0018]

【実施例】【Example】

(実施例1)以下本発明の一実施例について、図面を参
照しながら説明する。
(Embodiment 1) An embodiment of the present invention will be described below with reference to the drawings.

【0019】図1は本発明の一実施例における図形処理
装置の構成図であり、図1において、1は中央処理装
置、2は表示装置、3は入力装置、3aはマウス、4は
主記憶装置、7はシェーディング処理部、8は輝度計算
部であり、これらは従来例を示す図8と同様のものであ
るので、同一符号を付して、説明は省略する。
FIG. 1 is a block diagram of a graphic processing device according to an embodiment of the present invention. In FIG. 1, 1 is a central processing unit, 2 is a display device, 3 is an input device, 3a is a mouse, and 4 is a main memory. An apparatus, 7 is a shading processing section, and 8 is a luminance calculation section, which are the same as those in FIG. 8 showing a conventional example, and therefore, the same reference numerals are given and the description thereof is omitted.

【0020】また、5Aは作業者にビューの奥行き方向
の位置認識を視覚的に与えることのできる二次記憶装
置、6Aはビュー座標を変換するビュー座標変換部、9
は3次元物体を生成する3次元レンダリング処理部、1
0はスリット光源の配置確定をマウス3aとの連動によ
り行なうスリット光源配置制御部としてのマウス・スリ
ット光源連動制御部、11はスリット光源の明暗度を制
御するコントラスト調整制御部、12はスリット光源の
配色を制御する色調整制御部、13はスリット幅の設定
を制御するスリット幅調整制御部であり、制御部11〜
13は描画制御部を構成する。
Reference numeral 5A denotes a secondary storage device capable of visually giving a worker position recognition in the depth direction of the view, 6A denotes a view coordinate conversion unit for converting the view coordinates, and 9A.
Is a three-dimensional rendering processing unit that generates a three-dimensional object, 1
Reference numeral 0 is a mouse / slit light source interlocking control unit as a slit light source arrangement control unit that determines the arrangement of the slit light source by interlocking with the mouse 3a, 11 is a contrast adjustment control unit that controls the brightness of the slit light source, and 12 is a slit light source. A color adjustment control unit that controls the color arrangement, and 13 is a slit width adjustment control unit that controls the setting of the slit width.
Reference numeral 13 constitutes a drawing controller.

【0021】まず本実施例で用いるスリット光源につい
て説明する。図3は本発明の一実施例におけるスリット
光源20の属性を示す属性説明図である。スリット光源
20は、スリット幅W、スリット光源の方向性を示すベ
クトルV(x、y、z)、光源色C(r(赤)、g
(緑)、b(青))、光源強度I(0<I<1)を属性
として持つ。スリット光源20からのスリット光は無限
遠からの平行光とし、距離による強度の減衰はなく、照
射されるワイヤーは一様な輝度を持つものとする。
First, the slit light source used in this embodiment will be described. FIG. 3 is an attribute explanatory diagram showing attributes of the slit light source 20 in the embodiment of the present invention. The slit light source 20 has a slit width W, a vector V (x, y, z) indicating the directionality of the slit light source, and a light source color C (r (red), g.
(Green), b (blue)), and light source intensity I (0 <I <1) are attributes. It is assumed that the slit light from the slit light source 20 is parallel light from infinity, the intensity is not attenuated by the distance, and the irradiated wire has uniform brightness.

【0022】図4は、本発明の一実施例におけるスリッ
ト光源20によって照射された状態を示すスリット光源
が付加されたモデル状態図である。図4において、20
はスリット光源、PT1〜PT4はスリット光源20に
よって照射されたワイヤーである。図4で定義されたス
リット光源20は、X軸と平行かつ負方向に光線を放
ち、予めユーザが定義を行ったスリット幅、この例では
スリット幅W=1.2の範囲の部分を照射している。ス
リット光源20によって照射されたワイヤーPT1〜P
T4は、マウス3aによってそれぞれの座標位置情報を
得ることができる。
FIG. 4 is a model state diagram in which a slit light source is added to show the state of irradiation by the slit light source 20 in one embodiment of the present invention. In FIG. 4, 20
Is a slit light source, and PT1 to PT4 are wires illuminated by the slit light source 20. The slit light source 20 defined in FIG. 4 emits light rays in the negative direction parallel to the X-axis, and irradiates the slit width defined in advance by the user, in this example, the slit width W = 1.2. ing. Wires PT1 to P irradiated by the slit light source 20
The coordinate position information of T4 can be obtained by the mouse 3a.

【0023】図2は図1に示す本発明の一実施例におけ
る図形処理装置の動作を示すフローチャートである。こ
の図2および図1を用いて本装置におけるスリット光源
付加機能について説明する。
FIG. 2 is a flow chart showing the operation of the graphic processing apparatus in the embodiment of the present invention shown in FIG. The slit light source addition function in this apparatus will be described with reference to FIGS. 2 and 1.

【0024】最初に、3次元レンダリング処理部9にお
いて、描画対象モデルが3次元空間上に配置され(S
1)、次に、マウス・スリット光源連動制御部10にお
いて、マウス・スリット連動モードがオンの状態か否か
を判別する(S2)。マウス・スリット連動モードがオ
ンである場合、まずデフォルト値として事前に用意され
たスリット光源20に関するスリット幅、方向ベクト
ル、光源色、光源強度の情報がセットされる(S3)。
First, in the three-dimensional rendering processing unit 9, the drawing target model is arranged in the three-dimensional space (S
1) Next, the mouse / slit light source interlocking control unit 10 determines whether or not the mouse / slit interlocking mode is on (S2). When the mouse / slit interlocking mode is turned on, first, the slit width, direction vector, light source color, and light source intensity information regarding the slit light source 20 prepared in advance are set as default values (S3).

【0025】CAD作業者は、マウス3aやキーボード
の操作により、スリット光源20の位置、スリット光と
その他の輝度とのコントラストの調整、スリット光源
色、スリット幅の値を任意に設定し、また変更する(S
4〜S7)。
The CAD operator operates the mouse 3a or the keyboard to adjust the position of the slit light source 20, the contrast between the slit light and other brightness, and the slit light source color and the slit width value to be arbitrarily set or changed. Do (S
4-S7).

【0026】続いて、ビュー座標変換部6Aにおいて、
CAD作業者が3次元空間上に配置された物体をどの方
向から見ているのかというビュー方向情報を参照し、視
線方向を奥行き方向(Z方向)として3次元空間の座標
変換を行なう(S8)。次に、輝度計算部8において、
予め定められたスリット光源20の座標、ビュー方向情
報を用い、既存のシェーディング処理に伴う輝度計算を
行なう(S9)。最後に、S8、S9で得た最終結果に
従い、描画対象の2次元デバイス座標への変換処理(描
画処理)を行なう(S10)。
Then, in the view coordinate conversion section 6A,
The CAD worker refers to the view direction information from which direction the object arranged in the three-dimensional space is viewed, and performs coordinate conversion in the three-dimensional space with the line-of-sight direction as the depth direction (Z direction) (S8). . Next, in the brightness calculation unit 8,
Using the predetermined coordinates of the slit light source 20 and the view direction information, the brightness calculation associated with the existing shading processing is performed (S9). Finally, in accordance with the final result obtained in S8 and S9, conversion processing (drawing processing) into the two-dimensional device coordinates of the drawing target is performed (S10).

【0027】S2でマウス・スリット連動モードがオン
でない場合、直ちにS8へ移行する。
If the mouse / slit interlocking mode is not turned on in S2, the process immediately goes to S8.

【0028】次に、図2で示す処理を施された物体に対
して、マウス3aによりビューの奥行き方向の位置情報
を得る処理について図5〜図7を用いて説明する。
Next, the process of obtaining the position information in the depth direction of the view with the mouse 3a for the object subjected to the process shown in FIG. 2 will be described with reference to FIGS.

【0029】図5は、本発明の一実施例におけるマウス
3aとの連動によりスリット光源を移動したときのZ座
標の変化を示すZ座標変化図である。図5において、2
0aは初めのスリット光源、20bは移動後のスリット
光源、21は×印で示すマウスカーソル、21aはスリ
ット光源20aに対応するマウスポイントの位置、21
bはスリット光源20bに対応するマウスポイントの位
置、22は視点、Pa、PA、Pb、PBは3次元空間
上に位置する物体の奥行き方向の座標位置である。図5
で、スリット光源が20aから20bというように移動
するに従い、視点22から確認できるマウスポイントの
位置は、PaからPA、PbからPBのように変化す
る。
FIG. 5 is a Z coordinate change diagram showing a change in the Z coordinate when the slit light source is moved in conjunction with the mouse 3a in the embodiment of the present invention. In FIG. 5, 2
0a is the first slit light source, 20b is the slit light source after the movement, 21 is the mouse cursor indicated by an X mark, 21a is the position of the mouse point corresponding to the slit light source 20a, 21
b is the position of the mouse point corresponding to the slit light source 20b, 22 is the viewpoint, and Pa, PA, Pb, and PB are coordinate positions in the depth direction of the object located in the three-dimensional space. Figure 5
Then, as the slit light source moves from 20a to 20b, the position of the mouse point that can be confirmed from the viewpoint 22 changes from Pa to PA and from Pb to PB.

【0030】スリット光源20の移動機能を図6(a)
の平面図に示すようなマウス3aのボタンB1〜B3に
割り当てる。図6(a)で、B1は+Z方向にスリット
光源20を移動する右ボタン、B2は−Z方向にスリッ
ト光源20を移動する左ボタン、B3はスリット光源2
0のZ座標位置の確定に割り当てられた確定ボタンであ
る。また図6(b)は本発明の一実施例における図形処
理装置のマウス3aによるスリット光源20の位置移動
機能を示す機能説明図で、31は右ボタンB1による移
動方向(プラス移動方向)を示し、32は左ボタンB2
による移動方向(マイナス移動方向)を示す。CAD作
業者は2つのボタンB1、B2により、視覚的にスリッ
ト光源20の移動を確認できる。
The moving function of the slit light source 20 is shown in FIG.
Assigned to buttons B1 to B3 of the mouse 3a as shown in the plan view of FIG. In FIG. 6A, B1 is a right button for moving the slit light source 20 in the + Z direction, B2 is a left button for moving the slit light source 20 in the −Z direction, and B3 is a slit light source 2.
The confirmation button assigned to confirm the Z coordinate position of 0. Further, FIG. 6B is a functional explanatory view showing a position moving function of the slit light source 20 by the mouse 3a of the graphic processing device in one embodiment of the present invention, and 31 shows a moving direction (plus moving direction) by the right button B1. , 32 is the left button B2
Shows the moving direction (minus moving direction). The CAD operator can visually confirm the movement of the slit light source 20 by using the two buttons B1 and B2.

【0031】CAD作業者のマウス3aの操作により、
スリット光源20に照射された要素のZ座標にマウス3
aが移動していることになり、マウス3aによる2次元
的な指定に加えて、奥行き方向の指定も可能になる。
By operating the mouse 3a of the CAD operator,
Mouse 3 on the Z coordinate of the element illuminated by the slit light source 20.
Since a is moving, the depth direction can be specified in addition to the two-dimensional specification by the mouse 3a.

【0032】次に、図7は、本発明の一実施例における
Z座標確定処理のフローチャートである。マウス3aを
用いたZ座標確定の処理を図7に基づいて説明する。ま
ず、スリット光源20の設定状況がオン(ON)である
場合に、マウス3aのボタンB1〜B3にスリット光源
20のZ座標値の増減操作を行なうためのキーを割り付
ける(S11、S12)。次に、CAD作業者からのマ
ウス入力の待機状態に入り、Z座標値が確定するまでは
処理はループ状態となる(S13、S16)。
Next, FIG. 7 is a flow chart of the Z coordinate determination processing in one embodiment of the present invention. The Z coordinate determination process using the mouse 3a will be described with reference to FIG. First, when the setting state of the slit light source 20 is ON, the keys for increasing / decreasing the Z coordinate value of the slit light source 20 are assigned to the buttons B1 to B3 of the mouse 3a (S11, S12). Next, the process enters a loop state until the CAD operator enters a standby state for mouse input and the Z coordinate value is determined (S13, S16).

【0033】CAD作業者からのマウス入力があると、
まずCAD作業者により入力されたボタンがB1、B
2、B3のいずれであるかの判別を行なう(S14、S
15、S16)。入力ボタンがB1の場合は、スリット
光源20のZ座標値を1.0加算し(S17)、3次元
レンダラーの処理モジュールにて輝度計算を行ない(S
18)、再度S13に戻ってマウス入力待機状態とな
る。入力ボタンがB1でなくB2の場合、スリット光源
20のZ座標値を1.0減算し(S19)、輝度計算処
理を経て(S18)、再度S13に戻ってマウス入力待
機状態となる。入力ボタンがB1でもB2でもなくB3
の場合、スリット光源20のZ座標値を確定し(S2
0)、マウス3aの位置情報を作成する(S21)。
When there is a mouse input from the CAD operator,
First, the buttons entered by the CAD operator are B1 and B.
It is determined whether it is 2 or B3 (S14, S
15, S16). When the input button is B1, the Z coordinate value of the slit light source 20 is added by 1.0 (S17), and the brightness is calculated by the processing module of the three-dimensional renderer (S).
18) Then, the process returns to S13 again to enter the mouse input standby state. When the input button is not B1 but B2, the Z coordinate value of the slit light source 20 is subtracted by 1.0 (S19), the brightness calculation process is performed (S18), and the process returns to S13 to enter the mouse input standby state. Input button is not B1 or B2 but B3
In the case of, the Z coordinate value of the slit light source 20 is confirmed (S2
0), the position information of the mouse 3a is created (S21).

【0034】入力ボタンがB1、B2、B3のいずれで
もなかった場合、再度S13に戻ってマウス入力待機状
態となる。つまり、入力ボタンがB3のときスリット光
源20のZ座標値が確定し、S20へ移行することにな
る。
If the input button is not B1, B2, or B3, the process returns to S13 to enter the mouse input standby state. That is, when the input button is B3, the Z coordinate value of the slit light source 20 is confirmed, and the process proceeds to S20.

【0035】上記の処理を行い、スリット光源20の位
置をマウス3aと連動させて操作することにより、奥行
きZ座標値を確定することができる。
By performing the above process and operating the position of the slit light source 20 in conjunction with the mouse 3a, the depth Z coordinate value can be determined.

【0036】このように本実施例では、3次元空間上に
配置されたワイヤーフレームの要素に対し、ビューの奥
行き方向に垂直な方向に仮想の平行光線を発するスリッ
ト光源の位置をマウスにより移動可能となしたことによ
り、作業者にワイヤーの遠近感を与えて視覚的に3次元
的位置関係を認識でき、ビューの奥行き方向の位置情報
を容易に得ることができるので、図面編集の作業効率を
向上させることができる。
As described above, in this embodiment, the position of the slit light source that emits virtual parallel rays can be moved by the mouse in the direction perpendicular to the depth direction of the view with respect to the wire frame element arranged in the three-dimensional space. By doing so, it is possible to give the worker a perspective of the wire and visually recognize the three-dimensional positional relationship, and it is possible to easily obtain position information in the depth direction of the view, which improves the work efficiency of drawing editing. Can be improved.

【0037】[0037]

【発明の効果】以上のように本発明は、二次記憶装置
に、ビューの奥行き方向に垂直な方向にスリット光源を
配置するスリット光源配置制御部と、ワイヤーの表示を
スリット光源に反応させることによりビュー奥行き方向
の位置認識を視覚的に与える描画制御部とを設けること
により、スリット光源の配置を制御可能としたので、作
業者にワイヤーの遠近感を与えて視覚的に3次元的位置
関係を認識でき、ビューの奥行き方向の位置情報を容易
に得ることができるので、図面編集の作業効率を向上さ
せることができる図形処理装置を実現することができ
る。
As described above, according to the present invention, in the secondary storage device, the slit light source arrangement control unit for arranging the slit light source in the direction perpendicular to the depth direction of the view and the display of the wire are made to react with the slit light source. By providing a drawing control unit that visually recognizes the position in the depth direction of the view, the arrangement of the slit light source can be controlled, so that the operator can feel the perspective of the wire and visually recognize the three-dimensional positional relationship. Can be recognized and the position information in the depth direction of the view can be easily obtained, so that it is possible to realize a graphic processing device capable of improving the work efficiency of drawing editing.

【0038】また、スリット光源配置制御部が、マウス
での指定可能な作業平面上にない物体に対してマウスで
スリット光源をビューの奥行き方向に移動させ、ワイヤ
ーの表示がスリット光源に反応する位置を認識させるこ
とにより、マウスにより作業平面上にない物体の選択、
ビューの奥行き方向の位置指定を可能とすることによ
り、3次元的位置関係を認識して、マウスにより容易に
ビューの奥行き方向の位置情報を得ることができるの
で、図面編集の作業効率を向上させることができる図形
処理装置を実現することができる。
Further, the slit light source arrangement control unit moves the slit light source in the depth direction of the view with the mouse with respect to the object not on the work plane that can be designated by the mouse, and the position of the wire display reacting with the slit light source. By recognizing, selecting an object not on the work plane with the mouse,
By enabling the position specification in the depth direction of the view, it is possible to recognize the three-dimensional positional relationship and easily obtain the position information in the depth direction of the view with the mouse, thus improving the work efficiency of drawing editing. It is possible to realize a graphic processing device capable of performing the above.

【0039】さらに、描画制御部により、ビューの奥行
き方向の距離にスリット幅並びにスリット光源の方向ベ
クトル、明暗度、色および強度を指定することにより、
スリット光源による照射範囲を指定するようにしたこと
により、3次元的位置関係を認識して、マウスにより明
確かつ容易にビューの奥行き方向の位置情報を容易に得
ることができるので、図面編集の作業効率を向上させる
ことができる図形処理装置を実現することができる。
Further, the drawing control unit specifies the slit width, the direction vector of the slit light source, the intensity, the color, and the intensity for the distance in the depth direction of the view.
By designating the irradiation range by the slit light source, it is possible to recognize the three-dimensional positional relationship and easily obtain the position information in the depth direction of the view clearly and easily with the mouse. A graphic processing device capable of improving efficiency can be realized.

【0040】さらに、ビューの奥行き方向に垂直な方向
に配置されたスリット光源からの照射によって奥行き方
向の位置認識を視覚的に与えるようにしたことにより、
スリット光源の照射制御により、作業者にワイヤーの遠
近感を与えて視覚的に3次元的位置関係を認識でき、ビ
ューの奥行き方向の位置情報を容易に得ることができる
ので、図面編集の作業効率を向上させることができる図
形処理装置における位置認識方法を実現することができ
る。
Further, the position recognition in the depth direction is visually given by irradiation from the slit light source arranged in the direction perpendicular to the depth direction of the view.
By controlling the irradiation of the slit light source, the operator can feel the perspective of the wire and visually recognize the three-dimensional positional relationship, and the position information in the depth direction of the view can be easily obtained. It is possible to realize a position recognition method in a graphic processing device that can improve the above.

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

【図1】本発明の一実施例における図形処理装置の構成
FIG. 1 is a configuration diagram of a graphic processing device according to an embodiment of the present invention.

【図2】本発明の一実施例における図形処理装置の動作
を示すフローチャート
FIG. 2 is a flowchart showing the operation of the graphic processing device in the embodiment of the present invention.

【図3】本発明の一実施例におけるスリット光源の属性
を示す属性説明図
FIG. 3 is an attribute explanatory diagram showing attributes of a slit light source according to an embodiment of the present invention.

【図4】本発明の一実施例におけるスリット光源が付加
されたモデル状態図
FIG. 4 is a model state diagram with a slit light source added according to an embodiment of the present invention.

【図5】本発明の一実施例におけるスリット光源を移動
したときのZ座標の変化を示すZ座標変化図
FIG. 5 is a Z coordinate change diagram showing a change in Z coordinate when a slit light source is moved in an embodiment of the present invention.

【図6】(a)マウスを示す平面図 (b)本発明の一実施例におけるスリット光源の位置移
動機能を示す機能説明図
FIG. 6A is a plan view showing a mouse. FIG. 6B is a functional explanatory view showing a position moving function of the slit light source in the embodiment of the present invention.

【図7】本発明の一実施例におけるZ座標確定処理のフ
ローチャート
FIG. 7 is a flowchart of Z coordinate determination processing according to an embodiment of the present invention.

【図8】従来の図形処理装置を示す構成図FIG. 8 is a configuration diagram showing a conventional graphic processing device.

【図9】従来の図形処理装置の動作を示すフローチャー
FIG. 9 is a flowchart showing the operation of a conventional graphic processing device.

【符号の説明】[Explanation of symbols]

1 中央処理装置 2 表示装置 3 入力装置 4 主記憶装置 5A 二次記憶装置 6A ビュー座標変換部 7 シェーディング処理部 8 輝度計算部 9 3次元レンダリング処理部 10 マウス・スリット光源連動制御部(スリット光源
配置制御部) 11 コントラスト調整制御部 12 色調整制御部 13 スリット幅調整制御部
1 central processing unit 2 display device 3 input device 4 main storage device 5A secondary storage device 6A view coordinate conversion unit 7 shading processing unit 8 brightness calculation unit 9 three-dimensional rendering processing unit 10 mouse / slit light source interlocking control unit (slit light source arrangement) Control unit) 11 Contrast adjustment control unit 12 Color adjustment control unit 13 Slit width adjustment control unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 9365−5H G06F 15/72 450 K ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location 9365-5H G06F 15/72 450 K

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】要求された情報を処理する中央処理装置
と、ウィンドウ・図形要素・文字等を表示する表示装置
と、文字・数値・位置等のデータを入力するキーボード
・タブレット・マウス等の入力装置と、オペレーティン
グシステム・ウィンドウシステム等のプログラムを記憶
する主記憶装置と、形状データベース・保存領域等を記
憶する二次記憶装置とから成る図形処理装置であって、
前記二次記憶装置は、ビューの奥行き方向に垂直な方向
にスリット光源を配置するスリット光源配置制御部と、
ワイヤーの表示を前記スリット光源に反応させることに
よりビュー奥行き方向の位置認識を視覚的に与える描画
制御部とを有することを特徴とする図形処理装置。
1. A central processing unit for processing requested information, a display unit for displaying windows, graphic elements, characters, etc., and an input for a keyboard, tablet, mouse, etc. for inputting data such as characters, numerical values, positions, etc. A graphic processing device comprising a device, a main storage device that stores programs such as an operating system and a window system, and a secondary storage device that stores a shape database, a storage area, and the like,
The secondary storage device, a slit light source arrangement control unit that arranges the slit light source in a direction perpendicular to the depth direction of the view,
A graphic processing device, comprising: a drawing control unit that visually recognizes position recognition in a view depth direction by reacting a wire display with the slit light source.
【請求項2】前記スリット光源配置制御部は、前記マウ
スでの指定可能な作業平面上にない物体に対して前記マ
ウスで前記スリット光源を前記ビューの奥行き方向に移
動させ、前記ワイヤーの表示が前記スリット光源に反応
する位置を認識させることにより、前記マウスにより作
業平面上にない物体の選択、ビューの奥行き方向の位置
指定を可能とすることを特徴とする請求項1記載の図形
処理装置。
2. The slit light source arrangement control unit causes the mouse to move the slit light source in the depth direction of the view with respect to an object that is not on a work plane that can be designated by the mouse, and the display of the wire is performed. The graphic processing apparatus according to claim 1, wherein by recognizing a position that reacts to the slit light source, it is possible to select an object that is not on the work plane and to specify a position in the depth direction of the view with the mouse.
【請求項3】前記描画制御部は、ビューの奥行き方向の
距離にスリット幅並びに前記スリット光源の方向ベクト
ル、明暗度、色および強度を指定することにより、前記
スリット光源による照射範囲を指定することを特徴とす
る請求項1記載の図形処理装置。
3. The drawing control unit specifies the irradiation range of the slit light source by specifying the slit width and the direction vector, intensity, color and intensity of the slit light source in the distance in the depth direction of the view. The graphic processing apparatus according to claim 1, wherein:
【請求項4】要求された情報を処理する中央処理装置
と、ウィンドウ・図形要素・文字等を表示する表示装置
と、文字・数値・位置等のデータを入力するキーボード
・タブレット・マウス等の入力装置と、オペレーティン
グシステム・ウィンドウシステム等のプログラムを記憶
する主記憶装置と、形状データベース・保存領域等を記
憶する二次記憶装置とから成る図形処理装置における位
置認識方法であって、ビューの奥行き方向に垂直な方向
に配置されたスリット光源からの照射によって奥行き方
向の位置認識を視覚的に与えることを特徴とする図形処
理装置における図形位置認識方法。
4. A central processing unit for processing requested information, a display unit for displaying windows, graphic elements, characters, etc., and a keyboard, tablet, mouse, etc. for inputting data such as characters, numerical values, positions, etc. A position recognition method in a graphic processing device comprising a device, a main storage device for storing programs such as an operating system and a window system, and a secondary storage device for storing a shape database, a storage area, etc. A method for recognizing a figure position in a figure processing apparatus, wherein position recognition in the depth direction is visually given by irradiation from a slit light source arranged in a direction perpendicular to the direction.
JP6310374A 1994-12-14 1994-12-14 Graphic processor and graphic position recognition method Pending JPH08166978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6310374A JPH08166978A (en) 1994-12-14 1994-12-14 Graphic processor and graphic position recognition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6310374A JPH08166978A (en) 1994-12-14 1994-12-14 Graphic processor and graphic position recognition method

Publications (1)

Publication Number Publication Date
JPH08166978A true JPH08166978A (en) 1996-06-25

Family

ID=18004488

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6310374A Pending JPH08166978A (en) 1994-12-14 1994-12-14 Graphic processor and graphic position recognition method

Country Status (1)

Country Link
JP (1) JPH08166978A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016081176A (en) * 2014-10-14 2016-05-16 株式会社ダイテック Design assistance program and design assistance device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016081176A (en) * 2014-10-14 2016-05-16 株式会社ダイテック Design assistance program and design assistance device

Similar Documents

Publication Publication Date Title
US8255814B2 (en) Temporary text and graphic feedback for object manipulators
US6308144B1 (en) Method and apparatus for providing three-dimensional model associativity
KR100249474B1 (en) Graph displaying devices and methods
JPH08166978A (en) Graphic processor and graphic position recognition method
US5896822A (en) Embroidery data processing device
JP2854174B2 (en) Enlargement drawing method in numerical controller
JP3246952B2 (en) CAD processing method and apparatus
JPH08202856A (en) Picture processing method
EP0439333A2 (en) Electronic image modification
JP2004005575A (en) Three-dimensional space graphics processing device and three-dimensional space graphics processing method
JP2751114B2 (en) Character processing method
JPS59194258A (en) Graph processor
JPH06119430A (en) Graphic display device
JPH10154040A (en) Image processor
JPH07295732A (en) Document preparing device and graphic input processing method
JPS62150476A (en) Display device
JPS63285675A (en) Graphic processing system
JPH08137621A (en) Graphic input device and cursor display method
JPH0877228A (en) Graphic processor
JP2001046768A (en) Embroidery data preparation device
JPH10208082A (en) Graphic processor and graphic processing method
JP3078955B2 (en) Filling method
JPH04168483A (en) Window display method
JP3476886B2 (en) Object operation device in virtual space
JPH06274598A (en) Three-dimensional visual point parameter designating device