JPH01305475A - Graphic processing device - Google Patents

Graphic processing device

Info

Publication number
JPH01305475A
JPH01305475A JP63135511A JP13551188A JPH01305475A JP H01305475 A JPH01305475 A JP H01305475A JP 63135511 A JP63135511 A JP 63135511A JP 13551188 A JP13551188 A JP 13551188A JP H01305475 A JPH01305475 A JP H01305475A
Authority
JP
Japan
Prior art keywords
dimensional
line
sight vector
graphic
rotary shaft
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
JP63135511A
Other languages
Japanese (ja)
Inventor
Shigeharu Nishiuchi
西内 重治
Yasuhiko Hirozawa
廣澤 泰彦
Takayuki Fujito
藤戸 隆幸
Tsugio Tomita
次男 富田
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63135511A priority Critical patent/JPH01305475A/en
Publication of JPH01305475A publication Critical patent/JPH01305475A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and accurately perform the rotation of a three-dimensional graphic by affecting and displaying a straight line having depth information set in advance and rotary shaft information to which the three-dimensional graphic representing a rotating direction is inputted. CONSTITUTION:When a rotary shaft is selected, a CPU reads in the data of the selected rotary shaft from a rotary shaft data storage memory, and calculates the rotary shaft 4-1 for auxiliary picture, a three-dimensional circle 4-2 for auxiliary picture, and an arrow 4-3 representing the rotating direction. Next, a line of sight vector is read in from a memory for storing line of sight vector, and the rotary shaft for auxiliary picture, the three-dimensional circle, and the arrow are projected from a read-in line of sight vector, then, are displayed on an auxiliary screen 4. Next, when an angle of rotation is inputted, the CPU calculates the angle, and after storing the line of sight vector in a line of a sight vector memory by converting from an input angle, projects the graphic data of the three-dimensional graphic read in from a graphic data storage memory from the line of sight vector after conversion, and displays it on a display 1.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パーソナルコンピュータやワークステーショ
ンにおけるCADに係り、特に3次元図形を作成及び表
示する図形処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to CAD in personal computers and workstations, and particularly to a graphic processing device for creating and displaying three-dimensional graphics.

〔従来の技術〕[Conventional technology]

従来の装置は、特開昭61−46565号に記載のよう
に、3次元図形を3次元グラフィックディスプレイ装置
に表示する基準となる視線ベクトルの変更は、任意の方
向に対して行なわれていた。しかし、回転軸に対して3
次元図形の回転を行う場合には、ユーザの感覚に頼らな
ければならず、回転軸に対する回転についてあまり考慮
されていなかった。
In conventional devices, as described in Japanese Patent Application Laid-Open No. 61-46565, the line-of-sight vector, which is a reference for displaying a three-dimensional figure on a three-dimensional graphic display device, is changed in any direction. However, 3
When rotating a dimensional figure, it is necessary to rely on the user's senses, and little consideration has been given to rotation about the rotation axis.

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

上記従来技術は、任意の方向から視線ベクトルを指定で
きるのだが1回転軸を基準とした3次元図形の回転に対
しては考慮されておらず、ある軸を中心に回転して作成
される3次元図形などの形状把握や、3次元図形の回転
操作に対し、ユーザの操作のみに頼らねばならず、ユー
ザへの負担が大きかった。
Although the above-mentioned conventional technology allows the line of sight vector to be specified from any direction, it does not take into account the rotation of a three-dimensional figure based on a single rotation axis, and the three-dimensional figure is created by rotating around a certain axis. In order to grasp the shape of a dimensional figure or rotate a three-dimensional figure, it is necessary to rely solely on the user's operation, which places a heavy burden on the user.

本発明の目的は、3次元図形の回転を行う場合。The purpose of the present invention is to rotate a three-dimensional figure.

ユーザが回転軸情報を入力した時に、あらかじめ設定し
ていた奥行き情報をもった直線と、その直線を中心とし
、回転方向を示す3次元図形を、前記入力した回転軸情
報を反映して、表示することにより、ユーザに直観的に
、より扱いやすい図形処理装置を提供することにある。
When the user inputs rotation axis information, a straight line with depth information set in advance and a three-dimensional figure centered on the straight line and indicating the rotation direction are displayed, reflecting the input rotation axis information. By doing so, the object is to provide a graphic processing device that is intuitive and easier to handle for the user.

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

