JP2001307132A - Method for processing three-dimensional shape and storage medium storing program for executing the method - Google Patents

Method for processing three-dimensional shape and storage medium storing program for executing the method

Info

Publication number
JP2001307132A
JP2001307132A JP2000115663A JP2000115663A JP2001307132A JP 2001307132 A JP2001307132 A JP 2001307132A JP 2000115663 A JP2000115663 A JP 2000115663A JP 2000115663 A JP2000115663 A JP 2000115663A JP 2001307132 A JP2001307132 A JP 2001307132A
Authority
JP
Japan
Prior art keywords
dimensional shape
displayed
dimensional
processing method
cube
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
JP2000115663A
Other languages
Japanese (ja)
Inventor
Toru Fukuhara
徹 福原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000115663A priority Critical patent/JP2001307132A/en
Publication of JP2001307132A publication Critical patent/JP2001307132A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a three-dimensional(3D) shape processing method capable of displaying segments having 3D directions and lengths such as a normal, a tangent and a visual line direction on 3D space so that a user can easily understand the directions and lengths in the case of displaying the segments on a two-dimensional(2D) screen. SOLUTION: Cubes Q (cubes whose respective faces are displayed) whose directions are shown are additionally displayed correspondingly to segments b, c indicating directions concerned with a line L to be a 3D shape to be displayed. Namely the start point coordinates and end point coordinates are found out in each of the segments b, c, a distance D between the start point coordinates and the end point coordinates is found out, a cube having the start point coordinates as an origin, the same inclinations as the segments b, c and height and width of D is generated, and projection processing similar to other display elements is applied to the generated cubes and the processed images are displayed on a screen.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、対象とする3次元
形状に係わる3次元の方向を示す線分を2次元の面上に
投影表示する3次元形状処理方法およびその方法を実施
するためのプログラムを記憶した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a three-dimensional shape processing method for projecting and displaying a line segment indicating a three-dimensional direction related to a target three-dimensional shape on a two-dimensional surface, and a method for implementing the method. The present invention relates to a storage medium storing a program.

【0002】[0002]

【従来の技術】従来より、グラフィクス表示装置とコン
ピュータとを用いたCADシステムまたはCAMシステ
ムなど3次元形状処理システムでは、3次元形状を生成
し、生成されている3次元形状を変形させ、または、3
次元形状上で様々な判定を行っている。なお、3次元形
状(3次元立体)とは、例えば境界表現形式のソリッド
モデルデータとして生成された形状を指す。その境界表
現形式のソリッドモデルとは、稜線や頂点や面というよ
うな要素により3次元空間上に閉じた領域を定義し、中
身の詰まった立体を表現したものである。このような3
次元形状処理システムにおいて、対象とする3次元形状
に係わる3次元の方向を示す線分を2次元の面上に投影
表示する。なお、方向を示す線分とは、例えば3次元形
状を構成している面の法線の方向や稜線の接線の方向な
どを視覚化した線分などであり、従来の技術では、ただ
1本の線分を必要な位置に設定することによりそれらを
画面に表示していた。しかしながら、このような場合、
3次元の情報を有した接線や法線などを、2次元画面の
表示装置などに表示する際、奥行き方向の情報が欠落し
てしまい、利用者にとって示された方向が分かりにくい
という問題があった。例えば図8の例の場合では、線L
上の線aが図に向かって手前に向かっているものなの
か、奥へ向かっているものなのか、または、視線方向に
対して垂直方向なのかを正確に判断することが不可能で
ある。また、方向だけではなく、その方向ベクトルの持
つ大きさについて表示したい場合もあるが、視線方向と
比較的近い角度になっている線分は短く表示されること
になり、図から正確な大きさを判断することは困難であ
る(図9参照)。また、3次元形状処理を行なうとき
は、視点の位置や視線方向を頻繁に変更する。このよう
なときは、マウス入力装置などポインティングデバイス
を用いてリアルタイムに視点や視線の移動を行いたい
し、このときに利用者が操作するための方向の目安とな
るものを画面上に表示したいが、基準となるワールド座
標系で視線方向を処理したとき、視線方向の表示が単純
な線分による表示では正確に認識することが困難である
(図10参照)。
2. Description of the Related Art Conventionally, a three-dimensional shape processing system such as a CAD system or a CAM system using a graphics display device and a computer generates a three-dimensional shape and deforms the generated three-dimensional shape. 3
Various decisions are made on the dimensional shape. The three-dimensional shape (three-dimensional solid) refers to a shape generated as, for example, solid model data in a boundary expression format. A solid model in the boundary expression format is a model in which a closed area in a three-dimensional space is defined by elements such as ridge lines, vertices, and faces, and a solid body is expressed. Such 3
In a two-dimensional shape processing system, a line segment indicating a three-dimensional direction related to a target three-dimensional shape is projected and displayed on a two-dimensional surface. The line segment indicating the direction is, for example, a line segment visualizing the direction of the normal line of the surface forming the three-dimensional shape, the direction of the tangent line of the ridge line, and the like. By setting the line segments at the required positions, they were displayed on the screen. However, in such a case,
When displaying a tangent line, a normal line, or the like having three-dimensional information on a display device of a two-dimensional screen, there is a problem that information in a depth direction is lost, and it is difficult for a user to recognize the indicated direction. Was. For example, in the case of the example of FIG.
It is impossible to accurately determine whether the upper line a is toward the front, toward the back, or perpendicular to the viewing direction. In addition, there are cases where it is desired to display not only the direction but also the size of the direction vector, but a line segment that is at an angle relatively close to the line of sight will be displayed short, and the exact size from the figure will be displayed. Is difficult to determine (see FIG. 9). When performing the three-dimensional shape processing, the position of the viewpoint and the direction of the line of sight are frequently changed. In such a case, it is desirable to use a pointing device such as a mouse input device to move the viewpoint and line of sight in real time, and to display on the screen an indication of the direction for the user to operate at this time. When the line-of-sight direction is processed in the reference world coordinate system, it is difficult to accurately recognize the line-of-sight direction with a simple line display (see FIG. 10).

