JPH09223219A - Blocking management method for continuous line graphic - Google Patents

Blocking management method for continuous line graphic

Info

Publication number
JPH09223219A
JPH09223219A JP8027922A JP2792296A JPH09223219A JP H09223219 A JPH09223219 A JP H09223219A JP 8027922 A JP8027922 A JP 8027922A JP 2792296 A JP2792296 A JP 2792296A JP H09223219 A JPH09223219 A JP H09223219A
Authority
JP
Japan
Prior art keywords
continuous line
block
graphic
continuous
blocks
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
JP8027922A
Other languages
Japanese (ja)
Inventor
Yoshihiro Hattori
吉洋 服部
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 JP8027922A priority Critical patent/JPH09223219A/en
Publication of JPH09223219A publication Critical patent/JPH09223219A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To accelerate scrolling or to partially enlarge a continuous line graphic by dividing a graphic composed of continuous line into plural blocks, referring to information for the blocks including the continuous line qraphic displayed on a screen and displaying a part of the graphic on the screen. SOLUTION: The general drawing of the continuous line graphic is divided into uniform quadrangles so as to easily extract the blocks inside a plotting area. For instance, in the case of displaying the block including vertexes 3 and 4 in the continuous line graphic provided with the vertexes 1-5, the vertexes 6 and 7 are added at the boundary of the block of the continuous line and the graphic inside the block is plotted just by data managed by respective block single bodies. In this case, the vertexes of the graphic are not branched and the connection of vertex coordinates at the time of plotting the continuous line is sequenced as well. Also, in the case that the plural continuous lines are present inside the respective blocks, the number of the continuous lines inside the respective blocks and the data of the vertex coordinates for constituting the continuous line section are hierarchically managed in the respective blocks.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、連続線図形のブロ
ック化管理方法に関し、特に、地図情報等の膨大な頂点
数よりなる連続線データにおける連続線図形のブロック
化管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a continuous line figure blocking management method, and more particularly to a continuous line figure blocking management method for continuous line data having a huge number of vertices such as map information.

【0002】[0002]

【従来の技術】従来より、全体図がCRT管面で表示す
ることができない描画データをブロック化して管理する
図形のブロック化管理方法においては、ブロック化され
た描画データをスクロールして表示させるスクロール方
式等が用いられている。
2. Description of the Related Art Conventionally, in a figure block management method for managing drawing data that cannot be displayed on a CRT screen as a whole by dividing it into blocks, scrolling the block drawing data is displayed. The method is used.

【0003】上述した図形のブロック化管理方法の一例
として、全体図のサイズが表示するCRT管面よりも大
きな描画データを均等なブロックに分割してそれぞれの
ブロックに識別符号を付与し、表示の際には関連する識
別番号を参照し、参照されたブロックからCRTへ表示
する対象物を判定して、表示対象物のみをCRT上に出
力することにより、大規模な描画データを高速にスクロ
ールする技術がある(特開平4−346393号公報参
照)。
As an example of the above-described figure block management method, drawing data larger in size than the CRT screen surface of the overall view is divided into equal blocks, and an identification code is given to each block to display. At this time, the related identification number is referred to, the target to be displayed on the CRT is determined from the referenced block, and only the display target is output on the CRT, thereby scrolling large-scale drawing data at high speed. There is a technique (see Japanese Patent Laid-Open No. 4-346393).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
たような従来のものにおいては、スクロールを高速に実
施するために、ブロックごとの識別符号のみによる描画
データの管理を行っているが、ラスター図形による管理
であるため、複雑な連続線図形等がブロック中や2つ以
上のブロックにまたがって存在する場合、スクロールの
高速化または連続線図形の部分拡大を実現することがで
きないという問題点がある。
However, in the conventional device as described above, the drawing data is managed only by the identification code for each block in order to perform the scrolling at high speed. Since it is management, when a complicated continuous line figure or the like exists in a block or across two or more blocks, there is a problem that it is not possible to speed up scrolling or realize partial enlargement of the continuous line figure.

