[go: up one dir, main page]

TWI423163B - System and method for transferring graph elements of an aggregation entity from source layers to destination layers - Google Patents

System and method for transferring graph elements of an aggregation entity from source layers to destination layers Download PDF

Info

Publication number
TWI423163B
TWI423163B TW97122160A TW97122160A TWI423163B TW I423163 B TWI423163 B TW I423163B TW 97122160 A TW97122160 A TW 97122160A TW 97122160 A TW97122160 A TW 97122160A TW I423163 B TWI423163 B TW I423163B
Authority
TW
Taiwan
Prior art keywords
layer
entity
primitive
source
aggregated
Prior art date
Application number
TW97122160A
Other languages
Chinese (zh)
Other versions
TW200951872A (en
Inventor
Yu-Quan Xie
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97122160A priority Critical patent/TWI423163B/en
Publication of TW200951872A publication Critical patent/TW200951872A/en
Application granted granted Critical
Publication of TWI423163B publication Critical patent/TWI423163B/en

Links

Landscapes

  • Image Generation (AREA)
  • Processing Or Creating Images (AREA)

Description

聚合實體圖層轉換系統及方法Aggregated entity layer conversion system and method

本發明涉及一種二維圖形設計系統及方法,尤其關於一種聚合實體圖層轉換系統及方法。The invention relates to a two-dimensional graphic design system and method, in particular to an aggregate entity layer conversion system and method.

在二維圖形設計領域,把一些相互關聯的圖元組成一個整體,稱為聚合實體。有時需要把已經繪製好的聚合實體從原來分佈的源圖層轉換到目標圖層。習知的聚合實體圖層轉換方法是由設計人員搜索出聚合實體包含的圖元,手動地逐一對聚合實體包含的圖元修改圖層。對於複雜的聚合實體,搜索出聚合實體的所有圖元存在困難,容易漏掉一些聚合實體中的圖元,並且逐一修改圖層需要耗費大量的人力及時間。如果圖層被鎖定,修改圖層前必須先將鎖定的圖元圖層解鎖,修改完畢再將被解鎖的圖層重新鎖定,操作起來就更加繁瑣。In the field of two-dimensional graphic design, some related primitives are combined into one whole, called an aggregate entity. Sometimes it is necessary to convert an already drawn aggregated entity from the original distributed source layer to the target layer. The conventional aggregated entity layer conversion method is that the designer searches for the primitives contained in the aggregated entity, and manually modifies the layers by the primitives included in the aggregated entity. For a complex aggregate entity, it is difficult to search all the primitives of the aggregated entity, and it is easy to miss the primitives in some aggregated entities, and it takes a lot of manpower and time to modify the layers one by one. If the layer is locked, the locked element layer must be unlocked before modifying the layer. After the modification, the unlocked layer is re-locked, which makes the operation more complicated.

鑒於以上內容,有必要提供一種聚合實體圖層轉換系統及方法,能夠快速方便地將聚合實體所包含的圖元從源圖層轉換到目標圖層。In view of the above, it is necessary to provide an aggregated entity layer conversion system and method, which can quickly and easily convert the primitives contained in the aggregated entity from the source layer to the target layer.

一種聚合實體圖層轉換系統,運行於電腦中,所述電腦包括存儲二維圖形的圖形存儲區,該圖形存儲區存儲的二維圖形包含有需進行圖層轉換的聚合實體,該系統包括:接收模組,用於從所述圖形存儲區中接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖 層;圖元搜索模組,用於根據接收的源圖元從所述圖形存儲區中搜索該聚合實體包含的各個圖元;圖層解鎖模組,用於得到該聚合實體的各個圖元對應的源圖層,及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖;及圖層轉換模組,用於逐一將該聚合實體的各個圖元轉換到目標圖層。An aggregate entity layer conversion system running in a computer, the computer comprising a graphics storage area for storing a two-dimensional graphics, the two-dimensional graphics stored in the graphics storage area comprising an aggregation entity to be converted by a layer, the system comprising: a receiving module a group, configured to receive, from the graphics storage area, a source entity of an aggregate entity to be layer-converted and a target map to be converted by the aggregate entity a layer search module, configured to search for each primitive included in the aggregated entity from the graphics storage area according to the received source primitive; the layer unlocking module is configured to obtain each primitive corresponding to the aggregated entity The source layer, and the unlocked layer in the obtained source layer and the received target layer are unlocked; and the layer conversion module is configured to convert each primitive of the aggregated entity to the target layer one by one.

一種聚合實體圖層轉換方法,該方法包括步驟:接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖層;根據接收的源圖元從包含該聚合實體的二維圖形中搜索該聚合實體包含的所有圖元;得到該聚合實體的各個圖元對應的源圖層,及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖;及逐一將該聚合實體的各個圖元轉換到目標圖層。An aggregate entity layer conversion method, the method comprising the steps of: receiving a source primitive of an aggregate entity to be layer-converted and a target layer to be converted by the aggregate entity; and receiving the source primitive from the two-dimensional graphics containing the aggregate entity Searching for all the primitives included in the aggregated entity; obtaining the source layer corresponding to each primitive of the aggregated entity, and unlocking the obtained source layer and the locked layer in the received target layer; and Each element is converted to a target layer.

本發明能夠快速方便地將聚合實體所包含的圖元從源圖層轉換到目標圖層,保證了聚合實體圖層轉換的正確性,提高了設計效率。The invention can quickly and conveniently convert the primitives contained in the aggregated entity from the source layer to the target layer, thereby ensuring the correctness of the transformation of the aggregated entity layer and improving the design efficiency.

在二維圖形設計領域,把一些相互關聯的圖元組成一個整體,稱為聚合實體,聚合實體包含於二維圖形中。參閱圖1所示,係本發明聚合實體圖層轉換系統較佳實施例的運行環境架構圖。所述聚合實體圖層轉換系統10運行於電腦1中。所述電腦1包括用於存儲二維圖形的圖形存儲區11。該圖形存儲區11存儲的二維圖形包含有需進行圖層轉換的聚合實體,且該圖形存儲區11還存儲所述二維圖 形中各個圖元的屬性資料、各個圖元的關聯資訊及各個圖層的狀態資訊等。在一個二維圖形中,各個圖元被對應放置在不同的圖層中,例如入子圖層、輪廓線圖層、分界線圖層和中心線圖層;一個圖元的屬性資料用於表示該圖元所分佈的圖層;一個圖元的關聯資訊用於表示該圖元與其他圖元間的關聯關係;及一個圖層的狀態資訊用於表示該圖層的狀態,即鎖定狀態或解鎖狀態。在圖層轉換之前,聚合實體的圖元可以分佈於多個圖層,也可以分佈於一個圖層,聚合實體圖元所分佈的圖層稱為源圖層。所述聚合實體圖層轉換系統10包括:接收模組100、圖元搜索模組101、圖層解鎖模組102、圖層轉換模組103及圖層重鎖模組104。In the field of two-dimensional graphic design, some related primitives are grouped together, called aggregate entities, and aggregate entities are included in two-dimensional graphics. Referring to FIG. 1, a schematic diagram of an operating environment architecture of a preferred embodiment of the aggregated entity layer conversion system of the present invention is shown. The aggregated physical layer conversion system 10 operates in the computer 1. The computer 1 includes a graphics storage area 11 for storing two-dimensional graphics. The two-dimensional graphics stored in the graphics storage area 11 include an aggregation entity that needs to perform layer conversion, and the graphics storage area 11 also stores the two-dimensional graphics. Attribute data of each primitive in the shape, associated information of each primitive, and status information of each layer. In a two-dimensional graph, each primitive is correspondingly placed in a different layer, such as a sub-layer, a contour layer, a boundary layer, and a centerline layer; an attribute of an element is used to represent the distribution of the element. The layer's associated information is used to indicate the association between the primitive and other primitives; and the state information of a layer is used to indicate the state of the layer, that is, the locked state or the unlocked state. Before the layer is converted, the primitives of the aggregated entity can be distributed over multiple layers, or they can be distributed to one layer. The layer distributed by the aggregated entity primitives is called the source layer. The aggregated physical layer conversion system 10 includes a receiving module 100, a primitive search module 101, a layer unlocking module 102, a layer converting module 103, and a layer relocking module 104.

所述接收模組100用於從圖形存儲區11中接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖層。所述源圖元可以是該聚合實體中的任意圖元,假設源圖元為A。所述目標圖層是聚合實體將要轉換到的圖層,在本實施例中以該聚合實體被轉換到一個目標圖層為例進行說明。The receiving module 100 is configured to receive, from the graphics storage area 11 the source primitive of the aggregated entity to be layer-converted and the target layer to be converted by the aggregated entity. The source primitive may be any primitive in the aggregated entity, assuming the source primitive is A. The target layer is a layer to which the aggregation entity is to be converted. In this embodiment, the aggregation entity is converted to a target layer as an example for description.

所述圖元搜索模組101用於根據接收的源圖元從該圖形存儲區11中搜索該聚合實體包含的所有圖元。圖元搜索模組101採用逐級搜索的方式搜索聚合實體包含的圖元,具體而言,圖元搜索模組101從圖形存儲區ll讀取接收的源圖元的關聯資訊,根據讀取的源圖元的關聯資訊,從該圖形存儲區11中搜索到與源圖元相關聯的圖元(以下稱一 級關聯圖元),然後讀取一級關聯圖元的關聯資訊,根據讀取的一級關聯圖元的關聯資訊,從該圖形存儲區11中搜索與一級關聯圖元相關聯的圖元(以下稱二級關聯圖元),重複上述逐級搜索動作,直至搜索出該聚合實體的所有圖元。假設圖元搜索模組101從該圖形存儲區11中搜索出與源圖元A關聯的圖元是B、C,與B關聯的圖元是D、E,與C關聯的圖元是F、G,則該聚合實體的所有圖元是A、B、C、D、E、F、G。The primitive search module 101 is configured to search all the primitives included in the aggregated entity from the graphics storage area 11 according to the received source primitive. The primitive search module 101 searches for the primitives included in the aggregated entity by using a hierarchical search method. Specifically, the primitive search module 101 reads the associated information of the received source primitives from the graphics storage area 11 according to the read information. The associated information of the source primitive is searched from the graphics storage area 11 for the primitive associated with the source primitive (hereinafter referred to as a Level-related primitives, and then read the association information of the first-level associated primitives, and search for the primitives associated with the first-level associated primitives from the graphics storage area 11 according to the associated information of the first-level associated primitives read (hereinafter referred to as The secondary association primitive) repeats the above-mentioned step-by-step search action until all the primitives of the aggregated entity are searched. It is assumed that the primitive search module 101 searches from the graphics storage area 11 that the primitive associated with the source primitive A is B, C, and the primitive associated with B is D, E, and the primitive associated with C is F, G, then all primitives of the aggregated entity are A, B, C, D, E, F, G.

所述圖層解鎖模組102用於讀取該聚合實體的各個圖元的屬性資料;根據讀取的屬性資料,得到該聚合實體的各個圖元對應的源圖層;及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖。在本實施例中,所述圖層解鎖模組102根據圖層的狀態資訊,判斷得到的源圖層及接收的目標圖層中是否有圖層被鎖定;若得到的源圖層及接收的目標圖層中有圖層被鎖定,則修改被鎖定的圖層的狀態資訊以將被鎖定的圖層解鎖。圖層的狀態包括鎖定狀態和解鎖狀態。The layer unlocking module 102 is configured to read attribute data of each primitive of the aggregated entity; obtain a source layer corresponding to each primitive of the aggregated entity according to the read attribute data; and obtain the source layer and receive the source layer The locked layer in the target layer is unlocked. In this embodiment, the layer unlocking module 102 determines, according to the state information of the layer, whether the layer in the obtained source layer and the received target layer is locked; if the obtained source layer and the received target layer have layers, Lock, modify the status information of the locked layer to unlock the locked layer. The state of the layer includes the locked state and the unlocked state.

所述圖層轉換模組103用於逐一修改該聚合實體的各個圖元的屬性資料,以將該聚合實體的各個圖元轉換到接收的目標圖層。The layer conversion module 103 is configured to modify the attribute data of each primitive of the aggregated entity one by one to convert each primitive of the aggregated entity to the received target layer.

所述圖層重鎖模組104用於修改被解鎖的圖層的狀態資訊,將被解鎖的圖層重新鎖定,以保證二維圖形的正確性。The layer re-locking module 104 is configured to modify the state information of the unlocked layer, and relock the unlocked layer to ensure the correctness of the two-dimensional graphic.

參閱圖2所示,係本發明聚合實體圖層轉換方法較佳 實施例的流程圖。聚合實體是二維圖形中的一些相互關聯的圖元組成的一個整體,所述二維圖形存儲於電腦1的圖形存儲區11中。該圖形存儲區11存儲的二維圖形包含有需進行圖層轉換的聚合實體,且該圖形存儲區11還存儲所述二維圖形中各個圖元的屬性資料、各個圖元的關聯資訊及各個圖層的狀態資訊等。在一個二維圖形中,各個圖元被對應放置在不同的圖層中,例如入子圖層、輪廓線圖層、分界線圖層和中心線圖層;一個圖元的屬性資料用於表示該圖元所分佈的圖層;一個圖元的關聯資訊用於表示該圖元與其他圖元間的關聯關係;及一個圖層的狀態資訊用於表示該圖層的狀態,即鎖定狀態或解鎖狀態。在圖層轉換之前,聚合實體的圖元可以分佈於多個圖層,也可以分佈於一個圖層,聚合實體圖元所分佈的圖層稱為源圖層。Referring to FIG. 2, the method for converting the aggregated entity layer of the present invention is preferred. A flow chart of an embodiment. The aggregated entity is an integral part of some interrelated primitives in the two-dimensional graphics, and the two-dimensional graphics are stored in the graphics storage area 11 of the computer 1. The two-dimensional graphics stored in the graphics storage area 11 include an aggregation entity that needs to perform layer conversion, and the graphics storage area 11 also stores attribute data of each primitive in the two-dimensional graphics, associated information of each primitive, and each layer. Status information, etc. In a two-dimensional graph, each primitive is correspondingly placed in a different layer, such as a sub-layer, a contour layer, a boundary layer, and a centerline layer; an attribute of an element is used to represent the distribution of the element. The layer's associated information is used to indicate the association between the primitive and other primitives; and the state information of a layer is used to indicate the state of the layer, that is, the locked state or the unlocked state. Before the layer is converted, the primitives of the aggregated entity can be distributed over multiple layers, or they can be distributed to one layer. The layer distributed by the aggregated entity primitives is called the source layer.

步驟S201,接收模組100從圖形存儲區11中接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖層。所述源圖元可以是該聚合實體中的任意圖元,假設源圖元為A。所述目標圖層是聚合實體將要轉換到的圖層,在本實施例中以該聚合實體被轉換到一個目標圖層為例進行說明。In step S201, the receiving module 100 receives, from the graphics storage area 11, the source primitive of the aggregated entity to be layer-converted and the target layer to be converted by the aggregated entity. The source primitive may be any primitive in the aggregated entity, assuming the source primitive is A. The target layer is a layer to which the aggregation entity is to be converted. In this embodiment, the aggregation entity is converted to a target layer as an example for description.

步驟S202,圖元搜索模組101根據接收的源圖元從該圖形存儲區11中搜索該聚合實體包含的所有圖元。該步驟採用逐級搜索的方式搜索聚合實體包含的圖元,具體而言,圖元搜索模組101從圖形存儲區11讀取接收的源圖元的關聯資訊,根據讀取的源圖元的關聯資訊,從該圖形存 儲區11中搜索到與源圖元相關聯的一級關聯圖元,然後讀取一級關聯圖元的關聯資訊,根據讀取的一級關聯圖元的關聯資訊,從該圖形存儲區11中搜索與一級關聯圖元相關聯的二級關聯圖元,重複上述逐級搜索動作,直至搜索出該聚合實體的所有圖元。假設圖元搜索模組101從該圖形存儲區11中搜索出與源圖元A關聯的圖元是B、C,與B關聯的圖元是D、E,與C關聯的圖元是F、G,則該聚合實體的所有圖元是A、B、C、D、E、F、G。In step S202, the primitive search module 101 searches all the primitives included in the aggregated entity from the graphics storage area 11 according to the received source primitive. In this step, the primitives included in the aggregated entity are searched in a step-by-step manner. Specifically, the primitive search module 101 reads the associated information of the received source primitives from the graphics storage area 11 according to the read source primitives. Associate information, save from the graphics Searching for the first-level associated primitive associated with the source primitive in the storage area 11, and then reading the associated information of the primary associated primitive, and searching from the graphics storage area 11 according to the associated information of the read primary associated primitive. The second-level associated primitive associated with the first-level associated primitive repeats the above-mentioned step-by-step search action until all the primitives of the aggregated entity are searched. It is assumed that the primitive search module 101 searches from the graphics storage area 11 that the primitive associated with the source primitive A is B, C, and the primitive associated with B is D, E, and the primitive associated with C is F, G, then all primitives of the aggregated entity are A, B, C, D, E, F, G.

步驟S203,圖層解鎖模組102讀取該聚合實體的各個圖元的屬性資料;根據讀取的屬性資料,得到該聚合實體的各個圖元對應的源圖層;及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖。在本實施例中,所述圖層解鎖模組102根據圖層的狀態資訊,判斷得到的源圖層及接收的目標圖層中是否有圖層被鎖定;若得到的源圖層及接收的目標圖層中有圖層被鎖定,則修改被鎖定的圖層的狀態資訊以將被鎖定的圖層解鎖。圖層的狀態包括鎖定狀態和解鎖狀態。Step S203, the layer unlocking module 102 reads the attribute data of each primitive of the aggregated entity; according to the read attribute data, obtains the source layer corresponding to each primitive of the aggregated entity; and the obtained source layer and the received source layer The layer in the target layer that is locked is unlocked. In this embodiment, the layer unlocking module 102 determines, according to the state information of the layer, whether the layer in the obtained source layer and the received target layer is locked; if the obtained source layer and the received target layer have layers, Lock, modify the status information of the locked layer to unlock the locked layer. The state of the layer includes the locked state and the unlocked state.

步驟S204,圖層轉換模組103逐一修改該聚合實體的各個圖元的屬性資料,以將該聚合實體的各個圖元轉換到接收的目標圖層。In step S204, the layer conversion module 103 modifies the attribute data of each primitive of the aggregated entity one by one to convert each primitive of the aggregated entity to the received target layer.

步驟S205,圖層重鎖模組104修改被解鎖的圖層的狀態資訊,將被解鎖的圖層重新鎖定,以保證二維圖形的正確性。In step S205, the layer re-locking module 104 modifies the state information of the unlocked layer, and relocks the unlocked layer to ensure the correctness of the two-dimensional graphic.

上述實施例以將聚合實體圖元修改到一個目標圖層 為例進行說明,若需要將聚合實體圖元修改到多個目標圖層,只需根據聚合實體圖元與目標圖層的對應關係,在修改聚合實體圖元的屬性資料時根據對應關係相應地進行修改。The above embodiment to modify the aggregate entity primitive to a target layer For example, if you need to modify the aggregated entity primitives to multiple target layers, you only need to modify the attribute data of the aggregated entity primitives according to the corresponding relationship according to the corresponding relationship between the aggregated entity primitives and the target layer. .

以上所述僅為本發明之較佳實施例而已,且已達廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所完成之均等變化或修飾,均應包含在下述之申請專利範圍內。The above is only the preferred embodiment of the present invention, and has been used in a wide range of applications. Any other equivalent changes or modifications which are not departing from the spirit of the present invention should be included in the following claims. Inside.

電腦‧‧‧1Computer ‧‧1

聚合實體圖層轉換系統‧‧‧10Aggregated Entity Layer Conversion System ‧‧10

接收模組‧‧‧100Receiving module ‧‧100

圖元搜索模組‧‧‧101Element search module ‧‧‧101

圖層解鎖模組‧‧‧102Layer unlocking module ‧‧‧102

圖層轉換模組‧‧‧103Layer Conversion Module ‧‧‧103

圖層重鎖模組‧‧‧104Layer relocking module ‧‧104

圖形存儲區‧‧‧11Graphic storage area ‧‧11

接收源圖元及目標圖層‧‧‧S201Receive source and target layers ‧‧‧S201

搜索聚合實體包含的所有圖元‧‧‧S202Search all elements contained in the aggregated entity ‧‧‧S202

得到聚合實體的各個圖元對應的源圖層,並對處於鎖 定狀態的源圖層及目標圖層進行解鎖‧‧‧S203Get the source layer corresponding to each primitive of the aggregated entity, and get locked The source layer and the target layer of the fixed state are unlocked. ‧‧‧S203

逐一修改聚合實體的各個圖元的屬性資料,以將聚合實體的各個圖元轉換到目標圖層‧‧‧S204Modify the attribute data of each primitive of the aggregated entity one by one to convert each primitive of the aggregated entity to the target layer. ‧‧S204

修改被解鎖的圖層的狀態資訊,以將被解鎖的圖層重新鎖定‧‧‧S205Modify the status information of the unlocked layer to relock the unlocked layer ‧‧‧S205

圖1係本發明聚合實體圖層轉換系統較佳實施例的運行環境架構圖。1 is a diagram showing the operating environment architecture of a preferred embodiment of the aggregated entity layer conversion system of the present invention.

圖2係本發明聚合實體圖層轉換方法較佳實施例的流程圖。2 is a flow chart of a preferred embodiment of the method for converting an aggregated entity layer of the present invention.

接收源圖元及目標圖層‧‧‧S201Receive source and target layers ‧‧‧S201

搜索聚合實體包含的所有圖元‧‧‧S202Search all elements contained in the aggregated entity ‧‧‧S202

得到聚合實體的各個圖元對應的源圖層,並對處於鎖定狀態的源圖層及目標圖層進行解鎖‧‧‧S203Obtain the source layer corresponding to each primitive of the aggregated entity, and unlock the source layer and the target layer in the locked state. ‧‧‧S203

逐一修改聚合實體的各個圖元的屬性資料,以將聚合實體的各個圖元轉換到目標圖層‧‧‧S204Modify the attribute data of each primitive of the aggregated entity one by one to convert each primitive of the aggregated entity to the target layer. ‧‧S204

修改被解鎖的圖層的狀態資訊,以將被解鎖的圖層重新鎖定‧‧‧S205Modify the status information of the unlocked layer to relock the unlocked layer ‧‧‧S205

Claims (9)

一種聚合實體圖層轉換系統,運行於電腦中,所述電腦包括存儲二維圖形的圖形存儲區,該圖形存儲區存儲的二維圖形包含有需進行圖層轉換的聚合實體,該系統包括:接收模組,用於從所述圖形存儲區中接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖層;圖元搜索模組,用於根據接收的源圖元從所述圖形存儲區中搜索該聚合實體包含的各個圖元;圖層解鎖模組,用於得到該聚合實體的各個圖元對應的源圖層,及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖;及圖層轉換模組,用於逐一將該聚合實體的各個圖元轉換到目標圖層。An aggregate entity layer conversion system running in a computer, the computer comprising a graphics storage area for storing a two-dimensional graphics, the two-dimensional graphics stored in the graphics storage area comprising an aggregation entity to be converted by a layer, the system comprising: a receiving module a group, configured to receive, from the graphics storage area, a source primitive of an aggregate entity to be layer-converted and a target layer to be converted by the aggregate entity; a primitive search module, configured to receive the source primitive from the Searching for each primitive included in the aggregated entity in the graphics storage area; the layer unlocking module is configured to obtain a source layer corresponding to each primitive of the aggregated entity, and is locked in the obtained source layer and the received target layer. The layer is unlocked; and the layer conversion module is configured to convert each primitive of the aggregated entity to the target layer one by one. 如申請專利範圍第1項所述之聚合實體圖層轉換系統,該系統還包括:圖層重鎖模組,用於將被解鎖的圖層重新鎖定。The aggregate entity layer conversion system of claim 1, wherein the system further comprises: a layer re-locking module for relocking the unlocked layer. 如申請專利範圍第1項所述之聚合實體圖層轉換系統,其中所述圖元搜索模組採用逐級搜索的方式搜索該聚合實體包含的各個圖元。The aggregate entity layer conversion system of claim 1, wherein the primitive search module searches for each primitive included in the aggregated entity by using a hierarchical search method. 一種聚合實體圖層轉換方法,該方法包括步驟:接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖層; 根據接收的源圖元從包含該聚合實體的二維圖形中搜索該聚合實體包含的所有圖元;得到該聚合實體的各個圖元對應的源圖層,及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖;及逐一將該聚合實體的各個圖元轉換到目標圖層。An aggregate entity layer conversion method, the method comprising the steps of: receiving a source primitive of an aggregate entity to be layer-converted and a target layer to be converted by the aggregate entity; Searching, according to the received source primitive, all the primitives included in the aggregated entity from the two-dimensional graphics including the aggregated entity; obtaining a source layer corresponding to each primitive of the aggregated entity, and obtaining the source layer and the received target layer The layer in the locked state is unlocked; and each element of the aggregated entity is converted to the target layer one by one. 如申請專利範圍第4項所述之聚合實體圖層轉換方法,該方法還包括步驟:將被解鎖的圖層重新鎖定。The method for converting an aggregated entity layer as described in claim 4, further comprising the step of: relocking the unlocked layer. 如申請專利範圍第4項所述之聚合實體圖層轉換方法,其中所述搜索聚合實體包含的各個圖元是採用逐級搜索的方式進行搜索。The method for converting an aggregate entity layer according to claim 4, wherein each of the primitives included in the search aggregation entity is searched by a stepwise search. 一種可用於轉換聚合實體圖層的電腦系統,該電腦系統包括存儲二維圖形的圖形存儲區,該圖形存儲區存儲的二維圖形包含有需進行圖層轉換的聚合實體,該電腦系統還包括:接收模組,用於從所述圖形存儲區中接收需進行圖層轉換的聚合實體的源圖元及該聚合實體要轉換的目標圖層;圖元搜索模組,用於根據接收的源圖元從所述圖形存儲區中搜索該聚合實體包含的各個圖元;圖層解鎖模組,用於得到該聚合實體的各個圖元對應的源圖層,及對得到的源圖層及接收的目標圖層中處於鎖定狀態的圖層進行解鎖;及 圖層轉換模組,用於逐一將該聚合實體的各個圖元轉換到目標圖層。A computer system for converting an aggregated physical layer, the computer system comprising a graphics storage area for storing a two-dimensional graphics, the two-dimensional graphics stored in the graphics storage area comprising an aggregation entity requiring layer conversion, the computer system further comprising: receiving a module, configured to receive, from the graphics storage area, a source entity of an aggregate entity to be layer-converted and a target layer to be converted by the aggregation entity; and a primitive search module configured to receive the source element according to the received source element Searching for each primitive included in the aggregated entity in the graphics storage area; the layer unlocking module is configured to obtain a source layer corresponding to each primitive of the aggregated entity, and is locked in the obtained source layer and the received target layer. The layer is unlocked; and The layer conversion module is configured to convert each primitive of the aggregated entity to the target layer one by one. 如申請專利範圍第7項所述之電腦系統,該電腦系統進一步包括:圖層重鎖模組,用於將被解鎖的圖層重新鎖定。The computer system of claim 7, wherein the computer system further comprises: a layer relocking module for relocking the unlocked layer. 如申請專利範圍第7項所述之電腦系統,其中所述圖元搜索模組採用逐級搜索的方式搜索該聚合實體包含的各個圖元。The computer system of claim 7, wherein the primitive search module searches for each primitive included in the aggregated entity by means of a stepwise search.
TW97122160A 2008-06-13 2008-06-13 System and method for transferring graph elements of an aggregation entity from source layers to destination layers TWI423163B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97122160A TWI423163B (en) 2008-06-13 2008-06-13 System and method for transferring graph elements of an aggregation entity from source layers to destination layers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97122160A TWI423163B (en) 2008-06-13 2008-06-13 System and method for transferring graph elements of an aggregation entity from source layers to destination layers

Publications (2)

Publication Number Publication Date
TW200951872A TW200951872A (en) 2009-12-16
TWI423163B true TWI423163B (en) 2014-01-11

Family

ID=44871891

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97122160A TWI423163B (en) 2008-06-13 2008-06-13 System and method for transferring graph elements of an aggregation entity from source layers to destination layers

Country Status (1)

Country Link
TW (1) TWI423163B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144392A (en) * 1998-04-30 2000-11-07 Ati Technologies, Inc. Method and apparatus for formatting a texture in a frame buffer
US6529949B1 (en) * 2000-02-07 2003-03-04 Interactual Technologies, Inc. System, method and article of manufacture for remote unlocking of local content located on a client device
EP1560127A2 (en) * 2004-01-30 2005-08-03 Canon Kabushiki Kaisha Layout control
TW200729166A (en) * 2005-09-13 2007-08-01 Toshiba Kk Information storage medium, information reproducing apparatus, and information reproducing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6144392A (en) * 1998-04-30 2000-11-07 Ati Technologies, Inc. Method and apparatus for formatting a texture in a frame buffer
US6529949B1 (en) * 2000-02-07 2003-03-04 Interactual Technologies, Inc. System, method and article of manufacture for remote unlocking of local content located on a client device
EP1560127A2 (en) * 2004-01-30 2005-08-03 Canon Kabushiki Kaisha Layout control
TW200729166A (en) * 2005-09-13 2007-08-01 Toshiba Kk Information storage medium, information reproducing apparatus, and information reproducing method

Also Published As

Publication number Publication date
TW200951872A (en) 2009-12-16

Similar Documents

Publication Publication Date Title
Karan et al. Extending BIM interoperability to preconstruction operations using geospatial analyses and semantic web services
CN103617295B (en) A kind of method and apparatus of geographical vector data processing
US20100205181A1 (en) Average case analysis for efficient spatial data structures
CN113792068B (en) Method and device for organizing and retrieving multi-level and multi-topic spatial data
Sharma et al. Improved density based spatial clustering of applications of noise clustering algorithm for knowledge discovery in spatial data
Wang et al. Geometry-based semantic ID for persistent and interoperable reference in feature-based parametric modeling
Biljecki et al. Improving the consistency of multi-LOD CityGML datasets by removing redundancy
CN103049555A (en) Dynamic hierarchical integrated data accessing method capable of guaranteeing semantic correctness
CN104102699B (en) A kind of subgraph search method in the set of graphs that clusters
CN103279344A (en) Method and system for supporting isomeric sensor semantic registration
CN104021210B (en) Geographic data reading and writing method of MongoDB cluster of geographic data stored in GeoJSON-format semi-structured mode
Zhu et al. Transportation routing map abstraction approach: Algorithm and numerical analysis
Nativi et al. Unidata’s common data model mapping to the ISO 19123 data model
Hoel et al. High performance multimodal networks
TWI423163B (en) System and method for transferring graph elements of an aggregation entity from source layers to destination layers
Jiang et al. Feature construction for meta-heuristic algorithm recommendation of capacitated vehicle routing problems
CN101599168B (en) Graphic layer transition method of aggregation substance and system thereof
Peng et al. Analytical queries on road networks: An experimental evaluation of two system architectures
CN103292817B (en) In a kind of map of navigation electronic, avoid the differential data production method of redundant data
CN116521813A (en) An adaptive length vector data encoding method and system
KR100298197B1 (en) Method for creating layer of spatial object
He et al. A Survey on Efficient Graph Reachability Queries
Hulea et al. Optimizing multi-modal transportation in smart cities: A graph-oriented database approach
Syafiq et al. CityJSON Management Using Multi-Model Graph Database to Support 3D Urban Data Management
Nguyen Spatio-semantic Comparison of 3D City Models in CityGML using a Graph Database

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees