JPH0877212A - Spatial figure arranging and displaying method - Google Patents

Spatial figure arranging and displaying method

Info

Publication number
JPH0877212A
JPH0877212A JP6212479A JP21247994A JPH0877212A JP H0877212 A JPH0877212 A JP H0877212A JP 6212479 A JP6212479 A JP 6212479A JP 21247994 A JP21247994 A JP 21247994A JP H0877212 A JPH0877212 A JP H0877212A
Authority
JP
Japan
Prior art keywords
data
spatial
shape
figures
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6212479A
Other languages
Japanese (ja)
Other versions
JP2713180B2 (en
Inventor
Izumi Kono
泉 河野
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP6212479A priority Critical patent/JP2713180B2/en
Publication of JPH0877212A publication Critical patent/JPH0877212A/en
Application granted granted Critical
Publication of JP2713180B2 publication Critical patent/JP2713180B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

PURPOSE: To lighten the input burden on an operator by conceptually specifying the relation among plural spatial figures. CONSTITUTION: When shape and position data on the spatial figures and their relation are inputted while related with each other, a relation analysis part 14 makes the relation among the inputted spatial figures correspond to a shape processing and a position processing by using a relational arrangement correspondence table stored in a relational arrangement correspondence table recording part 15. A shape date determination part 16 determines the shapes of the spatial figures through the shape processing. A position data determination part 17 determines the positions of the spatial figures through a spatial processing. A display data generation part 18 displays the spatial figures whose shape and positions are determined on a display unit 19 as spatial figures from an instructed viewpoint.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は空間図形配置表示装置に
関し、特に空間図形と空間図形の間にある関係を入力す
ることによって空間図形の形状と位置を決定でき、その
空間図形を利用者が空間上の自由な視点から観察するこ
とができる装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a spatial figure layout display device, and in particular, the shape and position of a spatial figure can be determined by inputting a relationship between the spatial figures and the spatial figure can be determined by a user. The present invention relates to a device that allows observation from a free viewpoint in space.

【0002】[0002]

【従来の技術】従来の空間図形配置表示装置は、コンピ
ュータ画面上に複数の空間図形を表示するためには、座
標データや形状データをキーボードやマウスなどの入力
装置から、一つづつ入力する必要があった。さらに、あ
る空間図形と何らかの関係を持った空間図形を表示する
場合、作業者は、その関係を空間上の配置に反映させる
ために座標と形状を計算し、それぞれの空間図形ごとに
その値を入力しなければならなかった。
2. Description of the Related Art In a conventional spatial figure layout display device, in order to display a plurality of spatial figures on a computer screen, it is necessary to input coordinate data and shape data one by one from an input device such as a keyboard and a mouse. was there. Furthermore, when displaying a spatial figure having some relationship with a certain spatial figure, the operator calculates the coordinates and shape in order to reflect the relationship in the spatial arrangement, and the value is calculated for each spatial figure. I had to type.

【0003】一方、2次元の図形に関して、特開平04
ー097494公報の明細書に詳述されているように、
入力された部品間の位置関係を、あらかじめ指定した指
示に従って再配置する手段を備える構造物再配置表示方
式が提案されている。この方式により、利用者は概念的
な指示を与えるだけで、入力された構成物の部品間の位
置関係を、一定距離で重ねたり、重ならないようにした
り、あるいはちょうど接合するように再配置することが
できる。
On the other hand, regarding a two-dimensional figure, Japanese Patent Application Laid-Open No. 04-04
As described in detail in the specification of 097494,
There has been proposed a structure rearrangement display method including means for rearranging the positional relationship between input parts according to a predesignated instruction. With this method, the user simply gives a conceptual instruction and repositions the positional relationship between the components of the input components so that they overlap at a certain distance, do not overlap, or just join. be able to.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の空間図
形配置表示装置は、上述の公報に示された2次元図形の
部品同士の位置関係の再配置におけるような概念的な指
示が行えず、複数の空間図形の間にある様々な関係を、
座標位置や形状に変換してから入力する必要があったの
で、作業者にとって変換作業の負担が大きいという欠点
があった。
The above-mentioned conventional spatial figure layout display device cannot give a conceptual instruction like the relocation of the positional relationship between the parts of the two-dimensional figure shown in the above publication. The various relationships between multiple space figures,
Since it is necessary to input after converting to the coordinate position and shape, there is a drawback that the conversion work is heavy for the operator.

【0005】本発明の目的は、複数の空間図形の関係の
指定が2次元の図形の場合と同様に概念的に行え、関係
が反映された空間図形を利用者が自由な視点から観察す
ることができる装置を提供することにある。
An object of the present invention is to conceptually specify the relationship between a plurality of spatial figures, as in the case of a two-dimensional figure, so that the user can observe the spatial figure reflecting the relationship from a free viewpoint. It is to provide a device capable of

【0006】[0006]

【課題を解決するための手段】第1の発明は、予め空間
図形間の関係ごとに前記空間図形の形状処理および位置
処理を定義した関係配置対応表を備え、入力された複数
の空間図形の前記関係に対応する前記関係配置対応表に
おける前記形状処理および前記位置処理に基き該複数の
空間図形の形状および位置を決定し該形状および該位置
が決定された該複数の空間図形を指定された視点から見
た場合の空間図形として表示する空間図形配置表示手段
を備えたことを特徴とする。
According to a first aspect of the present invention, there is provided a relational arrangement correspondence table that defines shape processing and position processing of the spatial figures in advance for each relationship between the spatial figures, and a plurality of input spatial figures are provided. Based on the shape processing and the position processing in the relationship arrangement correspondence table corresponding to the relationship, the shapes and positions of the plurality of spatial figures are determined, and the plurality of spatial figures whose shapes and positions are determined are designated. It is characterized in that it is provided with a space figure arrangement display means for displaying as a space figure when viewed from a viewpoint.

【0007】また、第2の発明は、複数の空間図形の形
状データと該複数の空間図形の位置データ及び該複数の
空間図形同士の関係を示す関係データを入力する入力装
置と、入力された前記複数の空間図形の前記形状データ
と前記位置データ及び前記関係データを表にまとめて出
力する入力データ処理部と、前記関係データと対応づけ
て空間図形の形状処理及び位置処理を記述した関係配置
対応表を記憶した関係配置対応表記憶部と、前記関係配
置対応表から前記入力データ処理部から出力された前記
関係データに対応する前記形状処理および前記位置処理
を出力する関係解析部と、該関係解析部から出力された
前記形状処理に前記複数の空間図形の前記形状データを
入力することにより該複数の空間図形の形状を決定する
形状データ決定部と、前記関係解析部から出力された前
記位置処理に前記複数の空間図形の前記位置データを入
力することにより該複数の空間図形の表示位置を決定す
る位置データ決定部と、視点となる空間位置を検出する
空間位置検出部と、前記位置データ決定部から出力され
た前記表示位置にあって前記形状データ決定部から出力
された前記形状を有する前記複数の空間図形について前
記空間位置方向から見た表示データを生成する表示デー
タ生成部と、前記表示データを表示する表示器を備える
ことを特徴とする。
A second aspect of the present invention is an input device for inputting shape data of a plurality of space figures, position data of the plurality of space figures, and relationship data indicating a relationship between the plurality of space figures. An input data processing unit that collectively outputs the shape data of the plurality of spatial figures, the position data, and the relational data in a table, and a relational arrangement that describes shape processing and position processing of the spatial figure in association with the relational data. A relational arrangement correspondence table storage unit that stores a correspondence table; a relational analysis unit that outputs the shape processing and the position processing corresponding to the relational data output from the input data processing unit from the relational arrangement correspondence table; A shape data determination unit that determines the shapes of the plurality of spatial figures by inputting the shape data of the plurality of spatial figures into the shape processing output from the relationship analysis unit. , A position data determination unit that determines display positions of the plurality of spatial figures by inputting the position data of the plurality of spatial figures to the position processing output from the relationship analysis unit, and a spatial position that is a viewpoint. A spatial position detection unit for detecting, and a display of the plurality of spatial figures having the shape output from the shape data determination unit at the display position output from the position data determination unit viewed from the spatial position direction. A display data generation unit for generating data and a display device for displaying the display data are provided.

【0008】[0008]

【作用】本発明の構成によれば、作業者が、空間図形の
形状および位置のデータと基準の図形番号との関係を予
め定義された概念で入力すると、関係ごとに空間図形の
形状処理、位置処理を定義した関係配置対応表を用い
て、入力された空間図形の形状と空間図形の位置を決定
し、基準の空間図形との関係が反映された空間図形を自
由な視点から見た場合の空間図形として表示する。
According to the configuration of the present invention, when the operator inputs the relation between the shape and position data of the spatial figure and the reference figure number by a predefined concept, the spatial figure shape processing for each relation is performed. When the shape of the input spatial figure and the position of the spatial figure are determined using the relational layout correspondence table that defines the position processing, and the spatial figure that reflects the relationship with the reference spatial figure is viewed from a free viewpoint. Display as a space figure.

【0009】[0009]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0010】図1は本発明の一実施例を示すブロック
図、図2は、図1の入力データ処理部で生成される空間
図形データの構成例を示す図、図3は図1の関係解析部
の動作を示すフローチャート、図4は関係解析部で生成
されるデータ構成例を示す図、図5は関係解析部で使用
する関係配置対応表の構成例を示す図、図6は図1の形
状データ決定部の動作フローチャート、図7は図1の位
置データ決定部の動作フローチャート、図8は本発明の
動作説明図、図9は空間図形データの具体例を示す図、
図10は関係配置対応表の具体例を示す図、図11は本
発明の他の動作説明図、図12は関係解析部で生成され
るデータ構成の具体例を示す図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing a configuration example of spatial graphic data generated by the input data processing unit of FIG. 1, and FIG. 3 is a relational analysis of FIG. FIG. 4 is a diagram showing an example of the data structure generated by the relationship analysis unit, FIG. 5 is a diagram showing an example of the structure of a relational allocation correspondence table used by the relationship analysis unit, and FIG. An operation flowchart of the shape data determination unit, FIG. 7 is an operation flowchart of the position data determination unit of FIG. 1, FIG. 8 is an operation explanatory diagram of the present invention, FIG. 9 is a diagram showing a specific example of spatial graphic data,
FIG. 10 is a diagram showing a specific example of the relational allocation correspondence table, FIG. 11 is another operation explanatory diagram of the present invention, and FIG. 12 is a diagram showing a specific example of the data configuration generated by the relational analysis unit.

【0011】図1において、入力装置11では、空間図
形の形状データと位置データ、空間図形同士の関係の入
力や、データ記憶部12に記憶しているファイルを呼び
出すための入力を行う。入力データ処理部13では、入
力装置11により入力されたデータおよびデータ記憶部
12のファイルから、図2に示すような構造を持つ空間
図形データを生成する。空間図形データは、データ番号
と、形状データと、位置データと、関係データと、関係
の基準となる空間図形のデータ番号を持つ。関係の基準
となる空間図形のデータ番号は、対象の空間図形のデー
タ番号よりも小さい値が入力されている。形状データA
は、例えば、空間図形を構成する点の座標データおよ
び、複数の点を結んで形成する面データの情報が記述さ
れている。位置データBは、例えば、空間図形の3次元
位置を示す座標データが記述されている。関係データC
は、対象の空間図形が基準の空間図形との間に、どのよ
うな関係にあるかを示すもので、たとえば、並列や整
列、重なり、あるいは対立や包含などの直接空間情報と
は関係のない概念的な関係が入力できる。2つの空間図
形の間に関係がない場合は、無関係という一つのデータ
となる。基準の空間図形のデータ番号Dは、データ番号
の数字が記述されている。
In FIG. 1, the input device 11 inputs the shape data and position data of the space figure, the relationship between the space figures, and the input for calling the file stored in the data storage unit 12. The input data processing unit 13 generates spatial graphic data having the structure shown in FIG. 2 from the data input by the input device 11 and the file in the data storage unit 12. The spatial figure data has a data number, shape data, position data, relational data, and a data number of the spatial figure which is a reference of the relation. As the data number of the spatial figure which is the reference of the relationship, a value smaller than the data number of the target spatial figure is input. Shape data A
Describes, for example, coordinate data of points forming a space figure and information of surface data formed by connecting a plurality of points. The position data B describes, for example, coordinate data indicating the three-dimensional position of the spatial figure. Relational data C
Indicates the relationship between the target spatial figure and the reference spatial figure, and is not related to direct spatial information such as parallelism, alignment, overlap, or conflict or inclusion. You can enter a conceptual relationship. If there is no relationship between the two spatial figures, the data is one that is irrelevant. The data number D of the reference space figure describes the number of the data number.

【0012】関係解析部14では、入力データ処理部1
3から出力された空間図形データに応じて、関係データ
および基準の空間図形データ番号が同じ空間図形の形状
処理と位置処理の関数を求める。以下図3に従って動作
を説明する。
In the relation analysis unit 14, the input data processing unit 1
In accordance with the spatial figure data output from 3, the relational data and the function of the shape processing and the position processing of the spatial figure having the same reference spatial figure data number are obtained. The operation will be described below with reference to FIG.

【0013】関係データおよび基準の空間図形データ番
号について全検索を行い、両方のデータが同じ空間図形
のデータ番号に対して、要素番号を順番につけていき、
全要素数を求める(300)。図4に示すように、例え
ば関係データcをもち、基準の図形データ番号dをもつ
空間図形のすべてに、順番に要素番号がつけられ、要素
数kが求められている。
A full search is performed for the relational data and the reference spatial figure data number, and the element numbers are sequentially assigned to the data numbers of the same spatial figure for both data.
The total number of elements is calculated (300). As shown in FIG. 4, for example, all the space figures having the relational data c and the reference figure data number d are sequentially given element numbers, and the number of elements k is obtained.

【0014】次にm=1として(301)、データ番号
mの関係データcと同じものが、関係配置対応表記憶部
15に記憶している関係配置対応表にあるか否かを判断
する(302)。関係配置対応表のデータ構造は、図5
に示すように、関係に対して、形状処理、位置処理が記
述されている。
Next, m = 1 is set (301), and it is determined whether or not the same relational data c having the data number m is in the relational arrangement correspondence table stored in the relational arrangement correspondence table storage unit 15 ( 302). The data structure of the relationship arrangement correspondence table is shown in FIG.
As shown in, the shape processing and the position processing are described for the relationship.

【0015】形状処理は、空間図形を変形、拡大、縮小
するもので、対象の空間図形の形状データApと、基準
の空間図形の形状データAqと、要素番号iと、要素数
kを変数とした関数Fで記述されている。
The shape processing is for transforming, enlarging, and reducing a spatial figure. The shape data Ap of the target spatial figure, the shape data Aq of the reference spatial figure, the element number i, and the number of elements k are variables. It is described by the function F.

【0016】位置処理は、空間図形が決められた配置に
なるように、座標を計算するもので、対象の空間図形の
位置データBpと、基準の空間図形の位置データBq
と、要素番号iと、要素数kを変数とした関数Gで記述
されている。
The position processing is to calculate the coordinates so that the spatial figure has a predetermined arrangement. The position data Bp of the target spatial figure and the position data Bq of the reference spatial figure are calculated.
And the function number G having the element number i and the element number k as variables.

【0017】関係配置対応表には、無関係という関係デ
ータの場合、形状処理、位置処理ともになしと記述され
ている。
In the relational arrangement correspondence table, in the case of relational data that is irrelevant, it is described that neither shape processing nor position processing is performed.

【0018】上記302の判断において、データ番号m
の関係データcと同じものが関係配置対応表にある場
合、対応する形状処理の関数に、対象の空間図形の形状
データと、基準の空間図形の形状データと、要素番号
と、要素数を代入し、データ番号mの空間図形に対する
形状処理を決定する(303)。
In the judgment of 302, the data number m
When the same relational data c of No. 1 is present in the relational arrangement correspondence table, the shape data of the target spatial figure, the shape data of the reference spatial figure, the element number, and the number of elements are substituted into the corresponding shape processing function. Then, the shape process for the spatial figure with the data number m is determined (303).

【0019】つぎに、対応する位置処理の関数に、対象
の空間図形の位置データと、基準の空間図形の位置デー
タと、要素番号と、要素数を代入して、データ番号mの
空間図形に対する位置処理を決定する(304)。
Next, by substituting the position data of the target space figure, the position data of the reference space figure, the element number, and the number of elements into the corresponding position processing function, for the space figure of data number m. Position processing is determined (304).

【0020】上記302の判断において、データ番号m
の関係データcと同じものが関係配置対応表にない場
合、データ番号mの空間図形に対して、形状処理なしと
決定し(305)、位置処理なしと決定する(30
6)。
In the judgment of 302, the data number m
If the same relational data c of No. does not exist in the relational arrangement correspondence table, it is determined that there is no shape processing for the spatial figure of data number m (305), and no position processing is performed (30).
6).