【0005】本発明は、上述したような従来の技術が有
する問題点に鑑みてなされたものであって、複雑な連続
線図形等がブロック中や2つ以上のブロックにまたがっ
て存在する場合においてもスクロールの高速化または連
続線図形の部分拡大を実現することができる連続線図形
のブロック化管理方法を提供することを目的とする。
The present invention has been made in view of the problems of the above-mentioned conventional techniques, and in the case where a complicated continuous line figure or the like exists in a block or across two or more blocks. Another object of the present invention is to provide a block management method for continuous line figures, which can realize high-speed scrolling or partial enlargement of continuous line figures.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に本発明は、連続線からなる図形の一部を画面上に表示
させる連続線図形のブロック化管理方法であって、前記
連続線からなる図形を複数のブロックに分割し、前記連
続線の前記ブロック境界上に頂点を設定し、前記各ブロ
ック内における、前記連続線の数、該連続線毎に構成さ
れる頂点の座標及び前記ブロック境界上に設定された頂
点の座標についての情報をそれぞれ管理し、前記画面上
に表示させる連続線図形が含まれるブロックについての
前記情報を参照することにより連続線からなる図形の一
部を画面上に表示させることを特徴とする。
In order to achieve the above object, the present invention is a method for managing a continuous line figure as a block, which displays a part of a figure consisting of continuous lines on a screen. The figure is divided into a plurality of blocks, vertices are set on the block boundaries of the continuous lines, the number of the continuous lines in each block, the coordinates of the vertices formed for each continuous line, and the blocks. By managing the information about the coordinates of the vertices set on the boundary and referring to the information about the block including the continuous line graphic to be displayed on the screen, a part of the graphic formed by the continuous line can be displayed on the screen. It is characterized by being displayed on.

【0007】また、前記頂点の座標は、前記連続線が描
かれる順序に従って管理されることを特徴とする。
The coordinates of the vertices are managed according to the order in which the continuous line is drawn.

【0008】(作用)本発明においては、まず、描画領
域内のブロックを容易に抽出できるように、連続線図形
の全体図を均等な四角形に分割する。
(Operation) In the present invention, first, the whole drawing of the continuous line figure is divided into equal squares so that the blocks in the drawing area can be easily extracted.

【0009】図1は、ブロック化された図形の一部を示
す図であり、(a)は連続線及び頂点を示す図、(b)
は(a)に示した斜線部のブロックを示す図である。
FIG. 1 is a view showing a part of a block-shaped figure, (a) showing a continuous line and vertices, and (b).
FIG. 6 is a diagram showing a block of a hatched portion shown in (a).

【0010】図1に示すように、頂点1〜5を有する連
続線図形のうち、頂点3,4が含まれるブロックを表示
する場合、その連続線のブロックの境界において頂点
6,7を追加し、各ブロック単体で管理されるデータの
みによりブロック内の図形を描画する。
As shown in FIG. 1, when displaying a block including vertices 3 and 4 in a continuous line figure having vertices 1 to 5, vertices 6 and 7 are added at the boundary of the block of the continuous line. , Drawing a graphic in a block only by the data managed by each block alone.

【0011】ここで、図形の頂点は枝分かれしないもの
とし、連続線を描画する際の頂点座標の結ぶ順序付けも
行う。
Here, it is assumed that the vertices of the figure are not branched, and the order of connecting the vertex coordinates when drawing a continuous line is also performed.

【0012】また、各ブロック内に複数の連続線が存在
する場合、各ブロックにおいて、各ブロック内に存在す
る連続線の数、その連続線区分を構成する頂点座標のデ
ータを階層上に管理する。
When a plurality of continuous lines exist in each block, the number of continuous lines existing in each block in each block and the data of the vertex coordinates forming the continuous line section are managed in a hierarchical manner. .

【0013】図2は、全体図形をM×Nのブロックに分
割したものを示す図であり、ブロック番号を0〜M−
1,0〜N−1と割り振る。なお、斜線部は、拡大表示
する領域である。
FIG. 2 is a diagram showing the whole figure divided into M × N blocks, in which block numbers 0 to M-.
Allocate as 1,0 to N-1. The shaded area is an enlarged display area.

【0014】いま、全体図形の左下端の頂点101の座
標を(X0,Y0)、全体図形の右上端の頂点102の座
標を(X1,Y1)、表示領域の左下端の頂点103の座
標を(x0,y0)、表示領域の右上端の頂点104の座
標を(x1,y1)とする。
Now, the coordinates of the vertex 101 at the lower left corner of the whole figure is (X 0 , Y 0 ), the coordinates of the vertex 102 at the upper right corner of the whole figure are (X 1 , Y 1 ), and the vertex at the lower left corner of the display area. The coordinates of 103 are (x 0 , y 0 ), and the coordinates of the vertex 104 at the upper right end of the display area are (x 1 , y 1 ).

