JP2006260119A - Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium - Google Patents
Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium Download PDFInfo
- Publication number
- JP2006260119A JP2006260119A JP2005076177A JP2005076177A JP2006260119A JP 2006260119 A JP2006260119 A JP 2006260119A JP 2005076177 A JP2005076177 A JP 2005076177A JP 2005076177 A JP2005076177 A JP 2005076177A JP 2006260119 A JP2006260119 A JP 2006260119A
- Authority
- JP
- Japan
- Prior art keywords
- difference
- dimensional shape
- mark
- bounding box
- processing apparatus
- 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
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
本発明は、3次元形状処理装置、3次元形状処理方法、プログラムおよび記録媒体に関し、形状の差分を強調して表示する3次元形状処理・表示技術に関し、3次元CAD/CAM/CAE/CGシステムなどにおける3次元形状処理・表示技術に適用して好適である。 The present invention relates to a three-dimensional shape processing apparatus, a three-dimensional shape processing method, a program, and a recording medium, and to a three-dimensional CAD / CAM / CAE / CG system relating to a three-dimensional shape processing / display technique that emphasizes and displays a shape difference. It is suitable for application to the three-dimensional shape processing / display technology in the above.
近年、3次元CAD/CAM/CGシステムなどの普及により3次元形状データの利用者層が拡大するとともに、アセンブリモデル、サブアセンブリや部品など部分モデルの干渉(重なり、ぶつかり)を検出するシミュレーションや組み立て性の検証など様々な局面で3次元形状データを有効活用する機会が増えている。 In recent years, with the spread of 3D CAD / CAM / CG systems, etc., the user group of 3D shape data has expanded, and simulation and assembly to detect interference (overlap, collision) of partial models such as assembly models, subassemblies and parts Opportunities to effectively use 3D shape data in various aspects such as verification of sex are increasing.
このことについて、特許文献1の技術では、集合演算後の立体モデルから取り除くべき細かなバリがモデルのテーブル上のデータに基づいて判定され、その部分が修正すべき微小な図形とみなされて表示画面上に強調表示する。強調表示は、他の修正対象でない部分に対して、色替え、点滅、明度を変えるなどの明確な区別が施される。この結果、オペレータは取り除く必要のある稜線、距離の近い頂点などを容易に把握することができ、バリのない完全なモデルデータを構築することができる。 With regard to this, in the technique of Patent Document 1, a fine burr to be removed from the three-dimensional model after the set operation is determined based on the data on the model table, and the portion is regarded as a minute figure to be corrected and displayed. Highlight on screen. In the highlight display, clear distinction such as color change, blinking, and changing brightness is performed on other parts not to be corrected. As a result, the operator can easily grasp ridgelines that need to be removed, vertices that are close to each other, and the like, and can construct complete model data without burrs.
また、特許文献2では、モデルA、Bの各面上の各ピクセルのZ値を計算・記憶し(S1)、続いてモデルBのZ値中の最小値を取り出し(S2)、モデルAのZ値中でS2で取り出したZ値より小さいZ値のピクセルがあれば(S3でYes)モデルA内のそれらのピクセルの位置にドットを描画し(S4)、次にモデルBの残りのZ値中の最小値を取り出し(S5)、モデルAのZ値中でS5で取り出したZ値より小さいZ値のピクセルがあれば(S6でYes)モデルA内のそのピクセルの位置にドットを描画する(S7)。
モデルBの残りのZ値がある限り(S8でYes)、S5〜S7の処理を繰り返し、モデルBの残りのZ値がなくなると(S8でNo)、最後に取り出したモデルBのZ値より大きいZ値がモデルAにあれば(S9でYes)モデルA内のそれらのピクセルの位置にドットを描画する(S10)。
これにより、2つの3次元形状モデルの差分を簡単な方法で求め、その部分を視覚的に容易に判別できるように表示できる3次元形状処理方法を提供している。
As long as there is a remaining Z value of model B (Yes in S8), the processes of S5 to S7 are repeated, and when there is no remaining Z value of model B (No in S8), the Z value of model B taken out last is obtained. If there is a large Z value in the model A (Yes in S9), dots are drawn at the positions of those pixels in the model A (S10).
Thus, a three-dimensional shape processing method is provided that can obtain a difference between two three-dimensional shape models by a simple method and display the difference so that the portion can be easily visually identified.
しかし、上記のような従来技術では、3次元形状モデルの差分が非常に小さい場合に、判別することが困難な場合があった。 However, in the conventional technology as described above, it may be difficult to determine when the difference between the three-dimensional shape models is very small.
本発明は、上記の問題点を解決するために、3次元形状モデルの差分に印をつけて、表示領域を判別しやすくする3次元形状処理装置、3次元形状処理方法、3次元形状処理装置の機能をコンピュータで実現するためのプログラムおよびそのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供することを目的とする。 In order to solve the above problems, the present invention marks a difference of a three-dimensional shape model to make it easy to determine a display area, a three-dimensional shape processing device, a three-dimensional shape processing method, and a three-dimensional shape processing device. An object of the present invention is to provide a program for realizing the above functions on a computer and a computer-readable recording medium on which the program is recorded.
上記の課題を解決するために、請求項1に記載の3次元形状処理装置の発明は、3次元形状モデルの処理と表示を行う3次元形状処理装置において、同一の3次元座標空間に置かれた複数の3次元形状モデル間の差分を算出する差分算出部と、前記差分算出部で算出された差分の表示範囲を包み込む境界箱を算出する境界箱算出部と、前記境界箱算出部で算出した境界箱に基づいて、最適な印の大きさと位置を算出する印位置算出部と、前記差分の表示範囲に対して、前記印位置算出部で算出した位置に印を表示する表示部と、を備えることを特徴とする。 In order to solve the above problems, the invention of the three-dimensional shape processing apparatus according to claim 1 is placed in the same three-dimensional coordinate space in a three-dimensional shape processing apparatus that processes and displays a three-dimensional shape model. A difference calculating unit that calculates a difference between a plurality of three-dimensional shape models, a boundary box calculating unit that calculates a bounding box that encloses a display range of the difference calculated by the difference calculating unit, and a calculation performed by the bounding box calculating unit. A mark position calculation unit that calculates an optimal mark size and position based on the bounding box, and a display unit that displays a mark at the position calculated by the mark position calculation unit with respect to the display range of the difference, It is characterized by providing.
請求項2に記載の発明は、請求項1に記載の3次元形状処理装置において、前記境界箱算出部は、前記差分が連続する場合には、これらの連続する差分を統合することを特徴とする。
請求項3に記載の発明は、請求項1または2に記載の3次元形状処理装置において、前記表示部は、前記差分をシェーディングで表示することを特徴とする。
According to a second aspect of the present invention, in the three-dimensional shape processing apparatus according to the first aspect, when the difference is continuous, the bounding box calculation unit integrates these continuous differences. To do.
According to a third aspect of the present invention, in the three-dimensional shape processing apparatus according to the first or second aspect, the display unit displays the difference by shading.
請求項4に記載の発明は、請求項1、2または3に記載の3次元形状処理装置において、前記表示部は、前記印の大きさに下限を設定することを特徴とする。
請求項5に記載の発明は、請求項1乃至4のいずれかに記載の3次元形状処理装置において、前記表示部は、前記印の大きさに上限を設定することを特徴とする。
According to a fourth aspect of the present invention, in the three-dimensional shape processing apparatus according to the first, second, or third aspect, the display unit sets a lower limit for the size of the mark.
According to a fifth aspect of the present invention, in the three-dimensional shape processing apparatus according to any one of the first to fourth aspects, the display unit sets an upper limit for the size of the mark.
請求項6に記載の発明は、請求項1乃至5のいずれかに記載の3次元形状処理装置において、前記境界箱算出部は、第1の差分より視点側に置かれている第2の差分が、第1の差分の表示範囲を全て含む場合、第1の差分に対する境界箱を印の算出処理の対象から外すようにしたことを特徴とする。 A sixth aspect of the present invention is the three-dimensional shape processing apparatus according to any one of the first to fifth aspects, wherein the bounding box calculation unit is a second difference that is placed closer to the viewpoint than the first difference. However, when the entire display range of the first difference is included, the boundary box for the first difference is excluded from the target of the mark calculation process.
請求項7に記載の3次元形状処理方法の発明は、3次元形状モデルの処理と表示を行う3次元形状処理方法において、同一の3次元座標空間に置かれた複数の3次元形状モデル間の差分を算出し、算出された差分の表示範囲を包み込む境界箱を算出し、算出した境界箱に基づいて、最適な印の大きさと位置を算出し、前記差分の表示範囲に対して、算出した位置に印を表示することを特徴とする。 The invention of the three-dimensional shape processing method according to claim 7 is a three-dimensional shape processing method for processing and displaying a three-dimensional shape model, and a plurality of three-dimensional shape models placed in the same three-dimensional coordinate space. Calculate the difference, calculate a bounding box that encloses the display range of the calculated difference, calculate the optimal mark size and position based on the calculated bounding box, and calculate the difference for the display range of the difference A mark is displayed at the position.
請求項8に記載の発明は、コンピュータに、請求項1乃至6のいずれかに記載の3次元形状処理装置の機能を実現させるためのプログラムである。
請求項9に記載の発明は、請求項8に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
The invention according to an eighth aspect is a program for causing a computer to realize the function of the three-dimensional shape processing apparatus according to any one of the first to sixth aspects.
The invention according to claim 9 is a computer-readable recording medium in which the program according to claim 8 is recorded.
本発明によれば、同一の3次元座標空間に置かれた、複数の3次元形状モデル間の差分に対して、その差分領域を表示させる際、その差分が識別しやすいように差分領域を囲む印を表示するようにし、差分に当たる部分を視覚的に容易に判別することができる。 According to the present invention, when a difference area is displayed for a difference between a plurality of three-dimensional shape models placed in the same three-dimensional coordinate space, the difference area is surrounded so that the difference can be easily identified. The mark is displayed, and the portion corresponding to the difference can be easily visually determined.
また、連続した差分の表示領域については、一つの印に置き換えて表示するため、差分の数が密集している場合などに、差分の表示領域が分かりやすくなる。 In addition, since the continuous difference display area is replaced with one mark and displayed, the difference display area is easily understood when the number of differences is dense.
また、差分をシェーディング表示にすることにより、差分が分かりやすくなる。
また、差分を囲む印の大きさに上限や下限を設けたので、差分が非常に小さい場合にも、また、非常に大きい場合にも差分の表示領域が分かりやすくなる。
Moreover, the difference can be easily understood by displaying the difference in a shaded display.
In addition, since an upper limit and a lower limit are provided for the size of the mark surrounding the difference, the display area of the difference can be easily understood both when the difference is very small and when it is very large.
また、ある差分より視点側に、この差分の表示領域を含む他の差分の表示領域がある場合には、視点側の差分の表示領域を囲む印のみ表示し、視点側の差分の表示領域が分かりやすくなる。 Also, if there is another difference display area including this difference display area on the viewpoint side from a certain difference, only the mark surrounding the difference display area on the viewpoint side is displayed, and the difference display area on the viewpoint side is It becomes easy to understand.
以下、図面を参照して本発明の3次元形状処理装置に係る好適な実施形態について説明する。
図1は、本発明が適用される3次元形状処理装置のハードウェア構成図である。図1において、3次元形状処理装置は、プログラムに従って動作するCPU1、そのプログラムや各種データを一時的に記憶するメモリ(例えば、ROMやRAM等)2、プログラムや各種データを保存しておく外部記憶装置(例えば、ハードディスク装置)3、キーボード、マウスなどを有して3次元形状データを含む各種データや指示を入力する入力装置4、3次元形状モデルなどを表示する表示装置5などを備えている。
Hereinafter, preferred embodiments of the three-dimensional shape processing apparatus of the present invention will be described with reference to the drawings.
FIG. 1 is a hardware configuration diagram of a three-dimensional shape processing apparatus to which the present invention is applied. In FIG. 1, a three-dimensional shape processing apparatus includes a CPU 1 that operates according to a program, a memory (eg, ROM, RAM, etc.) 2 that temporarily stores the program and various data, and an external storage that stores the program and various data. A device (for example, a hard disk device) 3, a keyboard, a mouse, and the like are provided, an input device 4 for inputting various data including 3D shape data and instructions, a display device 5 for displaying a 3D shape model, and the like. .
図2は、本実施形態に係る3次元形状処理装置の機能を示すブロック図である。同図において、3次元形状処理装置は、形状データ記憶部11に記憶された3次元形状データを用いて3次元形状処理を行う一般的な機能のほかに、差分算出部12、差分記憶部13、境界箱算出部14、境界箱記憶部15、印位置算出部16、印位置記憶部17、表示部18とを含んで構成される。
上記の各処理部は、前記したようなハードウェアとプログラムにより実現され、また、各記憶部は、メモリ2や外部記憶装置3を用いて記憶される。
FIG. 2 is a block diagram illustrating functions of the three-dimensional shape processing apparatus according to the present embodiment. In the figure, the three-dimensional shape processing apparatus has a difference calculation unit 12 and a difference storage unit 13 in addition to the general function of performing three-dimensional shape processing using the three-dimensional shape data stored in the shape data storage unit 11. , A boundary box calculation unit 14, a boundary box storage unit 15, a mark position calculation unit 16, a mark position storage unit 17, and a display unit 18.
Each processing unit described above is realized by hardware and a program as described above, and each storage unit is stored using the memory 2 or the external storage device 3.
差分算出部12は、形状データ記憶部11に記憶されている複数の形状データモデルが指定され、それらのモデルを同一座標空間に置いた場合の差分を算出し、この差分を表示装置5の2次元画面上のドット位置へマッピングした画面情報を差分記憶部13へ記憶する。 The difference calculation unit 12 calculates a difference when a plurality of shape data models stored in the shape data storage unit 11 are designated and puts these models in the same coordinate space, and calculates the difference 2 of the display device 5. The screen information mapped to the dot position on the three-dimensional screen is stored in the difference storage unit 13.
境界箱算出部14は、差分記憶部13に記憶された画面情報から連続したドットを1つながりの差分形状とし、この差分形状を囲む最小の境界箱を検出し、この境界箱の上端、下端、左端、右端の各座標位置(表示画面上のドット位置)から境界箱の対角位置の座標値をそれぞれ計算する。この計算をすべての差分形状について境界箱の対角位置の座標値を計算して境界箱記憶部15に記憶する。
さらに、境界箱算出部14は、差分が接近している場合には、これらを含む最小の境界箱に統合し、そのまとめた境界箱で境界箱記憶部15を更新する。この統合操作は、近接した差分がなくなるまで繰り返される。
また、境界箱算出部14は、境界箱の中に別の差分を含んでいる場合には、一番外側の境界箱の情報を残し、この境界箱に含まれる差分の境界箱の情報を境界箱記憶部15から削除する。
このように、ある差分から視点側に、この差分の表示領域を含む他の差分の表示領域がある場合には、視点側の差分の表示領域を囲む印のみ表示するようにし、視点側の差分の表示領域が分かりやすくなる。
The bounding box calculation unit 14 detects a minimum bounding box that surrounds the difference shape by making continuous dots from the screen information stored in the difference storage unit 13 into one connected difference shape, and detects the upper and lower ends of the bounding box, The coordinate values of the diagonal position of the bounding box are calculated from the left and right coordinate positions (dot positions on the display screen). In this calculation, the coordinate value of the diagonal position of the bounding box is calculated for all the difference shapes and stored in the bounding box storage unit 15.
Furthermore, when the difference is approaching, the bounding box calculation unit 14 integrates the minimum bounding box including these, and updates the bounding box storage unit 15 with the combined bounding box. This integration operation is repeated until there is no close difference.
In addition, when the boundary box includes another difference, the boundary box calculation unit 14 leaves information on the outermost boundary box, and changes the boundary box information of the difference included in the boundary box to the boundary. Delete from the box storage unit 15.
In this way, when there is a display area of another difference including the display area of this difference from a certain difference to the viewpoint side, only the mark surrounding the display area of the viewpoint side difference is displayed, and the difference on the viewpoint side is displayed. The display area becomes easier to understand.
印位置算出部16は、境界箱記憶部15に記憶した境界箱の対角位置の座標値から差分を囲む印の形状と印を表示する位置を計算して、印位置記憶部17に記憶する。
印の形状としては、差分形状を囲むものであれば、円、楕円、多角形等のいずれであってもかまわない。例えば、境界箱の形状が正方形に近い場合は、円または多角形とし、また、横長あるいは縦長の矩形であれば楕円を用いる。
また、印の形状が「円」や「多角形」の場合には、境界箱の対角線の中点座標と対角線の長さの半分とを位置情報とする。
印の形状が「楕円」の場合には、境界箱の対角線の交点座標、境界箱の縦横の長さの短い方の長さ、境界箱の縦横の長さの比とを位置情報とする。
The mark position calculation unit 16 calculates the shape of the mark surrounding the difference and the position for displaying the mark from the coordinate value of the diagonal position of the boundary box stored in the boundary box storage unit 15, and stores it in the mark position storage unit 17. .
The shape of the mark may be a circle, an ellipse, a polygon, or the like as long as it surrounds the difference shape. For example, when the shape of the bounding box is close to a square, it is a circle or a polygon, and when it is a horizontally long or vertically long rectangle, an ellipse is used.
When the mark shape is “circle” or “polygon”, the midpoint coordinates of the diagonal line of the bounding box and half the length of the diagonal line are used as position information.
When the shape of the mark is “ellipse”, the position information is the intersection coordinates of the diagonal of the bounding box, the shorter length of the bounding box, and the ratio of the length and width of the bounding box.
表示部18は、指定した形状モデルを表示装置に表示し、その画面上に差分を表示するとともに、印位置記憶部17に記憶された印の形状と位置情報から印を画面に表示する。
このとき、印を描くときに、印の大きさが非常に小さすぎると、ユーザがその印を発見できにくくなるので、所定の大きさを定め、この定めた大きさより小さい印のときは所定の大きさで印を描くようにしてもよい。また、逆に、大きすぎる場合にも、所定の大きさを定め、この大きさよりも大きいときには、所定のサイズの大きさの印を描くようにしてもよい。
このように、差分として見つけられた部分をシェーディング表示や印によって強調表示することによって、ユーザが差分を見つけやすくなる。
The display unit 18 displays the designated shape model on the display device, displays the difference on the screen, and displays a mark on the screen from the shape and position information of the mark stored in the mark position storage unit 17.
At this time, when drawing a mark, if the size of the mark is too small, it becomes difficult for the user to find the mark. Therefore, a predetermined size is determined, and when the mark is smaller than the predetermined size, a predetermined size is set. You may make it draw a mark by the magnitude | size. Conversely, if the size is too large, a predetermined size may be determined, and if it is larger than this size, a mark of a predetermined size may be drawn.
Thus, by highlighting the portion found as the difference by shading display or a mark, the user can easily find the difference.
印の形状が「円」の場合には、位置情報に記憶されている中心の座標値と半径の長さによって円の表示命令で描くことができる。
また、印の形状が「多角形」であれば、多角形の辺の数をNとし、位置情報に記憶されている対角線の交点の座標を(x,y)、対角線の長さの半分をaとし、iを0≦i≦Nの範囲の整数とすると、
(a×cos(360/N×i)+x、a×sin(360/N×i)+y)
で表される座標のi番目と(i+1)番目を線分で結んでいくことで、多角形(N角形)を描くことができる。
また、印の形状が「楕円」であれば、位置情報に記憶されている対角線の交点座標を(x,y)、境界箱の縦横の長さの短い方の長さをL、境界箱の縦横の長さの比(縦:横=a:b)とし、点(x,y)を中心として半径Lの円周上の点(X,Y)の替わりに、(aX,bY)という点を結んでいくことで、縦:横=a:bの楕円を描くことができる。
When the shape of the mark is “circle”, it can be drawn by a circle display command according to the coordinate value of the center stored in the position information and the length of the radius.
If the shape of the mark is “polygon”, the number of sides of the polygon is N, the coordinates of the intersection of the diagonal lines stored in the position information are (x, y), and half the length of the diagonal line is a and i being an integer in the range of 0 ≦ i ≦ N,
(A * cos (360 / N * i) + x, a * sin (360 / N * i) + y)
A polygon (N-gon) can be drawn by connecting the i-th and (i + 1) -th coordinates represented by.
If the shape of the mark is “ellipse”, the intersection coordinates of the diagonal lines stored in the position information are (x, y), the length of the shorter of the vertical and horizontal lengths of the bounding box is L, and the bounding box is The ratio of length to width (length: width = a: b), and instead of the point (X, Y) on the circumference of radius L centered at the point (x, y), the point (aX, bY) By connecting, an ellipse of length: width = a: b can be drawn.
図3は、差分の強調表示の例である。立体Bから立体Aを引いた差分が、図3の立体Cの灰色にシェーディング表示されている。この例では、立体Bに開いた穴で立体Aでは埋まっている箇所がシェーディング表示されている。さらに、シェーディング表示した差分を囲む円を用いて、差分を強調表示している。 FIG. 3 is an example of highlighting a difference. A difference obtained by subtracting the solid A from the solid B is shaded and displayed in gray of the solid C in FIG. In this example, a portion that is filled in the solid A with a hole opened in the solid B is displayed in a shaded manner. Furthermore, the difference is highlighted using a circle surrounding the difference displayed in shading.
図4は、統合する前の差分の境界箱を算出する処理を説明するためのフローチャートである。境界箱算出部14では、この処理が終了してから、統合操作が行われる。
まず、差分記憶部13に記憶された画面上の最左最上のドットのドット情報を取り出し(ステップS1)、差分の表示領域であるかを確認していく(ステップS2)。
ここで、ドット情報とは、ドットの番号(すなわちドットの画面上での位置)、差分の表示領域かの情報、チェック済みかのフラグである。
FIG. 4 is a flowchart for explaining processing for calculating a difference bounding box before integration. In the bounding box calculation unit 14, the integration operation is performed after this processing is completed.
First, the dot information of the uppermost leftmost dot on the screen stored in the difference storage unit 13 is extracted (step S1), and it is confirmed whether it is a difference display area (step S2).
Here, the dot information is a dot number (that is, the position of the dot on the screen), information on the display area of the difference, and a flag indicating whether the check has been completed.
このとき、取り出したドット情報が差分の表示領域でなければ(ステップS2でNO)、次の未チェックのドットを探索する。未チェックであるかは、ドット情報のチェック済みかのフラグによって判定される。
探索は左から右に向かって行われ、現在見ているドットが画面の右端でなければ(ステップS5でNO)、隣にドットがあるので、現在見ているドットの右隣のドット情報を取り出し(ステップS6)、そのドットが未チェックであれば(ステップS9でYES)、再度差分であるかの判定を行う(ステップS2)。
At this time, if the extracted dot information is not the difference display area (NO in step S2), the next unchecked dot is searched. Whether it is unchecked is determined by a flag indicating whether the dot information has been checked.
The search is performed from left to right. If the currently viewed dot is not the right edge of the screen (NO in step S5), since there is a dot next to it, the dot information on the right next to the currently viewed dot is extracted. (Step S6) If the dot is unchecked (YES in Step S9), it is determined again whether it is a difference (Step S2).
一方、右隣のドットが未チェックでなければ(ステップS9でNO)、右端まで探索したら(ステップS5でYES)、一番下の段でない場合は(ステップS7でYES)、下の段の最左のドット情報を取り出し(ステップS8)、ドットが未チェックであるかの判定をする(ステップS9)。
しかし、現在見ているドットが最下の最左のドットであった場合は(ステップS7でYES)、処理を終了する。
On the other hand, if the dot on the right is not unchecked (NO in step S9), if it is searched to the right end (YES in step S5), if it is not the bottom row (YES in step S7), the bottom row is the highest. The left dot information is extracted (step S8), and it is determined whether the dot is unchecked (step S9).
However, if the currently viewed dot is the lowermost leftmost dot (YES in step S7), the process ends.
他方、現在見ているドットが差分の表示領域ならば(ステップS2でYES)、そのドット情報を入力として境界箱を抽出する(ステップS3)。
ここでは、入力として与えられたドット情報を用いて、差分として表示するドットの周囲のドット情報を調べて、差分として連続するかを調べ、周囲に差分として表示する未チェックドットがあれば、そのような全てのドットに対して同様に調べる。
On the other hand, if the currently viewed dot is a difference display area (YES in step S2), a bounding box is extracted using the dot information as an input (step S3).
Here, using the dot information given as input, check the dot information around the dots to be displayed as a difference, check if they are continuous as a difference, and if there are unchecked dots to be displayed as a difference around that, The same examination is performed for all such dots.
このとき、調べる範囲を隣接した8ドットのみにすると図5のように差分(図の黒と灰色の部分)が1ドットを隔てて近接している場合、円を表示すると差分が判別しづらいことも考えられるため、調べる範囲として現在のドットに隣接する8ドットに隣接する16ドットやさらに先も含めることで、このような問題を回避することも可能である。 At this time, if the range to be examined is only 8 dots adjacent to each other, the difference (the black and gray portions in the figure) is close to each other with a gap of 1 dot as shown in FIG. Therefore, it is also possible to avoid such a problem by including 16 dots adjacent to 8 dots adjacent to the current dot and further ahead as the range to be examined.
次に、ドットの属する差分と同じ差分に属する全てのドットにチェック済みのフラグを立て、境界箱の上端、下端、左端、右端の座標値から、(左端、上端)および(右端、下端)の組にして、この二点の中点(対角線の交点)の座標値と二点間の距離の半分を計算し、境界箱記憶部15に記憶し(ステップS4)、調査すべきドットがあるかを調べるためにステップS5へ進む。 Next, set a checked flag for all dots belonging to the same difference as the difference to which the dot belongs, and from the coordinate values of the top, bottom, left, and right edges of the bounding box, (left edge, top edge) and (right edge, bottom edge) As a set, the coordinate value of the midpoint of these two points (intersection of diagonal lines) and half of the distance between the two points are calculated and stored in the bounding box storage unit 15 (step S4). Go to step S5.
以上のように構成すると、同一の3次元座標空間に置かれた、複数の3次元形状モデル間の差分に対して、その差分領域を表示させる際、その差分が識別しやすいように差分領域を囲む印を表示するようにし、差分に当たる部分を視覚的に容易に判別することができる。 With the above configuration, when displaying the difference area for the difference between a plurality of three-dimensional shape models placed in the same three-dimensional coordinate space, the difference area is set so that the difference can be easily identified. A surrounding mark is displayed, and a portion corresponding to the difference can be easily visually determined.
本発明は、上述した実施形態のみに限定されたものではない。上述した実施形態の3次元形状処理装置を構成する各機能をそれぞれプログラム化して、予め記録媒体に書き込んでおき、この記録媒体に記録されたこれらのプログラムをコンピュータに備えられたメモリあるいは記憶装置に格納し、そのプログラムを実行することによって、本発明の目的が達成されることは言うまでもない。この場合、記録媒体から読み出されたプログラム自体が上述した実施形態の機能を実現することになり、そのプログラムおよびそのプログラムを記録した記録媒体も本発明を構成することになる。
また、上記プログラムは、そのプログラムの指示に基づき、オペレーティングシステムあるいは他のアプリケーションプログラム等と共同して処理することによって上述した実施形態の機能が実現される場合も含まれる。
The present invention is not limited only to the above-described embodiments. Each function constituting the three-dimensional shape processing apparatus of the above-described embodiment is programmed and written in a recording medium in advance, and these programs recorded on the recording medium are stored in a memory or a storage device provided in the computer. It goes without saying that the object of the present invention is achieved by storing and executing the program. In this case, the program itself read from the recording medium realizes the functions of the above-described embodiment, and the program and the recording medium recording the program also constitute the present invention.
In addition, the program includes a case where the functions of the above-described embodiment are realized by processing in cooperation with an operating system or another application program based on an instruction of the program.
なお、上述した実施形態の機能を実現するプログラムは、ディスク系(例えば、磁気ディスク、光ディスク等)、カード系(例えば、メモリカード、光カード等)、半導体メモリ系(例えば、ROM、不揮発性メモリ等)、テープ系(例えば、磁気テープ、カセットテープ等)等のいずれの形態の記録媒体で提供されてもよい。あるいは、ネットワークを介して記憶装置に格納されたプログラムをサーバコンピュータから直接供給を受けるようにしてもよい。この場合、このサーバコンピュータの記憶装置も本発明の記録媒体に含まれる。
このように、上述した実施形態の機能をプログラム化して流通させることによって、コストの低廉化、および可搬性や汎用性を向上させることができる。
Note that the program for realizing the functions of the above-described embodiments includes a disk system (for example, a magnetic disk, an optical disk, etc.), a card system (for example, a memory card, an optical card, etc.), and a semiconductor memory system (for example, a ROM, a nonvolatile memory). Etc.) and a recording medium of any form such as a tape system (for example, magnetic tape, cassette tape, etc.). Alternatively, the program stored in the storage device may be directly supplied from the server computer via the network. In this case, the storage device of this server computer is also included in the recording medium of the present invention.
As described above, by programming and distributing the functions of the above-described embodiment, the cost can be reduced, and the portability and versatility can be improved.
1…CPU、2…メモリ、3…外部記憶装置、4…入力装置、5…表示装置、11…形状データ記憶部、12…差分算出部、13…差分記憶部、14…境界箱算出部、15…境界箱記憶部、16…印位置算出部、17…印位置記憶部、18…表示部。 DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... Memory, 3 ... External storage device, 4 ... Input device, 5 ... Display apparatus, 11 ... Shape data storage part, 12 ... Difference calculation part, 13 ... Difference storage part, 14 ... Boundary box calculation part, DESCRIPTION OF SYMBOLS 15 ... Boundary box memory | storage part, 16 ... Mark position calculation part, 17 ... Mark position memory | storage part, 18 ... Display part.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005076177A JP2006260119A (en) | 2005-03-17 | 2005-03-17 | Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005076177A JP2006260119A (en) | 2005-03-17 | 2005-03-17 | Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006260119A true JP2006260119A (en) | 2006-09-28 |
Family
ID=37099308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005076177A Pending JP2006260119A (en) | 2005-03-17 | 2005-03-17 | Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006260119A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009104515A (en) * | 2007-10-25 | 2009-05-14 | Fujitsu Ltd | Difference enhancement program, difference enhancement processing method, and difference enhancement processing apparatus |
JP2011141648A (en) * | 2010-01-06 | 2011-07-21 | Fujitsu Ltd | Design assistance device and design assistance program |
-
2005
- 2005-03-17 JP JP2005076177A patent/JP2006260119A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009104515A (en) * | 2007-10-25 | 2009-05-14 | Fujitsu Ltd | Difference enhancement program, difference enhancement processing method, and difference enhancement processing apparatus |
JP2011141648A (en) * | 2010-01-06 | 2011-07-21 | Fujitsu Ltd | Design assistance device and design assistance program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2676487C (en) | Method for emphasizing differences in graphical appearance between an original document and a modified document with annotations | |
TWI613510B (en) | Electron beam drawing device, electron beam drawing method, and recording medium | |
CN107220372B (en) | A kind of automatic laying method of three-dimensional map line feature annotation | |
US8370116B2 (en) | Harness verification apparatus, harness verification method and storage medium | |
CN110428504B (en) | Text image synthesis method, apparatus, computer device and storage medium | |
JP2005108023A (en) | Part information processor for three-dimensional arrangement/adjustment cad, method for processing part information and part information processing program | |
JP4960119B2 (en) | Point-based rendering apparatus and method | |
CN113590005A (en) | Labeling method and device for polygonal vector map, electronic equipment and storage medium | |
JP4776531B2 (en) | MAP INFORMATION GENERATION DEVICE, MAP INFORMATION GENERATION METHOD, AND MAP INFORMATION GENERATION PROGRAM | |
JP4809683B2 (en) | Analysis model generation apparatus, analysis model generation method, and analysis model generation program | |
EP2083393A2 (en) | Image processing apparatus, image processing method, and storage medium storing a program for causing an image processing apparatus to execute an image processing method | |
CN102651137B (en) | Algebraic curve rasterization method based on pixel precision | |
US10650576B1 (en) | Snapping experience with clipping masks | |
JP4425734B2 (en) | How to provide a vector image with hidden lines removed | |
JP2006260119A (en) | Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium | |
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 | |
US20120229857A1 (en) | Moving labels in graphical output to avoid overprinting | |
JP2011086187A (en) | Input method, simulation apparatus and computer program | |
JPH07271847A (en) | Method and device for modeling formation ground | |
CN118628697B (en) | Cross-platform digital asset exhibition method and device and electronic equipment | |
KR20150021731A (en) | Apparatus and method of adjusting scale of CAD objects | |
JP5152581B2 (en) | Image data processing apparatus and method, program, and recording medium | |
CN109829486A (en) | Image processing method and device | |
WO2022135347A1 (en) | Data center 3d modeling method and apparatus, electronic device, and storage medium | |
JP4086601B2 (en) | Three-dimensional shape measurement result display device, three-dimensional shape measurement result display method, program, and recording medium |