JPH0844908A - Processor and method for three-dimensional image processing - Google Patents
Processor and method for three-dimensional image processingInfo
- Publication number
- JPH0844908A JPH0844908A JP6174595A JP17459594A JPH0844908A JP H0844908 A JPH0844908 A JP H0844908A JP 6174595 A JP6174595 A JP 6174595A JP 17459594 A JP17459594 A JP 17459594A JP H0844908 A JPH0844908 A JP H0844908A
- Authority
- JP
- Japan
- Prior art keywords
- shape
- dimensional
- instruction
- processing
- image processing
- 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.)
- Granted
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は三次元画像処理装置及び
処理方法に係り、三次元形状をディスプレイ上で設定、
修正できる三次元画像処理装置及び処理方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a three-dimensional image processing apparatus and processing method, and sets a three-dimensional shape on a display.
The present invention relates to a three-dimensional image processing device and a processing method that can be modified.
【0002】近年、三次元形状をモデリングし三次元表
示させるコンピュータグラフィックスが一般のデザイナ
に浸透し様々なモデリングが行われてくるにつれ、より
使いやすいユーザインタフェースが要求されて来てい
る。モデリングに際しては構築された三次元形状の会話
的な位置、方向、大きさ等の情報を設定、修正すること
は頻繁に生じる。In recent years, as computer graphics for modeling a three-dimensional shape and displaying it in three dimensions have spread to general designers and various modeling has been performed, a user interface that is easier to use has been required. In modeling, information such as the interactive position, direction, and size of the constructed three-dimensional shape is frequently set and modified.
【0003】このため、三次元形状の位置、方向、大き
さ等の情報の設定、修正を容易、かつ、正確に行なえる
装置が求められている。For this reason, there is a demand for an apparatus that can easily and accurately set and correct information such as the position, direction and size of a three-dimensional shape.
【0004】[0004]
【従来の技術】図10に従来の一例のブロック図を示
す。入力部61はキーボード、マウス等よりなり、形状
作成部62,形状編集部63,三次元形状の作成編集等
の機能を選択すると共に、機能を実現するための指示を
行なう。2. Description of the Related Art FIG. 10 shows a block diagram of a conventional example. The input unit 61 is composed of a keyboard, a mouse, etc., and selects functions such as the shape creating unit 62, the shape editing unit 63, and creating and editing of a three-dimensional shape, and gives instructions for realizing the functions.
【0005】形状作成部62は入力部61の指示に応じ
て機能し、入力部61による三次元座標の各点の色、輝
度等のデータの入力により三次元形状を作成し、三次元
形状データベース64に記憶する。The shape creating unit 62 functions according to an instruction from the input unit 61, creates a three-dimensional shape by inputting data such as color and brightness of each point of the three-dimensional coordinates by the input unit 61, and creates a three-dimensional shape database. Store in 64.
【0006】形状編集部63は三次元形状データベース
64に記憶された三次元形状を選択する形状選択部6
5,形状選択部65で選択された三次元形状を入力部6
1の操作量に応じて移動させる移動検出部66,移動検
出部66で検出された入力部61の操作量に応じて三次
元形状の形状変換を行なう形状変換部67より構成され
る。The shape editing section 63 selects a three-dimensional shape stored in the three-dimensional shape database 64, and the shape selecting section 6
5, input unit 6 the three-dimensional shape selected by the shape selection unit 65
The movement detection unit 66 is moved according to the operation amount of 1 and the shape conversion unit 67 for performing the shape conversion of the three-dimensional shape according to the operation amount of the input unit 61 detected by the movement detection unit 66.
【0007】形状選択部65は入力部61からの指示に
従って三次元形状データベース64から位置を修正した
い三次元形状を選択する。The shape selection unit 65 selects a three-dimensional shape whose position is to be corrected from the three-dimensional shape database 64 according to an instruction from the input unit 61.
【0008】移動検出部66は入力部61の操作量を検
出して形状変換部67に供給する。移動変換部67は移
動検出部66からの操作量に応じて形状選択部65で選
択された三次元形状を移動させるべく変換マトリクスを
作成し、選択された三次元形状を移動させる。The movement detecting section 66 detects the operation amount of the input section 61 and supplies it to the shape converting section 67. The movement conversion unit 67 creates a conversion matrix to move the three-dimensional shape selected by the shape selection unit 65 according to the operation amount from the movement detection unit 66, and moves the selected three-dimensional shape.
【0009】このとき、変換マトリクスには図11
(A)に示すように三次元形状をX,Y,Z軸方向へ移
動させる移動、図11(B)に示すように三次元形状を
X,Y,Z軸を中心に回転させる回転、三次元形状の大
きさを変更するスケールがある。At this time, the conversion matrix shown in FIG.
Movement for moving the three-dimensional shape in the X, Y, and Z-axis directions as shown in FIG. 11A, rotation for rotating the three-dimensional shape about the X, Y, and Z axes as shown in FIG. There is a scale that changes the size of the original shape.
【0010】移動変換部67は移動、回転、スケール等
の変換マトリクスを有し、入力部61の指示に従って変
換マトリクスが選択され、移動検出部66からの入力部
61の操作量に従って変換マトリクスを構成する要素の
値が決定され、変換マトリクスを作成し、選択された三
次元形状の座標に対して変換マトリクスを適用すること
により座標変換を行ない三次元形状の位置を変えてい
た。The movement conversion unit 67 has a conversion matrix for movement, rotation, scale, etc., and the conversion matrix is selected according to an instruction from the input unit 61, and the conversion matrix is constructed according to the operation amount of the input unit 61 from the movement detection unit 66. The value of the element to be determined is determined, a transformation matrix is created, and the transformation matrix is applied to the coordinates of the selected three-dimensional shape to perform coordinate transformation to change the position of the three-dimensional shape.
【0011】三次元データベース64に記憶された三次
元形状の情報は形状指示部68に供給されている。The information on the three-dimensional shape stored in the three-dimensional database 64 is supplied to the shape designating section 68.
【0012】形状表示部68は三次元データベース64
より三次元形状を読み出して表示装置69で表示可能と
すべく三次元座標に座標変換を行なう。形状表示部68
で表示可能な座標に変換された三次元形状は表示装置6
9に供給され、三次元画像として表示される。The shape display section 68 is a three-dimensional database 64.
Further, the three-dimensional shape is read out and coordinate conversion is performed into three-dimensional coordinates so that it can be displayed on the display device 69. Shape display unit 68
The three-dimensional shape converted into coordinates that can be displayed by the display device 6
9 and is displayed as a three-dimensional image.
【0013】従来の装置で三次元形状の作成及び修正を
行なう場合、例えば修正したい形状を選択して直接三次
元データを入力し設定するか、より会話的な手法として
マウス等の移動量を情報として、位置を変えたり回転し
たりサイズを変えたりする必要がある。このとき、三次
元表示としては図12(A)に示すように投影画面が一
般的であるが、マウスの二次元移動量を三次元空間に対
応させるために、左ボタンを押しながらの移動量をX軸
の移動、中ボタンはY軸、右ボタンはZ軸に対する移動
量として対応させるなど、の操作を行っていた。また、
形状の相互の位置、方向、サイズを合わせるような時
は、投影図では把握しにくいので、図12(B)に示す
ように三次元形状を、三面図を用いて表示し、形状の重
なり具合から調整していた。When a three-dimensional shape is created and corrected by a conventional device, for example, the shape to be corrected is selected and the three-dimensional data is directly input and set, or the movement amount of a mouse or the like is informed as a more interactive method. As a result, it is necessary to change the position, rotate and change the size. At this time, a projection screen is generally used as the three-dimensional display as shown in FIG. 12A, but in order to make the two-dimensional movement amount of the mouse correspond to the three-dimensional space, the movement amount while pressing the left button is used. The movement of the X-axis, the middle button corresponds to the Y-axis, and the right button corresponds to the movement amount with respect to the Z-axis. Also,
When it is necessary to match the positions, directions, and sizes of shapes with each other, it is difficult to grasp them from the projected view. Therefore, as shown in FIG. 12B, the three-dimensional shape is displayed using a three-dimensional view, and the overlapping state of the shapes is displayed. I was adjusting from.
【0014】また、図12(C)に示すようにX,Y,
Z軸方向の指示マークの位置を表示し、どの位置を指示
しているかを二次元表示上でも認識できるようにしてい
た。Further, as shown in FIG. 12C, X, Y,
The position of the instruction mark in the Z-axis direction is displayed so that which position is indicated can be recognized on the two-dimensional display.
【0015】[0015]
【発明が解決しようとする課題】しかるに、従来の三次
元画像処理装置では二次元表示された三次元形状に対し
て三次元的な入力により指示を行う必要があったため、
操作が複雑で、操作性が悪い等の問題点があった。However, in the conventional three-dimensional image processing apparatus, it is necessary to give an instruction by three-dimensional input to the two-dimensionally displayed three-dimensional shape.
There were problems such as complicated operation and poor operability.
【0016】また、二次元表示されている三次元形状で
位置を認識する必要があったため、位置決めが正確に行
なえず、正確な設定、修正が行なえない等の問題点があ
った。Further, since it is necessary to recognize the position by the two-dimensionally displayed three-dimensional shape, there is a problem that the positioning cannot be performed accurately, and the accurate setting and correction cannot be performed.
【0017】本発明は上記の点に鑑みてなされたもの
で、三次元形状を操作性良く、かつ、正確に設定及び修
正できる三次元画像処理装置及び処理方法を提供するこ
とを目的とする。The present invention has been made in view of the above points, and an object of the present invention is to provide a three-dimensional image processing apparatus and a processing method capable of accurately setting and correcting a three-dimensional shape with good operability.
【0018】[0018]
【課題を解決するための手段】図1に本発明の原理図を
示す。三次元形状記憶手段1は、三次元形状を記憶す
る。指示手段2は三次元形状を指示に応じて移動させ
る。FIG. 1 shows the principle of the present invention. The three-dimensional shape storage means 1 stores a three-dimensional shape. The instruction means 2 moves the three-dimensional shape according to the instruction.
【0019】形状選択手段3は、前記三次元形状記憶手
段1に記憶された前記三次元情報より前記指示手段2の
指示に従って所望の三次元形状を選択する。The shape selecting means 3 selects a desired three-dimensional shape from the three-dimensional information stored in the three-dimensional shape storing means 1 according to the instruction of the instructing means 2.
【0020】形状分割手段は、前記形状選択手段3によ
り選択された前記所望の三次元形状を基本要素に分割す
る。The shape dividing means divides the desired three-dimensional shape selected by the shape selecting means 3 into basic elements.
【0021】要素選択手段5は、前記形状分割手段4で
分割された前記基本要素の所定の部分を前記指示手段2
の指示に従って選択する。The element selecting means 5 designates a predetermined portion of the basic element divided by the shape dividing means 4 to the instructing means 2.
Select according to the instructions.
【0022】処理手段6は、前記指示手段2の前記基本
要素に対応する所望の部分の指示により前記要素選択手
段5で選択された前記所定の部分が前記指示手段2によ
り指示された前記所望の部分と一致するように前記所望
の三次元形状を移動させる。In the processing means 6, the predetermined portion selected by the element selecting means 5 by the instruction of the desired portion corresponding to the basic element of the instructing means 2 is instructed by the instructing means 2. The desired three-dimensional shape is moved so as to match the part.
【0023】請求項2は、前記処理手段6の前記所望の
三次元形状を結合させる条件を制御する処理制御手段7
を有してなる。According to a second aspect of the present invention, the processing control means 7 for controlling the condition of the processing means 6 for combining the desired three-dimensional shapes.
To have.
【0024】請求項3は、前記形状分割手段4により前
記基本要素として前記形状選択手段3で選択された複数
の三次元形状を面に分割し、前記要素選択手段5により
前記指示手段2の指示に応じて前記形状分割手段4で分
割された面より夫々一面を選択し、前記処理手段6によ
り前記要素選択手段5で選択された面を互いに結合させ
る。According to a third aspect, the shape dividing means 4 divides a plurality of three-dimensional shapes selected by the shape selecting means 3 as the basic elements into planes, and the element selecting means 5 instructs the instruction means 2 to instruct. According to the above, one surface is selected from the surfaces divided by the shape dividing means 4, and the surfaces selected by the element selecting means 5 are combined by the processing means 6.
【0025】請求項4は、前記形状分割手段4により前
記要素選択手段5で選択された複数の三次元形状の夫々
一面を面の輪郭を構成する複数の線分に分割させ、前記
要素選択手段5により前記指示手段2の指示に応じて前
記形状分割手段4で分割された前記複数の線分より夫々
一線分を選択させ、前記処理手段6により前記要素選択
手段5で選択された前記複数の三次元形状の一線分が一
致するように前記複数の三次元形状を結合させる。According to a fourth aspect of the present invention, the shape dividing means 4 divides one surface of each of the plurality of three-dimensional shapes selected by the element selecting means 5 into a plurality of line segments constituting a contour of the surface, and the element selecting means. 5, a line segment is selected from each of the plurality of line segments divided by the shape dividing unit 4 in accordance with an instruction from the instruction unit 2, and the plurality of line segments selected by the element selecting unit 5 by the processing unit 6 are selected. The plurality of three-dimensional shapes are combined so that the line segments of the three-dimensional shape match.
【0026】請求項5は、前記形状分割手段4により前
記要素選択手段5で選択された複数の三次元形状の面の
輪郭を構成する線分を点に分割させ、前記要素選択手段
5により前記指示手段2の指示に応じて前記形状分割手
段4で分割された両面の点より前記複数の三次元形状毎
に一点を選択させ、前記処理手段6により前記要素選択
手段5で選択された前記複数の三次元形状の一点が一致
するように前記三次元形状を結合させる。According to a fifth aspect of the present invention, the shape dividing means 4 divides a line segment constituting the contour of the surface of the plurality of three-dimensional shapes selected by the element selecting means 5 into points, and the element selecting means 5 performs the division. In accordance with an instruction from the instruction means 2, one point is selected for each of the plurality of three-dimensional shapes from the points on both sides divided by the shape division means 4, and the plurality of elements selected by the element selection means 5 by the processing means 6 are selected. The three-dimensional shapes are combined so that the three points of the three-dimensional shapes coincide with each other.
【0027】請求項6は、前記処理制御手段7により前
記処理手段6の処理条件を設定し、前記複数の三次元形
状より選択された各面を互いに結合させた前記処理制御
手段7の制御量に応じた量、前記処理条件に応じた所定
の方向に三次元形状を移動させる。According to a sixth aspect of the present invention, the processing condition of the processing means 6 is set by the processing control means 7 and the control amount of the processing control means 7 in which the respective surfaces selected from the plurality of three-dimensional shapes are connected to each other. The three-dimensional shape is moved in a predetermined direction according to the processing conditions by an amount according to.
【0028】請求項7は、前記処理制御手段7により前
記処理手段6の処理条件を設定し、前記複数の三次元形
状より選択された線分を重ね合わせた状態から前記処理
制御手段で設定された制御量に応じた量、前記処理条件
に応じた所定の方向に前記三次元形状を移動させる。According to a seventh aspect of the present invention, the processing control means 7 sets the processing conditions of the processing means 6, and the processing control means sets the processing conditions after the line segments selected from the plurality of three-dimensional shapes are superposed. The three-dimensional shape is moved in a predetermined direction according to the processing condition by an amount according to the control amount.
【0029】請求項8では、前記処理手段6により前記
要素選択手段5で選択された線分の長さが一致するよう
に複数の三次元形状のスケールを制御させる。In the present invention, the processing means 6 controls a plurality of three-dimensional shape scales so that the lengths of the line segments selected by the element selection means 5 match.
【0030】[0030]
【作用】請求項1によれば、指示手段の指示に従って三
次元形状記憶手段に記憶された三次元形状の選択、三次
元形状を構成する基本要素の選択が行なえ、ユーザは指
示手段を用いて会話的に選択指示が行なえ、操作性を向
上できる。According to the present invention, the three-dimensional shape stored in the three-dimensional shape storage means and the basic elements constituting the three-dimensional shape can be selected according to the instruction of the instruction means, and the user can use the instruction means. Selection instructions can be given interactively, improving operability.
【0031】また、結合する部分の選択は基本要素毎に
行なわれ、基本要素を互いに結合するように処理が実行
されるため、指示が行ないやすいと共に、結合を正確に
行なえる。Further, the parts to be combined are selected for each basic element, and the processing is executed so as to combine the basic elements with each other. Therefore, it is easy to give an instruction and the combination can be accurately performed.
【0032】請求項2によれば、処理手段の結合条件を
処理制御手段により制御することにより、三次元形状を
容易に修正することができる。According to the second aspect, the three-dimensional shape can be easily corrected by controlling the connection condition of the processing means by the processing control means.
【0033】請求項3によれば、三次元形状を面に分割
し、面を指示手段により選択して選択した面が一致する
ように結合するため、結合する相手を容易、かつ、正確
に指示できる操作性を良好なものとできると共に、正確
な結合が行なえる。According to the third aspect, the three-dimensional shape is divided into faces, the faces are selected by the pointing means, and the faces are joined so that the selected faces match. Therefore, the partner to be joined can be easily and accurately designated. The operability that can be achieved is good and accurate coupling can be performed.
【0034】請求項3によれば、面をさらに面を構成す
る線分に分割し、線分を指示手段により選択して、選択
した線分が一致するように結合するため、結合する線分
同士を容易かつ、正確に指示でき、操作性を良好なもの
とできると共に正確な結合が行なえる。According to the third aspect, the surface is further divided into line segments that form the surface, the line segments are selected by the pointing means, and the selected line segments are combined so that they coincide with each other. The two can be easily and accurately instructed, the operability can be improved, and accurate connection can be performed.
【0035】請求項5によれば、線分を線分を構成する
点に分割し、分割した線分を指示手段で選択して、選択
した点が一致するように結合が行なわれるため、結合す
る点を容易かつ、正確に指示でき、従って操作性を向上
させることができると共に正確な結合が行なえる。According to the fifth aspect, the line segment is divided into points constituting the line segment, the divided line segment is selected by the indicating means, and the combination is performed so that the selected points coincide with each other. The point to be set can be easily and accurately indicated, so that the operability can be improved and an accurate connection can be made.
【0036】請求項6によれば、複数の三次元形状の要
素選択手段により選択された面を互いに一致させた状態
で処理制御手段により処理手段の処理条件を制御するこ
とにより複数の三次元形状の位置関係を処理条件に応じ
た所定の方向に制御量に応じた量だけ変移させることが
できるため、修正を容易に行なえる。According to the sixth aspect, the plurality of three-dimensional shapes are controlled by controlling the processing conditions of the processing means by the processing control means in a state where the surfaces selected by the plurality of three-dimensional shape element selecting means are matched with each other. Since it is possible to shift the positional relationship of (1) to a predetermined direction according to the processing condition by an amount corresponding to the control amount, the correction can be easily performed.
【0037】請求項7によれば、複数の三次元形状の要
素選択手段により選択された線分を互いに一致させた状
態で処理制御手段により処理手段の処理条件を制御する
ことにより複数の三次元形状の位置関係を処理条件に応
じた所定の方向に制御量に応じた量だけ変移させること
ができるため、修正を容易に行なえる。According to the seventh aspect, the processing control means controls the processing conditions of the processing means in a state where the line segments selected by the plurality of three-dimensional shape element selecting means are matched with each other. Since the positional relationship of the shapes can be displaced in the predetermined direction according to the processing condition by the amount according to the control amount, the correction can be easily performed.
【0038】請求項8によれば、線分が選択された際に
選択された線分の長さが一致するように三次元形状のス
ケールが制御されるため、スケールの異なる三次元形状
を結合する場合にスケールの一致を容易に行なえる。According to the eighth aspect, since the scales of the three-dimensional shapes are controlled so that the lengths of the selected line segments match when the line segments are selected, the three-dimensional shapes having different scales are combined. If you do, you can easily match the scale.
【0039】[0039]
【実施例】図2に本発明の一実施例のブロック構成図を
示す。本実施例の三次元画像処理装置は三次元形状の作
成、編集の指示を与える入力部11,入力部11からの
指示に応じて三次元形状の作成を行なう形状作成部1
2,入力部11からの指示に応じて形状作成部12で作
成された三次元形状の編集を行なう形状編集部13,形
状作成部12,及び形状編集部13で作成・編集された
三次元形状を保存する三次元形状データベース14,三
次元形状データベース14に保存された三次元形状を二
次元形状に座標変換する形状表示部15,形状表示部1
5で二次元形状に座標変換された三次元形状を表示する
表示装置16より構成される。FIG. 2 shows a block diagram of an embodiment of the present invention. The three-dimensional image processing apparatus according to the present embodiment includes an input unit 11 that gives instructions for creating and editing a three-dimensional shape, and a shape creating unit 1 that creates a three-dimensional shape in response to an instruction from the input unit 11.
2. A three-dimensional shape created / edited by the shape editing unit 13, the shape creating unit 12, and the shape editing unit 13 that edits the three-dimensional shape created by the shape creating unit 12 in response to an instruction from the input unit 11. A three-dimensional shape database 14 for storing the three-dimensional shape, a shape display section 15 for converting the three-dimensional shape stored in the three-dimensional shape database 14 into a two-dimensional shape, and a shape display section 1
5, the display device 16 displays the three-dimensional shape whose coordinates are converted into the two-dimensional shape.
【0040】入力部11はキーボード、マウス等よりな
り、表示装置16上の一点を指示し、三次元形状の位置
決めをしたり、表示装置16の表示面に表示されたマイ
コン等を指示することにより後述する基本要素の分割選
択、移動等の機能選択を行なう。The input unit 11 is composed of a keyboard, a mouse, etc., and points one point on the display device 16 to position the three-dimensional shape or to point a microcomputer or the like displayed on the display surface of the display device 16. Functions such as division and movement of basic elements, which will be described later, are selected.
【0041】形状作成部12は入力部11の指示に応じ
て三次元形状データベース14上に所望の三次元形状を
描画する。The shape creating section 12 draws a desired three-dimensional shape on the three-dimensional shape database 14 in response to an instruction from the input section 11.
【0042】三次元形状データベース14は三次元空間
を点に分割し、各点毎に記憶領域が設定されており、各
記憶領域には色、輝度等のデータが格納される構成とさ
れており、形状作成部12は入力部11の指示に応じて
三次元形状データベース14の記憶領域にデータを収納
していくことにより、所望の三次元形状を描画する。The three-dimensional shape database 14 divides a three-dimensional space into points, and a storage area is set for each point, and data such as color and brightness is stored in each storage area. The shape creating unit 12 draws a desired three-dimensional shape by accommodating data in the storage area of the three-dimensional shape database 14 according to an instruction from the input unit 11.
【0043】形状編集部13は入力部13の指示に応じ
て三次元形状データベース14に記憶された複数の三次
元形状より移動し、修正すべき三次元形状となる修正形
状を選択すると共に、修正形状を結合させるべき目標の
三次元形状となる目標形状を選択する形状選択部17,
形状選択部17で選択された修正形状及び目標形状夫々
を各形状を構成する面、線分、点等の入力部11の指示
に応じた基本要素に分割する基本要素分割部18,基本
要素分割部18で分割された面又は線分又は点等の基本
要素のうち、修正形状、及び目標形状を構成する面又は
線分又は点より互いに対応させたい一つの面又は線分又
は点を入力部11の指示により選択し、選択された基本
要素のベクトル又は座標を記憶する基本要素選択部1
9,基本要素選択部19で選択した基本要素部分の座標
を記憶する基本要素記憶部20,基本要素記憶部20に
記憶された修正形状の選択基本要素が目標形状の選択基
本要素に一致するように行列計算が実行され、この行列
計算に基づいて座標が変換され、目標形状の選択基本要
素に修正形状の選択基本要素が一致するように目標形状
に修正形状を結合する基本要素結合部21,入力部11
の指示に応じて基本要素結合部21に修正形状の移動状
態を規制する拘束条件を与える拘束条件決定部22,入
力部11の指示に応じた量だけ拘束条件に従って修正形
状を移動させる移動検出部23より構成される。The shape editing unit 13 moves from a plurality of three-dimensional shapes stored in the three-dimensional shape database 14 in response to an instruction from the input unit 13 and selects a corrected shape to be a three-dimensional shape to be corrected and A shape selecting unit 17 for selecting a target shape which is a target three-dimensional shape to be combined with each other,
A basic element dividing unit 18 that divides each of the corrected shape and the target shape selected by the shape selecting unit 17 into basic elements according to the instruction of the input unit 11 such as surfaces, line segments, and points that configure each shape Of the basic elements such as planes, line segments, or points divided by the section 18, one plane, line segment, or point which is desired to correspond to each other from the planes, line segments, or points forming the corrected shape and the target shape is input section. 11. A basic element selection unit 1 which stores the vector or coordinates of the selected basic element selected by the instruction 11
9, a basic element storage unit 20 that stores the coordinates of the basic element portion selected by the basic element selection unit 19, so that the corrected shape selection basic element stored in the basic element storage unit 20 matches the target shape selection basic element Matrix conversion is performed on the matrix, coordinates are converted based on this matrix calculation, and a basic element combining unit 21 that combines the corrected shape with the target shape so that the selected basic element of the corrected shape matches the selected basic element of the corrected shape. Input unit 11
In accordance with the instruction, a constraint condition determining unit 22 that gives a constraint condition for restricting the movement state of the corrected shape to the basic element connecting unit 21, and a movement detection unit that moves the corrected shape according to the constraint condition by an amount according to the instruction from the input unit 11 23.
【0044】形状表示部15は三次元形状データベース
14より三次元形状を読み出して表示装置16で表示可
能とすべく二次元座標に座標変換を行なう。形状表示部
15で表示可能な座標に変換された三次元形状は表示装
置16に供給され、二次元画像として表示される。The shape display unit 15 reads out the three-dimensional shape from the three-dimensional shape database 14 and performs coordinate conversion into two-dimensional coordinates so that the display device 16 can display the three-dimensional shape. The three-dimensional shape converted into the coordinates that can be displayed on the shape display unit 15 is supplied to the display device 16 and displayed as a two-dimensional image.
【0045】次に本発明の一実施例の要部となる修正処
理動作について説明する。Next, the correction processing operation, which is the main part of one embodiment of the present invention, will be described.
【0046】図3に本発明の一実施例の修正処理動作の
フローチャート、図4に本発明の一実施例の基本要素分
割動作説明図、図5に本発明の一実施例の面張合わせ動
作説明図、図6に本発明の一実施例の面張合わせ時の拘
束条件による移動動作説明図、図7に本発明の一実施例
の線重ね合わせ動作説明図、図8に本発明の一実施例の
線重ね合わせ動作時の拘束条件による移動動作説明図、
図9に本発明の一実施例の点接触動作説明図を示す。FIG. 3 is a flow chart of the correction processing operation of the embodiment of the present invention, FIG. 4 is an explanatory view of the basic element dividing operation of the embodiment of the present invention, and FIG. 5 is a surface bonding operation of the embodiment of the present invention. Explanatory drawing, FIG. 6 is an explanatory view of a movement operation according to a constraint condition at the time of surface bonding of one embodiment of the present invention, FIG. 7 is an explanatory drawing of a line superposition operation of one embodiment of the present invention, and FIG. Explanatory diagram of movement operation according to constraint conditions during line superposition operation of the embodiment,
FIG. 9 shows a point contact operation explanatory diagram of an embodiment of the present invention.
【0047】ここでは、三次元形状データベース14に
記憶された複数の三次元形状において一つの三次元形状
を他の三次元形状に結合する修正作業について説明を行
なう。Here, a correction operation for combining one three-dimensional shape with another three-dimensional shape among a plurality of three-dimensional shapes stored in the three-dimensional shape database 14 will be described.
【0048】まず、マウス等よりなる入力部11を操作
して形状選択部17の結合しようとする三次元形状とな
る修正形状を選択する機能を設定する。形状選択部17
の修正形状選択機能が設定された状態で入力部11を操
作し、例えば、表示装置16の画面上のマークを修正形
状に対応した位置に移動させ、入力キーを操作すること
により修正形状が選択される(ステップS1)。First, the function of selecting the corrected shape to be the three-dimensional shape to be connected by the shape selection section 17 is set by operating the input section 11 such as a mouse. Shape selection unit 17
In the state where the correction shape selection function is set, the input unit 11 is operated, for example, the mark on the screen of the display device 16 is moved to a position corresponding to the correction shape, and the input key is operated to select the correction shape. (Step S1).
【0049】次に、同様に入力部11を操作して形状選
択部17の修正形状を結合する先の三次元形状となる目
標形状を選択する機能を設定する。形状選択部17の修
正形状選択機能が設定された状態で入力部11を操作
し、表示装置16の画面上のマークを目標形状に対応し
た位置に移動させ、入力キーを操作することにより修正
形状が選択される(ステップS2)。Next, similarly, the input section 11 is operated to set the function of selecting the target shape which becomes the three-dimensional shape to which the corrected shape of the shape selection section 17 is connected. With the correction shape selection function of the shape selection unit 17 set, the input unit 11 is operated to move the mark on the screen of the display device 16 to the position corresponding to the target shape, and the input key is operated to correct the correction shape. Is selected (step S2).
【0050】次に入力部11を操作し、基本要素分割部
の機能を選択すると図4(B)に示すようにステップS
1,S2で形状選択部17により選択された修正形状及
び目標形状が夫々の形状を構成する面を分割し、分割さ
れた面より各面を指定可能とする(ステップS2,S
4)。次に、入力部11を操作することにより基本要素
選択部19が機能し、ステップS2,S4で分割され、
指定可能とされた修正形状及び目標形状の各面より互い
に張り合わせたい面が指示され、選択される(ステップ
S5,S6)。このとき、選択された面の座標等が基本
要素記憶部20に記憶される。Next, when the function of the basic element dividing unit is selected by operating the input unit 11, as shown in FIG.
The faces that the modified shape and the target shape selected by the shape selection unit 17 configure in S1 and S2 respectively are divided, and each face can be designated from the divided faces (steps S2 and S2).
4). Next, by operating the input unit 11, the basic element selection unit 19 functions and is divided in steps S2 and S4.
The faces to be bonded to each other are designated and selected from the faces of the corrected shape and the target shape that can be designated (steps S5 and S6). At this time, the coordinates of the selected surface and the like are stored in the basic element storage unit 20.
【0051】次に、入力部11を操作することにより面
の張り合わせを指示すると、基本要素結合部21が動作
し、修正形状の選択面と目標形状の選択面とが一致する
ように修正形状を移動し、修正形状と目標形状とを結合
する(ステップS7)。Next, when the surface bonding is instructed by operating the input unit 11, the basic element connecting unit 21 operates and the corrected shape is selected so that the selected surface of the corrected shape and the selected surface of the target shape match. It moves and combines the corrected shape and the target shape (step S7).
【0052】このとき、修正形状と目標形状との結合は
図5に示すように行なわれる。図5で、Aは目標形状で
選択された面、Bは修正形状で選択された面を示す。例
えば、図5(A)に示すように三次元形状全体の座標を
定義する世界座標系31,目標形状の座標系を定義する
ローカル座標32,修正形状の座標系を定義するローカ
ル座標系33が設定されているとすると、まず、目標形
状の選択面Aとローカル座標系32との関係に修正形状
の選択面Bとローカル座標系33との関係が一致するよ
うに修正形状のローカル座標系33を設定し直し、図5
(B)に示すように修正形状及びそのローカル座標系3
3を回転させ、目標形状の選択面Aと修正形状の選択面
Bとを平行に設定する。次に図5(C)に示すようにロ
ーカル座標系32,33が一致するように移動を実施す
ることにより修正形状の選択面Bが目標形状の選択面A
に重なる。At this time, the correction shape and the target shape are combined as shown in FIG. In FIG. 5, A indicates the surface selected by the target shape, and B indicates the surface selected by the corrected shape. For example, as shown in FIG. 5A, there are a world coordinate system 31 that defines the coordinates of the entire three-dimensional shape, a local coordinate system 32 that defines the coordinate system of the target shape, and a local coordinate system 33 that defines the coordinate system of the modified shape. If it is set, first, the local coordinate system 33 of the corrected shape is made so that the relationship between the selected surface A of the target shape and the local coordinate system 32 matches the relationship between the selected surface B of the corrected shape and the local coordinate system 33. 5 and reset
As shown in (B), the corrected shape and its local coordinate system 3
3 is rotated to set the target shape selection surface A and the correction shape selection surface B in parallel. Next, as shown in FIG. 5C, the selected surface B of the corrected shape is changed to the selected surface A of the target shape by moving the local coordinate systems 32 and 33 so that they coincide with each other.
Overlap with.
【0053】このとき、ローカル座標系33の移動に応
じて変換マトリクスTを求め、この変換マトリクスTに
応じて修正形状の各点を変換する。このとき、修正形状
の各点の位置座標をP,変換後の位置座標をP’とする
と、夫々の位置ベクトルは|P,|P’で表わされ、こ
のときの変換は |P’=|PT で表わせる。At this time, the transformation matrix T is obtained according to the movement of the local coordinate system 33, and each point of the corrected shape is transformed according to the transformation matrix T. At this time, if the position coordinate of each point of the corrected shape is P and the position coordinate after conversion is P ′, the respective position vectors are represented by | P and | P ′, and the conversion at this time is | P ′ = | PT
【0054】このときの基本的な変換マトリクスTとし
ては移動、回転、スケール等が考えられる。Movement, rotation, scale, etc. can be considered as the basic conversion matrix T at this time.
【0055】まず、移動の変換マトリクスTT はFirst, the transformation matrix T T for movement is
【0056】[0056]
【数1】 [Equation 1]
【0057】で表わされ、変換前の座標を(x,y,
z)とし、変換後の座標を(x’,y’,z’)とする
と、The coordinates before conversion are represented by (x, y,
z) and the coordinates after conversion are (x ', y', z '),
【0058】[0058]
【数2】 [Equation 2]
【0059】で表すことができる。このとき、Txはx
方向、Tyはy方向、Tzはz方向の平行移動量を示
す。It can be represented by At this time, Tx is x
Direction, Ty represents the amount of translation in the y direction, and Tz represents the amount of translation in the z direction.
【0060】スケールを変換する変換マトリクスT
S は、Transform matrix T for transforming the scale
S is
【0061】[0061]
【数3】 (Equation 3)
【0062】で変換される。ここでSxはx方向、Sy
はy方向、Szはz方向のスケールを示す。Is converted by Where Sx is the x direction and Sy
Represents the y-direction scale and Sz represents the z-direction scale.
【0063】X軸上にθの回転の変換行列TrxはThe transformation matrix Trx for the rotation of θ on the X axis is
【0064】[0064]
【数4】 [Equation 4]
【0065】で変換される。ここでθは回転角度を示
す。Is converted by. Here, θ indicates a rotation angle.
【0066】Y軸上にθの回転の変換行列TryはThe transformation matrix Try for rotation of θ on the Y axis is
【0067】[0067]
【数5】 (Equation 5)
【0068】で変換される。θは回転角度を示す。Is converted by. θ indicates a rotation angle.
【0069】Z軸上に の回転の変換行列TrzはThe transformation matrix Trz for rotation on the Z axis is
【0070】[0070]
【数6】 (Equation 6)
【0071】で変換される。θは回転角度を示す。Is converted by. θ indicates a rotation angle.
【0072】上記変換マトリクスTT ,Trx,Tr
y,Trz,Ts等を合成して、上記動作を実施すべき
変換マトリクスを作成する。Transform matrix T T , Trx, Tr
By combining y, Trz, Ts, etc., a conversion matrix for performing the above operation is created.
【0073】さらに、修正が必要な場合には入力部11
を操作することにより線による修正機能を選択する(ス
テップS8)。ステップS8で線による修正機能が選択
されると、修正形状及び目標形状が線に分割され、各形
状の線が指示可能となる(ステップS9,S10)。Further, when correction is necessary, the input unit 11
The line correction function is selected by operating (step S8). When the correction function using lines is selected in step S8, the corrected shape and the target shape are divided into lines, and the lines of each shape can be designated (steps S9 and S10).
【0074】次に互いに重ね合わせたい修正形状及び目
標形状の線分を入力部11により指示し、選択する(ス
テップS11,S12)。Next, the line segments of the corrected shape and the target shape to be superimposed on each other are designated by the input unit 11 and selected (steps S11 and S12).
【0075】このとき、選択された線分の座標等が基本
要素記憶部20に記憶される。At this time, the coordinates and the like of the selected line segment are stored in the basic element storage unit 20.
【0076】次に入力部11により結合を指示すると選
択された線分が重なるように修正形状が移動される(ス
テップS13)。Next, when a combination is instructed by the input unit 11, the modified shape is moved so that the selected line segments overlap (step S13).
【0077】また、修正形状のローカル座標系33のY
軸のみを変動可能とする変換マトリクスTB ,In addition, Y of the corrected coordinate local coordinate system 33
A transformation matrix T B that allows only the axes to vary,
【0078】[0078]
【数7】 (Equation 7)
【0079】を用意しておき、入力部11の操作量に応
じて変換マトリクスTB のY軸の変量TY を設定するこ
とにより図6(B)に示すように修正形状をローカル座
標系32,33のY軸にそって移動させることができ
る。6B is prepared and the Y-axis variation T Y of the transformation matrix T B is set in accordance with the operation amount of the input unit 11 so that the corrected shape is changed to the local coordinate system 32 as shown in FIG. 6B. , 33 along the Y-axis.
【0080】さらに、修正形状のローカル座標系33の
Y軸の回転可能とする変換マトリクスTrY ,Furthermore, a transformation matrix Tr Y that allows rotation of the Y axis of the corrected coordinate system 33,
【0081】[0081]
【数8】 (Equation 8)
【0082】を用意しておき、入力部11の操作量に応
じて変換マトリクスTrY のθを設定することにより図
6(C)に示すように修正形状をローカル座標系33の
Y軸を中心に回転させることができる。By preparing θ and setting θ of the conversion matrix Tr Y in accordance with the operation amount of the input unit 11, the corrected shape is centered on the Y axis of the local coordinate system 33 as shown in FIG. 6C. Can be rotated.
【0083】線同士の重ね合わせ及び修正の後、さら
に、点による位置決めを行なう際には入力部11の操作
により点による修正機能を選択する(ステップS1
4)。点による修正形状の修正機能が選択されると、図
4(D)に示すように修正形状及び目標形状が頂点
P1 ,P2 に分割され、頂点P1 ,P2 が指示可能な状
態とされる。After the lines are superposed on each other and corrected, when the positioning by the points is further performed, the correction function by the points is selected by operating the input unit 11 (step S1).
4). When the correction function of the corrected shape by points is selected, the corrected shape and the target shape are divided into vertices P 1 and P 2 as shown in FIG. 4D, and the vertices P 1 and P 2 can be designated. To be done.
【0084】次に、修正形状の点及び目標形状の点のう
ち互いに接触させたい点を入力部11により選択する
(ステップS17,S18)。Next, of the points of the corrected shape and the points of the target shape, the points to be brought into contact with each other are selected by the input unit 11 (steps S17 and S18).
【0085】次に入力部11により選択された点同士が
互いに接触するように修正形状を移動させる(ステップ
S19)。Next, the modified shape is moved so that the points selected by the input unit 11 come into contact with each other (step S19).
【0086】図7に線重ね合わせ動作説明図を示す。同
図中、LA は目標形状から選択された線分、LB は修正
形状から選択された線分を示す。また、41は世界座標
系、42は線分LA のローカル座標系、43は線分LB
のローカル座標系を示す。FIG. 7 shows a line superposition operation explanatory diagram. In the figure, L A indicates a line segment selected from the target shape, and L B indicates a line segment selected from the corrected shape. Also, 41 is the world coordinate system, 42 is the local coordinate system of the line segment L A , and 43 is the line segment L B.
Shows the local coordinate system of.
【0087】図7(A)に示すように世界座標系41,
各ローカル座標系42,43,線分LA ,LB が設定さ
れていたとすると、線分LB のローカル座標系43が線
分L A のローカル座標系42に平行となるようにローカ
ル座標系43及び修正形状を回転させる。As shown in FIG. 7A, the world coordinate system 41,
Each local coordinate system 42, 43, line segment LA, LBIs set
If it is, the line segment LBLocal coordinate system 43 is a line
Minute L ALocal so that it is parallel to the local coordinate system 42 of
The coordinate system 43 and the corrected shape are rotated.
【0088】次にローカル座標系42とローカル座標系
43とが一致するようにローカル座標系43を平行移動
させる。Next, the local coordinate system 43 is translated so that the local coordinate system 42 and the local coordinate system 43 coincide with each other.
【0089】また、面の張り合わせ後、入力部11によ
り拘束条件による移動動作を指示し、同様に入力部11
により拘束条件を入力することにより拘束条件に応じた
移動が行なえる。After the faces are bonded together, the input unit 11 gives an instruction for the movement operation under the constraint condition, and the input unit 11 is operated in the same manner.
By inputting the constraint condition with, you can move according to the constraint condition.
【0090】図6に面張り合わせ時の拘束条件による移
動動作説明図を示す。図6(A)は面の張り合わせ後、
修正形状を張り合わせた面にそって移動させた場合、図
6(B)は修正形状を張り合わせた面が平行のまま移動
させた場合、図6(C)は修正形状を張り合わせ面上で
回転させた場合の移動動作説明図を示す。FIG. 6 shows a movement operation explanatory diagram under the constraint condition at the time of face bonding. FIG. 6 (A) shows that after the surfaces are bonded together,
When the modified shape is moved along the bonded surface, FIG. 6 (B) shows that the modified shape is moved in parallel, and FIG. 6 (C) shows the modified shape rotated on the bonded surface. The movement operation explanatory drawing in the case of being shown is shown.
【0091】拘束条件により修正形状の移動を行なう場
合には入力部11により拘束条件による修正形状の移動
機能として面にそった移動機能、面を平行に保持した移
動機能、面にそった回転移動機能から一つの機能が選択
される。When the corrected shape is moved under the restraint condition, the input unit 11 moves the corrected shape under the restraint condition as a moving function along the surface, a moving function for holding the surface in parallel, and a rotational movement along the surface. One function is selected from the functions.
【0092】選択された機能に応じて拘束条件決定部2
2の機能が切換わる。移動検出部23は入力部11の操
作量を検出し、拘束条件決定部22に供給する。The constraint condition determining unit 2 according to the selected function
The function of 2 is switched. The movement detection unit 23 detects the operation amount of the input unit 11 and supplies it to the constraint condition determination unit 22.
【0093】拘束条件決定部22には選択された機能に
応じて変換マトリクスを選択し、移動検出部23で検出
された入力部11の操作量に応じて変換マトリクスの変
数を決定し、変数が決定した変換マトリクスを基本要素
結合部21に供給する。The constraint condition determining unit 22 selects a conversion matrix according to the selected function, and determines the variable of the conversion matrix according to the operation amount of the input unit 11 detected by the movement detecting unit 23. The determined conversion matrix is supplied to the basic element combination unit 21.
【0094】基本要素結合部21は拘束条件決定部22
により決定された変換マトリクスにより修正形状のロー
カル座標系33の座標変換を行なうことにより修正形状
を拘束条件に応じて移動させる。The basic element connecting unit 21 is a constraint condition determining unit 22.
The corrected shape is moved according to the constraint condition by performing coordinate conversion of the corrected shape of the local coordinate system 33 by the conversion matrix determined by.
【0095】例えば、修正形状のローカル座標系33の
X,Y軸のみを変動可能とする変換マトリクスTA For example, a transformation matrix T A that can change only the X and Y axes of the corrected shape local coordinate system 33.
【0096】[0096]
【数9】 [Equation 9]
【0097】を用意しておき、入力部11の操作量に応
じて変換マトリクスのX,Y軸の変量Tx,Tzを設定
することにより図16(A)に示すように修正形状を選
択された面を重ね合わせたまま修正形状を移動させるこ
とができる。16A is prepared, and the correction shapes are selected as shown in FIG. 16A by setting the variables Tx and Tz of the X and Y axes of the conversion matrix according to the operation amount of the input unit 11. It is possible to move the modified shape while overlapping the surfaces.
【0098】図8に線重ね合わせ時の拘束条件による移
動動作説明図を示す。図8(A)は重ね合わせた線分上
で修正形状を移動させる場合、図8(B)は重ね合わせ
た線分を中心に修正形状を回転させる場合の動作説明図
を示す。FIG. 8 is an explanatory view of the movement operation under the constraint condition at the time of line superposition. FIG. 8 (A) is an operation explanatory diagram in the case of moving the corrected shape on the line segments that are overlapped, and FIG. 8 (B) is an operation explanatory diagram in the case of rotating the corrected shape around the line segments that are overlapped.
【0099】線重ね合わせ時に拘束条件により移動を行
なう場合には入力部11を操作することにより拘束条件
による移動機能を選択する。拘束条件としては例えば、
修正形状を線分上で移動させる拘束条件及び修正形状を
線分を中心に回転させる拘束条件が設定可能とされてい
る。When the movement is performed under the constraint condition at the time of line superposition, the input unit 11 is operated to select the movement function according to the constraint condition. As a constraint condition, for example,
A constraint condition for moving the modified shape on the line segment and a constraint condition for rotating the modified shape around the line segment can be set.
【0100】拘束条件は入力部11の操作により拘束条
件決定部22で設定される変換マトリクスが切換わるこ
とにより選択される。拘束条件決定部22で設定される
変換マトリクスには変量が組み込まれており、この変量
は移動検出部23から供給される入力部11の操作量に
応じて決定されるように構成されている。The constraint condition is selected by operating the input unit 11 to switch the conversion matrix set in the constraint condition determination unit 22. A variable is incorporated in the conversion matrix set by the constraint condition determining unit 22, and the variable is configured to be determined according to the operation amount of the input unit 11 supplied from the movement detecting unit 23.
【0101】変換マトリクスとしては前述したように移
動及び回転の変換を行なうマトリクスが用意されてお
り、重ね合わせた線上で移動を行なう場合には修正形状
のローカル座標系43をZ軸上で移動させる変換マトリ
クスTC ;As the transformation matrix, a matrix for transforming the movement and rotation is prepared as described above, and when the movement is performed on the superposed line, the corrected local coordinate system 43 is moved on the Z axis. Transformation matrix T C ;
【0102】[0102]
【数10】 [Equation 10]
【0103】を用いればよく、Tzを入力部11の操作
量に応じて変動させることにより図8(A)に示すよう
に目標形状の選択線分LA 上で修正形状の選択線分LB
を移動させることができる。By changing Tz in accordance with the operation amount of the input unit 11, as shown in FIG. 8A, the selection line segment L B of the corrected shape is selected on the selection line segment L A of the target shape.
Can be moved.
【0104】また、重ね合わされた線分LA ,LB を中
心に修正形状を回転させる場合にはローカル座標系4
2,43のZ軸を中心に回転を行なわせる変換マトリク
スTD;When the corrected shape is rotated around the line segments L A and L B which are overlapped with each other, the local coordinate system 4 is used.
A transformation matrix T D for rotating about the Z axis of 2,43;
【0105】[0105]
【数11】 [Equation 11]
【0106】を用い、θを入力部11の操作量に応じて
変動させることにより図8(B)に示すように目標形状
及び修正形状のローカル座標系42,43のZ軸を中心
に修正形状のローカル座標系43を回転させ、修正形状
の回転を行なう。By changing θ according to the amount of operation of the input unit 11 by using, the corrected shape is centered on the Z axis of the local coordinate system 42, 43 of the target shape and the corrected shape as shown in FIG. 8B. The local coordinate system 43 is rotated to rotate the corrected shape.
【0107】また、このとき、前述したスケールを変更
する変換マトリクスTS を用いることにより、修正すべ
き線分の長を目標とすべき線分の長と一致させつつ、線
分を重ね合わせることができる。At this time, the conversion matrix T S for changing the scale is used to overlap the line segments while making the length of the line segment to be corrected coincide with the length of the target line segment. You can
【0108】図9は点接触動作説明図を示す。同図中、
PA は目標形状から選択された点、PB は修正形状から
選択された点を示す。また、51は世界座標系、52は
点P A のローカル座標系、53は点PB のローカル座標
系を示す。FIG. 9 shows a point contact operation explanatory diagram. In the figure,
PAIs a point selected from the target shape, PBFrom the corrected shape
Indicates the selected point. Also, 51 is the world coordinate system, 52 is
Point P ALocal coordinate system, 53 is point PBLocal coordinates of
The system is shown.
【0109】例えば、図9(A)に示すように世界座標
系51,ローカル座標系52,53,目標点PA ,修正
点PB が設定されていたとすると、ローカル座標系53
を回転させ、ローカル座標系52と各軸が平行とし、ロ
ーカル座標系53を平行移動させ、図9(B)に示すよ
うにローカル座標系52,53を一致させ、目標点P A
と修正点PB との接触を計る。For example, as shown in FIG. 9A, world coordinates
System 51, local coordinate systems 52, 53, target point PA, Modified
Point PBIf is set, the local coordinate system 53
By rotating so that the local coordinate system 52 and each axis are parallel,
The local coordinate system 53 is translated and shown in FIG. 9 (B).
The local coordinate systems 52 and 53 so that the target point P A
And correction point PBMake contact with.
【0110】以上のように本実施例によれば、マウス等
の入力部11により二次元表示された三次元形状の面、
線、点を指定することで修正形状を目標形状に面、線、
点で結合することができるため、三次元形状の指定が容
易に行なえると共に、指定した面、線、点を互いに確実
に結合でき、正確に修正が行なえる。As described above, according to the present embodiment, a three-dimensional shape surface two-dimensionally displayed by the input unit 11 such as a mouse,
Designate the modified shape as the target shape by specifying lines and points.
Since the points can be connected, the three-dimensional shape can be easily specified, and the specified surfaces, lines, and points can be surely connected to each other, and the correction can be accurately performed.
【0111】また、機能の選択はユーザが入力部11を
操作することにより会話的に行なえるため、操作が容易
である。Further, since the user can interactively select the function by operating the input unit 11, the operation is easy.
【0112】[0112]
【発明の効果】上述の如く、本発明の請求項1によれ
ば、指示手段の指示に従って三次元形状記憶手段に記憶
された三次元形状の選択、三次元形状を構成する基本要
素の選択が行なえ、ユーザは指示手段を用いて会話的に
選択指示が行なえ、操作性を向上でき、また、結合する
部分の選択は基本要素毎に行なわれ、基本要素を互いに
結合するように処理が実行されるため、指示が行ないや
すいと共に、結合を正確に行なえる等の特長を有する。As described above, according to claim 1 of the present invention, the selection of the three-dimensional shape stored in the three-dimensional shape storage means and the selection of the basic elements constituting the three-dimensional shape can be performed according to the instruction of the instruction means. In addition, the user can interactively give a selection instruction using the instruction means to improve the operability, and the selection of the parts to be combined is performed for each basic element, and the processing is executed so as to connect the basic elements to each other. Therefore, it is easy to give instructions and has features such as accurate coupling.
【0113】請求項2によれば、処理手段の結合条件を
処理制御手段により制御することにより、三次元形状を
容易に修正することができる等の特長を有する。According to the second aspect, there is a feature that the three-dimensional shape can be easily corrected by controlling the connection condition of the processing means by the processing control means.
【0114】請求項3によれば、三次元形状を面に分割
し面を指示手段により選択して、選択した面が一致する
ように結合するため、結合する相手を容易かつ、正確に
指示でき、操作性を良好なものとできると共に、正確な
結合が行なえる等の特長を有する。According to the third aspect, the three-dimensional shape is divided into faces, the faces are selected by the pointing means, and the faces are joined so that the selected faces match each other. Therefore, the partner to be joined can be easily and accurately designated. It has features such as good operability and accurate coupling.
【0115】請求項4によれば、面をさらに面を構成す
る線分に分割し、線分を指示手段により選択して、選択
した線分が一致するように結合するため、結合する線分
同士を容易かつ、正確に指示でき、操作性を良好なもの
とできると共に正確に結合が行なえる等の特長を有す
る。According to the fourth aspect, the surface is further divided into line segments that form the surface, the line segments are selected by the instructing means, and the selected line segments are combined so that they coincide with each other. It has features such as easy and accurate indication of each other, good operability, and accurate connection.
【0116】請求項5によれば、線分を線分を構成する
点に分割し、分割した線分を指示手段で選択して、選択
した点が一致するように結合が行なわれるため、結合す
る点を容易かつ、正確に指示でき、従って操作性を向上
させることができると共に正確な結合が行なえる等の特
長を有する。According to the fifth aspect, the line segment is divided into the points forming the line segment, the divided line segment is selected by the indicating means, and the combination is performed so that the selected points coincide with each other. It has a feature that it is possible to easily and accurately indicate the point to be performed, thus improving the operability and performing an accurate connection.
【0117】請求項6によれば、複数の三次元形状の要
素選択手段により選択された面を互いに一致させた状態
で処理制御手段により処理手段の処理条件を制御するこ
とにより複数の三次元形状の位置関係を処理条件に応じ
た所定の方向に制御量に応じた量だけ変移させることが
できるため、修正を容易に行なえる等の特長を有する。According to the sixth aspect, the plurality of three-dimensional shapes are controlled by controlling the processing conditions of the processing means by the processing control means in a state where the surfaces selected by the plurality of three-dimensional shape element selecting means are matched with each other. Since the positional relationship can be changed in a predetermined direction according to the processing condition by an amount according to the control amount, it has a feature that correction can be easily performed.
【0118】請求項7によれば、複数の三次元形状の要
素選択手段により選択された線分を互いに一致させた状
態で処理制御手段により処理手段の処理条件を制御する
ことにより複数の三次元形状の位置関係を処理条件に応
じた所定の方向に制御量に応じた量だけ変移させること
ができるため、修正を容易に行なえる等の特長を有す
る。According to the seventh aspect, the processing control means controls the processing conditions of the processing means in a state in which the line segments selected by the plurality of three-dimensional shape element selecting means are matched with each other, thereby making a plurality of three-dimensional shapes. Since the positional relationship of the shapes can be displaced in a predetermined direction according to the processing condition by an amount according to the control amount, it has a feature that correction can be easily performed.
【0119】請求項8によれば、線分が選択された際に
選択された線分の長さが一致するように三次元形状のス
ケールが制御されるため、スケールの異なる三次元形状
を結合する場合にスケールの一致を容易に行なえる等の
特長を有する。According to the eighth aspect, since the scales of the three-dimensional shapes are controlled so that the lengths of the selected line segments match when the line segments are selected, the three-dimensional shapes having different scales are combined. It has features such as easy matching of scales.
【図1】本発明の原理図である。FIG. 1 is a principle diagram of the present invention.
【図2】本発明の一実施例のブロック構成図である。FIG. 2 is a block diagram of an embodiment of the present invention.
【図3】本発明の一実施例の修正処理動作フローチャー
トである。FIG. 3 is a flowchart of a correction processing operation according to an embodiment of the present invention.
【図4】本発明の一実施例の動作説明図である。FIG. 4 is an operation explanatory diagram of the embodiment of the present invention.
【図5】本発明の一実施例の面張り合わせ動作説明図で
ある。FIG. 5 is an explanatory view of the face-to-face bonding operation of the embodiment of the present invention.
【図6】本発明の一実施例の面張り合わせ時の拘束条件
による移動動作説明図である。FIG. 6 is a diagram for explaining a movement operation according to a constraint condition at the time of surface bonding according to an embodiment of the present invention.
【図7】本発明の一実施例の線重ね合わせ動作説明図で
ある。FIG. 7 is an explanatory diagram of a line overlapping operation according to an embodiment of the present invention.
【図8】本発明の一実施例の線重ね合わせ時の拘束条件
による移動動作説明図である。FIG. 8 is an explanatory diagram of a movement operation according to a constraint condition at the time of line superposition according to an embodiment of the present invention.
【図9】本発明の一実施例の点接触動作説明図である。FIG. 9 is a diagram illustrating a point contact operation according to an embodiment of the present invention.
【図10】従来の一例のブロック図である。FIG. 10 is a block diagram of an example of the related art.
【図11】三次元形状の移動動作説明図である。FIG. 11 is a diagram illustrating a movement operation of a three-dimensional shape.
【図12】従来の一例の動作説明図である。FIG. 12 is a diagram illustrating an operation of a conventional example.
1 記憶手段 2 指示手段 3 形状選択手段 4 形状分割手段 5 要素選択手段 6 移動処理手段 11 入力部 12 形状作成部 13 形状編集部 14 三次元形状データベース 15 形状表示部 16 表示装置 DESCRIPTION OF SYMBOLS 1 storage means 2 instruction means 3 shape selection means 4 shape division means 5 element selection means 6 movement processing means 11 input section 12 shape creation section 13 shape editing section 14 three-dimensional shape database 15 shape display section 16 display device
───────────────────────────────────────────────────── フロントページの続き (72)発明者 多田 厚子 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 湯本 麻子 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 笠井 悟志 静岡県静岡市伝馬町16番地の3 株式会社 富士通静岡エンジニアリング内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Atsuko Tada 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa, Fujitsu Limited (72) Inventor Asako Yumoto 1015, Kamikodanaka, Nakahara-ku, Kawasaki, Kanagawa Prefecture, Fujitsu Limited ( 72) Inventor Satoshi Kasai 16-3 Denma-cho, Shizuoka-shi, Shizuoka Prefecture Fujitsu Limited Shizuoka Engineering Co., Ltd.
Claims (8)
三次元形状を指示手段(2)による指示に応じて移動さ
せる三次元画像処理装置において、 前記三次元形状記憶手段(1)に記憶された前記三次元
形状情報より前記指示手段(2)の指示に従って所望の
三次元形状を選択する形状選択手段(3)と、 前記形状選択手段(3)により選択された前記所望の三
次元形状を基本要素に分割する形状分割手段(4)と、 前記形状分割手段(4)で分割された前記基本要素の所
定の部分を前記指示手段(2)の指示に従って選択する
要素選択手段(5)と、 前記指示手段(2)の前記基本要素に対応する所望の部
分の指示により前記要素選択手段(5)で選択された前
記所定の部分が前記指示手段(2)により指示された前
記所望の部分と一致するように前記所望の三次元形状を
結合させる処理手段(6)とを有する三次元画像処理装
置。1. A three-dimensional image processing apparatus for moving a three-dimensional shape stored in a three-dimensional shape storage means (1) in accordance with an instruction from an instruction means (2), wherein the three-dimensional shape storage means (1) A shape selecting means (3) for selecting a desired three-dimensional shape from the stored three-dimensional shape information according to an instruction of the instructing means (2), and the desired three-dimensional shape selected by the shape selecting means (3). A shape dividing means (4) for dividing a shape into basic elements, and an element selecting means (5) for selecting a predetermined portion of the basic element divided by the shape dividing means (4) according to an instruction of the instruction means (2). ) And the desired portion selected by the element selecting means (5) by the instruction of the desired portion corresponding to the basic element of the instructing means (2) is instructed by the instructing means (2). Matches the part of The desired three-dimensional image processing apparatus and a processing means for coupling the three-dimensional shape (6) so that.
形状を結合させる条件を制御する処理制御手段(7)を
有することを特徴とする三次元画像処理装置。2. A three-dimensional image processing apparatus comprising a processing control means (7) for controlling a condition for combining the desired three-dimensional shapes of the processing means (6).
要素として前記形状選択手段(3)で選択された複数の
三次元形状を面に分割し、 前記要素選択手段(5)により前記指示手段(2)の指
示に応じて前記形状分割手段(4)で分割された面より
夫々一面を選択し、 前記処理手段(6)により前記要素選択手段(5)で選
択された面を互いに結合させることを特徴とする請求項
1又は2記載の三次元画像処理装置を用いた三次元画像
処理方法。3. The shape dividing means (4) divides a plurality of three-dimensional shapes selected by the shape selecting means (3) as the basic elements into planes, and the element selecting means (5) performs the pointing means. According to the instruction of (2), one surface is selected from each of the surfaces divided by the shape dividing means (4), and the surfaces selected by the element selecting means (5) are combined by the processing means (6). A three-dimensional image processing method using the three-dimensional image processing apparatus according to claim 1 or 2.
選択手段(5)で選択された複数の三次元形状の夫々一
面を面の輪郭を構成する複数の線分に分割させ、 前記要素選択手段(5)により前記指示手段(2)の指
示に応じて前記形状分割手段(4)で分割された前記複
数の線分より夫々一線分を選択させ、 前記処理手段(6)により前記要素選択手段(5)で選
択された前記複数の三次元形状の一線分が一致するよう
に前記複数の三次元形状を結合させることを特徴とする
請求項3記載の三次元画像処理方法。4. The shape selecting means (4) divides one surface of each of the plurality of three-dimensional shapes selected by the element selecting means (5) into a plurality of line segments forming a contour of the surface, and the element selection The means (5) causes the shape dividing means (4) to select one line segment from each of the plurality of line segments according to the instruction of the instruction means (2), and the processing means (6) selects the element. 4. The three-dimensional image processing method according to claim 3, wherein the plurality of three-dimensional shapes are combined so that the line segments of the plurality of three-dimensional shapes selected by the means (5) coincide with each other.
選択手段(5)で選択された複数の三次元形状の面の輪
郭を構成する線分を点に分割させ、 前記要素選択手段(5)により前記指示手段(2)の指
示に応じて前記形状分割手段(4)で分割された両端の
点より前記複数の三次元形状毎に一点を選択させ、 前記処理手段(6)により前記要素選択手段(5)で選
択された前記複数の三次元形状の一点が一致するように
前記三次元形状を結合させることを特徴とする請求項4
記載の三次元画像処理方法。5. The element selecting means (5) is configured to divide the line segment constituting the contour of the surface of the plurality of three-dimensional shapes selected by the element selecting means (5) by the shape dividing means (4) into points. ) Selects one point for each of the plurality of three-dimensional shapes from the points at both ends divided by the shape dividing means (4) according to the instruction of the instruction means (2), and the processing means (6) causes the element 5. The three-dimensional shapes are combined so that one point of the plurality of three-dimensional shapes selected by the selection means (5) coincides with each other.
The described three-dimensional image processing method.
手段(6)の処理条件を設定し、前記複数の三次元形状
より選択された各面を互いに結合させた状態で前記処理
制御手段(7)の制御量に応じた量、前記処理条件に応
じた所定の方向に三次元形状を移動させることを特徴と
する請求項3乃至5記載の三次元画像処理方法。6. The processing control means (7) sets the processing conditions of the processing means (6), and the processing control means (in the state where the respective surfaces selected from the plurality of three-dimensional shapes are connected to each other). 6. The three-dimensional image processing method according to claim 3, wherein the three-dimensional shape is moved in a predetermined direction according to the processing condition by an amount according to the control amount of 7).
手段(6)の処理条件を設定し、前記複数の三次元形状
より選択された線分を重ね合わせた状態から前記処理制
御手段で設定された制御量に応じた量、前記処理条件に
応じた所定の方向に前記三次元形状を移動させることを
特徴とする請求項4乃至5記載の三次元画像処理方法。7. The processing condition of the processing means (6) is set by the processing control means (7), and is set by the processing control means from a state in which line segments selected from the plurality of three-dimensional shapes are overlapped. The three-dimensional image processing method according to claim 4, wherein the three-dimensional shape is moved in a predetermined direction according to the processing condition by an amount according to the controlled amount.
(5)で選択された線分の長さが一致するように複数の
三次元形状のスケールを制御することを特徴とする請求
項4記載の三次元画像処理方法。8. The processing means (6) controls a plurality of three-dimensional shape scales so that the lengths of the line segments selected by the element selection means (5) match. 4. The three-dimensional image processing method described in 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17459594A JP3356552B2 (en) | 1994-07-26 | 1994-07-26 | Three-dimensional image processing apparatus and three-dimensional image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17459594A JP3356552B2 (en) | 1994-07-26 | 1994-07-26 | Three-dimensional image processing apparatus and three-dimensional image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0844908A true JPH0844908A (en) | 1996-02-16 |
JP3356552B2 JP3356552B2 (en) | 2002-12-16 |
Family
ID=15981324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17459594A Expired - Fee Related JP3356552B2 (en) | 1994-07-26 | 1994-07-26 | Three-dimensional image processing apparatus and three-dimensional image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3356552B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006048147A (en) * | 2004-07-30 | 2006-02-16 | Ricoh Co Ltd | Three-dimensional shape model arrangement device, arrangement method, arrangement program, and recording medium |
JP2006134251A (en) * | 2004-11-09 | 2006-05-25 | Ricoh Co Ltd | Three-dimensional figure arrangement input device |
JP2007179419A (en) * | 2005-12-28 | 2007-07-12 | Canon Software Inc | Information processor, geometric model concealing method, concealment geometric model restoring method, program and recording medium |
JP2014202534A (en) * | 2013-04-02 | 2014-10-27 | 株式会社東芝 | Rotor blade measuring device and rotor blade measuring method |
-
1994
- 1994-07-26 JP JP17459594A patent/JP3356552B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006048147A (en) * | 2004-07-30 | 2006-02-16 | Ricoh Co Ltd | Three-dimensional shape model arrangement device, arrangement method, arrangement program, and recording medium |
JP4685382B2 (en) * | 2004-07-30 | 2011-05-18 | 株式会社リコー | Arrangement apparatus, arrangement method, arrangement program, and recording medium for three-dimensional shape model |
JP2006134251A (en) * | 2004-11-09 | 2006-05-25 | Ricoh Co Ltd | Three-dimensional figure arrangement input device |
JP2007179419A (en) * | 2005-12-28 | 2007-07-12 | Canon Software Inc | Information processor, geometric model concealing method, concealment geometric model restoring method, program and recording medium |
JP2014202534A (en) * | 2013-04-02 | 2014-10-27 | 株式会社東芝 | Rotor blade measuring device and rotor blade measuring method |
Also Published As
Publication number | Publication date |
---|---|
JP3356552B2 (en) | 2002-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7353081B2 (en) | Method and a system for programming an industrial robot | |
EP1435280B1 (en) | A method and a system for programming an industrial robot | |
US5588097A (en) | Graphic display method and apparatus for rotating an object in three-dimensional space | |
EP0743589B1 (en) | Interactive image generation method and apparatus | |
JP2720920B2 (en) | A method for synthesizing real images and computer graphics in an image processing system | |
JP3559335B2 (en) | 3D image processing device | |
JP3356552B2 (en) | Three-dimensional image processing apparatus and three-dimensional image processing method | |
JPH09190551A (en) | Drawing method for three-dimensional shape | |
JPH10264065A (en) | Remote operation support device for robot | |
US20010033280A1 (en) | Three-dimensional model processing apparatus, method and program providing medium | |
JP3470771B2 (en) | Projection plane linked display device | |
JP2004005575A (en) | Three-dimensional space graphics processing device and three-dimensional space graphics processing method | |
JPH04137108A (en) | Offline teaching method for robot | |
JP3325723B2 (en) | Three-dimensional graphic display device and three-dimensional graphic display method | |
JPS62269221A (en) | Three-dimensional coordinate indicating system | |
JP2683114B2 (en) | Curve control device | |
JP2836281B2 (en) | Data creation method for welding robot | |
JP3092779B2 (en) | Graphic processing method and apparatus | |
US5444831A (en) | Developed product shape deciding method for a computer-aided design system | |
JPH05224734A (en) | Robot simulating device | |
EP0620530A2 (en) | Method of and apparatus for editing two-dimensional data for generating three-dimensional data | |
JPH06203140A (en) | Rotation processing method for three-dimensional graphic | |
JP3864402B2 (en) | 3D image display device | |
JPH06168300A (en) | Three-dimensional shape input device | |
JPH09212228A (en) | Method and device for teaching robot work |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20020917 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071004 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081004 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |