JP2008186133A - Free shape deformation system using center-of-gravity coordinate to protruding polyhedron - Google Patents

Free shape deformation system using center-of-gravity coordinate to protruding polyhedron Download PDF

Info

Publication number
JP2008186133A
JP2008186133A JP2007017599A JP2007017599A JP2008186133A JP 2008186133 A JP2008186133 A JP 2008186133A JP 2007017599 A JP2007017599 A JP 2007017599A JP 2007017599 A JP2007017599 A JP 2007017599A JP 2008186133 A JP2008186133 A JP 2008186133A
Authority
JP
Japan
Prior art keywords
deformation
mesh model
area
handle
dimension
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007017599A
Other languages
Japanese (ja)
Inventor
Osamu Kanai
理 金井
Kenji Kishinami
建史 岸浪
Hiroaki Date
宏昭 伊達
Manabu Mizuno
学 水野
Masahiko Onozato
雅彦 小野里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hokkaido University NUC
Original Assignee
Hokkaido University NUC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hokkaido University NUC filed Critical Hokkaido University NUC
Priority to JP2007017599A priority Critical patent/JP2008186133A/en
Publication of JP2008186133A publication Critical patent/JP2008186133A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a mesh model deformation technique, capable of deforming as desired a mesh model by parametrically specifying a deformation amount of the mesh model. <P>SOLUTION: This system comprises: specifying a deformation type and a division area for a mesh model displayed on a display device 22 to generate a handle setting a deformation range; calculating center-of-gravity coordinates of an apex of the mesh model present in the closed area of the handle; shifting an apex of a virtual handle in response to an input of a deformation amount parameter numeric value; and deforming the mesh model by a specified size so as to display a deformation result on the display device by recalculating the center-of-gravity coordinates of the apex of the mesh model in conjunction with the movement of the apex of the virtual handle. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、凸多面体に対する重心座標を用いた自由形状変形システムに適用するメッシュモデル変形装置、方法及びプログラムに関する。   The present invention relates to a mesh model deformation apparatus, method, and program applied to a free-form deformation system using barycentric coordinates for a convex polyhedron.

データ構造が単純で形状表現自由度の高い三角形メッシュモデルが、CAD/CAM/CAE分野で多く利用されている。特に効率的な意匠設計磯能設計の実現のために、3次元(3D)形状スキャニングや3次元(3D)モデルデータベースのクエリなどから得られるメッシュモデルを自由に変形し容易に再利用できる技術が望まれている。   A triangular mesh model having a simple data structure and a high degree of freedom in shape expression is widely used in the CAD / CAM / CAE field. In particular, to realize efficient design design and performance design, there is a technology that can freely deform and easily reuse mesh models obtained from 3D (3D) shape scanning or 3D (3D) model database queries. It is desired.

メッシュモデルを変形する際、メッシュの頂点位置を各々動かすのは非常に手間がかかるため、各メッシュの頂点位置をまとめて移動、すなわち形状を大局的に変形したいという要求がある。このような要求を満たすメッシュモデルの代表的な自由形状変形手法としてFFD(Free−Form Deformation)が挙げられる。FFDは、3次元の規則格子で定義されるパラメータ空間にモデルを埋め込み、規則格子をハンドルとしてパラメータ空間を歪めることでモデルの形状変形を行う手法である。この手法は、規則格子の頂点全てを操作でき、変形操作の自由度が高い利点があるが、反面、操作すべき対象が多く、操作の入力が煩雑になってしまう問題点がある。   When deforming a mesh model, it is very time-consuming to move each vertex position of the mesh. Therefore, there is a demand to move the vertex positions of each mesh together, that is, to deform the shape globally. FFD (Free-Form Deformation) is mentioned as a typical free-form deformation method of a mesh model that satisfies such requirements. FFD is a method of deforming a model by embedding a model in a parameter space defined by a three-dimensional regular lattice and distorting the parameter space using the regular lattice as a handle. This method has the advantage that all the vertices of the regular lattice can be operated and the degree of freedom of the deformation operation is high, but on the other hand, there are many objects to be operated and the input of the operation becomes complicated.

一方でそのような操作の煩雑さを解決する自由形状変形手法が提案されているが、その場合、可能な変形タイプ(曲げ、ねじりなど)が限定されてしまう。   On the other hand, a free-form deformation technique that solves such complicated operations has been proposed, but in that case, possible deformation types (bending, twisting, etc.) are limited.

また、設計段階での3Dモデル変形では、可能な変形タイプが多いこと、変形部分を陽に指定できること、操作が煩雑でないことなどが望まれる。それらを満たす自由形状変形手法は提案されていない。   Further, in the 3D model deformation at the design stage, it is desired that there are many possible deformation types, that the deformation portion can be specified explicitly, and that the operation is not complicated. A free-form deformation method that satisfies them has not been proposed.

これに対して、本願発明者らは特願2006−053162にて、メッシュモデルとハンドルの関係にハンドル形状自由度が高くモデル変形計算コストが低いという利点をもつ重心座標を用い、変形の分類モデル化に基づくハンドルの自動生成と少ないパラメータによる変形が可能な凸多面体に対する重心座標を用いた自由形状変形技術を開示した。   On the other hand, the inventors of the present application disclosed in Japanese Patent Application No. 2006-053162 using a barycentric coordinate having an advantage that the degree of freedom of the handle shape is high and the model deformation calculation cost is low in the relationship between the mesh model and the handle, A free-form deformation technique using center-of-gravity coordinates for a convex polyhedron capable of automatic generation of handles based on optimization and deformation with few parameters is disclosed.

しかしながら、先出願の自由形状変形技術では、ポインティングデバイスによって表示装置の画面上で対象モデルに対して変形空間を指定し、ハンドルを自動生成させ、このハンドルを操作することでメッシュモデルに対してインタラクティブに自由形状変形ができるが、変形角度、変形サイズ、移動距離等をパラメトリックに数値指定するものではないので変形量を厳密に設定することができない。そのため、厳密に変形量を指定し、変形結果を厳密に評価することができる自由形状変形技術の開発が望まれていた。
特開2004−40341号公報 特開平7−320078号公報 特開2003−30254号公報 特開2004−54852号公報 特開平9−73559号公報 TW. Sederberg, SR. Parry; “Free-Form Deformation of Solid Geometric Models”, Proc. SIGGRAPH ’86, 1986年, 151-160ページ。 Y. Kho and M. Garland; “Sketching mesh deformations”, Proceedings of the ACM Symposium on Interactive 3D Graphics, 2005年147-154ページ。 J. Warren; “On the uniqueness of barycentric coordinates”, In Contemporary Mathematics, Proceedings of AGGM, (2003) 93-99ページ。 水野他、「凸多面体に対する重心座標を用いたメッシュモデルの自由形状変形」、精密工学会秋季全国大会講演論文集、2005年、219-220ページ。 水野他、「任意形状凸多面体に対する重心座標関数を用いたメッシュモデルの変形手法とその変形形状制御への応用」、精密工学会春季全国大会講演論文集、2006年、17-18ページ。
However, in the free-form deformation technology of the prior application, a deformation space is specified for the target model on the screen of the display device by a pointing device, a handle is automatically generated, and the handle is interactively operated with respect to the mesh model. However, it is not possible to specify the deformation angle, deformation size, moving distance, etc. numerically, so that the deformation amount cannot be set strictly. Therefore, it has been desired to develop a free-form deformation technique that can strictly specify the deformation amount and can strictly evaluate the deformation result.
JP 2004-40341 A JP-A-7-320078 JP 2003-30254 A JP 2004-54852 A Japanese Patent Laid-Open No. 9-73559 TW. Sederberg, SR. Parry; “Free-Form Deformation of Solid Geometric Models”, Proc. SIGGRAPH '86, 1986, 151-160. Y. Kho and M. Garland; “Sketching mesh deformations”, Proceedings of the ACM Symposium on Interactive 3D Graphics, 2005, pages 147-154. J. Warren; “On the uniqueness of barycentric coordinates”, In Contemporary Mathematics, Proceedings of AGGM, (2003) 93-99. Mizuno et al., “Free-form deformation of mesh model using barycentric coordinates for convex polyhedrons”, Proc. Of the Japan Society for Precision Engineering Autumn Season, 2005, pp. 219-220. Mizuno et al., “Deformation method of mesh model using barycentric coordinate function for arbitrary-shaped convex polyhedron and its application to deformation shape control”, Proc.

本発明は、このような背景技術の課題に鑑みてなされたもので、メッシュモデルとハンドルの関係にハンドル形状自由度が高くモデル変形計算コストが低いという利点をもつ重心座標を用い、変形の分類モデル化に基づくハンドルの自動生成と少ないパラメータによる変形が可能で、かつ、モデルの寸法を数値指定することでメッシュモデルの所望の変形を可能にしたメッシュモデル変形技術を提供することを目的とする。   The present invention has been made in view of the above-described problems of the background art, and uses a barycentric coordinate having an advantage of a high degree of freedom in handle shape and a low cost of model deformation calculation for the relationship between a mesh model and a handle, and classification of deformation. An object is to provide a mesh model deformation technique that enables automatic generation of handles based on modeling and deformation with a small number of parameters, and enables the desired deformation of the mesh model by specifying the model dimensions numerically. .

本発明の1つの特徴は、図形と文字を表示する表示装置と、前記表示装置に表示されている図形に対してポインティング操作をするためのポインティング操作手段と、文字データの入力操作手段と、メッシュモデルデータを記憶しているメッシュモデルデータ記憶手段と、前記表示装置に表示されているメッシュモデルに対して、曲面フィッティング処理にて平面領域、円筒面領域、その他の領域に領域分割を行う領域分割処理手段と、前記平面領域上の一点の座標と法線、円筒面領域の径、軸方向、軸始点座標を抽出する曲面パラメータ抽出手段と、変形タイプを指定する変形タイプ指定手段と、前記表示装置に表示されているメッシュモデルに対して、前記ポインティング操作手段にて、操作したい寸法を規定する変形領域と非変形領域とを指定させる変形領域設定手段と、前記変形領域設定手段により設定された変形領域とその曲面パラメータとから、変更を行う寸法を抽出する寸法抽出手段と、前記変形領域設定手段により設定された変形領域と非変形領域とに基づいて変形空間を決定し、決定した変形空間を包含する仮想ハンドルを生成するハンドル生成手段と、前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の重心座標を計算する重心座標演算手段と、前記変形空間に対する変形量パラメータ数値を設定する変形パラメータ設定手段と、目標寸法を満たす変形を行えるような前記変形タイプと変形量パラメータ数値との入力に対して、前記仮想ハンドルの頂点を移動させ、当該仮想ハンドルの頂点の移動に連動させて前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の座標を前記重心座標から再計算することで前記メッシュモデルを変形させ、変形結果を前記表示装置に表示させる変形処理手段とを備えたメッシュモデル変形装置にある。   One feature of the present invention is a display device for displaying graphics and characters, a pointing operation means for performing a pointing operation on the graphics displayed on the display device, an input operation means for character data, and a mesh Mesh model data storage means for storing model data, and area division for dividing the mesh model displayed on the display device into a plane area, a cylindrical surface area, and other areas by curved surface fitting processing Processing means, curved surface parameter extracting means for extracting the coordinates and normal of one point on the plane area, the diameter, axial direction, and axis start point coordinates of the cylindrical surface area, deformation type specifying means for specifying a deformation type, and the display A deformation area and a non-deformation area that define the size to be operated with the pointing operation means for the mesh model displayed on the apparatus. A deformation area setting means for designating, a dimension extraction means for extracting a dimension to be changed from the deformation area set by the deformation area setting means and its curved surface parameters, and a deformation area set by the deformation area setting means A deformation space is determined based on the non-deformation region, a handle generation means for generating a virtual handle that includes the determined deformation space, and the barycentric coordinates of the vertices of the mesh model existing in the closed region of the virtual handle are calculated Centroid coordinate calculation means for performing deformation, parameter setting means for setting a deformation amount parameter value for the deformation space, and input of the deformation type and deformation amount parameter value for performing deformation satisfying a target dimension. Move the vertex of the handle, and move in the closed area of the virtual handle in conjunction with the movement of the vertex of the virtual handle That the coordinates of the vertices of the mesh model to deform the mesh model by re-calculated from the centroid coordinates, there deformation results to the mesh model deformation unit and a transformation processing means for displaying on said display device.

上記メッシュモデル変形装置において、前記変形タイプ指定手段は、少なくとも平面間距離変更、円筒の径変更、円筒軸位置変更の3種の変形タイプの中から1を指定するものとすることができる。   In the mesh model deformation device, the deformation type designation means may designate 1 from at least three types of deformation types, that is, a distance change between planes, a cylinder diameter change, and a cylinder axis position change.

本発明の別の特徴は、表示装置に表示されているメッシュモデルに対して、曲面フィッティング処理にて平面領域、円筒面領域、その他の領域に領域分割を行う領域分割ステップと、前記平面領域上の一点の座標と法線、円筒面領域の径、軸方向、軸始点座標を抽出する曲面パラメータ抽出ステップと、変形タイプ入力を受付けて変形タイプを決定する変形タイプ指定ステップと、前記表示装置に表示されているメッシュモデルに対して、ポインティング操作手段にて指定された操作要求寸法を規定する変形領域と非変形領域とを設定する変形領域設定ステップと、前記設定された変形領域とその曲面パラメータとから、変更を行う寸法を抽出する寸法抽出ステップと、前記変形領域設定処理ステップにおいて設定された変形領域と非変形領域とに基づいて変形空間を決定し、決定した変形空間を包含する仮想ハンドルを生成するハンドル生成ステップと、前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の重心座標を計算する重心座標演算ステップと、目標寸法を満たす変形を行えるような前記変形空間に対する変形量パラメータの数値入力を受け付けて変形量パラメータを設定する変形量パラメータ設定ステップと、前記変形タイプと変形量パラメータとに対して、前記仮想ハンドルの頂点を移動させ、当該仮想ハンドルの頂点の移動に連動させて前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の座標を重心座標から再計算することで前記メッシュモデルを変形させるメッシュモデル変形ステップと、前記メッシュモデルの変形結果を前記表示装置に表示させるステップとを有するメッシュモデル変形方法にある。   Another feature of the present invention is that an area dividing step of dividing a mesh model displayed on the display device into a plane area, a cylindrical area, and other areas by a curved surface fitting process; A surface parameter extraction step for extracting the coordinates and normal of one point, the diameter of the cylindrical surface area, the axial direction, and the axis start point coordinates, a deformation type designation step for receiving a deformation type input and determining a deformation type, and the display device A deformation area setting step for setting a deformation area and a non-deformation area that define an operation required dimension designated by the pointing operation means for the displayed mesh model, the set deformation area and its curved surface parameter A dimension extracting step for extracting a dimension to be changed, and a deformation area and a non-deformation area set in the deformation area setting processing step. A deformation space is determined based on the above, a handle generation step for generating a virtual handle including the determined deformation space, and a barycentric coordinate calculation for calculating the barycentric coordinates of the vertices of the mesh model existing in the closed region of the virtual handle A deformation amount parameter setting step for receiving a numerical input of a deformation amount parameter for the deformation space so as to perform deformation satisfying a target dimension and setting a deformation amount parameter; and for the deformation type and the deformation amount parameter, The vertex of the virtual handle is moved, and the mesh model is deformed by recalculating the coordinates of the vertex of the mesh model existing in the closed region of the virtual handle from the barycentric coordinates in conjunction with the movement of the vertex of the virtual handle. Mesh model deformation step for causing the display device to display a deformation result of the mesh model In mesh model deformation method and a step of displaying.

上記メッシュモデル変形方法において、変形タイプを指定するステップでは、少なくとも平面間距離変更、円筒の径変更、円筒軸位置変更の3種の変形タイプから1を指定するものとすることができる。   In the mesh model deformation method, in the step of designating the deformation type, 1 can be designated from at least three kinds of deformation types, that is, a distance change between planes, a diameter change of a cylinder, and a cylinder axis position change.

本発明のさらに別の特徴は、表示装置に表示されているメッシュモデルに対して、曲面フィッティング処理にて平面領域、円筒面領域、その他の領域に領域分割を行う領域分割ステップと、前記平面領域上の一点の座標と法線、円筒面領域の径、軸方向、軸始点座標を抽出する曲面パラメータ抽出ステップと、変形タイプ入力を受付けて変形タイプを決定する変形タイプ指定ステップと、前記表示装置に表示されているメッシュモデルに対して、ポインティング操作手段にて指定された操作要求寸法を規定する変形領域と非変形領域とを設定する変形領域設定ステップと、前記設定された変形領域とその曲面パラメータとから、変更を行う寸法を抽出する寸法抽出ステップと、前記変形領域設定処理ステップにおいて設定された変形領域と非変形領域とに基づいて変形空間を決定し、決定した変形空間を包含する仮想ハンドルを生成するハンドル生成ステップと、前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の重心座標を計算する重心座標演算ステップと、目標寸法を満たす変形を行えるような前記変形空間に対する変形量パラメータの数値入力を受け付けて変形量パラメータを設定する変形量パラメータ設定ステップと、前記変形タイプと変形量パラメータとに対して、前記仮想ハンドルの頂点を移動させ、当該仮想ハンドルの頂点の移動に連動させて前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の座標を重心座標から再計算することで前記メッシュモデルを変形させるメッシュモデル変形ステップと、前記メッシュモデルの変形結果を前記表示装置に表示させるステップとをコンピュータに実行させるメッシュモデル変形プログラムにある。   Still another feature of the present invention is that an area division step of dividing a mesh model displayed on a display device into a plane area, a cylindrical area, and other areas by curved surface fitting processing, and the plane area A curved surface parameter extracting step for extracting the coordinates and normal of the upper point, the diameter of the cylindrical surface region, the axial direction, and the axis starting point coordinates; a deformation type specifying step for receiving a deformation type input and determining a deformation type; and the display device A deformation area setting step for setting a deformation area and a non-deformation area for defining the operation required size specified by the pointing operation means, and the set deformation area and its curved surface. A dimension extracting step for extracting a dimension to be changed from the parameters, and the deformation area set in the deformation area setting processing step Determining a deformation space based on the shape area, generating a virtual handle including the determined deformation space, and calculating the center of gravity coordinates of the vertexes of the mesh model existing in the closed region of the virtual handle A coordinate calculation step, a deformation amount parameter setting step for setting a deformation amount parameter by receiving a numerical input of a deformation amount parameter for the deformation space capable of performing deformation satisfying a target dimension, and the deformation type and deformation amount parameter. Moving the vertices of the virtual handle and recalculating the coordinates of the vertices of the mesh model existing in the closed region of the virtual handle from the barycentric coordinates in conjunction with the movement of the vertices of the virtual handle. And a mesh model deformation step for deforming the mesh model, and a deformation result of the mesh model. In mesh model deformation program for executing the step of displaying device to the computer.

上記メッシュモデル変形プログラムにおいて、変形タイプを指定するステップでは、少なくとも平面間距離変更、円筒の径変更、円筒軸位置変更の3種の変形タイプから1を指定するものとすることができる。   In the mesh model deformation program, in the step of designating the deformation type, 1 can be designated from at least three types of deformation types, that is, a distance change between planes, a diameter change of a cylinder, and a cylinder axis position change.

本発明のメッシュモデル変形装置、方法及びプログラムによれば、メッシュモデルとハンドルの関係にハンドル形状自由度が高くモデル変形計算コストが低い利点をもつ重心座標を用いることで、変形の分類モデル化に基づくハンドルの自動生成と少ないパラメータによるメッシュモデルの変形が可能である。   According to the mesh model deformation apparatus, method, and program of the present invention, by using the barycentric coordinates having the advantage of high handle shape freedom and low model deformation calculation cost for the relationship between the mesh model and the handle, the deformation model can be modeled. Automatic generation of the handle based on it and deformation of the mesh model with few parameters are possible.

また本発明によれば、変形タイプと操作対象の寸法とを選択し、目標寸法を数値設定することで所望量の自由形状変形が可能であり、設定した目標寸法を満たすメッシュモデルの厳密な変形が可能である。   Further, according to the present invention, it is possible to perform a desired amount of free-form deformation by selecting a deformation type and a dimension to be operated, and setting a target dimension as a numerical value, and strict deformation of the mesh model that satisfies the set target dimension Is possible.

以下、本発明の実施の形態を図に基づいて詳説する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(第1の実施の形態)図1は、本発明の1つの実施の形態のメッシュモデル変形装置100の機能構成を示している。本実施の形態のメッシュモデル変形装置100は、各処理部をハードウェアとして備えたものとして、あるいはコンピュータ装置にメッシュモデル変形プログラムを組み込み、実行させることによってコンピュータ装置として構成することもできる。本実施の形態では、後者のものとして説明する。   (First Embodiment) FIG. 1 shows a functional configuration of a mesh model deforming apparatus 100 according to one embodiment of the present invention. The mesh model deformation device 100 of the present embodiment can be configured as a computer device by providing each processing unit as hardware, or by incorporating and executing a mesh model deformation program in a computer device. In the present embodiment, the latter will be described.