【0021】上記304または、上記306の処理が終
わった後、データ番号m+1がデータ番号の総数nと等
しいかどうかの判断を行う(307)。等しくない場合
は、m=m+1として(308)、上記302の判断に
戻る。上記307の判断において、データ番号m+1が
nと等しい場合、処理を終わる。
After the processing of 304 or 306 is completed, it is judged whether the data number m + 1 is equal to the total number n of data numbers (307). If they are not equal, m = m + 1 is set (308), and the process returns to the determination of 302 above. When the data number m + 1 is equal to n in the determination of 307, the process ends.

【0022】上記303および305で決定された形状
処理は、形状データ決定部16へ出力され、上記304
および上記306で決定された位置処理は、位置データ
決定部17へ出力される。
The shape processing determined in 303 and 305 above is output to the shape data determining section 16 and the above-mentioned 304
And the position processing determined in 306 above is output to the position data determination unit 17.

【0023】形状データ決定部16では、関係解析部1
4から出力されたデータに応じて、空間図形の形状処理
を行う。図6を用いて以下に動作説明を行う。
In the shape data determination unit 16, the relationship analysis unit 1
The shape processing of the spatial figure is performed according to the data output from 4. The operation will be described below with reference to FIG.

【0024】はじめにm=1として(600)、データ
番号mに形状処理があるか否かを判断する(601)。
ある場合は、データ番号mの形状データに対して、形状
処理を行い、データ番号mの形状データを変更する(6
02)。
First, m = 1 is set (600), and it is determined whether or not there is a shape process for the data number m (601).
If there is any, shape processing is performed on the shape data of data number m to change the shape data of data number m (6
02).