【0003】[0003]

【発明が解決しようとする課題】従来の技術において
は、3次元空間上の法線、接線および視線方向など3次
元の方向や大きさを持った線分を2次元の画面に表示す
るとき、その方向や大きさが利用者に分かりにくいとい
う問題があった。本発明の課題は、このような従来技術
の問題を解決することにある。すなわち、本発明の目的
は、3次元空間上の法線、接線および視線方向など3次
元の方向や大きさを持った線分を2次元の画面に表示す
る時、その方向や大きさが利用者に分かりやすい3次元
形状処理方法およびその方法を実施するためのプログラ
ムを記憶した記憶媒体を提供することにある。
In the prior art, when a line segment having a three-dimensional direction and size such as a normal, a tangent, and a line of sight in a three-dimensional space is displayed on a two-dimensional screen, There was a problem that the direction and size were difficult for the user to understand. An object of the present invention is to solve such a problem of the related art. That is, an object of the present invention is to use a direction and a size when displaying a line segment having a three-dimensional direction and size such as a normal, a tangent, and a line of sight in a three-dimensional space on a two-dimensional screen. Another object of the present invention is to provide a three-dimensional shape processing method which is easy for a user to understand, and a storage medium storing a program for executing the method.

【0004】[0004]

【課題を解決するための手段】前記課題を解決するため
に、請求項1に記載の発明は、3次元形状における方向
を2次元の面上に投影表示する2次元処理方法におい
て、表示対象の3次元形状に係わる方向を示す線分に対
応付けて向きのわかる立方体または直方体を付加表示す
ることを特徴とする。請求項2に記載の発明は、請求項
1記載の3次元形状処理方法において、大きさに意味を
持つベクトル線分を表示する場合、ベクトルの大きさを
立方体の辺または直方体の前記ベクトルと同方向の辺の
大きさにして前記立方体または直方体を表示することを
特徴とする。請求項3に記載の発明は、請求項1または
請求項2に記載の3次元形状処理方法において、立方体
または直方体の一つの辺の方向を、方向を示す線分の方
向に一致させることを特徴とする。請求項4に記載の発
明は、請求項1に記載の3次元形状処理方法において、
表示された3次元形状の視線方向を示す線分に対応付け
て向きのわかる立方体または直方体を付加表示すること
を特徴とする。請求項5に記載の発明は、請求項4に記
載の3次元形状処理方法において、視線方向を変化させ
たとき、前記視線方向に一致させて立方体または直方体
の一辺の方向を変化させることを特徴とする。請求項6
に記載の発明は、請求項1乃至請求項5のいずれか1つ
の請求項に記載の3次元形状処理方法を実施するための
プログラムを記憶したことを特徴とする。
According to a first aspect of the present invention, there is provided a two-dimensional processing method for projecting and displaying a direction in a three-dimensional shape on a two-dimensional surface. A cubic or rectangular parallelepiped whose direction is known is additionally displayed in association with a line segment indicating a direction related to the three-dimensional shape. According to a second aspect of the present invention, in the three-dimensional shape processing method according to the first aspect, when a vector line segment having a significant magnitude is displayed, the magnitude of the vector is the same as that of the side of a cube or the vector of a rectangular parallelepiped. The cubic or rectangular parallelepiped is displayed with the size of the side in the direction. According to a third aspect of the present invention, in the three-dimensional shape processing method according to the first or second aspect, the direction of one side of the cube or the rectangular parallelepiped is matched with the direction of a line segment indicating the direction. And According to a fourth aspect of the present invention, in the three-dimensional shape processing method according to the first aspect,
A cubic or rectangular parallelepiped whose direction is known is additionally displayed in association with a line segment indicating the line of sight of the displayed three-dimensional shape. According to a fifth aspect of the present invention, in the three-dimensional shape processing method according to the fourth aspect, when the direction of the line of sight is changed, the direction of one side of the cube or the rectangular parallelepiped is changed in accordance with the direction of the line of sight. And Claim 6
According to a third aspect of the present invention, a program for executing the three-dimensional shape processing method according to any one of the first to fifth aspects is stored.