【0015】図2のi番目のブロックの左端座標をXi
とすると、 Xi=X0+i(Xi−X0)/M となり、表示領域の左下端の頂点103の座標x0が含
まれるi番目のメッシュを求めるには、 X0+i(X1−X0)/M≦x0<X0+(i+1)(X1
−X0)/M これを整理して i=[M(x0−X0)/(X1−X0)] ([]はガウ
ス関数) を満たすような整数iを求めればよい。
[0015] The left end coordinates of the i-th block of Figure 2 X i
Then, X i = X 0 + i (X i −X 0 ) / M, and to obtain the i-th mesh including the coordinate x 0 of the vertex 103 at the lower left corner of the display area, X 0 + i (X 1 −X 0 ) / M ≦ x 0 <X 0 + (i + 1) (X 1
-X 0 ) / M This may be rearranged to obtain an integer i such that i = [M (x 0 −X 0 ) / (X 1 −X 0 )] ([] is a Gaussian function).

【0016】同様にして、y0,x1,y1についても含
まれるメッシュ番号を求め、表示のために必要なブロッ
ク領域105を抽出し、そのブロックにおいてデータ管
理の階層にしたがって、頂点データにアクセスし、頂点
座標を順序付けにしたがって結んでいき連続線を描画す
る。
Similarly, the mesh numbers included for y 0 , x 1 , and y 1 are obtained, the block area 105 necessary for display is extracted, and the vertex data is extracted in that block according to the hierarchy of data management. Access and draw the continuous line by connecting the vertex coordinates according to the ordering.

【0017】[0017]

【発明の実施の形態】以下に、本発明の実施の形態につ
いて図面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0018】図3は、本発明の連続線図形のブロック化
管理方法の実施の一形態を示す図である。
FIG. 3 is a diagram showing an embodiment of a method for managing blocking of continuous line figures according to the present invention.

【0019】図3に示すように、頂点8〜13を有する
連続線データ全体図を2×2個のブロックに分割し、デ
ータ管理のためにブロックの境界において頂点14〜1
7を追加する。なお、(1,1)〜(2,2)はブロッ
クの識別番号を表す。
As shown in FIG. 3, the whole continuous line data diagram having vertices 8 to 13 is divided into 2 × 2 blocks, and the vertices 14 to 1 at the block boundaries are used for data management.
Add 7. Note that (1,1) to (2,2) represent block identification numbers.

【0020】図4は、図3に示した連続線図形のデータ
管理について説明するための図である。
FIG. 4 is a diagram for explaining data management of the continuous line graphic shown in FIG.

【0021】ブロック(1,1)内の図形は、1本の連
続線で構成されており、それを構成している頂点は、デ
ータ管理上付加したものと合わせて頂点9,10,1
4,15であるので、ブロック(1,1)の場合では、
1本目の連続線の下に、頂点14→9→10→15、ま
たは、頂点15→10→9→14の連続線が描かれる順
になるように頂点の順序付けを行い、データ管理を行
う。
The figure in the block (1,1) is composed of one continuous line, and the vertices which compose it are combined with those added in data management to form vertices 9,10,1.
Since it is 4,15, in the case of block (1,1),
Below the first continuous line, the vertices are ordered so that the continuous line of vertices 14 → 9 → 10 → 15 or vertices 15 → 10 → 9 → 14 is drawn, and data management is performed.

【0022】次に、ブロック(1,2)内の図形は、2
本の連続線で構成されているので、連続線を2本に分
け、それぞれの連続線ごとに頂点を管理する。1本目の
連続線は、頂点8,14,17で構成されているので、
連続線を結ぶ順に頂点14→8→17、または、頂点1
7→8→14、2本目の連続線は頂点11,15,16
で構成されているので、連続線を結ぶ順に頂点15→1
1→16、または、頂点16→11→15と順序付けを
行い、データ管理を行う。
Next, the figure in the block (1, 2) is 2
Since it is composed of two continuous lines, the continuous line is divided into two, and the vertex is managed for each continuous line. Since the first continuous line is composed of vertices 8, 14, and 17,
Vertex 14 → 8 → 17 or vertex 1 in the order of connecting continuous lines
7 → 8 → 14, the second continuous line is the vertices 11, 15, 16
Since it is composed of, vertices 15 → 1 in the order of connecting continuous lines
Data management is performed by ordering 1 → 16 or vertices 16 → 11 → 15.

【0023】ブロック(2,1)内には、連続線図形が
存在しないので、データの格納は行われない。
Since no continuous line figure exists in the block (2, 1), no data is stored.