本実施の形態のメッシュモデル変形装置100は、例えばネットワークを通じてのデータ信号の入力/出力、キーボード21、マウスのようなポインティングデバイス22からの信号の入力、表示装置23に対するビデオ信号を出力、プリンタ等の周辺機器に対するデータ信号の入力/出力等、データ及び信号の入力/出力を制御する入出力制御部1、入出力制御部1を通じて入力されたメッシュモデルデータ、プログラムデータ、その他、諸々のデータを記憶するデータ記憶部2を備えている。このデータ記憶部2は、例えばハードディスク、DVD、CD−ROMディスク等、外部大容量記憶装置あるいは内蔵の大容量記憶装置、フラッシュメモリ、装置メモリ等のデータを恒久的に保存する手段、一時的に保存する手段の両方を総称している。   The mesh model deforming apparatus 100 according to the present embodiment, for example, inputs / outputs data signals through a network, inputs signals from a keyboard 21 and a pointing device 22 such as a mouse, outputs video signals to a display device 23, a printer, and the like. Input / output of data signals to / from peripheral devices, input / output control unit 1 for controlling input / output of data and signals, mesh model data input through input / output control unit 1, program data, and other various data A data storage unit 2 for storing is provided. The data storage unit 2 is a means for permanently storing data such as an external mass storage device such as a hard disk, a DVD, a CD-ROM disk, or a built-in mass storage device, a flash memory, a device memory, etc. Collectively refers to both means of storage.

また、メッシュモデル変形装置100は、メッシュモデルに対し、2面角を求め、さらに閾値処理をして特徴稜線を抽出し、特徴稜線に囲まれた部分を1つの領域とする領域分割処理を行う領域分割処理部3、最小2乗法を用いた、領域への平面、円筒面、その他のフィッティングを行い、かつ、この曲面フィッティングにより割り出された曲面について、各平面領域についてはその上の一点の座標と法線を抽出し、各円筒面領域についてはその径、軸方向、軸始点座標を曲面パラメータとして抽出する曲面フィッティング処理部4、変形領域の設定操作を受付け、変形領域を設定する変形領域設定部8、指定された平行な2平面間の距離を計算して寸法とし、円筒面の直径を寸法とし、円筒面の軸、始点位置を寸法として割り出す寸法抽出部5、変形タイプ選択入力、変形対象の選択入力に対して固定空間、制御空間、変形空間を決定し、かつメッシュモデルに対するハンドルを生成するハンドル生成部6、目標寸法入力に対して変形パラメータを計算し、メッシュモデルを変形させるモデル変形処理部7、そして、上記各処理部の動作を制御する制御演算処理部10を備えている。   Further, the mesh model deformation device 100 obtains a dihedral angle for the mesh model, further performs threshold processing to extract a feature ridge line, and performs a region division process in which a portion surrounded by the feature ridge line is set as one region. Region division processing unit 3 performs a plane, cylindrical surface, and other fittings using a least-squares method, and the curved surface determined by this curved surface fitting has a point on each plane region. A curved surface fitting processing unit 4 that extracts coordinates and normals and extracts the diameter, axial direction, and axis start point coordinates of each cylindrical surface region as curved surface parameters, a deformation region that accepts a deformation region setting operation and sets the deformation region Dimension extraction that calculates the distance between two specified parallel planes as the setting unit 8, calculates the diameter of the cylindrical surface as the dimension, and determines the axis and start point position of the cylindrical surface as the dimensions 5. Determining fixed space, control space, deformation space for deformation type selection input and deformation object selection input, handle generation unit 6 for generating handle for mesh model, calculating deformation parameter for target dimension input The model deformation processing unit 7 that deforms the mesh model and the control arithmetic processing unit 10 that controls the operation of each processing unit are provided.

次に、上記構成のメッシュモデル変形装置100により実行される、例えば、三角形メッシュモデルのようなメッシュモデルデータに対する変形方法について説明する。このメッシュモデル変形方法は、図2に示す3つのステップ、すなわち、寸法抽出処理のステップST1、ハンドル生成処理のステップST2、形状変形処理のステップST3から成る。   Next, a deformation method for mesh model data, such as a triangular mesh model, executed by the mesh model deformation apparatus 100 having the above-described configuration will be described. This mesh model deformation method includes three steps shown in FIG. 2, that is, a step ST1 of dimension extraction processing, a step ST2 of handle generation processing, and a step ST3 of shape deformation processing.

寸法抽出処理ステップST1では、図3に示すような三角メッシュモデルデータDT1をデータ記憶部2から入力し、マウスその他の入力手段21,22によって特徴稜線を識別するための閾値DT2、寸法基準DT3を設定することで、二面角計算を行い、特徴稜線を抽出し、周囲を特徴稜線で囲まれた部分を1つの領域とする領域分割を行う。そして領域毎への平面、円筒面の曲面フィッティングを行い、さらに得られた平面、円筒面に対して寸法計算を行い、図4に示すような領域情報DT4と図5に示すような寸法情報DT5を得る。これらは、領域分割処理部3、曲面フィッティング処理部4、寸法抽出部5によって行われる。   In the dimension extraction processing step ST1, triangular mesh model data DT1 as shown in FIG. 3 is input from the data storage unit 2, and a threshold value DT2 and a dimension reference DT3 for identifying feature ridge lines by the mouse and other input means 21 and 22 are set. By setting, dihedral angle calculation is performed, a feature ridge line is extracted, and a region surrounded by the feature ridge line is set as one region. Then, curved surface fitting of a plane and a cylindrical surface is performed for each region, and dimension calculation is performed on the obtained plane and cylindrical surface, and region information DT4 as shown in FIG. 4 and dimension information DT5 as shown in FIG. Get. These are performed by the area division processing unit 3, the curved surface fitting processing unit 4, and the dimension extraction unit 5.

ハンドル生成処理ステップST2では、寸法抽出処理結果としての領域情報DT4と寸法情報DT5、そして上記寸法基準DT3を入力し、さらに非変形部分DT6を指定入力し、変形タイプDT7と変形領域DT8を選択入力することで、変形領域設定部8は変形領域・非変形領域の設定を行い、寸法抽出部5は変形領域に対する寸法抽出を行う。そして、ハンドル生成処理部6により変形対象四角柱または四角柱の集合を計算し、バウンディングボックス(Bounding box)を生成し、図6に示すようなハンドルDT9を生成して出力する。   In the handle generation processing step ST2, the area information DT4 and the dimension information DT5 as the dimension extraction process result and the dimension reference DT3 are input, the non-deformed portion DT6 is specified and input, and the deformation type DT7 and the deformation area DT8 are selected and input. Thus, the deformation area setting unit 8 sets a deformation area and a non-deformation area, and the dimension extraction unit 5 performs dimension extraction for the deformation area. Then, the handle generation processing unit 6 calculates a deformation target quadrangular column or a set of quadrangular columns, generates a bounding box, and generates and outputs a handle DT9 as shown in FIG.

形状変形処理ステップST3では、ハンドル生成処理結果としてのハンドルDT9を入力し、変形目標寸法DT10を入力することで、モデル変形処理部7によりメッシュモデルDT1、領域情報DT4、寸法情報DT5を用いて変形パラメータを計算し、この変形パラメータの計算結果に基づく変形操作を行い、図7に示すような変形後のメッシュモデルDT11を生成して出力する。   In the shape deformation processing step ST3, the handle DT9 as the handle generation processing result is input, and the deformation target dimension DT10 is input, so that the model deformation processing unit 7 performs deformation using the mesh model DT1, area information DT4, and dimension information DT5. A parameter is calculated, a deformation operation based on the calculation result of the deformation parameter is performed, and a deformed mesh model DT11 as shown in FIG. 7 is generated and output.

以下、各処理ステップについて、詳しく説明する。   Hereinafter, each processing step will be described in detail.

(I)寸法抽出処理
メッシュモデルに対して変形量のパラメータを指定して変形処理するためには、そのメッシュモデルの平面部、円筒面部、穴あき部分等の形状属性を求め、また、各部の寸法を抽出する必要がある。そこで、本実施の形態では、最初に、領域分割処理部3にて、2面角の閾値処理を次の手順で行う。これは、図8に示すように、メッシュモデルの隣接する2つの三角形の法線n1,n2の内積を計算し、その内積の絶対値を閾値DT2と比較する。そして内積が閾値DT2よりも小さければ間の辺eiを特徴稜線とする。そして、メッシュモデル全体にこの内積計算を実施し、閾値と比較し、メッシュモデル全体における特徴稜線を抽出する。そして、特徴稜線に囲まれた部分を一つの領域とし、領域分割を行う。図9は閾値DT2=0.15とした場合の例示モデルに対する領域分割結果を示し、図10は閾値DT2=0.95とした場合の同じ例示モデルに対する領域分割結果を示している。後者の方が厳密な領域分割ができている。
(I) Dimension extraction processing In order to perform deformation processing by specifying a deformation amount parameter for a mesh model, shape attributes such as a plane portion, a cylindrical surface portion, and a perforated portion of the mesh model are obtained. The dimensions need to be extracted. Therefore, in the present embodiment, first, the area division processing unit 3 performs dihedral angle threshold processing according to the following procedure. As shown in FIG. 8, this calculates the inner product of two normal triangles n1 and n2 of the mesh model, and compares the absolute value of the inner product with a threshold value DT2. If the inner product is smaller than the threshold value DT2, the side ei between them is set as a feature ridge line. Then, this inner product calculation is performed on the entire mesh model, and compared with a threshold value, a feature ridge line in the entire mesh model is extracted. Then, the area surrounded by the feature ridge line is set as one area, and the area is divided. FIG. 9 shows the result of area division for the example model when threshold DT2 = 0.15, and FIG. 10 shows the result of area division for the same example model when threshold DT2 = 0.95. The latter has a more precise area division.

次に、得られた各領域について、最小二乗法を用いて平面・円筒面フィッティング処理を曲面フィッティング処理部4が行う。各領域毎に最初に平面をフィッティングし、平面との誤差が大きい場合には円筒面をフィッティングする。そして円筒面との誤差も大きい場合は「その他」へ分類する。   Next, the curved surface fitting processing unit 4 performs plane / cylindrical surface fitting processing on each obtained region using the least square method. First, the plane is fitted for each region, and if the error from the plane is large, the cylindrical surface is fitted. If the error with the cylindrical surface is also large, it is classified as “other”.

そして、曲面フィッティング処理部4は、図11に示すように、各平面については、その法線ベクトルnを求め、またその法線ベクトルnの始点位置の座標を求める。また、図12に示すように、各円筒面については、軸ベクトルaを求め、またその軸ベクトルaの始点位置の座標を求め、直径Rを求める。   Then, as shown in FIG. 11, the curved surface fitting processing unit 4 obtains the normal vector n for each plane and obtains the coordinates of the starting point position of the normal vector n. Also, as shown in FIG. 12, for each cylindrical surface, an axis vector a is obtained, the coordinates of the starting point position of the axis vector a are obtained, and the diameter R is obtained.