【0005】[0005]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は本発明の1つの実施
の形態に係る3次元形状処理方法を実施するための3次
元形状処理装置を示すブロック図である。図1に示した
ように、この3次元形状処理装置は、データ処理部1
と、入力装置2と、表示装置3と、プロッタ4と、デー
タメモリ(例えばRAM)5と、外部記憶装置(例えば
ハードディスク装置)6および記憶媒体駆動装置7など
を備えている。データ処理部1と、入力装置2と、表示
装置3と、プロッタ4と、データメモリ5と、外部記憶
装置6および記憶媒体駆動装置7は、相互に接続されて
いる。データ処理部1は、プログラムをロードするメモ
リとそのプログラムに従って動作するCPUを有して3
次元形状モデルを生成し、本発明に係わる表示処理を行
ったりする。入力装置2は、マウス入力装置およびキー
ボード入力装置からなり、利用者が指示内容などを入力
するためのものである。表示装置3は、3次元形状モデ
ルなどを表示する。プロッタ4は、3次元形状モデル
(以下、3次元形状と略す)などを用紙上に出力する。
データメモリ5は、各種データを一時的に記憶する。外
部記憶装置6は、複数の3次元形状モデルデータ(以
下、形状データと略す)およびプログラムなどを記憶す
る。記憶媒体駆動装置7は、着脱可能な記憶媒体を駆動
する。図2は図8と同じ条件の表示に関する本発明の第
1の実施の形態に係る3次元形状処理方法を説明するた
めの説明図である。図2に示したように、この第1の実
施の形態では、表示対象の3次元形状である線Lに係わ
る方向を示す線分(図示の例は接線)に対応付けて向き
の分かる立方体Q(直方体でもよい)を付加表示する。
これにより、立方体Qの傾きが分かり、その傾きから、
線aが線L上から始まり、斜め手前に向かってきている
ことが分かる。この実施の形態では、線aの始点SPを
立方体の一つの面の中心に一致させ、線aの傾きと立方
体の傾きを一致させているからである。すなわち、図2
により、始点SPの属する面が立方体の奥の面であるこ
とが分かり、線aと立方体が同じ傾きになるためには線
aは手前に向かうしかないのである。なお、図8に示し
た従来の技術ではこの方向が明らかにならない。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing a three-dimensional shape processing apparatus for performing a three-dimensional shape processing method according to one embodiment of the present invention. As shown in FIG. 1, the three-dimensional shape processing apparatus includes a data processing unit 1
, An input device 2, a display device 3, a plotter 4, a data memory (for example, RAM) 5, an external storage device (for example, hard disk device) 6, a storage medium drive device 7, and the like. The data processing unit 1, the input device 2, the display device 3, the plotter 4, the data memory 5, the external storage device 6, and the storage medium driving device 7 are interconnected. The data processing unit 1 includes a memory for loading a program and a CPU that operates according to the program.
A dimensional shape model is generated, and a display process according to the present invention is performed. The input device 2 includes a mouse input device and a keyboard input device, and is used by a user to input an instruction content and the like. The display device 3 displays a three-dimensional shape model and the like. The plotter 4 outputs a three-dimensional shape model (hereinafter abbreviated as a three-dimensional shape) on a sheet.
The data memory 5 temporarily stores various data. The external storage device 6 stores a plurality of three-dimensional shape model data (hereinafter abbreviated as shape data), a program, and the like. The storage medium drive 7 drives a removable storage medium. FIG. 2 is an explanatory diagram for describing a three-dimensional shape processing method according to the first embodiment of the present invention regarding display under the same conditions as in FIG. As shown in FIG. 2, in the first embodiment, the cube Q whose direction is known in association with a line segment (tangent line in the illustrated example) indicating a direction related to a line L which is a three-dimensional shape to be displayed. (It may be a rectangular parallelepiped).
Thereby, the inclination of the cube Q is known, and from the inclination,
It can be seen that the line a starts from the line L and is approaching diagonally forward. This is because, in this embodiment, the starting point SP of the line a coincides with the center of one surface of the cube, and the inclination of the line a and the inclination of the cube coincide. That is, FIG.
Thus, it can be seen that the plane to which the start point SP belongs is the plane at the back of the cube, and the line a must be directed to the near side so that the line a and the cube have the same inclination. This direction is not clear in the prior art shown in FIG.