【0025】上記601の判断において、形状処理がな
い場合、または上記602の処理が終わった後、データ
番号m+1がデータ番号の総数nと等しいかどうかの判
断を行う(603)。等しくない場合は、m=m+1と
して(604)、上記601の判断に戻る。上記603
の判断において、データ番号m+1がnと等しい場合処
理を終わる。
When there is no shape processing in the judgment of 601 or after the processing of 602 is finished, it is judged whether the data number m + 1 is equal to the total number n of data numbers (603). If they are not equal, m = m + 1 is set (604), and the process returns to the judgment of 601. 603 above
If the data number m + 1 is equal to n in the above judgment, the processing is ended.

【0026】位置データ決定部17では、関係解析部1
4から出力されたデータに応じて、空間図形の位置処理
を行う。図7を用いて以下に動作説明を行う。
In the position data determination unit 17, the relation analysis unit 1
The position processing of the spatial figure is performed according to the data output from 4. The operation will be described below with reference to FIG. 7.

【0027】はじめにm=1として(700)、データ
番号mに位置処理があるか否かを判断する(701)。
ある場合は、データ番号mの位置データに対して、位置
処理を行い、データ番号mの位置データを変更する(7
02)。上記701の判断において、位置処理がない場
合、または上記702の処理が終わった後、データ番号
m+1がデータ番号の総数nと等しいかどうかの判断を
行う(703)。等しくない場合は、m=m+1として
(704)、上記701の判断に戻る。上記703の判
断において、データ番号m+1がnと等しい場合処理を
終わる。
First, m = 1 is set (700), and it is determined whether the data number m has position processing (701).
If there is, position processing is performed on the position data of data number m, and the position data of data number m is changed (7
02). In the judgment of 701, if there is no position processing or after the processing of 702 is finished, it is judged whether the data number m + 1 is equal to the total number n of data numbers (703). If they are not equal, m = m + 1 is set (704), and the process returns to the determination of 701. When the data number m + 1 is equal to n in the judgment of 703, the processing is ended.