次に、寸法抽出部5において、指定された2平面間の距離D、指定された円筒面の直径R、指定された円筒面の軸ベクトルaとその始点位置座標を求める。図13には平行な2平面間の距離Dを計算し、寸法とする例を示してある。図14には円筒面の直径R(フィッティング時に計算済み)を寸法とする例を示してある。また図15には円筒面の軸ベクトルa、始点位置(フィッティング時に、直径と共に計算済み)を寸法とする例を示してある。   Next, the dimension extraction unit 5 obtains the distance D between the two specified planes, the diameter R of the specified cylindrical surface, the axis vector a of the specified cylindrical surface, and the start point position coordinates thereof. FIG. 13 shows an example in which the distance D between two parallel planes is calculated and used as a dimension. FIG. 14 shows an example in which the diameter R of the cylindrical surface (calculated at the time of fitting) is used as a dimension. FIG. 15 shows an example in which the axis vector a of the cylindrical surface and the starting point position (calculated together with the diameter at the time of fitting) are used as dimensions.

(II)ハンドル自動生成処理
(a)2平面間の距離の変更は、図16に示すように伸縮変形により実現する。この場合、ハンドルH1として四角柱を生成する。(b)円筒の径の変更は、図17(a)、(b)に示すように部分拡大/縮小変形により実現する。この場合、ハンドルとして四角柱の集合を生成する。(c)円筒軸の位置の変更は、図17(a)、(c)に示すように部分移動変形により実現する。この場合も、ハンドルとして四角柱の集合を生成する。
(II) Handle automatic generation processing (a) The change of the distance between two planes is realized by expansion and contraction as shown in FIG. In this case, a quadrangular prism is generated as the handle H1. (B) The change of the diameter of the cylinder is realized by partial enlargement / reduction deformation as shown in FIGS. 17 (a) and 17 (b). In this case, a set of quadrangular prisms is generated as a handle. (C) The change of the position of the cylindrical shaft is realized by partial movement deformation as shown in FIGS. 17 (a) and 17 (c). Also in this case, a set of quadrangular prisms is generated as a handle.

各変形の実現のためのハンドルの生成手順は次に通りである。   The procedure for generating a handle for realizing each deformation is as follows.

(a)2平面間の距離変更
図16に示したようにモデルの一部を伸縮させるためのハンドルH1を生成させる手順は、図18A〜図18Dに示したものである。まず、図18Aに示すように、ユーザに基準平面(動かされない側の平面)PL1とそれに平行な制御平面PL2を選択指定させる。
(A) Change of distance between two planes The procedure for generating the handle H1 for expanding and contracting a part of the model as shown in FIG. 16 is shown in FIGS. 18A to 18D. First, as shown in FIG. 18A, the user is allowed to select and designate a reference plane (a plane that is not moved) PL1 and a control plane PL2 parallel thereto.

これに対して、装置内部では2平面間距離寸法Dを算出する。また、図18Bに示すように、装置内では、基準平面PL1の外側を固定空間S1、制御平面PL2の外側を制御空間S2とする。ここで、図18Cに示すように、2平面間で挟まれた空間中にユーザが変形を望まない領域、つまり、非変形部PL3があれば、それをユーザに選択させる。これにより、装置内で固定空間S1をこの非変形部PL3を含むまで拡大し、固定空間S’1を再定義する。これにより、図18Dに示すように、装置は、固定空間S’1と制御空間S2との挟まれた空間を変形空間とし、モデルのバウンディングボックスをハンドルH1とする。   On the other hand, the distance dimension D between two planes is calculated inside the apparatus. Also, as shown in FIG. 18B, in the apparatus, the outside of the reference plane PL1 is the fixed space S1, and the outside of the control plane PL2 is the control space S2. Here, as shown in FIG. 18C, if there is an area that the user does not want to deform in the space sandwiched between two planes, that is, if there is a non-deformed portion PL3, the user is allowed to select it. As a result, the fixed space S1 is expanded in the apparatus to include the non-deformable portion PL3, and the fixed space S′1 is redefined. Accordingly, as illustrated in FIG. 18D, the apparatus sets a space between the fixed space S′1 and the control space S2 as a deformation space, and sets the bounding box of the model as a handle H1.

(b)円筒径・円筒軸位置の変更
図17に示したようにモデルの円筒面領域の円筒径・円筒軸位置を変更するためのハンドルを生成させる手順は、図19A〜図19Dに示したものである。この場合、円筒径変更、円筒軸位置変更のいずれでも同様の手順でハンドルH2を生成することになるが、そのいずれのタイプの変更であるかは、ユーザが画面で選択指定する。
(B) Change of cylindrical diameter and cylindrical axis position The procedure for generating a handle for changing the cylindrical diameter and cylindrical axis position of the cylindrical surface area of the model as shown in FIG. 17 is shown in FIGS. 19A to 19D. Is. In this case, the handle H2 is generated in the same procedure regardless of whether the cylinder diameter is changed or the cylinder axis position is changed. The user selects and designates which type of change is made on the screen.

円筒径・円筒軸位置の変更のためには、まず、対象となる円筒面PL4をユーザに選択指定させる。この円筒面PL4の円筒径Rはすでに求められているので、この選択指定により、円筒面PL4の円筒径Rと円筒軸a、始点位置座標が現在の寸法として読み出される。これと共に、円筒面PL4の選択により、この円筒面PL4を囲むバウンディングボックスの内部を制御空間S5とする。次に、非変形部として直方体の外面領域を選択する。この結果として、装置は、非変形部である直方体外面の外側の固定空間S6と制御空間S5との間を変形空間S7とする。そして、変形空間S7を四角柱に分割したものをハンドルH2として生成する。   In order to change the cylindrical diameter and the cylindrical axis position, first, the user selects and designates the target cylindrical surface PL4. Since the cylindrical diameter R of the cylindrical surface PL4 has already been obtained, the cylinder diameter R of the cylindrical surface PL4, the cylindrical axis a, and the start point position coordinates are read out as the current dimensions by this selection designation. At the same time, by selecting the cylindrical surface PL4, the inside of the bounding box surrounding the cylindrical surface PL4 is defined as a control space S5. Next, an outer surface area of a rectangular parallelepiped is selected as the non-deformable part. As a result, the apparatus defines a deformation space S7 between the fixed space S6 outside the rectangular parallelepiped outer surface that is a non-deformation part and the control space S5. And what divided | segmented deformation space S7 into the square pole is produced | generated as the handle | steering-wheel H2.

(III)形状変形処理
最後に目標寸法(パラメータ)を数値入力することで、自動的に所望変形量の形状変形処理を行う。この処理手順は次による。
(III) Shape Deformation Process Finally, the target dimension (parameter) is input as a numerical value, and the shape deformation process of the desired deformation amount is automatically performed. This processing procedure is as follows.

(a)2平面間の距離変更の場合、図20に示すように、変形空間の伸縮目標寸法D’をユーザに入力させることで、装置側が制御空間S2の平行移動量d=D’−Dを伸縮パラメータとし、この伸縮量パラメータdだけ変形空間を伸縮させる。伸縮変形処理については先願の明細書に記載のものによるが、後述する。   (A) In the case of changing the distance between two planes, as shown in FIG. 20, by causing the user to input the expansion / contraction target dimension D ′ of the deformation space, the apparatus side translates the translation amount d = D′−D of the control space S 2. Is used as an expansion / contraction parameter, and the deformation space is expanded / contracted by the expansion / contraction amount parameter d. The expansion / contraction deformation process is described later, although it is described in the specification of the prior application.

(b)円筒径の変更の場合、図21に示すように、円筒径の目標寸法R’を入力することで、現在の寸法Rに対する拡大倍率r=R’/Rを求め、これを拡大率として変形空間の部分拡大縮小変形処理を行い、円筒径を拡大あるいは縮小させる。部分拡大縮小変形処理についても先願の明細書に記載のものによるが、後述する。   (B) In the case of changing the cylindrical diameter, as shown in FIG. 21, by inputting a target dimension R ′ of the cylindrical diameter, an enlargement ratio r = R ′ / R with respect to the current dimension R is obtained, and this is expressed as an enlargement ratio. As described above, partial enlargement / reduction processing of the deformation space is performed to enlarge or reduce the cylindrical diameter. The partial enlargement / reduction deformation processing is also described later although it depends on what is described in the specification of the prior application.

(c)円筒軸位置移動の場合、図22に示すように、円筒軸の移動先の位置座標X’を目標寸法として入力することで、現在の円筒軸座標Xからの移動ベクトル量x=X’−Xを求め、この移動ベクトル量xを変形パラメータとして変形空間を移動させる。この処理も先願の明細書に記載のものによるが、後述する。   (C) In the case of cylindrical axis position movement, as shown in FIG. 22, by inputting the position coordinate X ′ of the movement destination of the cylindrical axis as a target dimension, the movement vector amount x = X from the current cylindrical axis coordinate X '-X is obtained, and the deformation space is moved using the movement vector amount x as a deformation parameter. This processing is also described later, although it depends on what is described in the specification of the prior application.

図23に2平面間の距離変更の処理結果を示している。本例では、同図(a)に示したメッシュモデルに対して、基準面PL1と制御面PL2とを指定して目標寸法20mmとする操作した場合の処理結果を示している。同図(b)に示すように寸法抽出処理では基準面PL1と制御面PL2との間の距離が5mmであったが、この距離の目標寸法を20mmに設定して変形処理を実行させたとき、同図(c)に示すように寸法変形と共に形状変形が得られた。   FIG. 23 shows the processing result of the distance change between two planes. In this example, the processing result when the reference surface PL1 and the control surface PL2 are designated and the target dimension is set to 20 mm is shown for the mesh model shown in FIG. As shown in FIG. 5B, in the dimension extraction process, the distance between the reference surface PL1 and the control surface PL2 is 5 mm. When the target dimension of this distance is set to 20 mm, the deformation process is executed. As shown in FIG. 5C, shape deformation was obtained together with dimensional deformation.

図24に2平面間の距離変更の別の処理結果を示している。本例では、同図(a)に示したメッシュモデルに対して、基準面PL1と制御面PL2とを指定し、かつ、非変形部PL3を指定し、目標寸法20mmとする操作した場合の処理結果を示している。同図(b)に示すように寸法抽出処理では基準面PL1と制御面PL2との間の距離が5mmであったが、この距離の目標寸法を20mmに設定して変形処理を実行させたとき、同図(c)に示すように寸法変形が得られた。また、非変形部PL3以下の部分は元の形状が保持されていた。   FIG. 24 shows another processing result of changing the distance between two planes. In this example, the processing when the reference plane PL1 and the control plane PL2 are designated and the non-deformed portion PL3 is designated and the target dimension is 20 mm is performed on the mesh model shown in FIG. Results are shown. As shown in FIG. 5B, in the dimension extraction process, the distance between the reference surface PL1 and the control surface PL2 is 5 mm. When the target dimension of this distance is set to 20 mm, the deformation process is executed. Dimensional deformation was obtained as shown in FIG. In addition, the original shape of the portion below the non-deformation portion PL3 was maintained.