【0006】図3は図9と同じ条件の表示に関する本発
明の第2の実施の形態に係る3次元形状処理方法を説明
するための説明図である。図3に示したように、この第
2の実施の形態では、表示対象の3次元形状である線L
に係わる方向を示す線分(図示の例は接線)に対応付け
て向きの分かる立方体Q(直方体でもよい)を付加表示
している。ベクトル線分の大きさを立方体の辺または直
方体の前記ベクトルと同方向の辺の大きさにして前記立
方体または直方体を表示する。線L上に始点を持つ線B
と線Cはそのようにして求めた長さで、線Bおよび線C
の長さがそれぞれ対応する立方体の1辺の長さと等し
く、かつ、立方体Qbと立方体Qcがほぼ同じ大きさで
あることから、図3では線bと線cの長さがほぼ同等で
あることが分かり、それぞれの向いている方向も、線b
については図に向かって手前斜め方向であることが分か
り、線cについては右上方向であることが分かる。図9
に示した従来の技術では、そのことは明らかでない。図
4は、この第2の実施の形態を説明するためのフロー図
である。以下、図4および図5などに基づいて第2の実
施の形態の動作を説明する。まず、表示の対象となるベ
クトル線分Vについて、データ処理部1がその始点座標
SPと終点座標EPを求める(ステップS1)。そし
て、始点座標SPと終点座標EPの距離Dを求める(ス
テップS2)。続いて、始点座標SPを原点として、傾
きがベクトル線分Vと同一で、高さと幅がDの立方体を
生成する(ステップS3)。このときの立方体の置かれ
る角度(立方体のベクトル線分方向の軸を回転軸とした
ときの回転角度)は一意には決まらないので、自由に決
定する。次に、生成した立方体に対して他の表示要素の
場合と同様の投影処理を行ない、画面に表示する(ステ
ップS4)。なお、前記において、立方体の代わりに直
方体を用いてもよい。この場合には、その直方体のベク
トル線分Vと同方向の長さをベクトル線分Vと同じ長さ
にする。このようにして、この第2の実施の形態によれ
ば、3次元空間上の接線など3次元の方向や大きさを持
った線分を2次元の画面に表示するとき、その方向や大
きさが利用者に分かりやくなる。
FIG. 3 is an explanatory diagram for explaining a three-dimensional shape processing method according to the second embodiment of the present invention, which is related to display under the same conditions as in FIG. As shown in FIG. 3, in the second embodiment, a line L which is a three-dimensional shape to be displayed is
A cubic Q (or a rectangular parallelepiped) whose direction is known is additionally displayed in association with a line segment (tangent in the illustrated example) indicating the direction related to. The size of the vector line segment is set to the size of the side of the cube or the side of the cube in the same direction as the vector, and the cube or the rectangle is displayed. Line B with start point on line L
And line C are the lengths determined in this way, and line B and line C
Is equal to the length of one side of the corresponding cube, and the cubes Qb and Qc have substantially the same size. Therefore, in FIG. 3, the lengths of the lines b and c are substantially equal. And the direction in which each faces is also a line b
It can be seen that the direction is obliquely toward the front of the figure, and that the line c is the upper right direction. FIG.
This is not clear in the prior art shown in FIG. FIG. 4 is a flowchart for explaining the second embodiment. Hereinafter, the operation of the second embodiment will be described with reference to FIGS. First, for the vector line segment V to be displayed, the data processing unit 1 obtains the start point coordinates SP and the end point coordinates EP (step S1). Then, a distance D between the start point coordinates SP and the end point coordinates EP is obtained (step S2). Subsequently, a cube having the same inclination as the vector line segment V, the height and the width D is generated with the starting point coordinates SP as the origin (step S3). At this time, the angle at which the cube is placed (the rotation angle when the axis of the cube in the direction of the vector line segment is used as the rotation axis) is not uniquely determined, and is freely determined. Next, the generated cube is subjected to the same projection processing as in the case of other display elements, and is displayed on the screen (step S4). In the above, a rectangular parallelepiped may be used instead of a cube. In this case, the length of the rectangular parallelepiped in the same direction as the vector line segment V is set to the same length as the vector line segment V. As described above, according to the second embodiment, when a line segment having a three-dimensional direction and size such as a tangent in a three-dimensional space is displayed on a two-dimensional screen, the direction and size are displayed. Is easy for the user to understand.