上記目的は、あらかじめ、奥行き情報をもった直線と前
記直線を中心とする回転方向を示す3次元図形を設定し
ておき、入力された回転基準情報により前記直線と前記
回転方向を示す3次元図形を反映、3次元グラフィック
ディスプレイ装置に表示されることにより、達成される
The above purpose is to set in advance a three-dimensional figure that indicates a straight line with depth information and a rotation direction around the straight line, and then create a three-dimensional figure that indicates the straight line and the rotation direction based on input rotation reference information. This is achieved by reflecting and displaying on a three-dimensional graphic display device.

〔作用〕[Effect]

奥行き情報を持つ直線と、前記直線を中心とする回軸方
向を示す3次元図形をメモリに記憶しておき、ユーザが
回転を行う時に、入力手段より入力された情報より回転
軸を選択し、前記直線と回転方向を示す3次元図形をメ
モリから読み出し、読み出したデータを前記選択した回
転軸のデータにより変換し、3次元グラフィックディス
プレイ装置に表示する。
A straight line having depth information and a three-dimensional figure indicating a rotation axis direction centered on the straight line are stored in a memory, and when the user performs rotation, the rotation axis is selected from information input from the input means, A three-dimensional figure indicating the straight line and the rotation direction is read from the memory, the read data is converted by the data of the selected rotation axis, and the converted data is displayed on a three-dimensional graphic display device.

この表示により、どのような状態においても、正確に、
しかも容易に回転軸と回転方向が認識でき、誤操作防止
になる6 〔実施例〕 以下、本発明の一実施例を第1−図〜第5図を用いて説
明する。
This display allows accurate,
Moreover, the axis of rotation and the direction of rotation can be easily recognized, thereby preventing erroneous operation.6 [Embodiment] An embodiment of the present invention will be described below with reference to FIGS. 1-5.

第2図は、本発明の一実施例の装置構成図である。座標
入力装置2(今回はタブレット)及びキーボード3は、
入力コントローラ11に接続される。入力コントローラ
】−1は、システムバス5に接続され、システムバス5
には、デイスプレィコントローラ9及びCPU6が接続
される。デイスプレィコントローラ9は、デイスプレィ
メモリ10と接続され、更にデイスプレィ1に接続され
ている。又、CPU6は奥行き情報を持つ直線と、前記
直線を中心とする回転方向を示す3次元図形を表示する
補助画面出力処理ルーチンや三次元図形出力処理ルーチ
ンなどを持つ図形処理プログラムが格納されるプログラ
ム用メモリ7及び、前記補助画面出力処理ルーチンや前
記三次元図形出力処理ルーチンが処理時に、デイスプレ
ィに表示する時に基準となる視線ベクトルを、変更する
際、基僧となる視線ベクトル格納メモリ12や、回転軸
データ格納メモリ13そして三次元図形に対応する図形
データ格納メモリ14を持つワーク用メモリ8に接続さ
れている。
FIG. 2 is a diagram showing the configuration of an apparatus according to an embodiment of the present invention. The coordinate input device 2 (tablet this time) and keyboard 3 are:
It is connected to the input controller 11. The input controller ]-1 is connected to the system bus 5, and
A display controller 9 and a CPU 6 are connected to the display controller 9 and the CPU 6. The display controller 9 is connected to a display memory 10 and further connected to the display 1. The CPU 6 also stores a graphic processing program having an auxiliary screen output processing routine and a three-dimensional figure output processing routine for displaying a straight line having depth information and a three-dimensional figure indicating a direction of rotation around the straight line. When the auxiliary screen output processing routine or the three-dimensional figure output processing routine changes the reference line-of-sight vector when displaying on the display, the line-of-sight vector storage memory 12 serves as the base line-of-sight vector; It is connected to a work memory 8 having a rotation axis data storage memory 13 and a figure data storage memory 14 corresponding to three-dimensional figures.