図25に円筒面の径変更の処理結果を示している。本例では、同図(a)に示したメッシュモデルに対して、円筒面PL4を指定して円筒径の目標寸法を5mmに縮小する操作をした場合の処理結果を示している。同図(b)に示すように寸法抽出処理では円筒面PL4の径が16.5mmであったが、この径の目標寸法を5mmに設定して拡大縮小変形処理を実行させたとき、同図(c)に示すように円筒径の寸法変更が実現できた。   FIG. 25 shows the processing result of changing the diameter of the cylindrical surface. In this example, the processing result when the operation is performed for the mesh model shown in FIG. 5A by designating the cylindrical surface PL4 and reducing the target dimension of the cylindrical diameter to 5 mm is shown. As shown in FIG. 5B, in the dimension extraction process, the diameter of the cylindrical surface PL4 is 16.5 mm. When the target dimension of this diameter is set to 5 mm and the enlargement / reduction deformation process is executed, As shown in (c), the cylinder diameter could be changed.

図26に円筒面の軸移動の処理結果を示している。本例では、同図(a)に示したメッシュモデルに対して、円筒面PL4を指定して軸位置を(0,0)から目標位置(5,−10)まで移動させる操作をした場合の処理結果を示している。同図(b)に示すように寸法抽出処理では円筒面PL4の軸の始点座標が(0,0)であったが、この軸位置の目標位置を(5,−10)に設定して部分移動変形処理を実行させたとき、同図(c)に示すように円筒面PL4の移動変形が実現できた。   FIG. 26 shows the processing result of the axial movement of the cylindrical surface. In this example, when the cylindrical model PL4 is designated and the axis position is moved from (0, 0) to the target position (5, -10) with respect to the mesh model shown in FIG. The processing result is shown. As shown in FIG. 5B, in the dimension extraction process, the starting point coordinates of the axis of the cylindrical surface PL4 are (0, 0). However, the target position of this axis position is set to (5, −10). When the movement deformation process was executed, the movement deformation of the cylindrical surface PL4 could be realized as shown in FIG.

次に、先願明細書に記載した自由形状変形手法について簡単に説明する。モデルの変形の定義と分類は、変形を統一的にモデル化するために、図27のように変形前後で内部頂点位置の変わらない空間を固定空間S1、内部頂点位置がアフィン変換として定量的に記述できる空間を制御空間S2、それ以外の変形をする頂点を含む空間を変形空間S3とし、制御空間S2の変化を記述するアフィン変換の種類によって変形タイプを分類する。   Next, the free form deformation method described in the specification of the prior application will be briefly described. In order to uniformly model deformation, model deformation is defined and classified as a fixed space S1 in which the internal vertex position does not change before and after the deformation as shown in FIG. 27, and the internal vertex position is quantified as an affine transformation. A space that can be described is a control space S2, and a space that includes other vertices to be deformed is a deformation space S3. The deformation type is classified according to the type of affine transformation that describes the change of the control space S2.

固定空間S1と制御空間S2との間には必ず変形空間S3が入る。これに基づくと、既存の研究や商用ソフトで実装されている変形及び設計で望まれる変形はすべて、図28の表1のように「曲げ」、「ねじり」、「伸縮」、「反り」、「部分拡大/縮小」、「部分移動」の6種のタイプに分類する。例えば、「曲げ変形」は制御空間S2の変形は、ベクトルkを軸とした回転変換で記述し、変形の操作パラメータとして回転角θを規定する。また、「ねじり変形」は、ベクトルvを軸とした回転変換で記述し、変形の操作パラメータとして回転角θを規定する。他の「伸縮」、「反り」、「部分拡大/縮小」、「部分移動」の各変形についても表1に示すそれぞれの制御空間S2のアフィン変換で記述し、変形パラメータを規定する。尚、この変形の操作パラメータは、図2におけるハンドル生成処理ST2に対する変形タイプ入力DT7、変形領域指定DT8にて入力する。   The deformation space S3 always enters between the fixed space S1 and the control space S2. Based on this, all the deformations that are implemented in existing research and commercial software and that are desired in the design are all “bending”, “twisting”, “stretching”, “warping”, It is classified into six types of “partial enlargement / reduction” and “partial movement”. For example, “bending deformation” describes the deformation of the control space S2 by rotational transformation about the vector k, and defines the rotation angle θ as an operation parameter of the deformation. “Torsional deformation” is described by rotational transformation with the vector v as an axis, and the rotational angle θ is defined as an operational parameter for deformation. Other deformations such as “expansion / contraction”, “warping”, “partial enlargement / reduction”, and “partial movement” are also described by affine transformation of each control space S2 shown in Table 1, and the deformation parameters are defined. It should be noted that the deformation operation parameters are input by the deformation type input DT7 and the deformation area designation DT8 for the handle generation process ST2 in FIG.

本実施の形態のメッシュモデル変換方法では、ハンドル生成処理ST2において、変形領域、変形タイプ、非変形部分の指定により、変形空間を定義し、これをハンドルとして自動的に生成する。   In the mesh model conversion method of the present embodiment, in the handle generation process ST2, a deformation space is defined by designating a deformation area, a deformation type, and a non-deformation portion, and this is automatically generated as a handle.

制御空間S2をアフィン変換し、それに接続されている変形空間S3(ハンドル)の頂点位置の移動に伴うメッシュモデルの変形は、非特許文献4に記載されたBCFFD(重心座標を用いた自由形状変形)による。対応する変形タイプの目標寸法を入力すれば、操作パラメータを算出し、これに応じて制御空間S2をアフィン変換し、モデルの変形を行う。   The deformation of the mesh model accompanying the movement of the vertex position of the deformation space S3 (handle) connected to the control space S2 by affine transformation is the BCFFD described in Non-Patent Document 4 (Free-form deformation using the barycentric coordinates) )by. If a target dimension of a corresponding deformation type is input, an operation parameter is calculated, and the control space S2 is affine transformed in accordance with this to deform the model.

これを、図29に示す板モデルの変形処理を例に説明する。   This will be described using the plate model deformation process shown in FIG. 29 as an example.

(a)ユーザが2平面(p1−p4),(p2−p3)を画面上で指定することで、2平面で囲まれた矩形(p1,p2,p3,p4)を生成する。   (A) The user designates two planes (p1-p4) and (p2-p3) on the screen, thereby generating rectangles (p1, p2, p3, p4) surrounded by the two planes.

(b)装置により面分p1,p2,p3,p4を底面とする四角柱を変形空間S3として生成する。この変形空間S3の表示がハンドルHDLである。   (B) A quadrangular prism having the planes p1, p2, p3, and p4 as bottom surfaces is generated as the deformation space S3 by the apparatus. The display of the deformation space S3 is a handle HDL.

(c)装置により変形軸ベクトルv,kを計算する。ただし、ベクトルkは矩形(p1,p2,p3,p4)の重心を通る視点方向ベクトル、ベクトルvはモデルの変形領域のbounding boxの重心を通り視点方向ベクトルkと垂直なベクトルである。   (C) The deformation axis vectors v and k are calculated by the apparatus. However, the vector k is a viewpoint direction vector that passes through the center of gravity of the rectangle (p1, p2, p3, p4), and the vector v is a vector that passes through the center of gravity of the bounding box in the deformation area of the model and is perpendicular to the viewpoint direction vector k.

(d)装置により固定空間S1、制御空間S2内のモデル頂点を決定する。   (D) The model vertices in the fixed space S1 and the control space S2 are determined by the apparatus.

(e)ユーザが、伸縮目標寸法、目標曲げ角度を入力することにより、制御空間S2内モデル頂点および制御空間S2に面した変形空間S3の頂点をアフィン変換し、モデルの形状変形を行う。   (E) When the user inputs the expansion / contraction target dimension and the target bending angle, the model vertex in the control space S2 and the vertex of the deformation space S3 facing the control space S2 are affine transformed to deform the model.

また、図30に示すモデルに対する変形処理は、次のように実行する。   Further, the deformation process for the model shown in FIG. 30 is executed as follows.

(a)ユーザが円筒面を指定し、また、固定面を指定することにより2つの矩形(p1,p2,p3,p4),(p5,p6,p7,p8)を生成する。   (A) The user designates a cylindrical surface and designates a fixed surface to generate two rectangles (p1, p2, p3, p4) and (p5, p6, p7, p8).

(b)装置により2つの矩形(p1,p2,p3,p4),(p5,p6,p7,p8)を底面とする四角柱に挟まれる空間を変形空間S3とし、四角柱の集合に分割する。   (B) A space between two rectangular columns (p1, p2, p3, p4) and (p5, p6, p7, p8) by the apparatus is defined as a deformation space S3 and divided into a set of rectangular columns. .

(c)装置により、変形軸ベクトルv,kを計算する。この場合も、ベクトルkは矩形(p,p,p,p)の重心を通る視点方向ベクトル、ベクトルvはモデルの変形領域のbounding boxの重心を通り視点方向ベクトルkと垂直なベクトルである。 (C) The deformation axis vectors v and k are calculated by the apparatus. Also in this case, the vector k is a viewpoint direction vector that passes through the center of gravity of the rectangle (p 1 , p 2 , p 3 , p 4 ), and the vector v is through the center of gravity of the bounding box of the model deformation area and is perpendicular to the viewpoint direction vector k. Is a vector.

(d)装置により固定空間S1、制御空間S2内のモデル頂点を決定する。   (D) The model vertices in the fixed space S1 and the control space S2 are determined by the apparatus.

(e)ユーザが円筒面の径の目標寸法を入力し、あるいは円筒軸の軸移動位置を入力することによって、装置側が変形パラメータを増減演算し、制御空間S2内のモデル頂点および制御空間S2に面した変形空間S3の頂点をアフィン変換し、モデルの形状変形を行う。   (E) When the user inputs the target dimension of the diameter of the cylindrical surface or inputs the axial movement position of the cylindrical shaft, the apparatus side calculates the increase / decrease of the deformation parameter, and the model vertex in the control space S2 and the control space S2 The vertices of the facing deformation space S3 are subjected to affine transformation, and the shape of the model is deformed.