【0024】次に、ブロック(2,2)内の図形は、1
本の連続線で構成されており、それを構成している頂点
は、頂点12,13,16,17であるので、ブロック
(2,2)の場合では、1本目の連続線の下に、頂点1
6→12→13→17、または、頂点17→13→12
→16の順になるように頂点の順序付けを行い、データ
管理を行う。
Next, the figure in the block (2, 2) is 1
It is composed of a continuous line of books, and the vertices that compose it are vertices 12, 13, 16, and 17, so in the case of block (2, 2), below the first continuous line, Vertex 1
6 → 12 → 13 → 17 or vertex 17 → 13 → 12
→ The data is managed by performing the ordering of the vertices in the order of 16.

【0025】このように、全体図を各ブロックに分割
し、各ブロック中に存在する連続線の数、その連続線区
分を構成する頂点座標を階層上に管理する。
In this way, the whole view is divided into blocks, and the number of continuous lines existing in each block and the coordinates of the vertices forming the continuous line section are managed in a hierarchical manner.

【0026】なお、この分割作業および頂点座標データ
の管理は、プログラムにより予め行われているものとす
る。
It is assumed that the division work and the management of the vertex coordinate data are performed in advance by a program.

【0027】図5は、図3に示した連続線図形の一部を
表示する例について説明するための図である。
FIG. 5 is a diagram for explaining an example of displaying a part of the continuous line figure shown in FIG.

【0028】図5に示すような複数のブロックにまたが
った図形を表示させる場合、まず、各ブロックの4隅の
座標値と表示させる図形の4隅の座標値とを比較し、表
示に必要なブロックを抽出する。
When displaying a graphic that extends over a plurality of blocks as shown in FIG. 5, first, the coordinate values at the four corners of each block are compared with the coordinate values at the four corners of the graphic to be displayed, and this is necessary for display. Extract blocks.

【0029】図5に示す例においては、ブロック(2,
1)及びブロック(2,2)が必要であるため、図4に
示したデータの階層管理に沿ってブロック(2,1)と
ブロック(2,2)の頂点座標を各連続線ごとに順々に
結んでいき図形を表示する。
In the example shown in FIG. 5, the block (2,
1) and the block (2, 2) are required, the vertex coordinates of the block (2, 1) and the block (2, 2) are sequentially arranged for each continuous line according to the hierarchical management of data shown in FIG. Display figures by connecting them to each other.

【0030】これにより、表示領域外のブロックには一
切アクセスせずに連続線図形の部分表示を行うことがで
き、頂点データのアクセス数を最小限にすることがで
き、部分描画処理速度を向上させることができる。
As a result, the continuous line figure can be partially displayed without accessing any block outside the display area, the number of accesses to the vertex data can be minimized, and the partial drawing processing speed can be improved. Can be made.

【0031】[0031]

【発明の効果】以上説明したように本発明においては、
連続線からなる図形を複数のブロックに分割し、連続線
のブロック境界上に頂点を設定し、各ブロック内におけ
る、連続線の数、連続線毎に構成される頂点の座標及び
ブロック境界上に設定された頂点の座標についての情報
をそれぞれ管理し、画面上に表示させる連続線図形が含
まれるブロックについての情報を参照することにより連
続線からなる図形の一部を画面上に表示させる構成とし
たため、表示領域外のブロックのデータには一切アクセ
スすることなく、連続線からなる図形の一部を画面上に
表示させることができる。
As described above, in the present invention,
A figure consisting of continuous lines is divided into multiple blocks, vertices are set on the block boundaries of the continuous lines, and the number of continuous lines in each block, the coordinates of the vertices configured for each continuous line, and the block boundaries are set. By managing the information about the coordinates of the set vertices and referring to the information about the block containing the continuous line graphic to be displayed on the screen, a part of the graphic consisting of the continuous line is displayed on the screen. Therefore, it is possible to display a part of the figure composed of the continuous line on the screen without accessing the data of the block outside the display area at all.

【0032】それにより、複雑な連続線図形等がブロッ
ク中や2つ以上のブロックにまたがって存在する場合に
おいてもスクロールの高速化または連続線図形の部分拡
大を実現することができる。
Thus, even when a complicated continuous line figure or the like exists in a block or across two or more blocks, it is possible to realize high speed scrolling or partial enlargement of the continuous line figure.

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

【図1】ブロック化された図形の一部を示す図であり、
(a)は連続線及び頂点を示す図、(b)は(a)に示
した斜線部のブロックを示す図である。
FIG. 1 is a diagram showing a part of a block-shaped graphic,
(A) is a figure which shows a continuous line and a vertex, (b) is a figure which shows the block of the shaded part shown in (a).

【図2】全体図形をM×Nのブロックに分割したものを
示す図である。
FIG. 2 is a diagram showing an overall figure divided into M × N blocks.