次に、第3図のフローチャートに基づいて、本実施例の
図形処理概要について説明する。ここで図形処理対象と
なる三次元図形の図形データは、既にオペレータにより
入力装置であるキーボード3やタブレット2を使って指
示され、CPU6はオペレータからの信号を解し、三次
元図形である図形データを作成し、図形データ格納メモ
リ12に格納し、デイスプレィコントローラ9を介しデ
イスプレィメモリ10に書き込まれデイスプレィ1に表
示しており、更に自由に設定できる回転軸を数本配置し
、回転軸データ格納メモリ13に格納し、初期設定によ
る視線ベクトルが、視線ベクトル格納メモリ12に格納
されているものとする。
Next, an outline of the graphic processing of this embodiment will be explained based on the flowchart of FIG. Here, the graphic data of the three-dimensional figure to be subjected to graphic processing has already been instructed by the operator using the input device, such as the keyboard 3 or the tablet 2, and the CPU 6 interprets the signal from the operator and processes the graphic data, which is the three-dimensional figure. is created, stored in the graphic data storage memory 12, written to the display memory 10 via the display controller 9, and displayed on the display 1. Furthermore, several rotary axes that can be set freely are arranged, and the rotary axis data It is assumed that the line-of-sight vector is stored in the storage memory 13 and the initialized line-of-sight vector is stored in the line-of-sight vector storage memory 12.

今・第1図に示すような三次元図形2が対象となり、デ
イスプレィ1上に表示されていたものとする。(第1図
(a))そこでオペレータが三次元図形2の形状を確認
するために現在とちがう方向から三次元図形2を見たい
場合を考える。オペレータは、キーボード3やツブレッ
ト2を使い、まず回転軸の選択を行うために入力を行う
6 (処理31)入力された信号を受けたCPU6は、
入力信号を解析しく処理32)、本例では回転軸選択処
理(処理33)を行い1例えば第1図における回転軸3
を選んだものとすると1次に第1図における補助画面4
を出力する処理、即ち補助画面出力処理34を行う。補
助画面出力処理34は第・1図を用いて行う。まず、C
PU6は回転軸データ格納メモリ13より前記選択され
た回転軸のデータを読込み(処理41)、回転軸データ
より補助画面用回転軸(第1図4−1)、補助画面用三
次元日(第1図4−2)及び回転方向を示す矢印(第1
図4−3)を算出しく処理42,43,4.4)、視線
ベクトル格納用メモリ12より視線ベクトルを読込み(
処理45)、読込んだ視線ベクトルより前記補助画面用
回転軸、三次元内及び矢印を投影し、デイスプレィコン
トローラ9を介し、デイスプレィメモリ10に書き込ま
れ、デイスプレィ1に表示される(処理4G)(第1図
(b))。
Assume now that a three-dimensional figure 2 as shown in FIG. 1 is the object and is being displayed on the display 1. (FIG. 1(a)) Consider a case where the operator wants to view the three-dimensional figure 2 from a different direction from the current direction in order to confirm the shape of the three-dimensional figure 2. The operator uses the keyboard 3 or the tablet 2 to first make an input to select the rotation axis 6 (Process 31) The CPU 6 receives the input signal, and then
The input signal is analyzed and processed 32), and in this example, rotation axis selection processing (process 33) is performed.1For example, rotation axis 3 in FIG.
If you select , then auxiliary screen 4 in Fig.
, that is, auxiliary screen output processing 34 is performed. The auxiliary screen output process 34 is performed using FIG. First, C
The PU 6 reads the data of the selected rotation axis from the rotation axis data storage memory 13 (process 41), and uses the rotation axis data to determine the rotation axis for the auxiliary screen (Fig. 1, 4-1), the three-dimensional date for the auxiliary screen (the 1 Figure 4-2) and an arrow indicating the direction of rotation (1st
Processes 42, 43, 4.4) to calculate the line-of-sight vector (Figure 4-3) and read the line-of-sight vector from the line-of-sight vector storage memory 12 (
Process 45) Projects the rotation axis for the auxiliary screen, the three-dimensional interior, and the arrow from the read line-of-sight vector, writes it into the display memory 10 via the display controller 9, and displays it on the display 1 (Process 4G) ) (Figure 1(b)).