その他の処理について、図31(a)に示すように板モデルに対して基準面と制御面を指定することで、同図31(b)に示すように装置側がハンドルHDL、すなわち変形空間S3を自動生成する。そして、このハンドルHDLに対して曲げ変形、ねじり変形、伸縮変形の選択とその目標寸法、曲げ角度等のパラメータを数値入力することで、図32(a)、図32(b)、図32(c)それぞれに示すように板モデルの曲げ、ねじり、伸縮の形状変形をメッシュモデルベースで実行することができる。   For other processing, by specifying the reference plane and the control plane for the plate model as shown in FIG. 31 (a), the apparatus side uses the handle HDL, that is, the deformation space S3 as shown in FIG. 31 (b). Generate automatically. Then, selection of bending deformation, torsional deformation and expansion / contraction deformation and numerical values such as target dimensions, bending angle, etc. are input to the handle HDL, so that FIG. 32 (a), FIG. 32 (b), FIG. c) As shown in the respective figures, bending, twisting, and expansion / contraction of the plate model can be executed on a mesh model basis.

また、図33(a)に示すように棒モデルに対して円筒面と固定面を指定することで、同図(b)に示すように装置側がハンドルHDL、すなわち変形空間S3を自動生成する。そして、このハンドルHDLに対して反り変形、部分拡大/縮小変形、部分移動変形の選択とその目標寸法、角度を数値指定することで、図34(a)、図34(b)、図34(c)それぞれに示すように棒モデルの反り、部分拡大/縮小変形、部分移動変形をメッシュモデルベースで実行することができる。   Further, by specifying the cylindrical surface and the fixed surface for the rod model as shown in FIG. 33 (a), the apparatus side automatically generates the handle HDL, that is, the deformation space S3 as shown in FIG. 33 (b). Then, by selecting the warp deformation, partial enlargement / reduction deformation, partial movement deformation and numerically specifying the target dimension and angle for this handle HDL, FIG. 34 (a), FIG. 34 (b), FIG. c) Warping, partial enlargement / reduction deformation, and partial movement deformation of the bar model can be executed on a mesh model basis as shown in each figure.

ここに、ハンドルHDLの重心座標計算について説明する。図35(a),(b)は単純な凸多面体と単純でない凸多面体とを例示している。頂点vが3つの面の交点である場合にはその多面体は単純な凸多面体であり、それ以上の面の交点がある場合単純でない凸多面体とする。   Here, the gravity center coordinate calculation of the handle HDL will be described. 35A and 35B illustrate a simple convex polyhedron and a non-simple convex polyhedron. When the vertex v is an intersection of three surfaces, the polyhedron is a simple convex polyhedron, and when there are more surface intersections, it is a non-simple convex polyhedron.

凸多面体内部の点xの凸多面体Pに対する重み関数w(x)を凸多面体の頂点vの隣接面の法線の張る平行六面体体積と、vの各隣接面とxとの距離の積との比、すなわち式(1)のように定義する。
The weight function w i (x) for the convex polyhedron P of the point x inside the convex polyhedron is the parallel hexahedron volume drawn by the normal of the adjacent surface of the vertex v i of the convex polyhedron, and the distance between each adjacent surface of v i and x The ratio to the product, that is, the equation (1) is defined.

ここで、n σ1,n σ2,n σ3は、図36、図37に示すようにvの3枚の隣接面の単位法線である。重み関数w(x)を式(2)のように正規化し、点xの凸多面体Pの頂点vに対する重心座標b(x)を求める。
Here, n i σ1, n i σ2 , n i σ3 is 36, is a unit normal of three adjacent surfaces of the v i, as shown in FIG. 37. The weight function w i (x) is normalized as shown in Equation (2) to obtain the barycentric coordinates b i (x) for the vertex v i of the convex polyhedron P of the point x.

尚、図38(a)に示すように、注目する凸多面体が単純ではない場合、図38(b)に示すように単純でない頂点vを複数の単純な頂点に分割し、各々の単純な頂点に対して式(1),(2)により重心座標を計算し、各々の単純な頂点に対して計算した重心座標の値を足し合わせることにより、単純でない頂点に対する重心座標を求める。   If the convex polyhedron to be noticed is not simple as shown in FIG. 38A, the non-simple vertex v is divided into a plurality of simple vertices as shown in FIG. Then, the centroid coordinates for the non-simple vertices are obtained by calculating the centroid coordinates by the formulas (1) and (2) and adding the calculated centroid coordinates for each simple vertex.

図39に示すように、重心座標を用いた自由形状変形ハンドルの頂点vがv’に移動し変形した場合、ハンドル内部のモデル頂点xの移動後位置x’は次の式(3)のように計算する。
As shown in FIG. 39, when the vertex v i of the free-form deformation handle using the barycentric coordinates moves to v i ′ and is deformed, the post-movement position x ′ of the model vertex x inside the handle is expressed by the following equation (3). Calculate as follows.

本装置では、式(3)をハンドル内の全てのメッシュモデル頂点に適用することで、モデルの自由形状変形を行う。   In the present apparatus, the model (3) is applied to all the mesh model vertices in the handle to perform free-form deformation of the model.

しかしながら、このハンドル頂点を直接操作することによる自由形状変形手法は、変形操作の自由度が高い反面、操作が煩雑である。そこで、本実施の形態のメッシュモデル変形装置及び方法では、不必要な変形自由度を無くし、操作の煩雑さを解決するため、上述したように表1のように変形タイプに基づいたハンドルの自動生成とそのパラメトリック変形処理を行う。   However, the free-form deformation method by directly operating the handle vertex has a high degree of freedom in the deformation operation, but the operation is complicated. Therefore, in the mesh model deforming apparatus and method according to the present embodiment, in order to eliminate unnecessary deformation freedom and solve the complexity of operation, as described above, the automatic operation of the handle based on the deformation type as shown in Table 1 is performed. Generate and perform parametric transformation.

これにより、本実施の形態では、ユーザがモデル内の変形対象及び変形タイプを選択し、変形対象形状を指定すると、装置により制御空間S2(変形前後の位置関係がアフィン変換で記述できる空間)、固定空間S1(変形前後で内部のモデルが変化しない空間)、変形空間S3(変形前後で内部のモデルが制御空間S2に従って変形する空間)を自動的に定義する。変形空間S3は四角柱又はその集合として定義する。そしてユーザが各変形の目標寸法を数値入力することで凸多面体の頂点を移動させ、凸多面体(六面体)に対する重心座標を基底に用いた形状変形手法によって変形空間内のメッシュモデルを変形する。   Thereby, in this Embodiment, when a user selects the deformation | transformation object and deformation | transformation type in a model, and designates a deformation | transformation object shape, control space S2 (space in which the positional relationship before and behind deformation can be described by affine transformation) by the device, A fixed space S1 (a space in which the internal model does not change before and after the deformation) and a deformation space S3 (a space in which the internal model is deformed according to the control space S2 before and after the deformation) are automatically defined. The deformation space S3 is defined as a quadrangular prism or a set thereof. Then, the user moves the vertex of the convex polyhedron by numerically inputting the target dimensions of each deformation, and deforms the mesh model in the deformation space by the shape deformation method using the center of gravity coordinates for the convex polyhedron (hexahedral) as the basis.