【0028】次に、一実施例として、関係データが“包
含関係”と記述されている場合に、空間図形に形状処
理、および位置処理が行われて、空間的に配置される流
れを説明する。
Next, as one embodiment, a flow in which spatial data is subjected to shape processing and position processing and spatially arranged when the relational data is described as "inclusion relation" will be described. .

【0029】データ番号rの空間図形は、図8(a)に
示すような直方体で、それぞれ8つの点の座標と6つの
面の形状データ、および空間の位置座標を示す位置デー
タを持ち、データ番号mの空間図形を基準として、包含
関係という関係データを持つ。データ番号mの空間図形
も、図8(a)に示すような直方体で、それぞれ8つの
点の座標と6つの面の形状データ、および空間の位置座
標を示す位置データ持つ。入力データ処理部13で生成
されるデータ番号rとデータ番号mの空間図形データ構
造は、図9のようになっている。図10に示すように、
関係配置対応表で、“包含関係”に対応する形状処理
は、要素数1の場合、対象の空間図形の大きさを、比較
の空間図形の大きさの3分の1にする処理が記述されて
いるものとする。関係解析部14は、関係配置対応表を
見て、データ番号rの空間図形に対する形状処理を決定
する。データ番号rの空間図形を構成する点の中の最大
距離を求める式を、形状データArを用いて、f(A
r)と表し、データ番号mの空間図形を構成する点の中
の最大距離を求める式を、形状データAmを用いて、f
(Am)と表すと、形状処理は、データ番号rの空間図
形を構成する点1から点6の、x座標、y座標、z座標
に対して、 xr={f(Am)/3f(Ar)}xr yr={f(Am)/3f(Ar)}yr zr={f(Am)/3f(Ar)}zr となる。この処理が、関係解析部14から形状データ決
定部16へ出力され、形状決定部16では、データ番号
mおよびrの形状データを用いて、データ番号rの形状
データを計算し、データを変更する。
The space figure with the data number r is a rectangular parallelepiped as shown in FIG. 8A, which has coordinates of 8 points, shape data of 6 faces, and position data showing position coordinates of space. Based on the space figure with number m, it has relational data called inclusion relation. The space figure of data number m is also a rectangular parallelepiped as shown in FIG. 8A, and has coordinates of eight points, shape data of six faces, and position data indicating position coordinates of space. The spatial figure data structure of the data number r and the data number m generated by the input data processing unit 13 is as shown in FIG. As shown in FIG.
In the relational arrangement correspondence table, the shape process corresponding to the “inclusion relation” describes the process of reducing the size of the target spatial figure to 1/3 of the size of the comparative spatial figure when the number of elements is 1. It is assumed that The relation analysis unit 14 looks at the relational arrangement correspondence table and determines the shape process for the space figure with the data number r. The shape data Ar is used to calculate an expression for obtaining the maximum distance among the points forming the space figure of the data number r using f (A
r), an equation for obtaining the maximum distance among the points forming the space figure with the data number m is calculated using the shape data Am and f
When expressed as (Am), the shape process is performed by xr = {f (Am) / 3f (Ar )} Xr yr = {f (Am) / 3f (Ar)} yr zr = {f (Am) / 3f (Ar)} zr. This processing is output from the relationship analysis unit 14 to the shape data determination unit 16, and the shape determination unit 16 calculates the shape data of the data number r using the shape data of the data numbers m and r and changes the data. .