【0007】図4は図10と同じ条件の表示に関する本
発明の第3の実施の形態に係る3次元形状処理方法を説
明するための説明図である。本発明の第3の実施の形態
では、図6に示すように、表示された3次元形状の視線
方向を示す線分に対応付けて向きの分かる立方体または
直方体を付加表示する。本発明の第3の実施の形態で
は、視線方向を表す矢印について、その方向を示す立方
体を描画することにより、2次元化による奥行き方向の
喪失を回避する。また、利用者の操作により視線方向が
変化するとき、この立方体や直方体をリアルタイムに動
かすことで、そのときの方向を明確にすることができ
る。図4は、この第2の実施の形態を説明するためのフ
ロー図である。以下、図7に基づいて立方体を動かす場
合の動作を説明する(直方体を動かす場合も同様であ
る)。まず、表示の対象となる視線方向を示すベクトル
線分Vについて、データ処理部1がそのときの始点座標
SPと終点座標EPを求める(ステップS11)。そし
て、始点座標SPと終点座標EPの距離Dを求める(ス
テップS12)。続いて、始点座標SPを原点として、
傾きがベクトル線分Vと同一で、高さと幅がDの立方体
を生成する(ステップS13)。このときの立方体の置
かれる角度(立方体のベクトル線分方向の軸を回転軸と
したときの回転角度)は一意には決まらないので、自由
に決定する。次に、生成した立方体に対して他の表示要
素の場合と同様の投影処理を行ない、画面に表示する
(ステップS14)。なお、前記において、立方体の代
わりに直方体を用いる場合には、その直方体のベクトル
線分Vと同方向の長さをベクトル線分Vと同じ長さにす
る。続いて、入力装置2により入力される情報を監視す
ることにより、データ処理部1は視線方向を示すベクト
ル線分の位置が変更になったか否かを判定する(ステッ
プS15)。そして、変更されたと判定されたならば
(ステップS15でYes)、そのときまで表示させて
いた立方体の表示を終わらせ(ステップS16)、変更
されたベクトル線分の位置の場合でステップS11から
繰り返す。
FIG. 4 is an explanatory diagram for explaining a three-dimensional shape processing method according to the third embodiment of the present invention, which is related to display under the same conditions as in FIG. In the third embodiment of the present invention, as shown in FIG. 6, a cubic or rectangular parallelepiped whose direction is known is additionally displayed in association with a line segment indicating the line of sight of the displayed three-dimensional shape. In the third embodiment of the present invention, a cube representing the direction of the line of sight is drawn with respect to the arrow indicating the line of sight, thereby avoiding the loss of the depth direction due to the two-dimensionalization. Further, when the direction of the line of sight changes due to the operation of the user, the direction at that time can be clarified by moving the cube or the rectangular parallelepiped in real time. FIG. 4 is a flowchart for explaining the second embodiment. Hereinafter, the operation when the cube is moved will be described based on FIG. 7 (the same applies to the case where the rectangular parallelepiped is moved). First, for the vector line segment V indicating the line of sight to be displayed, the data processing unit 1 obtains the start point coordinates SP and the end point coordinates EP at that time (step S11). Then, a distance D between the start point coordinates SP and the end point coordinates EP is obtained (step S12). Then, using the starting point coordinates SP as the origin,
A cube having the same inclination as the vector line segment V and a height and width D is generated (step S13). At this time, the angle at which the cube is placed (the rotation angle when the axis of the cube in the direction of the vector line segment is used as the rotation axis) is not uniquely determined, and is freely determined. Next, the generated cube is subjected to the same projection processing as that for the other display elements, and is displayed on the screen (step S14). In the above, when a rectangular parallelepiped is used instead of a cube, the length of the rectangular parallelepiped in the same direction as the vector line segment V is set to be the same as the vector line segment V. Subsequently, by monitoring information input by the input device 2, the data processing unit 1 determines whether the position of the vector line segment indicating the line of sight has been changed (step S15). If it is determined that the cube has been changed (Yes in step S15), the display of the cube displayed up to that point is ended (step S16), and the process is repeated from step S11 in the case of the position of the changed vector line segment. .