【図3】本発明の連続線図形のブロック化管理方法の実
施の一形態を示す図である。
FIG. 3 is a diagram showing an embodiment of a method of managing blocking of continuous line figures according to the present invention.

【図4】図3に示した連続線図形のデータ管理について
説明するための図である。
FIG. 4 is a diagram for explaining data management of the continuous line graphic shown in FIG.

【図5】図3に示した連続線図形の一部を表示する例に
ついて説明するための図である。
FIG. 5 is a diagram for explaining an example of displaying a part of the continuous line figure shown in FIG.

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

1〜17,101〜104 頂点 105 ブロック領域 1-17, 101-104 Vertex 105 Block area

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 連続線からなる図形の一部を画面上に表
示させる連続線図形のブロック化管理方法であって、 前記連続線からなる図形を複数のブロックに分割し、 前記連続線の前記ブロック境界上に頂点を設定し、 前記各ブロック内における、前記連続線の数、該連続線
毎に構成される頂点の座標及び前記ブロック境界上に設
定された頂点の座標についての情報をそれぞれ管理し、 前記画面上に表示させる連続線図形が含まれるブロック
についての前記情報を参照することにより連続線からな
る図形の一部を画面上に表示させることを特徴とする連
続線図形のブロック化管理方法。
1. A method for managing a continuous line figure as a block, which displays a part of a figure consisting of continuous lines on a screen, wherein the figure consisting of continuous lines is divided into a plurality of blocks, and Setting vertices on block boundaries, and managing information about the number of continuous lines in each block, the coordinates of vertices formed for each continuous line, and the coordinates of vertices set on the block boundaries. However, by referring to the information about the block including the continuous line graphic to be displayed on the screen, a part of the graphic consisting of the continuous line is displayed on the screen, and the block management of the continuous line graphic is performed. Method.
【請求項2】 請求項1に記載の連続線図形のブロック
化管理方法において、 前記頂点の座標は、前記連続線が描かれる順序に従って
管理されることを特徴とする連続線図形のブロック化管
理方法。
2. The blocking management method for a continuous line figure according to claim 1, wherein the coordinates of the vertices are managed according to an order in which the continuous line is drawn. Method.
JP8027922A 1996-02-15 1996-02-15 Blocking management method for continuous line graphic Pending JPH09223219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8027922A JPH09223219A (en) 1996-02-15 1996-02-15 Blocking management method for continuous line graphic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8027922A JPH09223219A (en) 1996-02-15 1996-02-15 Blocking management method for continuous line graphic

Publications (1)

Publication Number Publication Date
JPH09223219A true JPH09223219A (en) 1997-08-26

Family

ID=12234386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8027922A Pending JPH09223219A (en) 1996-02-15 1996-02-15 Blocking management method for continuous line graphic

Country Status (1)

Country Link
JP (1) JPH09223219A (en)

Similar Documents

Publication Publication Date Title
US4967392A (en) Drawing processor for computer graphic system using a plurality of parallel processors which each handle a group of display screen scanlines
US5630039A (en) Tessellating complex in polygons in modeling coordinates
US6483519B1 (en) Processing graphic objects for fast rasterised rendering
US5461712A (en) Quadrant-based two-dimensional memory manager
JP3028379B2 (en) 3D computer graphic symbol generator
JP4343344B2 (en) A high-speed image rendering method using raster graphic objects
JPH0362266A (en) Computer-alded drawing making method
JP3110837B2 (en) Map figure data management method
EP0435492B1 (en) Method and system for displaying a three-dimensional object
JP2882465B2 (en) Image generation method and apparatus
JP3029878B2 (en) Apparatus and method for processing a plurality of polygons representing an image
EP0607131B1 (en) graphics output system and method
JPH06176122A (en) Graphic editing device
JPH09223219A (en) Blocking management method for continuous line graphic
JPH087800B2 (en) Method and apparatus for synthesizing solid model
US6801214B1 (en) Three-dimensional graphics system reducing color data/bits in drawing operations for faster processing
JP3371353B2 (en) Graphic information screen display editing method and graphic processing device
JP2622023B2 (en) Window management method
JP2000029383A (en) Graphic display method, graphic display device and recording medium
JPH05242167A (en) Pointer retrieval device for raster drawing and method for displaying vector data on raster drawing
JPS62115580A (en) Closed area paint out system
CN115984409A (en) Method and device for drawing vector data of geographic information system and electronic equipment
JPH11203486A (en) Translucent object display method and image display device using the method
JPH04288593A (en) Image display device
JPH09230784A (en) Map display system