【0030】また、図10に示すように、関係配置対応
表で、“包含関係”に対応する位置処理は、要素数1の
場合、対象の空間図形の座標位置を、基準の空間図形の
座標位置と同じにする処理が記述されている。関係解析
部14は、関係配置対応表を見て、データ番号rの空間
図形に対する位置処理を決定する。位置処理は、データ
番号rの位置データBr(Xr、Yr、Zr)に対し
て、 Xr=Xm Yr=Ym Zr=Zm となる。この処理が、関係解析部14から位置データ決
定部17へ出力され、位置決定部17では、データ番号
mの位置データを用いて、データ番号rの位置データを
計算し、データを変更する。
Further, as shown in FIG. 10, the position processing corresponding to "inclusion relation" in the relational arrangement correspondence table is such that, when the number of elements is 1, the coordinate position of the target space figure is the coordinate of the reference space figure. The processing to make it the same as the position is described. The relationship analysis unit 14 looks at the relationship arrangement correspondence table and determines the position processing for the space figure with the data number r. The position process is as follows: Xr = Xm Yr = Ym Zr = Zm for the position data Br (Xr, Yr, Zr) with the data number r. This processing is output from the relationship analysis unit 14 to the position data determination unit 17, and the position determination unit 17 calculates the position data of the data number r using the position data of the data number m and changes the data.