【0008】これに対して、ステップS15において、
変更されていないと判定されたならば(ステップS15
でNo)、作業終了か否かを判定し(ステップS1
7)、作業終了でなければ(ステップS17でNo)、
所定時間ウェイト状態とした後に、ステップS15のベ
クトル線分位置変更判定へ戻る。なお、ウェイト状態で
は他の処理を行うことが可能である。また、ステップS
17において、作業終了と判定されたならば(ステップ
S17でYes)、動作を終了させる。こうして、この
第3の実施の形態によれば、表示される3次元の方向が
視線方向である場合についても、その方向を2次元の画
面上に利用者に分かりやく表示することができるし、視
線方向が変わっても同様に分かりやすく表示することが
できる。以上、表示される3次元の方向が接線や視線方
向である場合について説明したが、同様にして、表示さ
れる3次元の方向が法線であるような場合にも本発明の
3次元形状処理方法を実施することができる。また、表
示装置に表示する場合で本発明による3次元形状処理方
法を説明したが、本発明で言う表示には、プロッタによ
り紙上に表示する場合も含まれる。また、以上説明した
ような本発明による3次元形状処理方法を実施するため
のプログラムを記憶した機械読み取り可能な記憶媒体を
得ることができる。この記憶媒体に記憶されたプログラ
ムをパーソナルコンピュータなど情報処理装置に読み取
らせ実行させることにより本発明による3次元形状処理
方法を実施することができる。
On the other hand, in step S15,
If it is determined that no change has been made (step S15
No), it is determined whether or not the work is completed (step S1).
7) If the work is not completed (No in step S17),
After the wait state for the predetermined time, the process returns to step S15 to determine the change of the position of the vector line segment. In the wait state, other processing can be performed. Step S
In 17, if it is determined that the work is finished (Yes in step S17), the operation is finished. Thus, according to the third embodiment, even when the displayed three-dimensional direction is the line-of-sight direction, the direction can be displayed on the two-dimensional screen in a manner that is easy for the user to understand. Even if the line of sight changes, it can be similarly displayed in an easily understandable manner. The case where the displayed three-dimensional direction is the tangent line or the line-of-sight direction has been described above. Similarly, the case where the displayed three-dimensional direction is the normal line is also described. The method can be performed. Further, the three-dimensional shape processing method according to the present invention has been described in the case of displaying on a display device, but the display according to the present invention also includes the case of displaying on paper by a plotter. Further, it is possible to obtain a machine-readable storage medium storing a program for performing the three-dimensional shape processing method according to the present invention as described above. The three-dimensional shape processing method according to the present invention can be performed by causing an information processing device such as a personal computer to read and execute the program stored in the storage medium.

【0009】[0009]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、表示対象の3次元形状に係わる方向を示
す線分に対応付けて向きの分かる立方体または直方体が
付加表示されるので、3次元空間上の3次元の方向を持
った線分を2次元の画面に表示するとき、その方向が利
用者に分かりやすくなる。また、請求項2に記載の発明
によれば、請求項1に記載の発明において、大きさに意
味を持つベクトル線分を表示する場合、ベクトルの大き
さを立方体の辺または直方体の前記ベクトルと同方向の
辺の大きさにして前記立方体または直方体が表示される
ので、3次元空間上の3次元の方向や大きさを持った線
分を2次元の画面に表示するとき、その方向や大きさが
利用者に分かりやすくなる。また、請求項3に記載の発
明によれば、請求項1または請求項2に記載の発明にお
いて、立方体または直方体の一つの辺の方向が、方向を
示す線分の方向に一致するので、立方体または直方体の
向きから容易に方向を示す線分の方向が分かる。また、
請求項4に記載の発明によれば、請求項1に記載の発明
において、表示された3次元形状の視線方向を示す線分
に対応付けて向きの分かる立方体または直方体が付加表
示されるので、3次元空間上の3次元の方向を持った視
線方向を2次元の画面に表示するとき、その方向が利用
者に分かりやすくなる。また、請求項5に記載の発明で
は、請求項4に記載の発明において、視線方向を変化さ
せたとき、前記視線方向に一致させて立方体または直方
体の一辺の方向が変化するので、視線方向が変化した場
合においても、3次元の方向を持った視線方向を2次元
の画面に表示するとき、その方向が利用者に分かりやす
くなる。また、請求項6に記載の発明によれば、請求項
1乃至請求項5のいずれか1つの請求項に記載の3次元
形状処理方法を実施するためのプログラムを記憶した機
械読み取り可能な記憶媒体を得ることができから、この
記憶媒体に記憶されたプログラムを情報処理装置に読み
取らせ実行させることにより請求項1乃至請求項5記載
の発明の効果を得ることができる。
As described above, according to the first aspect of the present invention, a cube or a rectangular parallelepiped whose direction is known is additionally displayed in association with the line segment indicating the direction related to the three-dimensional shape of the display object. Therefore, when a line segment having a three-dimensional direction in a three-dimensional space is displayed on a two-dimensional screen, the user can easily understand the direction. According to the second aspect of the present invention, in the first aspect of the present invention, when a vector line segment having a significant size is displayed, the magnitude of the vector is set to the side of the cube or the vector of the rectangular parallelepiped. Since the cube or the rectangular parallelepiped is displayed with the size of the side in the same direction, when displaying a line segment having a three-dimensional direction and size in a three-dimensional space on a two-dimensional screen, the direction and size are displayed. Is easy for the user to understand. According to the invention described in claim 3, in the invention described in claim 1 or 2, the direction of one side of the cube or the rectangular parallelepiped coincides with the direction of the line segment indicating the direction. Alternatively, the direction of the line segment indicating the direction can be easily known from the direction of the rectangular parallelepiped. Also,
According to the invention described in claim 4, in the invention described in claim 1, a cube or a rectangular parallelepiped whose direction is known is additionally displayed in association with the line segment indicating the line of sight of the displayed three-dimensional shape. When a gaze direction having a three-dimensional direction in a three-dimensional space is displayed on a two-dimensional screen, the direction becomes easy for a user to understand. According to the invention described in claim 5, in the invention described in claim 4, when the line of sight is changed, the direction of one side of the cube or the rectangular parallelepiped changes in accordance with the line of sight. Even when it changes, when the gaze direction having the three-dimensional direction is displayed on the two-dimensional screen, the user can easily understand the direction. According to a sixth aspect of the present invention, there is provided a machine-readable storage medium storing a program for performing the three-dimensional shape processing method according to any one of the first to fifth aspects. Therefore, the effects of the first to fifth aspects of the present invention can be obtained by causing the information processing device to read and execute the program stored in the storage medium.

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