次にオペレータは第1図における補助画面4を見ること
で、選択された回転軸が正しいことを確認し、正しけれ
ば回転角度入力を、誤りであれば再び回転軸選択を入力
する。今、正しいとし、キーボード3やタブレット2よ
り回転角度を入力するものとする。入力された信号は(
処理31 ) CPU6により解析され(処理32)、
処理35を行うが、CPU6は、回転軸が選択されてい
るので角度計算処理(処理36)を行い、入力された信
号より角度を計算する。次に三次元物体処理(処理37
)を第5図を用いて行う。CPU6は、まず回転軸デー
タ格納メモリ13より読込んだ前記選択された回転軸の
データ(処理51)と、視線ベクトル格納メモリ12よ
り読込んだ視線ベクトル(処理52)と、前記入力角度
より視線ベクトルを変換しく処理53)、変換後の視線
ベクトルを視線ベクトル格納メモリ12に格納後(処理
54)、図形データ格納メモリ14より読込んだ三次元
図形(第1図2)の図形データを(処理55)前記変換
後の視線ベクトルより投影し、デイスプレィコントロー
ラ9を介し、デイスプレィメモリ10に書き込まれ、デ
イスプレィ1に表示される。(処理56)以上で一連の
処理が終了する。
Next, the operator confirms that the selected rotation axis is correct by looking at the auxiliary screen 4 in FIG. 1, and if it is correct, inputs the rotation angle input, and if it is incorrect, inputs the rotation axis selection again. Now, assume that the rotation angle is correct and input the rotation angle using the keyboard 3 or tablet 2. The input signal is (
Processing 31) Analyzed by the CPU 6 (Processing 32),
Processing 35 is performed, but since the rotation axis has been selected, the CPU 6 performs angle calculation processing (processing 36), and calculates the angle from the input signal. Next, three-dimensional object processing (processing 37
) using Figure 5. The CPU 6 first calculates the line of sight based on the data of the selected rotation axis read from the rotation axis data storage memory 13 (processing 51), the line of sight vector read from the line of sight vector storage memory 12 (processing 52), and the input angle. After converting the vector (process 53) and storing the converted line-of-sight vector in the line-of-sight vector storage memory 12 (process 54), the graphic data of the three-dimensional figure (FIG. 1, 2) read from the graphic data storage memory 14 is converted into ( Process 55) The image is projected from the converted line-of-sight vector, written to the display memory 10 via the display controller 9, and displayed on the display 1. (Process 56) This completes the series of processes.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、3次元図形の回転が容易にかつ、正確
に行なえるため、3次元形状確認及び作成の時間短縮、
さらに、3次元形状作成時のオペレータの精神的負担軽
減の効果がある。
According to the present invention, since rotation of a three-dimensional figure can be easily and accurately performed, the time for confirming and creating a three-dimensional figure can be reduced;
Furthermore, there is an effect of reducing the mental burden on the operator when creating a three-dimensional shape.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示す図、第2図は装置構成
図、第3図は図形処理概要のフローチャー1−1第4図
は本発明の補助画面出力処理ルーチンフローチャート、
第5図は3次元物体出力処理ルーチンフローチャートで
ある。 1・・・デイスプレィ、2・・・タブレット、3・・・
キーボード、4・・・ワークステーション本体、5・・
・システムバス、6・・・CPU、7・・・プログラム
用メモリ、8・・・ワーク用メモリ、9・・・デイスプ
レィコントローラ、10・・・デイスプレィメモリ、1
1・・・入力コントローラ、12・・・視線ベクトル格
納メモリ、13・・・回転軸データ格納メモリ、14・
・・図形データ格納メモリ。 第 1 図 (妙) 第2図 %3図 第4図 第5図
FIG. 1 is a diagram showing an embodiment of the present invention, FIG. 2 is a device configuration diagram, FIG. 3 is a flowchart 1-1 of an outline of graphic processing, and FIG. 4 is a flowchart of an auxiliary screen output processing routine of the present invention.
FIG. 5 is a flowchart of a three-dimensional object output processing routine. 1...Display, 2...Tablet, 3...
Keyboard, 4... Workstation body, 5...
・System bus, 6...CPU, 7...Program memory, 8...Work memory, 9...Display controller, 10...Display memory, 1
DESCRIPTION OF SYMBOLS 1... Input controller, 12... Line-of-sight vector storage memory, 13... Rotation axis data storage memory, 14.
...Graphic data storage memory. Figure 1 (strange) Figure 2 %3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] 1、少なくとも座標と角度を入力する入力手段と、奥行
き情報をもつた3次元図形情報を記憶する記憶手段と、
入力された3次元図形情報を回転処理する手段と、及び
その3次元図形を表示する3次元グラフィックディスプ
レイ装置を有する図形処理装置において、あらかじめ、
奥行き情報をもつた直線と、前記直線を中心とする回転
方向を示す3次元図形の情報を記憶し、上記入力手段よ
り、3次元図形の回転基準となる情報が入力された場合
に、その回転基準を前記直線及び回転方向を示す3次元
図形に反映、表示することを特徴とする図形処理装置。
1. Input means for inputting at least coordinates and angles; storage means for storing three-dimensional graphic information having depth information;
In a graphic processing device having means for rotating input three-dimensional graphic information and a three-dimensional graphic display device for displaying the three-dimensional graphic, in advance,
A straight line with depth information and information on a three-dimensional figure indicating a direction of rotation around the straight line are stored, and when information serving as a rotation reference for the three-dimensional figure is input from the input means, the rotation is performed. A graphic processing device characterized in that a reference is reflected and displayed on a three-dimensional graphic indicating the straight line and rotational direction.
JP63135511A 1988-06-03 1988-06-03 Graphic processing device Pending JPH01305475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63135511A JPH01305475A (en) 1988-06-03 1988-06-03 Graphic processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63135511A JPH01305475A (en) 1988-06-03 1988-06-03 Graphic processing device