【0031】これらの処理によって、図8(b)に示す
ように、データ番号rの空間図形がデータ番号mの空間
図形の内部へ隠れた配置をとり、包含関係が空間配置と
して表現される。
By these processes, as shown in FIG. 8B, the spatial figure with the data number r is hidden inside the spatial figure with the data number m, and the inclusion relation is expressed as the spatial arrangement.

【0032】また別の実施例として、関係データが“整
列関係”と記述されている場合に、複数の空間図形に処
理が行われて、空間的に配置される流れを説明する。
As another embodiment, a flow in which a plurality of spatial figures are processed and spatially arranged when the relational data is described as "alignment relation" will be described.

【0033】データ番号e、h、j、o、wの空間図形
は、それぞれ形状データと位置データを持ち図11
(a)のような空間配置をとっており、データ番号eの
図形が基準の空間図形である。入力データ処理部13か
ら出力されたデータにより、関係解析部で、図12に示
すように要素番号と全要素数が求められる。関係配置対
応表では、整列関係に対して、形状処理はなしで、位置
処理は、要素数kで要素番号iのときに、各空間図形の
位置データBi(Xi,Yi,Zi)に対して、 Xi=Xe+(i/k)(Xk−Xe) Yi=Ye+(i/k)(Yk−Ye) Zi=Ze+(i/k)(Zk−Ze) と対応づけられている。この処理が、関係解析部14か
ら位置データ決定部17へ出力され、位置決定部17で
は、データ番号eの位置データBe(0,0,0)およ
び要素番号がkであるデータ番号wの位置データBw
(12,12,12,)を用いて、データ番号h、j、
oの位置データを計算し、Bh(3,3,3)、Bj
(6,6,6)、Bo(9,9,9)に位置データを変
更する。
The spatial figures with data numbers e, h, j, o, and w have shape data and position data, respectively.
The spatial arrangement as shown in (a) is taken, and the figure with the data number e is the reference spatial figure. From the data output from the input data processing unit 13, the relation analysis unit obtains the element number and the total number of elements as shown in FIG. In the relationship arrangement correspondence table, no shape processing is performed on the alignment relationship, and position processing is performed on the position data Bi (Xi, Yi, Zi) of each space figure when the number of elements is k and the element number is i. Xi = Xe + (i / k) (Xk-Xe) Yi = Ye + (i / k) (Yk-Ye) Zi = Ze + (i / k) (Zk-Ze). This processing is output from the relationship analysis unit 14 to the position data determination unit 17, and in the position determination unit 17, the position data Be (0,0,0) of the data number e and the position of the data number w whose element number is k. Data Bw
Using (12, 12, 12,), the data numbers h, j,
The position data of o is calculated, and Bh (3,3,3), Bj
The position data is changed to (6, 6, 6) and Bo (9, 9, 9).

【0034】これらの処理によって、図11(b)に示
すように、データ番号e、h、j、o、wの空間図形
は、整列した空間配置をとる。
By these processes, as shown in FIG. 11 (b), the spatial figures with the data numbers e, h, j, o, and w have an aligned spatial arrangement.