【図1】本発明の1つの実施の形態に係る3次元形状処
理方法を実施する3次元形状処理装置を示すブロック図
である。
FIG. 1 is a block diagram illustrating a three-dimensional shape processing apparatus that performs a three-dimensional shape processing method according to one embodiment of the present invention.

【図2】本発明の第1の実施の形態に係る3次元形状処
理方法を説明するための説明図である。
FIG. 2 is an explanatory diagram for describing a three-dimensional shape processing method according to the first embodiment of the present invention.

【図3】本発明の第2の実施の形態に係る3次元形状処
理方法を説明するための説明図である。
FIG. 3 is an explanatory diagram for describing a three-dimensional shape processing method according to a second embodiment of the present invention.

【図4】本発明の第2の実施の形態に係る3次元形状処
理方法を説明するためのフロー図である。
FIG. 4 is a flowchart for explaining a three-dimensional shape processing method according to a second embodiment of the present invention.

【図5】本発明の第2の実施の形態を示す3次元形状処
理方法を説明するための他の説明図である。
FIG. 5 is another explanatory diagram for describing the three-dimensional shape processing method according to the second embodiment of the present invention.

【図6】本発明の第3の実施の形態に係る3次元形状処
理方法を説明するための説明図である。
FIG. 6 is an explanatory diagram for describing a three-dimensional shape processing method according to a third embodiment of the present invention.

【図7】本発明の第3の実施に係る3次元形状処理にお
ける3次元形状処理方法を説明するためのフロー図であ
る。
FIG. 7 is a flowchart for explaining a three-dimensional shape processing method in three-dimensional shape processing according to a third embodiment of the present invention.

【図8】従来の3次元形状処理方法の1例を説明するた
めの説明図である。
FIG. 8 is an explanatory diagram for describing an example of a conventional three-dimensional shape processing method.

【図9】従来の次元形状処理方法の他の例を説明するた
めの説明図である。
FIG. 9 is an explanatory diagram for explaining another example of the conventional dimensional shape processing method.

【図10】従来の3次元形状処理方法の他の例を説明す
るための説明図である。
FIG. 10 is an explanatory diagram for explaining another example of a conventional three-dimensional shape processing method.

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