本発明の1つの実施の形態のメッシュモデル変形装置の機能構成を示すブロック図。The block diagram which shows the function structure of the mesh model deformation | transformation apparatus of one embodiment of this invention. 上記実施の形態によるメッシュモデル変形方法の処理シーケンス図。The processing sequence figure of the mesh model deformation | transformation method by the said embodiment. 上記実施の形態のメッシュモデル変形装置により形状変更処理を行う対象としてのメッシュモデル例の説明図。Explanatory drawing of the example of a mesh model as an object which performs a shape change process with the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による領域分割後のメッシュモデルを示す説明図。Explanatory drawing which shows the mesh model after the area | region division by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による寸法抽出処理後のメッシュモデルを示す説明図。Explanatory drawing which shows the mesh model after the dimension extraction process by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置によるハンドル生成処理後のメッシュモデルを示す説明図。Explanatory drawing which shows the mesh model after the handle | steering-wheel production | generation process by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間の距離変更処理後のメッシュモデルを示す説明図。Explanatory drawing which shows the mesh model after the distance change process between two planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2面角の計算手法の説明図。Explanatory drawing of the calculation method of the dihedral angle by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による、閾値0.15を適用して領域分割したときの領域分割後のメッシュモデルを示す説明図。Explanatory drawing which shows the mesh model after area | region division when the threshold value 0.15 is applied and the area | region division | segmentation is performed by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による、閾値0.95を適用して領域分割したときの領域分割後のメッシュモデルを示す説明図。Explanatory drawing which shows the mesh model after area | region division when the threshold value 0.95 is applied and the area | region division | segmentation is performed by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による寸法抽出処理における平面フィッティング結果を示す説明図。Explanatory drawing which shows the plane fitting result in the dimension extraction process by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による寸法抽出処理における円筒面フィッティング結果を示す説明図。Explanatory drawing which shows the cylindrical surface fitting result in the dimension extraction process by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間の距離変更の操作方法の説明図。Explanatory drawing of the operation method of the distance change between two planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒径の寸法変更の操作方法の説明図。Explanatory drawing of the operation method of the dimension change of the cylindrical diameter by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の軸移動変更の操作方法の説明図。Explanatory drawing of the operation method of the axial movement change of a cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による板モデルに対する伸縮変形処理の説明図。Explanatory drawing of the expansion-contraction deformation process with respect to the plate model by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の部分拡大縮小変形、部分移動変形処理の説明図。Explanatory drawing of the partial expansion / contraction deformation | transformation of a cylindrical surface, and a partial movement deformation | transformation process by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間寸法変更処理における2平面の指定ステップの説明図。Explanatory drawing of the designation | designated step of 2 planes in the dimension change process between 2 planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間寸法変更処理における固定空間、制御空間生成ステップの説明図。Explanatory drawing of the fixed space and control space production | generation step in the dimension change process between 2 planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間寸法変更処理における非変形部の指定ステップの説明図。Explanatory drawing of the designation | designated step of the non-deformation part in the dimension change process between 2 planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間寸法変更処理における変形空間とハンドルの生成ステップの説明図。Explanatory drawing of the production | generation step of the deformation | transformation space and handle in the dimension change process between two planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の径変更処理における円筒面の指定ステップの説明図。Explanatory drawing of the designation | designated step of the cylindrical surface in the diameter change process of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の径変更処理における制御空間生成ステップの説明図。Explanatory drawing of the control space production | generation step in the diameter change process of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の径変更処理における固定空間の生成ステップの説明図。Explanatory drawing of the production | generation step of the fixed space in the diameter change process of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の径変更処理における変形空間とハンドルの生成ステップの説明図。Explanatory drawing of the production | generation step of the deformation | transformation space and handle in the diameter change process of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間寸法変更処理における変形前と変形後のモデルを対比して示す説明図。Explanatory drawing which compares and shows the model before a deformation | transformation in the dimension change process between 2 planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の径変更処理における変形前と変形後のモデルを対比して示す説明図。Explanatory drawing which compares and shows the model before a deformation | transformation in the diameter change process of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の軸位置変更処理における変形前と変形後のモデルを対象させて示す説明図。Explanatory drawing which shows the model before a deformation | transformation and the model after a deformation | transformation in the axial position change process of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による2平面間寸法変更処理手順の説明図。Explanatory drawing of the dimension change process sequence between 2 planes by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による非変形部を設定して2平面間寸法変更させる場合の処理手順の説明図。Explanatory drawing of the process sequence in the case of setting the non-deformation part by the mesh model deformation | transformation apparatus of the said embodiment, and changing the dimension between 2 planes. 上記実施の形態のメッシュモデル変形装置による円筒面の径変更処理手順の説明図。Explanatory drawing of the diameter change process procedure of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円筒面の軸位置移動処理手順の説明図。Explanatory drawing of the axial position movement process procedure of the cylindrical surface by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置によるメッシュモデル変形方法の説明図。Explanatory drawing of the mesh model deformation | transformation method by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置によるメッシュモデル変形方法における変形タイプの定義と変形の操作パラメータとの表の説明図。Explanatory drawing of the table | surface of the definition of a deformation | transformation type and the operation parameter of a deformation | transformation in the mesh model deformation | transformation method by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による板メッシュモデルに対する曲げ変形処理の説明図。Explanatory drawing of the bending deformation process with respect to the plate mesh model by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円柱体モデルに対する部分移動変形処理の説明図。Explanatory drawing of the partial movement deformation | transformation process with respect to the cylindrical body model by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による板メッシュモデルに対するハンドル生成処理の説明図。Explanatory drawing of the handle | steering-wheel production | generation process with respect to the plate mesh model by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による板メッシュモデルに対する曲げ、ねじり、伸縮変形とそれぞれのハンドルとを示す説明図。Explanatory drawing which shows the bending, torsion, expansion-contraction deformation | transformation with respect to the plate mesh model by the mesh model deformation | transformation apparatus of the said embodiment, and each handle | steering-wheel. 上記実施の形態のメッシュモデル変形装置による円柱体メッシュモデルに対するハンドル生成処理の説明図。Explanatory drawing of the handle | steering-wheel production | generation process with respect to the cylindrical body mesh model by the mesh model deformation | transformation apparatus of the said embodiment. 上記実施の形態のメッシュモデル変形装置による円柱体メッシュモデルに対する反り、部分拡大/縮小、部分移動変形とそれぞれのハンドルとを示す説明図。Explanatory drawing which shows the curvature with respect to the cylindrical body mesh model by the mesh model deformation | transformation apparatus of the said embodiment, partial expansion / contraction, partial movement deformation | transformation, and each handle. 上記実施の形態のメッシュモデル変形装置が変形空間内の頂点に対して行う重心座標計算に関連する単純な凸多面体と単純ではない凸多面体とを示す説明図。Explanatory drawing which shows the simple convex polyhedron relevant to the gravity center coordinate calculation which the mesh model deformation | transformation apparatus of the said embodiment performs with respect to the vertex in deformation space, and a non-simple convex polyhedron. 上記実施の形態のメッシュモデル変形装置が変形空間内の頂点に対して行う重心座標計算に関連して単純な凸多面体における多面体頂点の隣接面の成す単体を示す説明図。Explanatory drawing which shows the single-piece | unit which the polyhedral vertex adjoins in a simple convex polyhedron in connection with the gravity center coordinate calculation which the mesh model deformation | transformation apparatus of the said embodiment performs with respect to the vertex in deformation space. 上記実施の形態のメッシュモデル変形装置が変形空間内の頂点に対して行う重心座標計算に関連して単純な凸多面体における内部頂点と隣接面との距離の説明図。Explanatory drawing of the distance of the internal vertex in a simple convex polyhedron and an adjacent surface in relation to the gravity center coordinate calculation which the mesh model deformation | transformation apparatus of the said embodiment performs with respect to the vertex in deformation space. 上記実施の形態のメッシュモデル変形装置が変形空間内の頂点に対して行う重心座標計算に関連して単純でない凸多面体を単純な凸多面体に近似する方法の説明図。Explanatory drawing of the method of approximating the non-simple convex polyhedron to a simple convex polyhedron in connection with the gravity center coordinate calculation which the mesh model deformation | transformation apparatus of the said embodiment performs with respect to the vertex in deformation space. 上記実施の形態のメッシュモデル変形装置による重心座標計算処理の説明図。Explanatory drawing of the gravity center coordinate calculation process by the mesh model deformation | transformation apparatus of the said embodiment.

符号の説明Explanation of symbols

1 入出力制御部
2 データ記憶部
3 領域分割処理部
4 曲面フィッティング処理部
5 寸法抽出部
6 ハンドル生成部
7 モデル変形処理部
8 変形領域設定部
10 制御演算処理部
21 キーボード
22 マウス
23 表示装置
100 メッシュモデル変形装置
DESCRIPTION OF SYMBOLS 1 Input / output control part 2 Data storage part 3 Area division process part 4 Curved surface fitting process part 5 Dimension extraction part 6 Handle generation part 7 Model deformation | transformation process part 8 Deformation area setting part 10 Control arithmetic process part 21 Keyboard 22 Mouse 23 Display apparatus 100 Mesh model deformation device

Claims (6)

図形と文字を表示する表示装置と、
前記表示装置に表示されている図形に対してポインティング操作をするためのポインティング操作手段と、
文字データの入力操作手段と、
メッシュモデルデータを記憶しているメッシュモデルデータ記憶手段と、
前記表示装置に表示されているメッシュモデルに対して、曲面フィッティング処理にて平面領域、円筒面領域、その他の領域に領域分割を行う領域分割処理手段と、
前記平面領域上の一点の座標と法線、円筒面領域の径、軸方向、軸始点座標を抽出する曲面パラメータ抽出手段と、
変形タイプを指定する変形タイプ指定手段と、
前記表示装置に表示されているメッシュモデルに対して、前記ポインティング操作手段にて、操作したい寸法を規定する変形領域と非変形領域とを指定させる変形領域設定手段と、
前記変形領域設定手段により設定された変形領域とその曲面パラメータとから、変更を行う寸法を抽出する寸法抽出手段と、
前記変形領域設定手段により設定された変形領域と非変形領域とに基づいて変形空間を決定し、決定した変形空間を包含する仮想ハンドルを生成するハンドル生成手段と、
前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の重心座標を計算する重心座標演算手段と、
前記変形空間に対する変形量パラメータ数値を設定する変形パラメータ設定手段と、
目標寸法を満たす変形を行えるような前記変形タイプと変形量パラメータ数値との入力に対して、前記仮想ハンドルの頂点を移動させ、当該仮想ハンドルの頂点の移動に連動させて前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の座標を前記重心座標から再計算することで前記メッシュモデルを変形させ、変形結果を前記表示装置に表示させる変形処理手段とを備えたことを特徴とするメッシュモデル変形装置。
A display device for displaying graphics and characters;
Pointing operation means for performing a pointing operation on a graphic displayed on the display device;
Character data input operation means;
Mesh model data storage means storing mesh model data;
Area division processing means for dividing a mesh model displayed on the display device into a plane area, a cylindrical surface area, and other areas by curved surface fitting processing;
Curved surface parameter extracting means for extracting the coordinates and normal of one point on the plane area, the diameter of the cylindrical surface area, the axial direction, and the axis start point coordinates;
A deformation type specifying means for specifying a deformation type;
Deformation area setting means for designating a deformation area and a non-deformation area for defining a dimension to be operated by the pointing operation means for the mesh model displayed on the display device;
Dimension extraction means for extracting a dimension to be changed from the deformation area set by the deformation area setting means and its curved surface parameters;
Handle generation means for determining a deformation space based on the deformation area and the non-deformation area set by the deformation area setting means, and generating a virtual handle including the determined deformation space;
Centroid coordinate calculating means for calculating the centroid coordinates of the vertices of the mesh model existing in the closed region of the virtual handle;
Deformation parameter setting means for setting a deformation amount parameter value for the deformation space;
In response to the input of the deformation type and the deformation amount parameter value that can perform deformation satisfying a target dimension, the vertex of the virtual handle is moved, and the closed region of the virtual handle is interlocked with the movement of the vertex of the virtual handle. A mesh model comprising: deformation processing means for deforming the mesh model by recalculating the coordinates of the vertices of the mesh model existing in the center of gravity coordinates and displaying the deformation result on the display device Deformation device.
前記変形タイプ指定手段は、少なくとも平面間距離変更、円筒の径変更、円筒軸位置変更の3種の変形タイプの中から1を指定するものであることを特徴とする請求項1に記載のメッシュモデル変形装置。   2. The mesh according to claim 1, wherein the deformation type designation means designates one of at least three types of deformation types: a change in distance between planes, a change in the diameter of a cylinder, and a change in a cylinder axis position. Model deformation device. 表示装置に表示されているメッシュモデルに対して、曲面フィッティング処理にて平面領域、円筒面領域、その他の領域に領域分割を行う領域分割ステップと、
前記平面領域上の一点の座標と法線、円筒面領域の径、軸方向、軸始点座標を抽出する曲面パラメータ抽出ステップと、
変形タイプ入力を受付けて変形タイプを決定する変形タイプ指定ステップと、
前記表示装置に表示されているメッシュモデルに対して、ポインティング操作手段にて指定された操作要求寸法を規定する変形領域と非変形領域とを設定する変形領域設定ステップと、
前記設定された変形領域とその曲面パラメータとから、変更を行う寸法を抽出する寸法抽出ステップと、
前記変形領域設定処理ステップにおいて設定された変形領域と非変形領域とに基づいて変形空間を決定し、決定した変形空間を包含する仮想ハンドルを生成するハンドル生成ステップと、
前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の重心座標を計算する重心座標演算ステップと、
目標寸法を満たす変形を行えるような前記変形空間に対する変形量パラメータの数値入力を受け付けて変形量パラメータを設定する変形量パラメータ設定ステップと、
前記変形タイプと変形量パラメータとに対して、前記仮想ハンドルの頂点を移動させ、当該仮想ハンドルの頂点の移動に連動させて前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の座標を重心座標から再計算することで前記メッシュモデルを変形させるメッシュモデル変形ステップと、
前記メッシュモデルの変形結果を前記表示装置に表示させるステップとを有することを特徴とするメッシュモデル変形方法。
An area division step for dividing the mesh model displayed on the display device into a plane area, a cylindrical surface area, and other areas by curved surface fitting processing;
Curved surface parameter extraction step for extracting the coordinates and normal of one point on the plane region, the diameter of the cylindrical surface region, the axial direction, and the axis start point coordinate;
A deformation type designation step for accepting a deformation type input and determining a deformation type;
A deformation area setting step for setting a deformation area and a non-deformation area that define an operation required dimension specified by the pointing operation means for the mesh model displayed on the display device;
A dimension extracting step for extracting a dimension to be changed from the set deformation region and its curved surface parameters;
A handle generation step of determining a deformation space based on the deformation region and the non-deformation region set in the deformation region setting processing step, and generating a virtual handle including the determined deformation space;
A centroid coordinate calculation step of calculating a centroid coordinate of a vertex of the mesh model existing in the closed region of the virtual handle;
A deformation amount parameter setting step for receiving a numerical input of a deformation amount parameter for the deformation space so as to perform deformation satisfying a target dimension and setting the deformation amount parameter;
The vertex of the virtual handle is moved with respect to the deformation type and the deformation amount parameter, and the coordinates of the vertexes of the mesh model existing in the closed region of the virtual handle are centroided in conjunction with the movement of the vertex of the virtual handle. A mesh model deformation step for deforming the mesh model by recalculating from the coordinates;
And a step of displaying the result of deformation of the mesh model on the display device.
変形タイプを指定するステップでは、少なくとも平面間距離変更、円筒の径変更、円筒軸位置変更の3種の変形タイプから1を指定することを特徴とする請求項3に記載のメッシュモデル変形方法。   4. The mesh model deformation method according to claim 3, wherein in the step of specifying the deformation type, 1 is specified from at least three types of deformation types: a distance between planes, a diameter change of a cylinder, and a position change of a cylinder axis. 表示装置に表示されているメッシュモデルに対して、曲面フィッティング処理にて平面領域、円筒面領域、その他の領域に領域分割を行う領域分割ステップと、
前記平面領域上の一点の座標と法線、円筒面領域の径、軸方向、軸始点座標を抽出する曲面パラメータ抽出ステップと、
変形タイプ入力を受付けて変形タイプを決定する変形タイプ指定ステップと、
前記表示装置に表示されているメッシュモデルに対して、ポインティング操作手段にて指定された操作要求寸法を規定する変形領域と非変形領域とを設定する変形領域設定ステップと、
前記設定された変形領域とその曲面パラメータとから、変更を行う寸法を抽出する寸法抽出ステップと、
前記変形領域設定処理ステップにおいて設定された変形領域と非変形領域とに基づいて変形空間を決定し、決定した変形空間を包含する仮想ハンドルを生成するハンドル生成ステップと、
前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の重心座標を計算する重心座標演算ステップと、
目標寸法を満たす変形を行えるような前記変形空間に対する変形量パラメータの数値入力を受け付けて変形量パラメータを設定する変形量パラメータ設定ステップと、
前記変形タイプと変形量パラメータとに対して、前記仮想ハンドルの頂点を移動させ、当該仮想ハンドルの頂点の移動に連動させて前記仮想ハンドルの閉領域内に存在するメッシュモデルの頂点の座標を重心座標から再計算することで前記メッシュモデルを変形させるメッシュモデル変形ステップと、
前記メッシュモデルの変形結果を前記表示装置に表示させるステップとをコンピュータに実行させることを特徴とするメッシュモデル変形プログラム。
An area division step for dividing the mesh model displayed on the display device into a plane area, a cylindrical surface area, and other areas by curved surface fitting processing;
Curved surface parameter extraction step for extracting the coordinates and normal of one point on the plane region, the diameter of the cylindrical surface region, the axial direction, and the axis start point coordinate;
A deformation type designation step for accepting a deformation type input and determining a deformation type;
A deformation area setting step for setting a deformation area and a non-deformation area that define an operation required dimension specified by the pointing operation means for the mesh model displayed on the display device;
A dimension extracting step for extracting a dimension to be changed from the set deformation region and its curved surface parameters;
A handle generation step of determining a deformation space based on the deformation region and the non-deformation region set in the deformation region setting processing step, and generating a virtual handle including the determined deformation space;
A centroid coordinate calculation step of calculating a centroid coordinate of a vertex of the mesh model existing in the closed region of the virtual handle;
A deformation amount parameter setting step for receiving a numerical input of a deformation amount parameter for the deformation space so as to perform deformation satisfying a target dimension and setting the deformation amount parameter;
The vertex of the virtual handle is moved with respect to the deformation type and the deformation amount parameter, and the coordinates of the vertexes of the mesh model existing in the closed region of the virtual handle are centroided in conjunction with the movement of the vertex of the virtual handle. A mesh model deformation step for deforming the mesh model by recalculating from the coordinates;
A program for causing a computer to execute a step of causing the display device to display a result of deformation of the mesh model.
変形タイプを指定するステップでは、少なくとも平面間距離変更、円筒の径変更、円筒軸位置変更の3種の変形タイプから1を指定することを特徴とする請求項5に記載のメッシュモデル変形プログラム。   6. The mesh model deformation program according to claim 5, wherein in the step of designating the deformation type, 1 is specified from at least three types of deformation types: distance change between planes, diameter change of a cylinder, and position change of a cylinder axis.
JP2007017599A 2007-01-29 2007-01-29 Free shape deformation system using center-of-gravity coordinate to protruding polyhedron Pending JP2008186133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007017599A JP2008186133A (en) 2007-01-29 2007-01-29 Free shape deformation system using center-of-gravity coordinate to protruding polyhedron

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007017599A JP2008186133A (en) 2007-01-29 2007-01-29 Free shape deformation system using center-of-gravity coordinate to protruding polyhedron