【0035】表示データ生成部18では、位置データ決
定部17から出力された座標にあり、形状データ決定部
16から出力された空間図形の形状を、公知のグラフィ
ックス技術により空間位置検出部10から出力された空
間位置方向から見た表示データを生成し、表示器19に
表示する。
In the display data generation unit 18, the shape of the spatial figure at the coordinates output from the position data determination unit 17 and output from the shape data determination unit 16 is output from the spatial position detection unit 10 by a known graphics technique. The output display data viewed from the spatial position direction is generated and displayed on the display unit 19.

【0036】上述したように、本発明により、複数の空
間図形の関係の指定が2次元の図形の場合と同様に概念
的に行え、従来の図形の座標位置の計算や形状変換に要
した作業者の負担を大幅に軽減することが可能なにな
る。
As described above, according to the present invention, the relationship between a plurality of spatial figures can be conceptually specified in the same manner as in the case of a two-dimensional figure, and the work required for the conventional calculation of the coordinate position of the figure and the shape conversion. It is possible to significantly reduce the burden on the person.

【0037】[0037]

【発明の効果】以上説明したように、本発明の空間図形
配置表示装置は、空間図形の形状および位置のデータと
基準の空間図形との関係を概念的に入力するだけで、そ
の関係が反映された空間図形を表示することができ、作
業者の入力作業における負担が大幅に軽減されるという
効果を有している。
As described above, the spatial figure layout display device of the present invention reflects the relationship by simply inputting the relationship between the shape and position data of the spatial figure and the reference spatial figure. It is possible to display the created space figure, and it is possible to significantly reduce the burden on the operator in the input work.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の入力データ処理部で生成される空間図形
データの構成例を示す図である。
FIG. 2 is a diagram showing a configuration example of spatial graphic data generated by an input data processing unit of FIG.

【図3】図1の関係解析部の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing the operation of the relationship analysis unit of FIG.

【図4】関係解析部で生成されるデータ構成例を示す図
である。
FIG. 4 is a diagram showing an example of a data structure generated by a relationship analysis unit.

【図5】関係解析部で使用する関係配置対応表の構成例
を示す図である。
FIG. 5 is a diagram showing a configuration example of a relational arrangement correspondence table used in a relational analysis unit.

【図6】図1の形状データ決定部の動作フローチャート
である。
FIG. 6 is an operation flowchart of a shape data determination unit in FIG.

【図7】図1の位置データ決定部の動作フローチャート
である。
FIG. 7 is an operation flowchart of the position data determination unit in FIG.

【図8】本発明の動作説明図である。FIG. 8 is an operation explanatory diagram of the present invention.

【図9】本発明の空間図形データの具体例を示す図であ
る。
FIG. 9 is a diagram showing a specific example of spatial graphic data of the present invention.

【図10】本発明の関係配置対応表の具体例を示す図で
ある。
FIG. 10 is a diagram showing a specific example of a relational arrangement correspondence table of the present invention.

【図11】本発明の他の動作説明である。FIG. 11 is another explanation of the operation of the present invention.

【図12】関係解析部で生成されるデータ構成の具体例
を示す図である。
FIG. 12 is a diagram showing a specific example of a data structure generated by a relationship analysis unit.

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