1 データ処理部、2 入力装置、3 表示装置、4
プロッタ、5 データメモリ、6 外部記憶装置。
1 data processing unit, 2 input device, 3 display device, 4
Plotter, 5 data memory, 6 external storage device.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 3次元形状における方向を2次元の面上
に投影表示する2次元処理方法において、表示対象の3
次元形状に係わる方向を示す線分に対応付けて向きのわ
かる立方体または直方体を付加表示することを特徴とす
る3次元形状処理方法。
In a two-dimensional processing method for projecting and displaying a direction in a three-dimensional shape on a two-dimensional surface, a three-dimensional object to be displayed is displayed.
A three-dimensional shape processing method characterized by additionally displaying a cube or a rectangular parallelepiped whose direction is known in association with a line segment indicating a direction related to a three-dimensional shape.
【請求項2】 請求項1記載の3次元形状処理方法にお
いて、大きさに意味を持つベクトル線分を表示する場
合、ベクトルの大きさを立方体の辺または直方体の前記
ベクトルと同方向の辺の大きさにして前記立方体または
直方体を表示することを特徴とする3次元形状処理方
法。
2. The three-dimensional shape processing method according to claim 1, wherein when a vector line segment having a significant size is displayed, the magnitude of the vector is set to a side of a cube or a side of a side of the cube in the same direction as the vector. A three-dimensional shape processing method characterized by displaying the cube or the rectangular parallelepiped in a size.
【請求項3】 請求項1または請求項2に記載の3次元
形状処理方法において、立方体または直方体の一つの辺
の方向を、方向を示す線分の方向に一致させることを特
徴とする3次元形状処理方法。
3. The three-dimensional shape processing method according to claim 1, wherein the direction of one side of the cube or the rectangular parallelepiped is matched with the direction of a line segment indicating the direction. Shape processing method.
【請求項4】 請求項1に記載の3次元形状処理方法に
おいて、表示された3次元形状の視線方向を示す線分に
対応付けて向きのわかる立方体または直方体を付加表示
することを特徴とする3次元形状処理方法。
4. The three-dimensional shape processing method according to claim 1, wherein a cube or a rectangular parallelepiped whose direction is known is additionally displayed in association with a line segment indicating a line-of-sight direction of the displayed three-dimensional shape. A three-dimensional shape processing method.
【請求項5】 請求項4に記載の3次元形状処理方法に
おいて、視線方向を変化させたとき、前記視線方向に一
致させて立方体または直方体の一辺の方向を変化させる
ことを特徴とする3次元形状処理方法。
5. The three-dimensional shape processing method according to claim 4, wherein when the line-of-sight direction is changed, the direction of one side of the cube or the rectangular parallelepiped is changed in accordance with the line-of-sight direction. Shape processing method.
【請求項6】 請求項1乃至請求項5のいずれか1つの
請求項に記載の3次元形状処理方法を実施するためのプ
ログラムを記憶したことを特徴とする機械読み取り可能
な記憶媒体。
6. A machine-readable storage medium storing a program for executing the three-dimensional shape processing method according to claim 1. Description:
JP2000115663A 2000-04-17 2000-04-17 Method for processing three-dimensional shape and storage medium storing program for executing the method Pending JP2001307132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000115663A JP2001307132A (en) 2000-04-17 2000-04-17 Method for processing three-dimensional shape and storage medium storing program for executing the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000115663A JP2001307132A (en) 2000-04-17 2000-04-17 Method for processing three-dimensional shape and storage medium storing program for executing the method

Publications (1)

Publication Number Publication Date
JP2001307132A true JP2001307132A (en) 2001-11-02

Family

ID=18627256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000115663A Pending JP2001307132A (en) 2000-04-17 2000-04-17 Method for processing three-dimensional shape and storage medium storing program for executing the method

Country Status (1)

Country Link
JP (1) JP2001307132A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992025A (en) * 2015-07-16 2015-10-21 北京理工大学 Modeling method and apparatus for cable based on cosserat elastic rod model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104992025A (en) * 2015-07-16 2015-10-21 北京理工大学 Modeling method and apparatus for cable based on cosserat elastic rod model
CN104992025B (en) * 2015-07-16 2018-04-20 北京理工大学 A kind of modeling method and device of the cable based on Ke Sela model of elastic rod

Similar Documents

Publication Publication Date Title
US7948449B2 (en) Display control program executed in game machine
US7382374B2 (en) Computerized method and computer system for positioning a pointer
US9361665B2 (en) Methods and systems for viewing a three-dimensional (3D) virtual object
TWI478096B (en) Three-dimensional graphics clipping method, three-dimensional graphics displaying method and graphics processing apparatus thereof
JP2559910B2 (en) Method and apparatus for designating 3D points in 2D graphic display
KR100696966B1 (en) Image Processing
US20040186631A1 (en) Storage medium storing a shadow volume generation program, game device, and shadow volume generation method
JP2001084404A (en) Method and device for rendering, game machine, and computer readable recording medium for storing program for rendering three-dimensional model
US10297036B2 (en) Recording medium, information processing apparatus, and depth definition method
US10891780B2 (en) Methods and systems for viewing a three-dimensional (3D) virtual object
JP2012014657A (en) Image display device and control method thereof, and program and recording medium
KR100420402B1 (en) Graphics drawing device of processing drawing data including rotation target object and non-rotation target object
JP2004199301A (en) Image processor
JPH0721752B2 (en) Multi-window display method
JP2001307132A (en) Method for processing three-dimensional shape and storage medium storing program for executing the method
JP2001184373A (en) Method and system for generating drawing and computer readable recording medium stored with drawing generation program generating two-dimensional drawing from three-dimensional model data
US7173618B2 (en) Image creation program and method of creating image
JP2001266175A (en) Device/method for processing three-dimensional model and program providing method
JP2007094902A (en) Three-dimensional image display device, method, and program
JP2611599B2 (en) Computer graphics data processing method and apparatus
US8363053B2 (en) Method and apparatus for rendering outline of multimedia character image
EP1720090B1 (en) Computerized method and computer system for positioning a pointer
JP2007280014A (en) Display parameter input device
JP4096326B2 (en) Three-dimensional shape processing method and storage medium
JP5073520B2 (en) Program and computer