JPH0370078A - Display device for line picture data - Google Patents
Display device for line picture dataInfo
- Publication number
- JPH0370078A JPH0370078A JP1205377A JP20537789A JPH0370078A JP H0370078 A JPH0370078 A JP H0370078A JP 1205377 A JP1205377 A JP 1205377A JP 20537789 A JP20537789 A JP 20537789A JP H0370078 A JPH0370078 A JP H0370078A
- Authority
- JP
- Japan
- Prior art keywords
- line drawing
- drawing data
- speed display
- data
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 16
- 238000013500 data storage Methods 0.000 claims description 15
- 238000000034 method Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 6
- 239000000470 constituent Substances 0.000 description 4
- 230000010354 integration Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〈産業上の利用分野〉
この発明は、CADシステム等によって作成された線画
データを高速に表示する線画データ表示装置に関する。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a line drawing data display device that displays line drawing data created by a CAD system or the like at high speed.
〈従来の技術〉
従来、CADシステム等によって作成された線画データ
が表現する図形の形状を確認する場合には、作成された
線画データに基づいて線画を表示する線画表示システム
を用いて元の線画データに基づく線画を表示する方法が
取られている。<Prior art> Conventionally, when confirming the shape of a figure expressed by line drawing data created by a CAD system, etc., a line drawing display system that displays line drawings based on the created line drawing data is used to display the original line drawing. A method of displaying line drawings based on data has been adopted.
〈発明が解決しようとする課題〉
しかしながら、上記従来の線画データに基づく図形形状
の確認方法においては、線画データのデータ量が多い場
合や、表示される線画を見ながら必要とする線画を検索
する場合のように短時間で多くの線画を識別する必要が
有る場合には、高度に専門的で高価なシステムを用いな
い限り非現実的な長時間を要するという問題がある。<Problems to be Solved by the Invention> However, in the above conventional method for confirming figure shapes based on line drawing data, it is difficult to search for the required line drawing while looking at the displayed line drawing, or when the amount of line drawing data is large. When it is necessary to identify a large number of line drawings in a short period of time, as in the case of the case, there is a problem in that it takes an unrealistically long time unless a highly specialized and expensive system is used.
そこで、この発明の目的は、CADシステム等によって
得られた線画データを簡略化して高速表示用の線画デー
タを得、この得られた高速表示用線画データに基づいて
線画をディスプレイ装置に高速表示する線画データ表示
装置を提供することにある。Therefore, an object of the present invention is to simplify line drawing data obtained by a CAD system or the like to obtain line drawing data for high-speed display, and to display line drawings at high speed on a display device based on the obtained line drawing data for high-speed display. An object of the present invention is to provide a line drawing data display device.
〈課題を解決するための手段〉
上記目的を達成するため、この発明の線画データ表示装
置は、線画データを格納する線画データ格納部と、上記
線画データ格納部に格納された線画データの中から指定
された線画データを読み込み、この読み込んだ線画デー
タを、上記線画データに基づく図形の特徴を残した状態
で指定された簡略化の程度に応じて簡略化して、高速表
示に適した高速表示用線画データに変換するデータ変換
部と、上記データ変換部によって得られた高速表示用線
画データを格納する高速表示用線画データ格納部と、入
力された線画データリストに従って、上記高速表示用線
画データ格納部から必要な高速表示用線画データを読み
込み、この読み込まれた高速表示用線画データに基づく
線画をディスプレイ装置に表示するデータ表示部を備え
たことを特徴としている。<Means for Solving the Problems> In order to achieve the above object, the line drawing data display device of the present invention includes a line drawing data storage section that stores line drawing data, and a line drawing data display device that displays line drawing data from among the line drawing data stored in the line drawing data storage section. Loads the specified line drawing data, and simplifies the read line drawing data according to the specified degree of simplification while retaining the features of the figure based on the line drawing data, making it suitable for high-speed display. a data conversion unit that converts into line drawing data; a line drawing data storage unit for high speed display that stores the line drawing data for high speed display obtained by the data conversion unit; and a line drawing data storage unit for high speed display that stores the line drawing data for high speed display according to the input line drawing data list. The present invention is characterized by comprising a data display section that reads necessary line drawing data for high-speed display from the section and displays a line drawing based on the read line drawing data for high-speed display on a display device.
また、上記線画データ表示装置における上記データ変換
部は、上記線画データ格納部に格納された線画データを
、所定の規則に従って簡略化して一時的な高速表示用線
画データに変換する一時的高速表示用線画データ変換手
段と、上記一時的高速表示用線画データを、上記一時的
高速表示用線画データに基づく線画の空間を上記簡略化
の程度に応じた大きさに分割して得られた複数領域を表
す座標の座標系に変換して、重ね取り用線画データを生
成する重ね取り用線画データ生成手段と、上記重ね取り
用線画データ生成手段によって生成された重ね取り用線
画データに対して、上記複数領域における一つの領域で
重なる複数の重ね取り用線画データの重なりを取り除い
て一つに統合する重ね取りを実施すると共に、上記重ね
取りが実施された重ね取り用線画データとそれに対応す
る一時的高速表示用線画データとに関する重ね取り情報
を生成する第1の重ね取り手段と、上記重ね取り情報を
参照して、上記第1の重ね取り手段によって重ね取りさ
れた重ね取り用線画データに対応する一時的高速表示用
線画データを選出し、この選出された一時的高速表示用
線画データに対して上記重ね取りを実施して、高速表示
用線画データを生成する第2の重ね取り手段によって構
成することが望ましい。Further, the data conversion unit in the line drawing data display device is configured to simplify the line drawing data stored in the line drawing data storage unit according to a predetermined rule and convert it into line drawing data for temporary high speed display. a line drawing data converting means, and a plurality of regions obtained by dividing the line drawing data for temporary high-speed display into sizes corresponding to the degree of simplification of the line drawing space based on the line drawing data for temporary high-speed display. A line drawing data generation means for overlapping which converts into a coordinate system of coordinates to be expressed and generates line drawing data for overlapping; Executes overlapping to remove the overlap of multiple overlapping line drawing data that overlaps in one area and integrates them into one, and also performs overlapping line drawing data that has been overlapping and its corresponding temporary high speed. a first superimposing means for generating superimposing information regarding display line drawing data; and a temporary superimposing means corresponding to the superimposing line drawing data superimposed by the first superimposing means with reference to the superimposing information. a second superimposing means for selecting line drawing data for temporary high-speed display and performing the above-mentioned superimposition on the selected line drawing data for temporary high-speed display to generate line drawing data for high-speed display; is desirable.
〈作用〉
高速表示用線画データ生成処理が実行される線画データ
およびその際の簡略化の程度が指定される。そうすると
、上記指定された線画データが線画データ格納部からデ
ータ変換部に読み込まれ、この読み込まれた線画データ
が、その線画データに基づく図形の特徴を残した状態で
上記簡略化の程度に応じて簡略化されて高速表示用線画
データに変換される。そして、得られた高速表示用線画
データは高速表示用線画データ格納部に格納される。<Operation> The line drawing data to be subjected to the high-speed display line drawing data generation process and the degree of simplification at that time are specified. Then, the specified line drawing data is read from the line drawing data storage section to the data conversion section, and the read line drawing data is converted according to the degree of simplification while retaining the features of the figure based on the line drawing data. The data is simplified and converted into line drawing data for high-speed display. The obtained line drawing data for high speed display is stored in the line drawing data storage unit for high speed display.
一方、ディスプレイ装置に表示する線画データのリスト
が入力される。そうすると、この線画データリストに従
って上記高速表示用線画データ格納部から必要な高速表
示用線画データがデータ表示部に読み込まれる。そして
、この読み込まれた高速表示用線画データに基づく線画
が上記ディスプレイ表示部に表示される。On the other hand, a list of line drawing data to be displayed on the display device is input. Then, necessary line drawing data for high speed display is read into the data display section from the line drawing data storage section for high speed display according to this line drawing data list. Then, a line drawing based on the read high-speed display line drawing data is displayed on the display section.
したがって、簡略化された少ないデータ量の高速表示用
線画データに基づいて、線画が高速表示される。Therefore, line drawings are displayed at high speed based on simplified line drawing data for high speed display with a small amount of data.
また、上記線画データ表示装置における上記データ変換
部は、一時的高速表示用線画データ変換手段によって、
上記線画データが所定の規則に従って簡略化されて一時
的高速表示用線画データに変換される。そして、重ね取
り用線画データ生成手段によって、上記一時的高速表示
用線画データに基づく線画の空間を上記簡略化の程度に
基づく大きさに分割して得られた複数領域を表す座標の
座標系に上記一時的高速表示用線画データを変換して重
ね取り用線画データが生成される。そして、第1の重ね
取り手段によって、上記重ね取り用線画データに対して
重ね取りか実施さて重ね取り情報が生成される。そして
、上記重ね取り情報を参照して、重ね取りされた重ね取
り用線画データに対応する一時的高速表示用線画データ
に対して、第2の重ね取り手段によって上記重ね取りが
実施されて高速表示用線画データが生成されるようにす
れば、上記線画データを所定の規illで簡略化すると
共に、上記指定された簡略化の程度に応じて重なって見
える図形要素を統合することができ、上記線画データが
少ないデータ量の高速表示用線画データに変換される。Further, the data converting section in the line drawing data display device uses a line drawing data converting means for temporary high-speed display to
The line drawing data is simplified according to a predetermined rule and converted into line drawing data for temporary high-speed display. Then, the overlapping line drawing data generation means divides the line drawing space based on the temporary high-speed display line drawing data into sizes based on the degree of simplification, and converts it into a coordinate system of coordinates representing multiple regions obtained by dividing the line drawing space based on the temporary high-speed display line drawing data into sizes based on the degree of simplification. Line drawing data for superimposition is generated by converting the line drawing data for temporary high-speed display. Then, the first overlapping means performs overlapping on the line drawing data for overlapping to generate overlapping information. Then, referring to the overlapping information, the second overlapping means performs the overlapping on the temporary high-speed display line drawing data corresponding to the overlapping line drawing data, and displays the temporary high-speed display line drawing data at high speed. If the line drawing data is generated, it is possible to simplify the line drawing data according to a predetermined rule, and to integrate graphic elements that appear to overlap according to the specified degree of simplification. Line drawing data is converted into line drawing data for high-speed display with a small amount of data.
〈実施例〉 以下、この発明を図示の実施例により詳細に説明する。<Example> Hereinafter, the present invention will be explained in detail with reference to illustrated embodiments.
第1図はこの発明の線画データ表示装置の一実施例にお
けるブロック図である。この線画データ表示装置は、C
ADで作成した線画データ(以下、CADデータと言う
)を簡略化して検索用の高速表示用線画データに変換す
るデータ変換部1と、このデータ変換部lによって変換
された高速表示用線画データをディスプレイ装置3に表
示するデータ表示部2で概略構成される。FIG. 1 is a block diagram of an embodiment of the line drawing data display device of the present invention. This line drawing data display device is
A data converter 1 that simplifies line drawing data created by AD (hereinafter referred to as CAD data) and converts it into line drawing data for high-speed display for searching, and a data converter 1 that simplifies line drawing data created by AD (hereinafter referred to as CAD data) and converts it into line drawing data for high-speed display for searching, and converts the line drawing data for high-speed display converted by this data converter 1 into line drawing data for high-speed display. It is roughly composed of a data display section 2 that is displayed on a display device 3.
上記データ変換部lは、上位システム6から入力される
表示すべきCADデータ名に基づいて、CADデータフ
ァイル4から指定されたCADデータを読み込む。そし
て、CADデータを簡略化する際の簡略化の程度が上位
システム6から正の整数(以下、簡略化係数と言う)で
指定されると、データ変換部lは読み込んだCADデー
タを簡略化係数に従って検索用の高速表示用線画データ
に変換して高速表示用線画データファイル5に格納する
。The data conversion unit 1 reads designated CAD data from the CAD data file 4 based on the name of the CAD data to be displayed that is input from the host system 6. Then, when the degree of simplification when simplifying CAD data is specified by a positive integer (hereinafter referred to as a simplification coefficient) from the host system 6, the data conversion unit l converts the read CAD data into a simplification coefficient. Accordingly, the data is converted into line drawing data for high speed display for searching and stored in the line drawing data file 5 for high speed display.
一方、上記データ表示部2は、上位システム6からのデ
ィスプレイ装置3に表示する高速表示用線画データのリ
ストを受けて、高速表示用線画データファイル5から該
当する高速表示用線画データを読み込み、この読み込ん
だ高速表示用線画データに基づいてディスプレイ装置3
に線画を順次表示する。その際に、ディスプレイ装置3
における1画面に複数の線画を表示可能にして容易に線
画の検索を行えるようにしている。第7図は1画面に4
つの線画を表示した場合の例である。On the other hand, the data display section 2 receives the list of line drawing data for high speed display to be displayed on the display device 3 from the host system 6, reads the corresponding line drawing data for high speed display from the line drawing data file 5 for high speed display, and reads the line drawing data for high speed display from the line drawing data file 5 for high speed display. Display device 3 based on the read line drawing data for high-speed display.
Display line drawings sequentially. At that time, display device 3
It is possible to display a plurality of line drawings on one screen, making it easy to search for line drawings. Figure 7 shows 4 on one screen.
This is an example of displaying two line drawings.
次に、上記データ変換部1によって実施されるCADデ
ータの高速表示用線画データへの変換手順について詳細
に述べる。Next, the procedure for converting CAD data into line drawing data for high-speed display performed by the data conversion section 1 will be described in detail.
第2図は本実施例によって実施される高速表示用線画デ
ータ生成手順のフローを示す図である。FIG. 2 is a diagram showing the flow of a procedure for generating line drawing data for high-speed display performed in this embodiment.
この高速表示用線画データ生成手順は、手順1手順21
手順3および手順4から成る。This high-speed display line drawing data generation procedure is as follows: Step 1 Step 21
Consists of step 3 and step 4.
データ変換部lは、上位システム6によって指定された
CADデータをCADデータファイル4から読み込み、
高速表示用線画データへ変換する。The data conversion unit l reads CAD data specified by the host system 6 from the CAD data file 4,
Convert to line drawing data for high-speed display.
その際に、CADデータに基づく図形の特徴を失うこと
無くデータ量を少なくするために、以下1こ述べる2つ
の簡略化を実施するのである。At this time, in order to reduce the amount of data without losing the features of the figure based on the CAD data, two simplifications are implemented as described below.
l)図形要素および線画データの種類の限定2)重なっ
て見える図形要素の統合
この場合、簡略化l)は以下に述べる手順lで実施し、
簡略化2)は手順2で実施する。l) Limitation of types of graphical elements and line drawing data 2) Integration of graphical elements that appear to overlap In this case, simplification l) is carried out using the procedure l described below,
Simplification 2) is performed in step 2.
(手順1) CADデータファイル4からCADデー
タを読み込み、以下の規則に従って図形要素および線画
データの種類の限定を行って一時的な高速表示用線画デ
ータ(以下、一時的高速表示用線画データと言う)にフ
中−マヅト変換する。そして、得られた一時的高速表示
用線画データを一時的高速表示用線画データファイル7
に格納する。(Step 1) Load CAD data from the CAD data file 4, limit the types of graphic elements and line drawing data according to the rules below, and create temporary high-speed display line drawing data (hereinafter referred to as temporary high-speed display line drawing data). ) to transform into Fchu-Mazuto. Then, the obtained temporary high-speed display line drawing data is transferred to a temporary high-speed display line drawing data file 7.
Store in.
・規則l・・・属性情報は色と線種のみに限定する。- Rule 1: Attribute information is limited to color and line type only.
また、色は最大256種に限定し、 線種は最大16種に限定する。In addition, the number of colors is limited to a maximum of 256, Line types are limited to a maximum of 16 types.
・規[12・・・CADデータを構成する線画データの
要素を、点、線分1円7円弧1文字列。- Rule [12...Elements of line drawing data that make up CAD data are points, line segments, 1 circle, 7 arcs, 1 character string.
塗潰面の5種類に限定する。Limited to 5 types of filled surfaces.
・規則3・・・図形の位置を決める座標のデータ(よ総
て2次元のデータとし、2バイト
の整数で表現できる範囲に図形が収
まるように(すなわち、1画面に収ま
るように)座標変換して整数値で持つ。・Rule 3: Coordinate data that determines the position of the figure (all data should be two-dimensional data, and the coordinates must be converted so that the figure fits within the range that can be expressed with a 2-byte integer (i.e., so that it fits on one screen) and have it as an integer value.
こうすることによって、表示の際に クリッピングが不要になる。By doing this, when displaying Clipping becomes unnecessary.
(”! 2 ’) 手順lによって得られた一時的高
速表示用線画データによって示される線画の空間を第4
図に示すように基盤の目状に区切り、X方向とX方向の
夫々に番号を付け、この番号を各升目の部分の座標とす
る。そして、一時的高速表示用線画データをこの座標系
に変換して重ね取り用線画データを生成して重ね取り用
線画データファイル8に格納する。("! 2 ') The line drawing space indicated by the temporary high-speed display line drawing data obtained in step 1 is
As shown in the figure, the base is divided into mesh shapes and numbers are assigned to each of the X and X directions, and these numbers are used as the coordinates of each square. Then, the line drawing data for temporary high-speed display is converted into this coordinate system to generate line drawing data for superimposition and stored in the line drawing data file 8 for superimposition.
その際に、上記升目の大きさは、簡略化係数が“ビのと
きにディスプレイ装置3の表示解像度に合うように設定
する。すなわち、例えばディスプレイ装置3が1024
xl 024画素のラスタータイプであって、第7図に
示すように1画面に4つの線画データに基づく線画を表
示する場合には、簡略係数が“ビの場合の升目の大きさ
は、1つの線画当たりX方向とX方向に夫々512個の
升目が並ぶことができる大きさである。したがって、簡
略化係数が“n”の場合に1つの線画当たりのX方向と
X方向に夫々に並ぶことができる升目の数は512/n
となる。こうして升目の大きさ(すなわち、nの値)を
小さく設定することによって、ディスプレイ装置3に表
示される線画は元のCADデータに基づく同じ大きさの
線画と見た目上殆ど変わらない線画となるのである。At that time, the size of the square is set to match the display resolution of the display device 3 when the simplification coefficient is
xl 024 pixel raster type, and when displaying line drawings based on four line drawing data on one screen as shown in Figure 7, the size of the square when the simplification coefficient is The size is such that 512 squares can be arranged in the X direction and in the X direction per line drawing.Therefore, when the simplification coefficient is "n", 512 cells can be arranged in the The number of squares that can be made is 512/n
becomes. By setting the size of the square (that is, the value of n) small in this way, the line drawing displayed on the display device 3 becomes a line drawing that is almost visually the same as a line drawing of the same size based on the original CAD data. .
(手順3)上述の手順2によって生成された重ね取り用
線画データ中に含まれる色および線種(実線あるいは点
線等の線の形の種類)が同じであって一つの升目で重な
った線分の削除または統合を行う。以下、このような一
つの升目で重なる線分の削除または統合を重ね取りと言
う。その際に、第3図(a)に示すように一時的高速表
示用線画データにおいては完全に同一線上にない2つの
線分101と線分102は、第3図(b)に示すように
手順2で変換された重ね取り用線画データにおいては完
全に同一直線上にあると見なされるのである。すなわち
、簡略化の程度は上記升目の大きさによって決定される
のである。このように、一時的高速表示用線画データを
升目の座標系に変換することによって簡略化係数に応じ
た重ね取りを実施するので、統合する2つの線分の距離
を計算しなくてもよく計算誤差を考慮する必要がないの
である。(Step 3) Line segments that have the same color and line type (type of line shape such as solid line or dotted line) included in the overlapping line drawing data generated in step 2 above and overlap in one square Delete or merge. Hereinafter, such deletion or integration of line segments that overlap in one square will be referred to as overlapping. At that time, as shown in FIG. 3(a), in the line drawing data for temporary high-speed display, two line segments 101 and 102 that are not completely on the same line are changed as shown in FIG. 3(b). The overlapping line drawing data converted in step 2 is considered to be completely on the same straight line. In other words, the degree of simplification is determined by the size of the square. In this way, by converting the line drawing data for temporary high-speed display into the square coordinate system, overlapping is performed according to the simplification coefficient, so there is no need to calculate the distance between the two line segments to be integrated. There is no need to consider errors.
具体的な重ね取りの動作は第5図に示すフローチャート
にしたがって以下のように行われる。The specific overlapping operation is performed as follows according to the flowchart shown in FIG.
ステップS1で、一時的高速表示用線画データに対して
線画の構成要素の種類毎にグループ分けが行われる。そ
の結果構成要素が点であればステップS2に進み、円/
円弧であればステップS4に進み、線分であればステッ
プS6に進む。In step S1, the temporary high-speed display line drawing data is grouped by type of line drawing component. As a result, if the component is a point, the process proceeds to step S2, and the circle/
If it is an arc, the process proceeds to step S4, and if it is a line segment, the process proceeds to step S6.
ステップS2で、升目の座標が同じ点毎にグループ分が
行われる。In step S2, grouping is performed for each point having the same coordinates in the square.
ステップS3で、上記ステップS2において分けられた
グループ毎に重ね取りが実行されて、■線画に対する重
ね取りが終了する。In step S3, superimposition is performed for each group divided in step S2, and the superimposition for line drawings is completed.
ステップS4で、中心座標が同じ円/円弧毎にグループ
分けが実行される。In step S4, grouping is performed for each circle/arc having the same center coordinates.
ステップS5で、上記ステップS4において分けられた
グループ毎に重ね取りが実行されて、■線画に対する重
ね取りが終了する。In step S5, superimposition is performed for each group divided in step S4, and the superimposition for line drawings is completed.
ステップS6で、上記ステップS4において分けられた
線分のグループを、水平線のグループ、垂直線のグルー
プおよびそれ以外のグループにグループ分けが行われる
。その結果水平線であればステップS7に進み、垂直線
であればステップS9に進み、その他であればステップ
Sllに進む。In step S6, the line segment groups divided in step S4 are divided into horizontal line groups, vertical line groups, and other groups. As a result, if it is a horizontal line, the process proceeds to step S7, if it is a vertical line, the process proceeds to step S9, and if otherwise, the process proceeds to step Sll.
ステップS7で、Y座標が同じ水平線毎にグループ分け
が行われる。In step S7, grouping is performed for each horizontal line having the same Y coordinate.
ステップS8で、上記ステップS7において分けられた
グループ毎に重ね取りが実行されて、1線画に対する重
ね取りが終了する。In step S8, overlapping is executed for each group divided in step S7, and overlapping for one line drawing is completed.
ステップS9で、X座標が同じ垂直線毎にグループ分け
が行われる。In step S9, grouping is performed for each vertical line having the same X coordinate.
ステップS11で、上記ステップS9において分けられ
たグループ毎に重ね取りが実行されて、1線画に対する
重ね取りが終了する。In step S11, overlapping is executed for each group divided in step S9, and overlapping for one line drawing is completed.
ステップSllで、傾きの近いもの同士でグループ分け
が実行される。In step Sll, groups having similar slopes are grouped.
ステップS12で、上記ステップS11において分けら
れたグループ毎に重ね取りが実行されて、1線画に対す
る重ね取りが終了する。In step S12, overlapping is executed for each group divided in step S11, and overlapping for one line drawing is completed.
その際に、一時的高速表示用線画データにおけるどの線
分とどの線分とを重ね取り用線画データに基づいて一つ
に統合したかという情報を重ね取り情報として重ね取り
情報ファイル9に蓄えておく。すなわち、第6図に示す
ように一時的高速表示用線画データの構成要素(例えば
、線分!o1.線分102および線分103)と対応す
る重ね取り用線画データ(例えば、線分101’、線分
102′および線分!03°)とを関係付ける。そして
、第3図に示すように一時的高速表示用線画データにお
ける線分101と線分102とが重ね取り用線画データ
において一つに統合された場合には、重ね取り用線画デ
ータにおける線分102°が削除されて線分tot’で
代用されるので、一時的高速表示用線画データにおける
線分102と重ね取り用線画データにおける線分101
’とを関係付け、その関係情報を重ね取り情報として重
ね取り情報ファイル9に格納しておくのである。At that time, information about which line segments and which line segments in the line drawing data for temporary high-speed display have been integrated into one based on the line drawing data for overlapping is stored as overlapping information in the overlapping information file 9. put. That is, as shown in FIG. 6, the overlapping line drawing data (for example, line segment 101') corresponding to the constituent elements of the line drawing data for temporary high-speed display (for example, line segment!o1. , line segment 102' and line segment !03°). As shown in FIG. 3, when line segment 101 and line segment 102 in the line drawing data for temporary high-speed display are integrated into one in the line drawing data for overlaying, the line segment in the line drawing data for overlapping 102° is deleted and replaced with line segment tot', so line segment 102 in the line drawing data for temporary high-speed display and line segment 101 in the line drawing data for overlapping
', and the relationship information is stored in the overlap information file 9 as overlap information.
(手順4)上述の手順3において得られた重ね取り情報
に基づいて、一時的高速表示用線画データファイル7に
格納された一時的高速表示用線画データのうち重ね取り
された重ね取り用線画データに対応する一時的高速表示
用線画データを選出して削減する。すなわち、線分10
2の一時的高速表示用線画データが削除されるのである
。そして、残った一時的高速表示用線画データを最終的
な高速表示用線画データとして高速表示用線画データフ
ァイル5に格納する。(Step 4) Based on the superimposition information obtained in step 3 above, line drawing data for superimposition is superimposed among the line drawing data for temporary high speed display stored in the line drawing data file 7 for temporary high speed display. Select and reduce temporary high-speed display line drawing data corresponding to . That is, line segment 10
The temporary high-speed display line drawing data No. 2 is deleted. Then, the remaining temporary line drawing data for high speed display is stored in the line drawing data file 5 for high speed display as final line drawing data for high speed display.
すなわち、簡略化係数を大きくして上記升目の大きさを
大きくすれば、一つの升目で重なる一時的高速表示用線
画データの構成要素数は多くなるので、削除される一時
的高速表示用線画データ数が多くなって線画データのデ
ータ量を大幅に少なくできる。そこで、元の図形の特徴
が残る範囲で出来るだけ高速表示用線画データのデータ
量か少なくなるように簡略化係数nを設定すればよい。In other words, if the simplification coefficient is increased to increase the size of the above-mentioned square, the number of constituent elements of the line drawing data for temporary high-speed display that overlap in one square will increase, so the line drawing data for temporary high-speed display that will be deleted will increase. The number of lines increases, and the amount of line drawing data can be significantly reduced. Therefore, the simplification coefficient n may be set so as to reduce the amount of line drawing data for high-speed display as much as possible within the range where the characteristics of the original figure remain.
次に、上記データ表示部2において実行される線画の表
示について述べる。Next, the display of line drawings executed in the data display section 2 will be described.
データ表示部2は、上位システム6から人力される高速
表示用線画データのリストを受け、高速表示用線画デー
タファイル5から対応する高速表示用線画データを読み
込み、ディスプレイ装置3に順次表示する。The data display unit 2 receives a list of line drawing data for high-speed display manually entered from the host system 6, reads the corresponding line-drawing data for high-speed display from the line drawing data file 5 for high-speed display, and sequentially displays them on the display device 3.
一般に、CADシステム等において線画データを作成す
る際には、画面の枠外にある線画データを表示しないよ
うにしている。したかって、表示の際に、表示対象とな
る線画データの総てに対してその線画データは画面の枠
の外にあるか否かの判定を実施し、画面の枠内にある線
画データに対してのみを表示するようにしている。また
、表示の対象となっている線画データの総てを画面内に
収めようとすると、全線画データの画面上に占める領域
を調べて倍率を計算し、求めた倍率に従って拡大/縮小
を行わなければならない。ところか、本実施例において
は、上述の手順1において、高速表示用線画データは総
て1画面内におさまるように座標が決定されているので
、従来のような線画データが画面の枠内にあるか否かの
判定の必要はない。また、高速表示用線画データは総て
1画面内に収まると共にそのデータ量は少ないので、1
画面に複数の線画を表示する際における倍率計算は単純
な計算でよく、表示の際の手間が少なく表示速度が早い
。Generally, when creating line drawing data in a CAD system or the like, line drawing data outside the frame of the screen is not displayed. Therefore, when displaying, it is determined whether all line drawing data to be displayed is outside the screen frame, and line drawing data within the screen frame is judged. I am trying to display only the In addition, if you try to fit all of the line drawing data to be displayed on the screen, you have to check the area occupied by all the line drawing data on the screen, calculate the magnification, and then enlarge/reduce it according to the calculated magnification. Must be. However, in this embodiment, in step 1 above, the coordinates are determined so that all of the line drawing data for high-speed display will fit within one screen, so line drawing data like the conventional one will not fit within the frame of the screen. There is no need to determine whether it exists or not. In addition, all the line drawing data for high-speed display fits within one screen and the amount of data is small, so
Calculating the magnification when displaying a plurality of line drawings on the screen is a simple calculation, which requires less time and effort during display, and the display speed is fast.
上記高速表示用線画データファイル5に高速表示用線画
データを格納する際に、1つのCADデータに対してl
っの高速表示用線画データファイルを用意してそこに格
納してもよいし、複数のCADデータに対して1つの高
速表示用線画データファイルを用意してそこに格納して
もよい。後者の場合は、多量のCADデータを表示する
際におけるファイルオープンが1回で済むため、実質的
なデータ読出し時間が短縮され、より高速に表示できる
。When storing line drawing data for high speed display in the line drawing data file 5 for high speed display, it is necessary to
Two line drawing data files for high speed display may be prepared and stored therein, or one line drawing data file for high speed display may be prepared and stored therein for a plurality of CAD data. In the latter case, only one file opening is required when displaying a large amount of CAD data, so the actual data reading time is shortened and display can be performed at higher speed.
このように、本実施例においては、データ変換部1は上
位システム6からの線画データ名および簡略化係数を受
は取り、手順lによって、CADデータファイル4から
読み出したCADデータを所定の規則に従って簡略化し
て一時的高速表示用線画データに変換する。次に、手順
2によって、この一時的高速表示用線画データを簡略化
係数nによって決定される大きさの升目を表す座標から
成る座標系に変換して更に簡略された重ね取り用線画デ
ータを生成する。さらに、手順3によって、生成された
重ね取り用線画データにおける一つの升目で重なってい
る重ね取り用線画データを統合する重ね取りを行い、そ
の際に得られた重ね取り情報に基づいて、手順4によっ
て、重ね取りされた重ね取り用線画データに対応する一
時的高速表示用線画データの重ね取りを実行して高速表
示用線画データを得る。そして、得られた高速表示用線
画データを高速表示用線画データファイル5に格納する
。As described above, in this embodiment, the data conversion unit 1 receives the line drawing data name and simplification coefficient from the host system 6, and converts the CAD data read from the CAD data file 4 according to the predetermined rules in step l. Simplify and convert into line drawing data for temporary high-speed display. Next, in step 2, this line drawing data for temporary high-speed display is converted into a coordinate system consisting of coordinates representing a square of a size determined by the simplification coefficient n to generate further simplified line drawing data for superimposition. do. Furthermore, in step 3, overlapping is performed to integrate the overlapping line drawing data that overlaps in one square in the generated overlapping line drawing data, and based on the overlapping information obtained at that time, step 4 Then, the line drawing data for temporary high-speed display corresponding to the line drawing data for superimposing that has been superimposed is superimposed to obtain the line drawing data for high-speed display. Then, the obtained line drawing data for high speed display is stored in the line drawing data file 5 for high speed display.
したがって、得られる高速表示用線画データは、簡略化
係数nを最適に設定することによって、元のCADデー
タに基づく図形の特徴を有すると共に、そのデータ数は
かなり少なくなっている。そのため、データ表示部2は
、上位システム6からの高速表示用線画データのリスト
に従ってディスプレイ装置3に高速に線画を表示でき、
通常の装置においては非現実的な長時間を要するような
図形の検索を非常に短時間で実施できる。また、上述の
ように、高速表示用線画データのデータ量はかなり少な
いので線画データを少ないデータ量で保存できる。Therefore, by optimally setting the simplification coefficient n, the obtained line drawing data for high-speed display has graphical features based on the original CAD data, and the number of data is considerably reduced. Therefore, the data display unit 2 can display line drawings on the display device 3 at high speed according to the list of line drawing data for high-speed display from the host system 6.
It is possible to perform a graphic search in a very short time, which would take an unrealistically long time with a normal device. Furthermore, as described above, the amount of line drawing data for high-speed display is quite small, so line drawing data can be stored with a small amount of data.
上記実施例の手順1において用いられる規則は、本実施
例の規則に限定されるものではない。The rules used in step 1 of the above embodiment are not limited to the rules of this embodiment.
この発明における重ね取りのアルゴリズムは、上記実施
例におけるアルゴリズムに限定されるものではない。The overlapping algorithm in this invention is not limited to the algorithm in the above embodiment.
〈発明の効果〉
以上より明らかなように、この発明の線画データ表示装
置は、指定された線画データを線画データ格納部から読
み込み、データ変換部によって、この読み込まれた線画
データを図形の特徴を残した状態で簡略化して高速表示
用線画データに変換して高速表示用線画データ格納部に
格納し、表示の際に、データ表示部はリストに従って必
要な高速表示用線画データを読み込んで、この読み込ん
だ高速表示用線画データに基づく線画をディスプレイ装
置に表示するので、CADシステム等によって得られた
線画データを簡略化して得られたデータ量の少ない高速
表示用線画データに基づいて、元の図形の特徴を保持し
た線画を高速表示できる。<Effects of the Invention> As is clear from the above, the line drawing data display device of the present invention reads specified line drawing data from the line drawing data storage section, and uses the data converting section to convert the read line drawing data into features of a figure. The remaining state is simplified and converted into line drawing data for high-speed display and stored in the line drawing data storage unit for high-speed display. When displaying, the data display unit reads the necessary line drawing data for high-speed display according to the list and displays this data. Since a line drawing based on the read line drawing data for high-speed display is displayed on the display device, the original figure is Line drawings that retain their characteristics can be displayed at high speed.
したがって、この発明によれば、高度に専門的で高価な
システムを用いなくても、線画の検索時において短時間
に多くの線画を識別でき、例えば設計業務の効率化に大
いに有効である。Therefore, according to the present invention, many line drawings can be identified in a short time when searching for line drawings without using a highly specialized and expensive system, which is highly effective in improving the efficiency of, for example, design work.
また、上記線画データ表示装置のデータ変換部は、一時
的高速表示用線画データ変換手段9重ね取り周線画デー
タ生成手段。第1の重ね取り手段および第2の重ね取り
手段によって構成し、上記線画データを所定の規則で簡
略化して一時的高速表示用線画データに変換し、さらに
指定された簡略化の程度に応じて上記一時的高速表示用
線画デ−タに対して重ね取りを実施することによって重
なって見える図形要素を統合して高速表示用線画データ
を得るようにしたので、CADシステム等によって作成
された線画データを所定の規則と指定された簡略化の程
度に応じて簡略化して高速表示用線画データに変換でき
、データ量の少ない高速表示用線画データに基づいて、
元の図形の特徴を保持した線画を高速表示できる。The data conversion section of the line drawing data display device includes line drawing data converting means 9 for temporary high-speed display and superimposed peripheral line drawing data generating means. The first overlapping means and the second overlapping means simplify the line drawing data according to a predetermined rule and convert it into line drawing data for temporary high-speed display, and further convert the line drawing data into line drawing data for temporary high-speed display according to a specified degree of simplification. By overlapping the above temporary high-speed display line drawing data, graphic elements that appear to overlap are integrated to obtain high-speed display line drawing data, so line drawing data created by a CAD system etc. can be simplified and converted into line drawing data for high-speed display according to predetermined rules and the specified degree of simplification, and based on the line drawing data for high-speed display with a small amount of data,
Line drawings that retain the characteristics of the original shape can be displayed at high speed.
第1図はこの発明の線画データ表示装置における一実施
例のブロック図、第2図は第1図におけるデータ変換部
における高速表示用線画データ作成手順を示す図、第3
図は一時的高速表示用線画データおよび重ね取り用線画
データの説明図、第4図は重ね取り用線画データを生成
する際に用いられる升目の説明図、第5図は第2図にお
ける手順3において実施される重ね取り動作のフローチ
ャート、第6図は一時的高速表示用線画データにおける
構成要素と重ね取り用線画データにおける構成要素との
関係を示す図、第7図はディスプレイ装置における表示
例である。
1・・・データ変換部、 2・・・データ表示部、
3・・・ディスプレイ装置、
4・・・CADデータファイル、
5・・・高速表示用線画データファイル、6・・・上位
システム、
7・・・一時的高速表示用線画データファイル、8・・
・重ね取り用線画データファイル、9・・・重ね取り情
報ファイル。FIG. 1 is a block diagram of an embodiment of the line drawing data display device of the present invention, FIG.
The figure is an explanatory diagram of line drawing data for temporary high-speed display and line drawing data for overlaying, Figure 4 is an explanatory diagram of squares used when generating line drawing data for overlaying, and Figure 5 is the step 3 in Figure 2. 6 is a diagram showing the relationship between the constituent elements of line drawing data for temporary high-speed display and the constituent elements of line drawing data for superimposition, and FIG. 7 is a display example on a display device. be. 1... Data conversion section, 2... Data display section,
3... Display device, 4... CAD data file, 5... Line drawing data file for high-speed display, 6... Upper system, 7... Line drawing data file for temporary high-speed display, 8...
・Line drawing data file for overlapping, 9...Overlapping information file.
Claims (2)
線画データ格納部に格納された線画データの中から指定
された線画データを読み込み、この読み込んだ線画デー
タを、上記線画データに基づく図形の特徴を残した状態
で指定された簡略化の程度に応じて簡略化して、高速表
示に適した高速表示用線画データに変換するデータ変換
部と、上記データ変換部によって得られた高速表示用線
画データを格納する高速表示用線画データ格納部と、 入力された線画データリストに従って、上記高速表示用
線画データ格納部から必要な高速表示用線画データを読
み込み、この読み込まれた高速表示用線画データに基づ
く線画をディスプレイ装置に表示するデータ表示部を備
えたことを特徴とする線画データ表示装置。(1) A line drawing data storage section for storing line drawing data; reading specified line drawing data from among the line drawing data stored in the line drawing data storage section; a data conversion unit that converts the line drawing data into high-speed display line drawing data suitable for high-speed display by simplifying the data according to a specified degree of simplification while retaining the characteristics; and a line drawing for high-speed display obtained by the data conversion unit. According to the line drawing data storage unit for high-speed display that stores data, and the input line drawing data list, the necessary line drawing data for high-speed display is read from the line drawing data storage unit for high-speed display, and the line drawing data for high-speed display that has been read is What is claimed is: 1. A line drawing data display device comprising: a data display unit that displays a line drawing based on a display device on a display device.
上記データ変換部は、 上記線画データ格納部に格納された線画データを、所定
の規則に従って簡略化して一時的な高速表示用線画デー
タに変換する一時的高速表示用線画データ変換手段と、 上記一時的高速表示用線画データを、上記一時的高速表
示用線画データに基づく線画の空間を上記簡略化の程度
に応じた大きさに分割して得られた複数領域を表す座標
の座標系に変換して、重ね取り用線画データを生成する
重ね取り用線画データ生成手段と、 上記重ね取り用線画データ生成手段によって生成された
重ね取り用線画データに対して、上記複数領域における
一つの領域で重なる複数の重ね取り用線画データの重な
りを取り除いて一つに統合する重ね取りを実施すると共
に、上記重ね取りが実施された重ね取り用線画データと
それに対応する一時的高速表示用線画データとに関する
重ね取り情報を生成する第1の重ね取り手段と、 上記重ね取り情報を参照して、上記第1の重ね取り手段
によって重ね取りされた重ね取り用線画データに対応す
る一時的高速表示用線画データを選出し、この選出され
た一時的高速表示用線画データに対して上記重ね取りを
実施して、高速表示用線画データを生成する第2の重ね
取り手段によって構成されていることを特徴とする線画
データ表示装置。(2) In the line drawing data display device according to claim 1,
The data conversion unit includes a temporary high-speed display line drawing data converting means for simplifying the line drawing data stored in the line drawing data storage unit according to a predetermined rule and converting the line drawing data into temporary high-speed display line drawing data; The line drawing data for temporary high-speed display is converted into a coordinate system of coordinates representing multiple regions obtained by dividing the line drawing space based on the temporary high-speed display line drawing data into sizes corresponding to the degree of simplification. a superimposing line drawing data generating means for generating superimposing line drawing data; Performs overlapping to remove the overlapping line drawing data for overlapping and integrate them into one, and also performs overlapping regarding the line drawing data for overlapping that has been overlaid and the corresponding line drawing data for temporary high-speed display. a first superimposing means that generates information; and selecting temporary high-speed display line drawing data corresponding to the superimposing line drawing data superimposed by the first superimposing means with reference to the superimposing information; Line drawing data characterized in that it is constituted by a second overlapping means that performs the above-mentioned overlapping on the selected line drawing data for temporary high-speed display to generate line drawing data for high-speed display. Display device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1205377A JPH0370078A (en) | 1989-08-08 | 1989-08-08 | Display device for line picture data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1205377A JPH0370078A (en) | 1989-08-08 | 1989-08-08 | Display device for line picture data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0370078A true JPH0370078A (en) | 1991-03-26 |
Family
ID=16505820
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1205377A Pending JPH0370078A (en) | 1989-08-08 | 1989-08-08 | Display device for line picture data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0370078A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003084420A (en) * | 2001-09-12 | 2003-03-19 | Dainippon Printing Co Ltd | Display device for photo mask data |
-
1989
- 1989-08-08 JP JP1205377A patent/JPH0370078A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003084420A (en) * | 2001-09-12 | 2003-03-19 | Dainippon Printing Co Ltd | Display device for photo mask data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20080273030A1 (en) | Drawing apparatus and drawing method | |
US5717905A (en) | CAD system and bezier-curve data converting apparatus and method thereof in said CAD system | |
US5377023A (en) | Pictorial image processing system | |
JP3547250B2 (en) | Drawing method | |
JP2676116B2 (en) | Image data processing method and apparatus | |
JP2702408B2 (en) | Image conversion system | |
JPH0370078A (en) | Display device for line picture data | |
US5668896A (en) | Method of and apparatus for processing image having a plurality of image areas | |
JPH0644382A (en) | Parallel image generator | |
JPS63203341A (en) | Enlarged character generation system | |
JP4004217B2 (en) | Image processing device | |
JP2891318B2 (en) | How to create a bitmap font | |
JP3375069B2 (en) | Drawing processing device | |
JPH0227486A (en) | Image scaling device | |
JPS6375789A (en) | Expanded character generation system | |
JP3426096B2 (en) | Map expansion / contraction network display method and apparatus | |
JPH0350686A (en) | Graphic processing system | |
JPH09319859A (en) | Method for generating image data with feature point noticed | |
JPH06121150A (en) | Line data proceing method | |
JPH02287393A (en) | Character magnifying device | |
JPH03224071A (en) | Thinning method for binary images | |
JPH05333835A (en) | Image display method | |
JPH04271479A (en) | Method for designating picture area | |
JPH04268975A (en) | Interpolating device for image | |
JPS5831588B2 (en) | Display mode change method in raster scan type display device |