Publications (1)

Publication Number Publication Date
JPH01305475A true JPH01305475A (en) 1989-12-08

Family

ID=15153473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63135511A Pending JPH01305475A (en) 1988-06-03 1988-06-03 Graphic processing device

Country Status (1)

Country Link
JP (1) JPH01305475A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02254492A (en) * 1989-03-29 1990-10-15 Okuma Mach Works Ltd Graphic display device
US5303337A (en) * 1990-02-28 1994-04-12 Hitachi, Ltd. Method and device for determining a viewing perspective for image production

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02254492A (en) * 1989-03-29 1990-10-15 Okuma Mach Works Ltd Graphic display device
US5303337A (en) * 1990-02-28 1994-04-12 Hitachi, Ltd. Method and device for determining a viewing perspective for image production

Similar Documents

Publication Publication Date Title
US5588098A (en) Method and apparatus for direct manipulation of 3-D objects on computer displays
US5583977A (en) Object-oriented curve manipulation system
JPS6297012A (en) Robot teaching device
KR930020300A (en) Rotating object in 3D space, graphic display method and device
JPH042968B2 (en)
JPH09230831A (en) Display, information processor and its image display method
JPH01305475A (en) Graphic processing device
JPH08287291A (en) Image display system
JP4711843B2 (en) Graphic processing apparatus and graphic processing method
JPH0634219B2 (en) Three-dimensional projection image display device
WO1995011482A1 (en) Object-oriented surface manipulation system
JP2002311817A (en) Navigation device for mobile object
JPH08249500A (en) Method for displaying three-dimensional graphic
JP3104543B2 (en) Instruction image display method for rotating and displaying a multidimensional display figure and method for displaying a rotationally moving figure of a multidimensional display figure
JPH11203473A (en) Coordinate system setting method and image measuring device
JP3069863B2 (en) Graphic display processing device and graphic display processing method
JPS6321952B2 (en)
JPH01134521A (en) Input/correction device for three-dimensional coordinate
JP2822672B2 (en) Graphic drawing method and apparatus
JPH07120362B2 (en) Three-dimensional coordinate axis display processing method
JPH07134781A (en) Method for directing the rotation of three-dimensional object
JPH01306894A (en) Display processor
JPS6254375A (en) Graphic input system
JPS61204779A (en) Three-dimensional shape input and display device
JPH11213178A (en) Three-dimensional data display and recording medium recorded with three-dimensional data transformation program