Publications (1)

Publication Number Publication Date
JP2008186133A true JP2008186133A (en) 2008-08-14

Family

ID=39729154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007017599A Pending JP2008186133A (en) 2007-01-29 2007-01-29 Free shape deformation system using center-of-gravity coordinate to protruding polyhedron

Country Status (1)

Country Link
JP (1) JP2008186133A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010244403A (en) * 2009-04-08 2010-10-28 Mitsubishi Motors Corp Vehicle model deformation display method
JP2017205975A (en) * 2016-05-20 2017-11-24 富士ゼロックス株式会社 Three-dimensional data generation apparatus, three-dimensional forming apparatus, method of forming object, and program
KR20190066804A (en) * 2017-12-06 2019-06-14 주식회사 카이 Method of generating sphere-shaped image, method of playing back sphere-shaped image, and apparatuses thereof
JP2021502620A (en) * 2017-09-07 2021-01-28 デトロイト エンジニアード プロダクツ,インコーポレイテッド Automation process for parametric modeling
CN115270378A (en) * 2022-09-28 2022-11-01 中国空气动力研究与发展中心计算空气动力研究所 Method for generating bow-shaped shock wave external field grid

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0336668A (en) * 1989-07-04 1991-02-18 Oki Electric Ind Co Ltd Shape generating system for cad system
JPH05257993A (en) * 1992-03-12 1993-10-08 Nagano Nippon Denki Software Kk Graphic deformation system
JPH07230482A (en) * 1994-02-21 1995-08-29 Sekisui Chem Co Ltd Plotting method for cad drawing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0336668A (en) * 1989-07-04 1991-02-18 Oki Electric Ind Co Ltd Shape generating system for cad system
JPH05257993A (en) * 1992-03-12 1993-10-08 Nagano Nippon Denki Software Kk Graphic deformation system
JPH07230482A (en) * 1994-02-21 1995-08-29 Sekisui Chem Co Ltd Plotting method for cad drawing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
水野学 他: "任意凸多面体に対する重心座標関数の解析とその連続性を制御可能な形状変形手法への応用", 2006年度精密工学会春季大会学術講演会講演論文集, JPN6010025107, 1 March 2006 (2006-03-01), pages 17 - 18, ISSN: 0001612964 *
水野学 他: "凸多面体に対する重心座標を用いた自由形状変形 −変形タイプの分類に基づいたハンドルの自動生成手法−", 2005年度精密工学会秋季大会学術講演会講演論文集, JPN6010025105, 1 September 2005 (2005-09-01), pages 219 - 220, ISSN: 0001612963 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010244403A (en) * 2009-04-08 2010-10-28 Mitsubishi Motors Corp Vehicle model deformation display method
JP2017205975A (en) * 2016-05-20 2017-11-24 富士ゼロックス株式会社 Three-dimensional data generation apparatus, three-dimensional forming apparatus, method of forming object, and program
JP2021502620A (en) * 2017-09-07 2021-01-28 デトロイト エンジニアード プロダクツ,インコーポレイテッド Automation process for parametric modeling
JP7279022B2 (en) 2017-09-07 2023-05-22 デトロイト エンジニアード プロダクツ,インコーポレイテッド Automated process for parametric modeling
KR20190066804A (en) * 2017-12-06 2019-06-14 주식회사 카이 Method of generating sphere-shaped image, method of playing back sphere-shaped image, and apparatuses thereof
KR101991666B1 (en) * 2017-12-06 2019-10-01 주식회사 카이 Method of generating sphere-shaped image, method of playing back sphere-shaped image, and apparatuses thereof
CN115270378A (en) * 2022-09-28 2022-11-01 中国空气动力研究与发展中心计算空气动力研究所 Method for generating bow-shaped shock wave external field grid
CN115270378B (en) * 2022-09-28 2022-12-30 中国空气动力研究与发展中心计算空气动力研究所 Method for generating bow-shaped shock wave external field grid

Similar Documents

Publication Publication Date Title
Weng et al. 2D shape deformation using nonlinear least squares optimization
US6608631B1 (en) Method, apparatus, and computer program product for geometric warps and deformations
US7936352B2 (en) Deformation of a computer-generated model
US6867787B1 (en) Character generator and character generating method
KR100707841B1 (en) Nurbs surface deformation apparatus and the method using 3d target curve
US20160247313A1 (en) Methods and Systems for Viewing a Three-Dimensional (3D) Virtual Object
US8970628B1 (en) Graphical user interface for performing deformations
JP2010257317A (en) Layout design support system, method and program for controlling the same
JP2005322235A (en) Deformation of computer using design model (cad)
US9892485B2 (en) System and method for mesh distance based geometry deformation
JP2008186133A (en) Free shape deformation system using center-of-gravity coordinate to protruding polyhedron
US8279239B1 (en) Graphical user interface for performing deformations
US10891780B2 (en) Methods and systems for viewing a three-dimensional (3D) virtual object
US20140347373A1 (en) Method of generating terrain model and device using the same
JP4403277B2 (en) Free-form deformation system using barycentric coordinates for convex polyhedron
US7330183B1 (en) Techniques for projecting data maps
JPH0973559A (en) Morphing editing device
De Amicis et al. Parametric interaction for cad application in virtual reality environment
WO2004053741A1 (en) Method of calculating intersecions between triangle and line segment and progam therefor
JPH1185432A (en) Window display device
KR100679289B1 (en) System of processing image for vector pixel
JP3391657B2 (en) Inter-object distance calculation device and inter-object distance calculation program storage medium
JP3071495B2 (en) Object model editing device
JP4479957B2 (en) Curved surface subdivision device
Lvovich et al. Software Development for the Design of Stretch Ceilings

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100414

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100921