11 入力装置 12 データ記憶部 13 入力データ処理部 14 関係解析部 15 関係配置対応表記憶部 16 形状データ決定部 17 位置データ決定部 18 表示データ生成部 19 表示器 10 空間位置検出部 11 input device 12 data storage unit 13 input data processing unit 14 relation analysis unit 15 relational arrangement correspondence table storage unit 16 shape data determination unit 17 position data determination unit 18 display data generation unit 19 indicator 10 spatial position detection unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 予め空間図形間の関係ごとに前記空間図
形の形状処理および位置処理を定義した関係配置対応表
を備え、入力された複数の空間図形の前記関係に対応す
る前記関係配置対応表における前記形状処理および前記
位置処理に基き該複数の空間図形の形状および位置を決
定し該形状および該位置が決定された該複数の空間図形
を指定された視点から見た場合の空間図形として表示す
る空間図形配置表示手段を備えたことを特徴とする空間
図形配置表示装置。
1. A relationship arrangement correspondence table that defines in advance shape processing and position processing of the space figures for each relationship between the space figures, and the relationship arrangement correspondence table corresponding to the relationships of a plurality of input space figures. The shapes and positions of the plurality of spatial figures are determined based on the shape processing and the position processing in step S3, and the plurality of spatial figures whose shapes and positions are determined are displayed as spatial figures when viewed from a specified viewpoint. A spatial graphic layout display device, comprising:
【請求項2】 複数の空間図形の形状データと該複数の
空間図形の位置データ及び該複数の空間図形同士の関係
を示す関係データを入力する入力装置と、入力された前
記複数の空間図形の前記形状データと前記位置データ及
び前記関係データを表にまとめて出力する入力データ処
理部と、前記関係データと対応づけて空間図形の形状処
理及び位置処理を記述した関係配置対応表を記憶した関
係配置対応表記憶部と、前記関係配置対応表から前記入
力データ処理部から出力された前記関係データに対応す
る前記形状処理および前記位置処理を出力する関係解析
部と、該関係解析部から出力された前記形状処理に前記
複数の空間図形の前記形状データを入力することにより
該複数の空間図形の形状を決定する形状データ決定部
と、前記関係解析部から出力された前記位置処理に前記
複数の空間図形の前記位置データを入力することにより
該複数の空間図形の表示位置を決定する位置データ決定
部と、視点となる空間位置を検出する空間位置検出部
と、前記位置データ決定部から出力された前記表示位置
にあって前記形状データ決定部から出力された前記形状
を有する前記複数の空間図形について前記空間位置方向
から見た表示データを生成する表示データ生成部と、前
記表示データを表示する表示器を備えることを特徴とす
る空間図形配置表示装置。
2. An input device for inputting shape data of a plurality of spatial figures, position data of the plurality of spatial figures, and relational data indicating a relationship between the plurality of spatial figures, and a plurality of input spatial figures of the plurality of spatial figures. An input data processing unit that collectively outputs the shape data, the position data, and the relational data in a table, and a relation that stores a relational arrangement correspondence table that describes the shape process and the position process of the spatial figure in association with the relational data. An arrangement correspondence table storage unit, a relation analysis unit that outputs the shape processing and the position processing corresponding to the relation data output from the input data processing unit from the relation arrangement correspondence table, and an output from the relation analysis unit. A shape data determining unit that determines the shapes of the plurality of spatial figures by inputting the shape data of the plurality of spatial figures into the shape processing; A position data determination unit that determines the display positions of the plurality of spatial figures by inputting the position data of the plurality of spatial figures to the position processing that is output from the position processing, and a spatial position detection that detects the spatial position of the viewpoint. And a display for generating display data of the plurality of spatial figures having the shape output from the shape data determination unit at the display position output from the position data determination unit as viewed from the spatial position direction. A spatial graphic layout display device comprising a data generator and a display for displaying the display data.
JP6212479A 1994-09-06 1994-09-06 Spatial figure arrangement display Expired - Lifetime JP2713180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6212479A JP2713180B2 (en) 1994-09-06 1994-09-06 Spatial figure arrangement display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6212479A JP2713180B2 (en) 1994-09-06 1994-09-06 Spatial figure arrangement display

Publications (2)

Publication Number Publication Date
JPH0877212A true JPH0877212A (en) 1996-03-22
JP2713180B2 JP2713180B2 (en) 1998-02-16

Family

ID=16623333

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6212479A Expired - Lifetime JP2713180B2 (en) 1994-09-06 1994-09-06 Spatial figure arrangement display

Country Status (1)

Country Link
JP (1) JP2713180B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04361373A (en) * 1991-06-07 1992-12-14 Sekisui Chem Co Ltd Method and device for changing graphic at cad/cam system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04361373A (en) * 1991-06-07 1992-12-14 Sekisui Chem Co Ltd Method and device for changing graphic at cad/cam system

Also Published As

Publication number Publication date
JP2713180B2 (en) 1998-02-16

Similar Documents

Publication Publication Date Title
US7676348B2 (en) Layout design support system, method, and program
JP3275920B2 (en) Scientific figure display method
JP3359401B2 (en) Figure editing apparatus and method
JP2853355B2 (en) 3D graphic data generator
EP0137856B1 (en) Method of displaying image
JP3501456B2 (en) 3D figure editing device
JPH0877212A (en) Spatial figure arranging and displaying method
US20080059879A1 (en) Combined sectional view producing method and apparatus
JPH07220115A (en) Three-dimensional cad system
JP2701056B2 (en) Secondary representation method for three-dimensional objects
JP2001005984A (en) Device and method for displaying multidimensional graph
JPH0697417B2 (en) Display method of cutting part of material in automatic programming for NC
JP2931421B2 (en) Simulation equipment
JPH11213178A (en) Three-dimensional data display and recording medium recorded with three-dimensional data transformation program
JPS62145375A (en) Three-dimensional display device
JPH03105568A (en) 2-dimensional/3-dimensional unified cad system
JPS59194258A (en) Graph processor
JP3268667B2 (en) Interactive polygon selection device
JP3476886B2 (en) Object operation device in virtual space
JPH06250777A (en) Three-dimensional position indicating device
JPS63124173A (en) Input device for 3-dimensional coordinates
JPH0368077A (en) Three-dimensional graphic display device
KR0171156B1 (en) Three-dimensional image data arithmetic unit
JPS61170866A (en) Drawing system of cad
JPH08272842A (en) Flow chart editing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970930