CN106683198B - Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network - Google Patents

Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network Download PDF

Info

Publication number
CN106683198B
CN106683198B CN201510758649.4A CN201510758649A CN106683198B CN 106683198 B CN106683198 B CN 106683198B CN 201510758649 A CN201510758649 A CN 201510758649A CN 106683198 B CN106683198 B CN 106683198B
Authority
CN
China
Prior art keywords
pipe network
pipe
rendering
point
pipeline
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.)
Active
Application number
CN201510758649.4A
Other languages
Chinese (zh)
Other versions
CN106683198A (en
Inventor
蔡红
沈迎志
沈美岑
鲍佳欢
董肖
周培龙
陈玉成
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.)
Star Space (tianjin) Technology Development Co Ltd
Original Assignee
Star Space (tianjin) Technology Development 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 Star Space (tianjin) Technology Development Co Ltd filed Critical Star Space (tianjin) Technology Development Co Ltd
Priority to CN201510758649.4A priority Critical patent/CN106683198B/en
Publication of CN106683198A publication Critical patent/CN106683198A/en
Application granted granted Critical
Publication of CN106683198B publication Critical patent/CN106683198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a three-dimensional automatic modeling and scheduling rendering method for a comprehensive pipe network, which relates to the technical field of three-dimensional model construction and comprises the following steps: reading data; creating a layer; cutting and scheduling; automatically modeling the pipeline; automatically modeling a pipe point; and (5) automatically constructing a pipe network. The method can effectively solve the technical problems of two-dimensional and three-dimensional integrated management of underground pipe network data based on geographic information, spatial data organization and rendering, automatic construction of a three-dimensional pipe network according to two-dimensional data and the like. The access efficiency of the pipe network information in the three-dimensional scene is improved, and the unified display, management and analysis levels of a plurality of underground pipe network systems with different attributes are improved. The method plays an important basis for urban construction, particularly for the scheme for acquiring and constructing the underground pipe network space information in the future smart city construction, and the large-scale development and utilization of urban underground space resources are driven by the rapid development of urban construction.

Description

Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network
Technical Field
The invention relates to the technical field of three-dimensional model construction, in particular to a method for effectively solving the technical problems of two-dimensional and three-dimensional integrated management, spatial data organization and scheduling, automatic construction and rendering of a three-dimensional pipe network and the like based on underground pipe network data in geographic information. The two-dimensional pipeline data is used for automatically creating the three-dimensional model, so that the management level of two-dimensional and three-dimensional integration is improved, the workload of three-dimensional pipeline data maintenance is greatly reduced, and the display effect of the pipeline data is improved. By adopting a dynamic scheduling mode for pipe points and pipelines in the underground pipe network, the internal memory of equipment is effectively utilized, the loading of mass pipeline data is supported, and the data loading speed is increased; by adopting a paging index mechanism, pipeline data is rapidly scheduled and displayed, the access efficiency of the pipe network information in a three-dimensional scene is improved, and the unified display, management and analysis level of a mass underground comprehensive pipe network is improved.
Background
The urban underground space is a huge and abundant space resource, and the exploitable resource amount of the urban underground space is the product of the exploitable area, the reasonable exploitation depth and the appropriate exploitable coefficient. The development prospect and investment strategy planning analysis prospect of the Chinese underground space industry show that the total area of urban construction land in China in 2012 is 32.28 hectares, and the underground space resource amount for reasonable development can reach 3873.60 billions of cubic meters according to 40% of developable coefficient and 30-meter development depth calculation. The method is a considerable and abundant resource, and if reasonably developed, the method has important significance for expanding urban space and realizing urban intensive development.
With the development and utilization of underground space of the first-line city in China, shallow underground parts can be utilized completely, with the gradual improvement of deep excavation technology and equipment, the development of underground space can be gradually developed to the deep layer in order to comprehensively utilize underground space resources. When the underground space is deeply layered, the differentiation trend of each space layer is stronger and stronger. The layered underground space takes people and functional areas serving the people as centers, people and vehicles are distributed, municipal pipelines, sewage and garbage are treated in different layers, and various underground traffics are also arranged in layers, so that mutual interference is reduced, and the utilization sufficiency and completeness of the underground space are ensured.
The development of underground space is an important development trend of structural engineering in the 21 st century. For the present time, the development of urban underground spaces can be applied to:
1. traffic facilities: urban underground passages, urban subways, tunnels;
2. commercial facilities: underground shopping malls, underwater amusement parks;
3. municipal public service pipeline facilities: the utilization of urban roads is improved, the stable operation of underground facilities is protected, and a reserved space is provided for adding facilities later;
4. and (3) urban comprehensive disaster prevention construction: people defend against air, natural disasters and the like.
Therefore, the utilization of the underground space plays an important role in improving the ground environment. The method has the advantages that the public tunnel of the urban underground municipal pipeline is advocated to be built while underground traffic is developed and urban atmospheric pollution is reduced, tap water, a blow-off pipe, a heating pipe, a cable and a communication line are brought into the public tunnel, the length of the short-circuit line can be shortened by 30%, the public tunnel is easy to inspect and repair, and the use of ground land is not influenced. Conditional cities can also develop underground refuse disposal systems to eliminate the "city around" phenomenon of refuse.
With the development of society and the continuous improvement of the current urbanization level, the infrastructure development is rapid, the underground pipe network system is larger and larger, and the management complexity is increased year by year. Underground pipe networks are also changing on the original basis: besides the original water supply and drainage network, power grid, heating power network and communication line, natural gas pipe network, internet and the like are added, and underground pipe network becomes more and more complex; updating an old pipe network and designing and planning a new pipe network, which all need to perfect and detailed various information of the underground pipe network; a large amount of formed pipe network data needs to be processed in time; however, the traditional manual drawing has low efficiency of manual management modes of management by manual memory and manual statistics and analysis, so that the requirement of rapidly developing mass data is difficult to adapt, a great deal of waste is caused, and further improvement of maintenance efficiency and service level is hindered. And due to the violent increase of the infrastructure, the effective management of the underground pipe network is lacked, so that a zipper of the urban pipe network is formed, and the repeated construction and the resource waste are caused. In the construction, because the condition of the underground pipe network is not known, the events of destroying the underground pipe network, such as gas leakage, water pipe breaking, communication interruption and the like, occur frequently, so that the economic construction and the resident life are seriously influenced, and unsafe hidden dangers are buried, therefore, the strengthening of the two-dimensional and three-dimensional integrated organization and construction technology of the comprehensive pipeline data in the underground pipe network is very important.
However, when the existing pipe network adopts a two-dimensional form for displaying, only professionals who know the related art can perform fluent review, which brings trouble to the general public. When the three-dimensional form is adopted for displaying, the three-dimensional symbolization is mainly carried out on the pipe network and the pipe network auxiliary facilities, so that the connection and crossing conditions of the pipe network can be more visually displayed. The method comprises the steps of firstly, importing a central axis of a pipe network entity into computer aided design software, then generating a three-dimensional model for a pipeline by using a point and line three-dimensional rendering method in the three-dimensional software by using a human-computer interaction technology, and carrying out corresponding processing on a pipeline interface. It is not convenient to query the spatial information and attribute information of the pipeline elements.
Meanwhile, due to the influence caused by different sources, different acquisition modes, different scales, different semantics, different data qualities, different formats and different coordinates of pipe network data, the existing research usually focuses on the conversion of data formats. Therefore, there is no unified data organization and management for the underground pipe network, and a unified representation model is used, so that it is difficult to obtain complete information through data conversion. On the basis of preprocessing data, a data mining method is adopted, seamless integration is formed by managing two-dimensional and three-dimensional pipe network data on the syntax, semantic and model levels, multi-source data are effectively integrated by real-time updating, and efficient creation of three-dimensional pipe network scenes of underground spaces of various scales is still the leading-edge subject and research focus of the current international field.
At present, no complete method can effectively solve the technical problems of two-dimensional and three-dimensional integrated management of underground pipe network data based on geographic information, spatial data organization, automatic construction of an underground three-dimensional pipe network and the like. The two-dimensional pipeline data is used for automatically creating the three-dimensional model, so that the management level of two-dimensional and three-dimensional integration is improved, the workload of three-dimensional pipeline data maintenance is greatly reduced, and the display effect of the pipeline data is improved. The management points and pipelines in the underground pipe network are organized to facilitate query and rendering of pipeline elements, a dynamic scheduling mode is adopted, the internal memory of equipment is effectively utilized, loading of massive pipeline data is supported, and the data loading speed and the display effect are improved; a paging index mechanism is adopted to rapidly schedule and display pipeline data; the access efficiency of the pipe network information in the three-dimensional scene is improved, and the unified display, management and analysis levels of a plurality of underground pipe network systems with different attributes are improved. The two-dimensional pipeline automatically renders a three-dimensional model, so that the traditional two-dimensional attribute information is retained, and the three-dimensional effect is visually displayed. The pipe fittings are abundant, so that the model can be automatically read from the model library, and well chambers such as straight-through wells, elbow wells, deepened elbow wells, tee wells, four-way wells, well neck bodies and square wells can be automatically established. The method plays an important basis for urban construction, particularly for the scheme for acquiring and constructing the underground pipe network space information in the future smart city construction, and the large-scale development and utilization of urban underground space resources are driven by the rapid development of urban construction. The directional and ordered development of cities is promoted, and the three-dimensional development of urban spaces is promoted; the protection potential of underground space resources is fully developed and utilized, and the comprehensive disaster prevention and damage resistance of cities is improved to play a certain auxiliary role. The method can provide safe, reliable, accurate and efficient data service for application in various fields.
Disclosure of Invention
In order to solve the technical problems in the prior art, massive three-dimensional data are efficiently and smoothly displayed, two-dimensional data and three-dimensional data which have practical significance are integrated in various fields, and massive data are automatically constructed, distributed, shared and applied through a three-dimensional pipe network model.
The embodiment of the invention provides a three-dimensional automatic modeling and scheduling rendering method for a comprehensive pipe network, which comprises the following steps:
reading data: reading the pipe network data file, opening a pipe network data source to obtain a pipe network data set, and further obtaining a pipe network element class set;
creating a layer: creating a pipe network layer set according to the pipe network element set;
cutting and scheduling: traversing and cutting the pipe network data in the scene and scheduling the data;
automatic modeling of pipelines: automatically creating a three-dimensional pipeline model according to two-dimensional basic attribute information and rendering style information of a pipeline in the process of rendering and scheduling the three-dimensional scene;
and (3) automatically modeling a pipe point: automatically creating a three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene;
automatic construction of a pipe network: and automatically constructing a pipe network model in a scene according to the constructed models of the pipelines and the pipe points of each pipeline layer.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is disclosed, wherein the layer creation: creating a pipe network layer set according to the pipe network element set;
the specific steps for creating the layer are as follows:
data preprocessing: reading paging index information of the pipe network data block, calculating paging index radius of the pipe network data block, and converting the central coordinate of the pipe network paging index data block into a project coordinate system from a source coordinate system;
creating a pipe network element paging index: and creating a pipe network element paging index object according to the preprocessed pipe network data block paging index information and adding the pipe network element paging index to a pipe network element layer root node.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is disclosed, wherein the cutting scheduling comprises the following steps: traversing and cutting the pipe network data in the scene and scheduling the data;
the specific steps of the cutting scheduling are as follows:
cutting and traversing scene node data: traversing each pipe network element layer node, judging whether the current pipe network element layer node is cut or not, if so, continuously traversing the next pipe network element layer node, and if not, obtaining a pipe network element paging index set;
scheduling request pipe network data: cutting a paging index set of the elements of the traversal pipe network, and requesting paging data of the elements of the pipe network;
cutting and traversing a pipe network node set: judging whether the pipe network nodes are pipe point rendering nodes or not in the traversal process, if so, continuing traversal, if not, traversing the pipe point model, continuing traversal and cutting, creating a pipe network model containing a drawing unit in the cutting traversal pipe point model process, and finally obtaining a pipe network rendering node set formed by the pipe network model;
cutting and traversing a pipe network rendering node set: judging whether the rendering nodes of the pipe network have the pipe network model in the traversal process, if so, continuing to traverse the model nodes, otherwise, continuing to traverse the rendering nodes of the pipe network, and finally obtaining a model node set of the pipe network;
cutting and traversing the model node set: and acquiring a drawing unit set of the pipe network model in the traversal process, and adding the model drawing unit to a rendering list for drawing.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is disclosed, wherein the scheduling requests pipe network data: cutting a paging index set of the elements of the traversal pipe network, and requesting paging data of the elements of the pipe network;
the specific steps of scheduling request pipe network data are as follows:
obtaining paging data: acquiring pipe network paging data from a pipe network database;
creating an element data set: creating a key element data set according to the paging data of the pipe network;
initializing an element data set: initializing basic attribute information and rendering style information of the pipe network elements, traversing the acquired pipe network geometric information set, creating pipe network rendering nodes according to the pipe network geometric information, and acquiring a pipe network node set.
A three-dimensional automatic modeling and scheduling rendering method for a comprehensive pipe network is disclosed, wherein: and the cutting traversal pipe network node set comprises: judging whether the pipe network nodes are pipe point rendering nodes or not in the traversal process, if so, continuing traversal, if not, traversing the pipe point model, continuing traversal and cutting, creating a pipe network model containing a drawing unit in the cutting traversal pipe point model process, and finally obtaining a pipe network rendering node set formed by the pipe network model;
the specific steps of cutting and traversing the pipe network node set are as follows:
creating a model object: in the process of collectively cutting the pipe network nodes, judging whether the pipe network nodes contain model objects or not, if so, checking the effectiveness of the model objects, and if not, firstly creating the model objects and then checking the effectiveness of the model objects;
check the validity of the model object: and judging the effectiveness of the model object, if the model object is judged to be an effective model, giving a rendering node model to the pipe network, if the model object is judged to be an ineffective model, judging that the cutting fails, and finishing the cutting.
A method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network is disclosed, wherein the pipeline automatic modeling comprises the following steps: automatically creating a three-dimensional pipeline model according to two-dimensional basic attribute information and rendering style information of a pipeline in the process of rendering and scheduling the three-dimensional scene;
the pipeline automatic modeling comprises the following specific steps:
preprocessing pipeline basic information: in order to enable the pipeline to be in seamless fit with the pipeline point, the length of the pipeline is zoomed along the pipe diameter direction according to the original basic attribute information of the pipeline, and updated basic attribute information of the pipeline is obtained;
calculating the coordinates of the starting point: calculating the coordinate conversion of the pipeline under the initial point source coordinate to the coordinate under the project coordinate according to the basic attribute information of the pipeline and the coordinate system conversion information;
creating a pipeline and dividing sections: initializing and creating a pipeline object, and dividing the pipeline object into pipe sections consisting of a plurality of sections according to the type of a pipeline;
calculating section coordinates: calculating local coordinate system coordinates of each section vertex according to the size of the section;
calculating the length of the pipeline: extracting required length information according to the basic information of each pipe section to calculate the pipe section length of each section pipe section;
calculating local coordinate system coordinates of the vertex of the section: traversing the section vertexes of all the pipe sections, firstly converting the vertex coordinates of the pipe sections into a project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as a local coordinate system origin;
calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating vertex coordinates, normal directions, texture coordinates and vertex index drawing information;
constructing a pipeline model: and according to each piece of basic drawing information of the section, drawing information is indexed through the top point of the section, and each section is constructed into a pipeline model.
A three-dimensional automatic modeling and scheduling rendering method for a comprehensive pipe network is disclosed, wherein: the pipe point automatic modeling: automatically creating a three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene;
the specific steps of the automatic modeling of the pipe points are as follows:
accessory management point rendering: for the pipe points containing the attachments, knowing the path information of the attachments in the pipe points, automatically reading the attachment model from the database for rendering;
non-satellite tube point rendering: and acquiring information of adjacent pipe points of the pipe points without the accessories, and judging the type of the current pipe point to perform automatic rendering of the pipe points.
A three-dimensional automatic modeling and scheduling rendering method for a comprehensive pipe network is disclosed, wherein: the non-satellite cast rendering comprises: and fusing tube point rendering and common tube point rendering of the pipeline.
A method of three-dimensional automated modeling and dispatch rendering of an integrated pipe network, wherein the non-adjunct pipe points render: acquiring information of adjacent management points of the management points without the accessories, and judging the type of the current management point to perform automatic rendering of the management points;
the non-adjunct management point rendering method comprises the following specific steps:
rendering tube points of the fusion pipeline: for the tube points containing the fusion tube line attributes, a tube line is required to be independently established and connected with the attachments for rendering;
rendering a common tube point: and rendering different tube point models according to the adjacent point information of the tube point for the tube point without the fused pipeline attribute.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is disclosed, wherein the common pipe network point rendering: rendering different tube point models according to adjacent point information of the tube points when the tube points do not contain the fused pipeline attributes;
the common pipe point rendering method comprises the following specific steps:
adjusting tube point coordinates Z: in order to achieve seamless ground pasting during rendering, the Z coordinate of the tube point is required to be adjusted according to the elevation attribute information of the tube point;
creating a pipe section and dividing a section: initializing a pipe section object for creating pipe points, and dividing the pipe section object into a plurality of sections according to the types of the pipe points;
calculating section coordinates: calculating local coordinate system coordinates of each section vertex according to the size of the section;
calculating the length of the pipe section: extracting required length information according to the basic information of each pipe section to calculate the pipe section length of each section pipe section;
calculating local coordinate system coordinates of the vertex of the section: traversing the section vertexes of all the pipe sections, firstly converting the vertex coordinates of the pipe sections into a project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as a local coordinate system origin;
calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating vertex coordinates, normal directions, texture coordinates and vertex index drawing information;
constructing a pipe point model: and according to each piece of basic drawing information of the section, drawing information is indexed through the top point of the section, and each section is constructed into a tube point model.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is disclosed, wherein attribute information of a pipeline comprises: initial point geophysical prospecting point number, elevation and pipe diameter.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is provided, wherein the rendering style information comprises: the color/texture of the inner wall and the outer wall of the pipeline, the thickness of the pipe wall and the rendering type.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network, wherein the pipeline types comprise: round tubes and square tubes.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is provided, wherein the attribute information of the pipe nodes comprises: geophysical prospecting point number, ground elevation, collision elevation and accessory name.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is provided, wherein rendering style information of pipe points comprises: and the management point type code, the accessory name, the model name corresponding to the accessory and the attribute for controlling the posture of the management point.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is provided, wherein the attribute for controlling the posture of a pipe point comprises the following steps: whether to follow pipe diameter, whether to stick to the ground, whether to follow the pipeline direction, whether to zoom along the z-axis, whether to automatically fuse to the pipeline, whether to rotate around the z-axis.
A method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network is disclosed, wherein the types of the common pipe nodes comprise: end points, straight through points, elbows, tees, cross joints, multi-pass, variable deep wells, cylindrical wells and square wells.
It can be seen from this that:
the method in the embodiment of the invention can effectively solve the technical problems of two-dimensional and three-dimensional integrated management of underground pipe network data based on geographic information, spatial data organization, automatic construction of an underground three-dimensional pipe network and the like. And a three-dimensional model is automatically created by utilizing two-dimensional pipeline data, so that the management level of two-dimensional and three-dimensional integration is improved, the workload of three-dimensional pipeline data maintenance is greatly reduced, and the display effect of the pipeline data is improved. The management points and pipelines in the underground pipe network are organized to facilitate query and rendering of pipeline elements, a dynamic scheduling mode is adopted, the internal memory of equipment is effectively utilized, loading of massive pipeline data is supported, and the data loading speed and the display effect are improved; a paging index mechanism is adopted to rapidly schedule and display pipeline data; the access efficiency of the pipe network information in the three-dimensional scene is improved, and the unified display, management and analysis levels of a plurality of underground pipe network systems with different attributes are improved. The two-dimensional pipeline automatically renders a three-dimensional model, so that the traditional two-dimensional attribute information is retained, and the three-dimensional effect is visually displayed. The pipe fittings are abundant, so that the model can be automatically read from the model library, and well chambers such as straight-through wells, elbow wells, deepened elbow wells, tee wells, four-way wells, well neck bodies and square wells can be automatically established. The method plays an important basis for urban construction, particularly for the scheme for acquiring and constructing the underground pipe network space information in the future smart city construction, and the large-scale development and utilization of urban underground space resources are driven by the rapid development of urban construction. The directional and ordered development of cities is promoted, and the three-dimensional development of urban spaces is promoted; the protection potential of underground space resources is fully developed and utilized, and the comprehensive disaster prevention and damage resistance of cities is improved to play a certain auxiliary role. The method can provide safe, reliable, accurate and efficient data service for application in various fields.
Drawings
Fig. 1 is a schematic flowchart of a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network according to embodiment 1 of the present invention;
fig. 2 is a schematic flowchart of a step of creating an image layer according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating the clipping scheduling step according to an embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating steps of scheduling request pipe network data according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of a step of cutting and traversing a node set of a pipe network according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating the steps provided by an embodiment of the present invention for automatically modeling a pipeline;
FIG. 7 is a flowchart illustrating the steps provided by an embodiment of the present invention for automatically modeling pipe points;
FIG. 8 is a flowchart illustrating the non-satellite cast point rendering step provided by an embodiment of the present invention;
fig. 9 is a flowchart illustrating a general tube point rendering step according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the technical solution of the present invention, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments, wherein the exemplary embodiments and the description of the present invention are provided to explain the present invention, but not to limit the present invention.
Example 1:
fig. 1 is a schematic flowchart of a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network according to this embodiment. As shown in fig. 1, a method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network includes the following steps:
reading data: reading the pipe network data file, opening a pipe network data source to obtain a pipe network data set, and further obtaining a pipe network element class set;
creating a layer: creating a pipe network layer set according to the pipe network element set;
cutting and scheduling: traversing and cutting the pipe network data in the scene and scheduling the data;
automatic modeling of pipelines: automatically creating a three-dimensional pipeline model according to two-dimensional basic attribute information and rendering style information of a pipeline in the process of rendering and scheduling the three-dimensional scene;
and (3) automatically modeling a pipe point: automatically creating a three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene;
automatic construction of a pipe network: and automatically constructing a pipe network model in a scene according to the constructed models of the pipelines and the pipe points of each pipeline layer.
As shown in fig. 2, a method for three-dimensional automatic modeling and scheduling rendering of a comprehensive pipe network, where the layer creation: creating a pipe network layer set according to the pipe network element set;
the specific steps for creating the layer are as follows:
data preprocessing: reading paging index information of the pipe network data block, calculating paging index radius of the pipe network data block, and converting the central coordinate of the pipe network paging index data block into a project coordinate system from a source coordinate system;
creating a pipe network element paging index: and creating a pipe network element paging index object according to the preprocessed pipe network data block paging index information and adding the pipe network element paging index to a pipe network element layer root node.
As shown in fig. 3, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, the clipping scheduling: traversing and cutting the pipe network data in the scene and scheduling the data;
the specific steps of the cutting scheduling are as follows:
cutting and traversing scene node data: traversing each pipe network element layer node, judging whether the current pipe network element layer node is cut or not, if so, continuously traversing the next pipe network element layer node, and if not, obtaining a pipe network element paging index set;
scheduling request pipe network data: cutting a paging index set of the elements of the traversal pipe network, and requesting paging data of the elements of the pipe network;
cutting and traversing a pipe network node set: judging whether the pipe network nodes are pipe point rendering nodes or not in the traversal process, if so, continuing traversal, if not, traversing the pipe point model, continuing traversal and cutting, creating a pipe network model containing a drawing unit in the cutting traversal pipe point model process, and finally obtaining a pipe network rendering node set formed by the pipe network model;
cutting and traversing a pipe network rendering node set: judging whether the rendering nodes of the pipe network have the pipe network model in the traversal process, if so, continuing to traverse the model nodes, otherwise, continuing to traverse the rendering nodes of the pipe network, and finally obtaining a model node set of the pipe network;
cutting and traversing the model node set: and acquiring a drawing unit set of the pipe network model in the traversal process, and adding the model drawing unit to a rendering list for drawing.
As shown in fig. 4, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, where the scheduling requests pipe network data: cutting a paging index set of the elements of the traversal pipe network, and requesting paging data of the elements of the pipe network;
the specific steps of scheduling request pipe network data are as follows:
obtaining paging data: acquiring pipe network paging data from a pipe network database;
creating an element data set: creating a key element data set according to the paging data of the pipe network;
initializing an element data set: initializing basic attribute information and rendering style information of the pipe network elements, traversing the acquired pipe network geometric information set, creating pipe network rendering nodes according to the pipe network geometric information, and acquiring a pipe network node set.
As shown in fig. 5, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, where the cutting traverses a pipe network node set: judging whether the pipe network nodes are pipe point rendering nodes or not in the traversal process, if so, continuing traversal, if not, traversing the pipe point model, continuing traversal and cutting, creating a pipe network model containing a drawing unit in the cutting traversal pipe point model process, and finally obtaining a pipe network rendering node set formed by the pipe network model;
the specific steps of cutting and traversing the pipe network node set are as follows:
creating a model object: in the process of collectively cutting the pipe network nodes, judging whether the pipe network nodes contain model objects or not, if so, checking the effectiveness of the model objects, and if not, firstly creating the model objects and then checking the effectiveness of the model objects;
check the validity of the model object: and judging the effectiveness of the model object, if the model object is judged to be an effective model, giving a rendering node model to the pipe network, if the model object is judged to be an ineffective model, judging that the cutting fails, and finishing the cutting.
As shown in fig. 6, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, the pipeline automatic modeling: automatically creating a three-dimensional pipeline model according to two-dimensional basic attribute information and rendering style information of a pipeline in the process of rendering and scheduling the three-dimensional scene;
the pipeline automatic modeling comprises the following specific steps:
preprocessing pipeline basic information: in order to enable the pipeline to be in seamless fit with the pipeline point, the length of the pipeline is zoomed along the pipe diameter direction according to the original basic attribute information of the pipeline, and updated basic attribute information of the pipeline is obtained;
calculating the coordinates of the starting point: calculating the coordinate conversion of the pipeline under the initial point source coordinate to the coordinate under the project coordinate according to the basic attribute information of the pipeline and the coordinate system conversion information;
creating a pipeline and dividing sections: initializing and creating a pipeline object, and dividing the pipeline object into pipe sections consisting of a plurality of sections according to the type of a pipeline;
calculating section coordinates: calculating local coordinate system coordinates of each section vertex according to the size of the section;
calculating the length of the pipeline: extracting required length information according to the basic information of each pipe section to calculate the pipe section length of each section pipe section;
calculating local coordinate system coordinates of the vertex of the section: traversing the section vertexes of all the pipe sections, firstly converting the vertex coordinates of the pipe sections into a project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as a local coordinate system origin;
calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating vertex coordinates, normal directions, texture coordinates and vertex index drawing information;
constructing a pipeline model: and according to each piece of basic drawing information of the section, drawing information is indexed through the top point of the section, and each section is constructed into a pipeline model.
As shown in fig. 7, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, where the pipe nodes are automatically modeled: automatically creating a three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene;
the specific steps of the automatic modeling of the pipe points are as follows:
accessory management point rendering: for the pipe points containing the attachments, knowing the path information of the attachments in the pipe points, automatically reading the attachment model from the database for rendering;
non-satellite tube point rendering: and acquiring information of adjacent pipe points of the pipe points without the accessories, and judging the type of the current pipe point to perform automatic rendering of the pipe points.
In a particular embodiment, the non-adjunct pipe point rendering comprises: and fusing tube point rendering and common tube point rendering of the pipeline.
As shown in fig. 8, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, the non-affiliate pipe point rendering: acquiring information of adjacent management points of the management points without the accessories, and judging the type of the current management point to perform automatic rendering of the management points;
the non-adjunct management point rendering method comprises the following specific steps:
rendering tube points of the fusion pipeline: for the tube points containing the fusion tube line attributes, a tube line is required to be independently established and connected with the attachments for rendering;
rendering a common tube point: and rendering different tube point models according to the adjacent point information of the tube point for the tube point without the fused pipeline attribute.
As shown in fig. 9, a method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network, the method for rendering a general pipe node includes: rendering different tube point models according to adjacent point information of the tube points when the tube points do not contain the fused pipeline attributes;
the common pipe point rendering method comprises the following specific steps:
adjusting tube point coordinates Z: in order to achieve seamless ground pasting during rendering, the Z coordinate of the tube point is required to be adjusted according to the elevation attribute information of the tube point;
creating a pipe section and dividing a section: initializing a pipe section object for creating pipe points, and dividing the pipe section object into a plurality of sections according to the types of the pipe points;
calculating section coordinates: calculating local coordinate system coordinates of each section vertex according to the size of the section;
calculating the length of the pipe section: extracting required length information according to the basic information of each pipe section to calculate the pipe section length of each section pipe section;
calculating local coordinate system coordinates of the vertex of the section: traversing the section vertexes of all the pipe sections, firstly converting the vertex coordinates of the pipe sections into a project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as a local coordinate system origin;
calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating vertex coordinates, normal directions, texture coordinates and vertex index drawing information;
constructing a pipe point model: and according to each piece of basic drawing information of the section, drawing information is indexed through the top point of the section, and each section is constructed into a tube point model.
In a specific embodiment, the attribute information of the pipeline includes: initial point geophysical prospecting point number, elevation and pipe diameter.
In a specific embodiment, the rendering style information includes: the color/texture of the inner wall and the outer wall of the pipeline, the thickness of the pipe wall and the rendering type.
In a particular embodiment, the pipeline types include: round tubes and square tubes.
In a specific embodiment, the attribute information of the pipe point includes: geophysical prospecting point number, ground elevation, collision elevation and accessory name.
In a specific embodiment, the rendering style information of the tube point includes: and the management point type code, the accessory name, the model name corresponding to the accessory and the attribute for controlling the posture of the management point.
In a specific embodiment, the attributes for controlling the tube point posture include: whether to follow pipe diameter, whether to stick to the ground, whether to follow the pipeline direction, whether to zoom along the z-axis, whether to automatically fuse to the pipeline, whether to rotate around the z-axis.
In a specific embodiment, the common pipe point types include: end points, straight through points, elbows, tees, cross joints, multi-pass, variable deep wells, cylindrical wells and square wells.
The present technology is described in detail below with an example of a more specific detailed aspect.
The scheduling and automatic rendering method of the integrated pipe network can be used for carrying out three-dimensional automatic modeling and scheduling rendering on two-dimensional communication pipe network data, electric power pipe network data, water supply pipe network data, drainage pipe network data, gas pipe network data, heating power pipe network data and industrial pipe network data.
First, data is read. The method comprises the steps of reading a pipe network data file after two-dimensional communication pipe network data, electric power pipe network data, water supply pipe network data, drainage pipe network data, gas pipe network data, heating power pipe network data and industrial pipe network data of a certain area are put in storage, opening a pipe network data source to obtain a pipe network data set, and further obtaining a communication pipe network, an electric power pipe network, a water supply pipe network, a drainage pipe network, a gas pipe network, a heating power pipe network and an industrial pipe network element class set.
Next, an image layer is created. And establishing a communication pipe network, a power pipe network, a water supply pipe network, a drainage pipe network, a gas pipe network, a heating power pipe network and an industrial pipe network element class set according to the communication pipe network, the power pipe network, the water supply pipe network, the drainage pipe network, the gas pipe network, the heating power pipe network and the industrial pipe network element class set.
And thirdly, cutting and scheduling. In the three-dimensional scene cutting and scheduling process, traversing cutting and data scheduling are respectively carried out on layer data of a communication pipe network, an electric power pipe network, a water supply pipe network, a drainage pipe network, a gas pipe network, a heating power pipe network and an industrial pipe network.
In the embodiment, a power grid is taken as an example.
Further, automatic modeling of the pipeline is performed. And automatically creating a power three-dimensional pipeline model according to the two-dimensional basic attribute information and the rendering style information of the power pipeline in the three-dimensional scene rendering and scheduling process.
Meanwhile, automatic modeling of pipe points is carried out. And automatically creating a power three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the power tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene.
And finally, automatically constructing a pipe network. And automatically constructing a pipe network model in a scene according to the constructed models of the pipelines and pipe points of the layers of the communication pipe network, the electric power pipe network, the water supply pipe network, the drainage pipe network, the gas pipe network, the heat power pipe network and the industrial pipe network.
In a specific embodiment, the step of creating the layer may specifically be:
first, the pipe network data is preprocessed. Reading rendering index information of a data block of the power pipe network, wherein the rendering index information comprises coordinate information of a rendering index bounding box; calculating according to the rendering index bounding box coordinates to obtain a rendering index radius and a center coordinate; converting the central coordinates of the pipe network rendering index data blocks from a TJ90 source coordinate system to a WGS84 project coordinate system;
then, a pipe network element paging index is created. And creating a power pipe network element paging index object according to the preprocessed power pipe network data block rendering index information and adding the power pipe network element paging index to the power pipe network element layer root node.
In a specific embodiment, the step of the clipping scheduling may specifically be:
1) cutting and traversing scene node data: traversing the nodes of the element map layers of the electric power pipe network, judging whether the nodes of the element map layers of the electric power pipe network are cut, if so, continuously traversing other nodes of the element map layers of the pipe network, and if not, obtaining a paging index set of the elements of the electric power pipe network;
2) scheduling request pipe network data: cutting and traversing the paging index set of the electric power pipe network element, and requesting the data of the electric power pipe network element block;
3) cutting and traversing a pipe network node set: judging whether the power pipe network nodes are power pipe point rendering nodes in the traversal process, if so, continuing traversal, if not, traversing the power pipe point model, continuing traversal and cutting, and creating a power pipe network model containing a drawing unit in the process of cutting and traversing the power pipe point model to finally obtain a power pipe network rendering node set formed by the power pipe network model;
4) cutting and traversing the rendering node set of the electric power pipe network: judging whether the power network rendering nodes have the power network model or not in the traversal process, if so, continuing to traverse the model nodes, and if not, continuing to traverse the power network rendering nodes to finally obtain a model node set of the power network;
5) cutting and traversing the model node set: and acquiring a drawing unit set of the electric power pipe network model in the traversal process, and adding the model drawing unit to the rendering scene tree for drawing.
The specific steps of scheduling request pipe network data are as follows: the method comprises the steps of obtaining power pipe network block data from a pipe network database, then creating power element blocks according to the power pipe network block data, initializing basic attribute information and rendering style information of power pipe network elements, traversing an obtained power pipe network geometric information set, creating power pipe network rendering nodes according to the power pipe network geometric information, and obtaining a power pipe network node set.
The basic attribute information of the pipe network elements comprises initial point geophysical prospecting point numbers, elevations and pipe diameters; the rendering style information of the pipe network elements comprises the colors/textures of the inner wall and the outer wall of the pipeline, the thickness of the pipe wall and the rendering type.
The specific steps of cutting and traversing the pipe network node set are as follows:
firstly, in the process of cutting a power pipe network node set, judging whether a power pipe network node contains a model object, if so, checking the validity of the model object, and if not, firstly creating the model object and then checking the validity of the model object;
and then checking the validity of the model object, judging the validity of the model object, if the model object is judged to be a valid model, giving a rendering node model to the pipe network, if the model object is judged to be an invalid model, judging that the cutting fails, and ending the cutting.
In a specific embodiment, the step of creating the power pipeline model may specifically be:
1) preprocessing power pipeline basic information: in order to enable the power pipeline to be in seamless fit with the pipe points, the length of the power pipeline is zoomed along the pipe diameter direction according to the original basic attribute information of the power pipeline, and the updated basic attribute information of the power pipeline is obtained;
the basic attribute information comprises an initial point geophysical prospecting point number, an elevation and a pipe diameter.
2) And (3) converting coordinates of the starting point: converting the coordinates of the power pipeline starting point TJ90 under the source coordinates into the coordinates of a WGS84 project according to the basic attribute information of the power pipeline and the coordinate system conversion information;
3) creating a three-dimensional pipeline and dividing sections: initializing and creating a three-dimensional pipeline object, and dividing the three-dimensional pipeline object into a plurality of sections according to the type of the power pipeline, such as square or circular;
4) calculating section coordinates: according to the width, height and radius size information of the section, calculating the coordinates of the top point of each section under a local coordinate system by taking the center of the section as the origin of coordinates;
5) calculating the length of the pipeline: extracting required length information according to the initial point information of each pipe section to calculate the pipe section length of each section pipe section;
6) calculating local coordinate system coordinates of the vertex of the section: traversing the section vertex of each pipe section, firstly converting the vertex coordinates of the pipe section into a WGS84 project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as the origin of a local coordinate system;
7) calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating a vertex coordinate position, a vertex normal vector, a vertex texture coordinate and vertex index drawing information;
8) constructing a pipeline model: and according to the basic drawing information of the coordinates, the normal direction and the texture of the vertex of the section, drawing information through the vertex index of the section, and constructing each section into a pipeline model.
In a specific embodiment, the step of creating the power management point model may specifically be:
firstly, judging whether the power management point has an accessory attribute, and automatically reading a power accessory model from a pipe network database file to render for the management point containing the accessory and knowing the path information of the accessory in the management point;
then, for the power pipe points without the accessories, firstly, judging whether the power pipe points have the attribute of a fusion pipeline, and for the pipe points with the attribute of the fusion pipeline, independently establishing a pipeline to be connected with the accessories for rendering;
thirdly, rendering different tube point models according to the adjacent point information of the tube point for the electric tube point without the fused pipeline attribute, for example, if there is only one adjacent point, rendering an endpoint model; if there are only two adjacent points, rendering a straight-through point or elbow model; if there are only three adjacent points, rendering a three-way model; if there are only four adjacent points, rendering a four-way model; and if more than four adjacent points exist, rendering the multi-pass model.
The step of creating the common power tube point model specifically may be:
1) adjusting the Z coordinate of the point of the common power tube: in order to achieve seamless ground pasting when the common power tube point model is rendered, the Z coordinate of the power tube point is required to be adjusted according to the elevation attribute information of the common power tube point;
2) creating a pipe section and dividing a section: initializing a three-dimensional pipe section object for creating a common power pipe point, and dividing the pipe section object into a plurality of sections according to the type of the common power pipe point, such as a square pipe or a circular pipe;
3) calculating section coordinates: according to the width, height and radius size information of the section, calculating the coordinates of the top point of each section under a local coordinate system by taking the center of the section as the origin of coordinates;
4) calculating the length of the pipe section: extracting required length information according to the initial point information of each pipe section to calculate the pipe section length of each section pipe section;
5) calculating local coordinate system coordinates of the vertex of the section: traversing the section vertex of each pipe section, firstly converting the vertex coordinates of the pipe section into a WGS84 project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as the origin of a local coordinate system;
6) calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating a vertex coordinate position, a vertex normal vector, a vertex texture coordinate and vertex index drawing information;
7) constructing a pipe point model: and according to the basic drawing information of the coordinates, the normal direction and the texture of the vertex of the section, drawing information through the vertex index of the section, and constructing each section into a tube point model.
The foregoing method descriptions and diagrams are provided merely as illustrative examples and are not intended to require or imply that the steps of the above-described operations or aspects must be performed in the order presented. As will be appreciated by one skilled in the art, the order of the blocks in the foregoing aspects may be performed in any order. Words such as "thereafter," "then," "next," etc. are not intended to limit the order of operations or steps; these words are used only to guide the reader through the description of the method. Furthermore, any reference to claim elements in the singular, for example, using the articles "a," "an," or "the" is not to be construed as limiting the element to the singular.
The various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the aspects disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall method. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be seen from this that:
the method in the embodiment of the invention can effectively solve the technical problems of two-dimensional and three-dimensional integrated management of underground pipe network data based on geographic information, spatial data organization, automatic construction of an underground three-dimensional pipe network and the like. And a three-dimensional model is automatically created by utilizing two-dimensional pipeline data, so that the management level of two-dimensional and three-dimensional integration is improved, the workload of three-dimensional pipeline data maintenance is greatly reduced, and the display effect of the pipeline data is improved. The management points and pipelines in the underground pipe network are organized to facilitate query and rendering of pipeline elements, a dynamic scheduling mode is adopted, the internal memory of equipment is effectively utilized, loading of massive pipeline data is supported, and the data loading speed and the display effect are improved; a paging index mechanism is adopted to rapidly schedule and display pipeline data; the access efficiency of the pipe network information in the three-dimensional scene is improved, and the unified display, management and analysis levels of a plurality of underground pipe network systems with different attributes are improved. The two-dimensional pipeline automatically renders a three-dimensional model, so that the traditional two-dimensional attribute information is retained, and the three-dimensional effect is visually displayed. The pipe fittings are abundant, so that the model can be automatically read from the model library, and well chambers such as straight-through wells, elbow wells, deepened elbow wells, tee wells, four-way wells, well neck bodies and square wells can be automatically established. The method plays an important basis for urban construction, particularly for the scheme for acquiring and constructing the underground pipe network space information in the future smart city construction, and the large-scale development and utilization of urban underground space resources are driven by the rapid development of urban construction. The directional and ordered development of cities is promoted, and the three-dimensional development of urban spaces is promoted; the protection potential of underground space resources is fully developed and utilized, and the comprehensive disaster prevention and damage resistance of cities is improved to play a certain auxiliary role. The method can provide safe, reliable, accurate and efficient data service for application in various fields.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A three-dimensional automatic modeling and scheduling rendering method for a comprehensive pipe network is characterized by comprising the following steps:
reading data: reading the pipe network data file, opening a pipe network data source to obtain a pipe network data set, and further obtaining a pipe network element class set;
creating a layer: creating a pipe network layer set according to the pipe network element set;
cutting and scheduling: traversing and cutting the pipe network data in the scene and scheduling the data;
automatic modeling of pipelines: automatically creating a three-dimensional pipeline model according to two-dimensional basic attribute information and rendering style information of a pipeline in the process of rendering and scheduling the three-dimensional scene;
and (3) automatically modeling a pipe point: automatically creating a three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene;
automatic construction of a pipe network: automatically constructing a pipe network model in a scene according to the constructed models of the pipelines and the pipe points of each pipeline layer;
the specific steps for creating the layer are as follows:
data preprocessing: reading paging index information of the pipe network data block, calculating paging index radius of the pipe network data block, and converting the central coordinate of the pipe network paging index data block into a project coordinate system from a source coordinate system;
creating a pipe network element paging index: creating a pipe network element paging index object according to the preprocessed pipe network data block paging index information and adding the pipe network element paging index to a pipe network element layer root node;
the specific steps of the cutting scheduling are as follows:
cutting and traversing scene node data: traversing each pipe network element layer node, judging whether the current pipe network element layer node is cut or not, if so, continuously traversing the next pipe network element layer node, and if not, obtaining a pipe network element paging index set;
scheduling request pipe network data: cutting a paging index set of the elements of the traversal pipe network, and requesting paging data of the elements of the pipe network;
cutting and traversing a pipe network node set: judging whether the pipe network nodes are pipe point rendering nodes or not in the traversal process, if so, continuing traversal, if not, traversing the pipe point model, continuing traversal and cutting, creating a pipe network model containing a drawing unit in the cutting traversal pipe point model process, and finally obtaining a pipe network rendering node set formed by the pipe network model;
cutting and traversing a pipe network rendering node set: judging whether the rendering nodes of the pipe network have the pipe network model in the traversal process, if so, continuing to traverse the model nodes, otherwise, continuing to traverse the rendering nodes of the pipe network, and finally obtaining a model node set of the pipe network;
cutting and traversing the model node set: and acquiring a drawing unit set of the pipe network model in the traversal process, and adding the model drawing unit to a rendering list for drawing.
2. The method for three-dimensional automatic modeling and dispatch rendering of an integrated pipe network of claim 1, wherein the dispatch requests pipe network data: cutting a paging index set of the elements of the traversal pipe network, and requesting paging data of the elements of the pipe network;
the specific steps of scheduling request pipe network data are as follows:
obtaining paging data: acquiring pipe network paging data from a pipe network database;
creating an element data set: creating a key element data set according to the paging data of the pipe network;
initializing an element data set: initializing basic attribute information and rendering style information of the pipe network elements, traversing the acquired pipe network geometric information set, creating pipe network rendering nodes according to the pipe network geometric information, and acquiring a pipe network node set.
3. The method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network according to claim 1, wherein: and the cutting traversal pipe network node set comprises: judging whether the pipe network nodes are pipe point rendering nodes or not in the traversal process, if so, continuing traversal, if not, traversing the pipe point model, continuing traversal and cutting, creating a pipe network model containing a drawing unit in the cutting traversal pipe point model process, and finally obtaining a pipe network rendering node set formed by the pipe network model;
the specific steps of cutting and traversing the pipe network node set are as follows:
creating a model object: in the process of collectively cutting the pipe network nodes, judging whether the pipe network nodes contain model objects or not, if so, checking the effectiveness of the model objects, and if not, firstly creating the model objects and then checking the effectiveness of the model objects;
check the validity of the model object: and judging the effectiveness of the model object, if the model object is judged to be an effective model, giving a rendering node model to the pipe network, if the model object is judged to be an ineffective model, judging that the cutting fails, and finishing the cutting.
4. The method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network according to claim 1, wherein: the pipeline is automatically modeled: automatically creating a three-dimensional pipeline model according to two-dimensional basic attribute information and rendering style information of a pipeline in the process of rendering and scheduling the three-dimensional scene;
the pipeline automatic modeling comprises the following specific steps:
preprocessing pipeline basic information: in order to enable the pipeline to be in seamless fit with the pipeline point, the length of the pipeline is zoomed along the pipe diameter direction according to the original basic attribute information of the pipeline, and updated basic attribute information of the pipeline is obtained;
calculating the coordinates of the starting point: calculating the coordinate conversion of the pipeline under the initial point source coordinate to the coordinate under the project coordinate according to the basic attribute information of the pipeline and the coordinate system conversion information;
creating a pipeline and dividing sections: initializing and creating a pipeline object, and dividing the pipeline object into pipe sections consisting of a plurality of sections according to the type of a pipeline;
calculating section coordinates: calculating local coordinate system coordinates of each section vertex according to the size of the section;
calculating the length of the pipeline: extracting required length information according to the basic information of each pipe section to calculate the pipe section length of each section pipe section;
calculating local coordinate system coordinates of the vertex of the section: traversing the section vertexes of all the pipe sections, firstly converting the vertex coordinates of the pipe sections into a project coordinate system, and then converting all the vertex coordinates into the coordinate system by taking a certain vertex as a local coordinate system origin;
calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating vertex coordinates, normal directions, texture coordinates and vertex index drawing information;
constructing a pipeline model: and according to each piece of basic drawing information of the section, drawing information is indexed through the top point of the section, and each section is constructed into a pipeline model.
5. The method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network according to claim 1, wherein: the pipe point automatic modeling: automatically creating a three-dimensional tube point model according to the two-dimensional basic attribute information and rendering style information of the tube points and the information of adjacent pipelines and tube points in the process of rendering and scheduling the three-dimensional scene;
the specific steps of the automatic modeling of the pipe points are as follows:
accessory management point rendering: for the pipe points containing the attachments, knowing the path information of the attachments in the pipe points, automatically reading the attachment model from the database for rendering;
non-satellite tube point rendering: and acquiring information of adjacent pipe points of the pipe points without the accessories, and judging the type of the current pipe point to perform automatic rendering of the pipe points.
6. The method for three-dimensional automatic modeling and scheduling rendering of an integrated pipe network according to claim 5, wherein: the non-satellite cast rendering comprises: and fusing tube point rendering and common tube point rendering of the pipeline.
7. The method of three-dimensional automated modeling and scheduling rendering of an integrated pipe network of claim 5 or 6, wherein the non-adjunct pipe point rendering: acquiring information of adjacent management points of the management points without the accessories, and judging the type of the current management point to perform automatic rendering of the management points;
the non-adjunct management point rendering method comprises the following specific steps:
rendering tube points of the fusion pipeline: for the tube points containing the fusion tube line attributes, a tube line is required to be independently established and connected with the attachments for rendering;
rendering a common tube point: and rendering different tube point models according to the adjacent point information of the tube point for the tube point without the fused pipeline attribute.
8. The method of claim 7, wherein the common pipe nodes render: rendering different tube point models according to adjacent point information of the tube points when the tube points do not contain the fused pipeline attributes;
the common pipe point rendering method comprises the following specific steps:
adjusting tube point coordinates Z: in order to achieve seamless ground pasting during rendering, the Z coordinate of the tube point is required to be adjusted according to the elevation attribute information of the tube point;
creating a pipe section and dividing a section: initializing a pipe section object for creating pipe points, and dividing the pipe section object into a plurality of sections according to the types of the pipe points;
calculating the length of the pipe section: extracting required length information according to the basic information of each pipe section to calculate the pipe section length of each section pipe section;
calculating basic drawing information of the vertex: traversing each vertex of the section, and calculating vertex coordinates, normal directions, texture coordinates and vertex index drawing information;
constructing a pipe point model: and according to each piece of basic drawing information of the section, drawing information is indexed through the top point of the section, and each section is constructed into a tube point model.
9. The method according to claim 6 or 8, wherein the attribute information of the pipeline comprises: starting point geophysical prospecting point number, elevation and pipe diameter; the rendering style information includes: color/texture of the inner wall and the outer wall of the pipeline, the thickness of the pipe wall and the rendering type; the pipeline types include: round tubes and square tubes; the attribute information of the pipe point includes: geophysical prospecting point number, ground elevation, collision elevation and accessory name; the rendering style information of the tube point comprises: the method comprises the steps of (1) controlling the attribute of a tube point posture by tube point type codes, accessory names, model names corresponding to the accessories; the attributes controlling the tube point pose include: whether to follow the pipe diameter, whether to stick to the ground, whether to follow the pipeline direction, whether to zoom along the z-axis, whether to automatically fuse to the pipeline, whether to rotate around the z-axis; the common pipe point types include: end points, straight through points, elbows, tees, cross joints, multi-pass, variable deep wells, cylindrical wells and square wells.
CN201510758649.4A 2015-11-10 2015-11-10 Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network Active CN106683198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510758649.4A CN106683198B (en) 2015-11-10 2015-11-10 Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510758649.4A CN106683198B (en) 2015-11-10 2015-11-10 Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network

Publications (2)

Publication Number Publication Date
CN106683198A CN106683198A (en) 2017-05-17
CN106683198B true CN106683198B (en) 2020-02-14

Family

ID=58863423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510758649.4A Active CN106683198B (en) 2015-11-10 2015-11-10 Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network

Country Status (1)

Country Link
CN (1) CN106683198B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959333A (en) * 2017-11-08 2018-12-07 北京市燃气集团有限责任公司 Gas ductwork method for automatic modeling and system based on augmented reality

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107153744B (en) * 2017-06-01 2020-08-25 杭州纵波科技有限公司 Underground three-dimensional pipeline decision making system
CN107402958B (en) * 2017-06-12 2020-09-15 重庆市勘测院 Method for creating and accessing GKF three-dimensional spatial database
CN107885912B (en) * 2017-10-24 2021-05-11 星际空间(天津)科技发展有限公司 Rapid collision detection method for mass underground pipelines
CN108319751B (en) * 2017-12-22 2021-04-30 北京城建设计发展集团股份有限公司 Automatic generation method of pipeline model of three-dimensional equipment of subway station pipeline
CN108388717A (en) * 2018-02-08 2018-08-10 武汉智博创享科技股份有限公司 A kind of method and device generating underground pipe network database model
CN108416842B (en) * 2018-02-28 2022-03-11 四川益新工程勘察设计有限公司 Urban three-dimensional integrated pipe network information management method
TWI685818B (en) * 2018-04-18 2020-02-21 坤眾科技股份有限公司 Three-dimensional modeling method and system
CN108763807B (en) * 2018-06-07 2022-04-05 安徽省(水利部淮河水利委员会)水利科学研究院(安徽省水利工程质量检测中心站) Method for automatically arranging statistical accessories in pipe network design
CN109087389B (en) * 2018-07-27 2020-06-09 西南石油大学 Underground pipeline automatic fine modeling method based on GPU (graphics processing Unit) programming
CN109145413B (en) * 2018-08-03 2023-04-07 泰华智慧产业集团股份有限公司 Method and device for analyzing water collection range of gravity pipeline pump station
CN109558630B (en) * 2018-10-22 2023-04-07 杭州叙简科技股份有限公司 Three-dimensional automatic modeling method suitable for underground space
CN109636900A (en) * 2018-12-14 2019-04-16 天津未来科技城开发有限公司 A kind of three-dimensional pipeline Real-time modeling set method and system based on GPU high-performance calculation
CN109325321A (en) * 2018-12-17 2019-02-12 北京太亚科技有限责任公司 A method of for the rapid automatized modeling of pipeline
CN109697757A (en) * 2019-01-16 2019-04-30 浙江科澜信息技术有限公司 A kind of threedimensional model patch ground method, apparatus, system and readable storage medium storing program for executing
CN110111410B (en) * 2019-03-22 2023-02-10 武汉众智鸿图科技有限公司 Two-three-dimensional pipe network data organization and display method based on spatial database
CN110135083A (en) * 2019-05-20 2019-08-16 成都同飞科技有限责任公司 A kind of three-dimensional pipe network automated construction method of included space attribute
CN114659492B (en) * 2019-09-06 2024-01-02 北京住总集团有限责任公司 Monitoring platform and monitoring method for tunneling
CN110706340B (en) * 2019-09-11 2023-04-14 南京太亚科技股份有限公司 Pipeline three-dimensional visualization platform based on real geographic data
CN111243092B (en) * 2020-01-06 2023-03-14 国网信通亿力科技有限责任公司 Three-dimensional visualization system suitable for intelligent power community
CN113658310A (en) * 2020-05-12 2021-11-16 星际空间(天津)科技发展有限公司 Pipe network model parametric modeling and efficient display method based on body object
CN111767619A (en) * 2020-06-29 2020-10-13 中国二十冶集团有限公司 Rapid modeling method for existing municipal engineering pipeline model
CN112131694B (en) * 2020-09-27 2022-08-12 北京航空航天大学 Turbine blade fluid network visualization method facing pipeline network method
CN113392485B (en) * 2021-03-18 2023-07-28 西安理工大学 Three-dimensional virtual simulation method for underground water supply pipe network
CN113255087B (en) * 2021-05-21 2024-04-05 国家电网有限公司 Method, device and equipment for extracting grounding calculation model based on three-dimensional grounding model
CN113421337A (en) * 2021-07-21 2021-09-21 北京臻观数智科技有限公司 Method for improving model rendering efficiency
CN113627038B (en) * 2021-10-09 2021-12-21 武汉幻城经纬科技有限公司 Pipe network drainage enhanced visualization method and device, storage medium and electronic equipment
CN113704945B (en) * 2021-10-25 2022-01-07 武汉幻城经纬科技有限公司 Pipe network road correlation analysis method and device, storage medium and electronic equipment
CN114328445B (en) * 2021-11-10 2023-08-18 成都垣景科技有限公司 Data fusion system and method based on node construction and pipe segment matching
CN114037792B (en) * 2022-01-07 2022-03-29 苏州工业园区测绘地理信息有限公司 Method for dynamically generating million-magnitude underground pipeline model under Unreal Engine platform
CN114820975B (en) * 2022-04-13 2023-04-11 湖北省国土测绘院 Three-dimensional scene simulation reconstruction system and method based on all-element parameter symbolization
CN116109776B (en) * 2023-02-28 2023-08-15 陕西宝岳测绘有限公司 Quick three-dimensional visualization method, system, equipment and medium for underground drainage pipe network
CN118470173B (en) * 2024-07-15 2024-09-20 安创启元(杭州)科技有限公司 Underground pipe network display method and device based on cloud rendering and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630419A (en) * 2009-08-13 2010-01-20 苏州市数字城市工程研究中心有限公司 Structuring method for three-dimensional visualizing system of urban synthesis pipeline network
CN101710353A (en) * 2009-12-03 2010-05-19 深圳先进技术研究院 Underground pipe network laying method based on three-dimensional virtual city
CN103399990A (en) * 2013-07-18 2013-11-20 北京工业大学 Method of constructing fine discrete road grid in urban drainage simulation system
CN103679804A (en) * 2013-12-18 2014-03-26 中国科学院深圳先进技术研究院 System and method for automatically building three-dimensional model of data of underground pipeline
CN103761405A (en) * 2014-02-17 2014-04-30 福州市勘测院 Three-dimensional underground integrated pipelines auto-generating system with error self-checking function
CN104462201A (en) * 2014-10-30 2015-03-25 中国地质大学(武汉) High-precision integrated pipe network data collecting system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7095423B2 (en) * 2002-07-19 2006-08-22 Evans & Sutherland Computer Corporation System and method for combining independent scene layers to form computer generated environments

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630419A (en) * 2009-08-13 2010-01-20 苏州市数字城市工程研究中心有限公司 Structuring method for three-dimensional visualizing system of urban synthesis pipeline network
CN101710353A (en) * 2009-12-03 2010-05-19 深圳先进技术研究院 Underground pipe network laying method based on three-dimensional virtual city
CN103399990A (en) * 2013-07-18 2013-11-20 北京工业大学 Method of constructing fine discrete road grid in urban drainage simulation system
CN103679804A (en) * 2013-12-18 2014-03-26 中国科学院深圳先进技术研究院 System and method for automatically building three-dimensional model of data of underground pipeline
CN103761405A (en) * 2014-02-17 2014-04-30 福州市勘测院 Three-dimensional underground integrated pipelines auto-generating system with error self-checking function
CN104462201A (en) * 2014-10-30 2015-03-25 中国地质大学(武汉) High-precision integrated pipe network data collecting system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
城市综合管网信息系统的设计与实现;刘洋;《中国优秀博硕士学位论文全文数据库(硕士) 基础科学辑》;20060515(第05期);正文第14-16、18-19、21-22、26页 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108959333A (en) * 2017-11-08 2018-12-07 北京市燃气集团有限责任公司 Gas ductwork method for automatic modeling and system based on augmented reality

Also Published As

Publication number Publication date
CN106683198A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN106683198B (en) Three-dimensional automatic modeling and scheduling rendering method for comprehensive pipe network
CN105701264A (en) Automatic construction method for underground pipe network
CN106600468A (en) Geographic-information-based comprehensive pipeline data two-dimensional and three-dimensional integrated organization method
CN101630419B (en) Structuring method for three-dimensional visualizing system of urban synthesis pipeline network
CN107895031B (en) Self-adaptive dynamic scheduling method of building information model in three-dimensional digital city scene
CN110990983A (en) Water supply pipeline cross arrangement method
CN111540051B (en) CIM-based full-element mass data lightweight and topology analysis application platform
CN105354345B (en) A kind of three-dimensional underground space full feature model real-time browsing method
CN103970919A (en) Automatic building information modeling data processing method
CN105975591B (en) A kind of production of urban global energy consumption numerical map and display methods and system
CN105335478B (en) The method and apparatus for building urban land space multistory survey data semantic association
Luo et al. A sustainable BIM-based multidisciplinary framework for underground pipeline clash detection and analysis
CN117874893B (en) Chemical pipeline visualization method based on BIM and UE5
CN116910951B (en) Regional heating pipe network optimization design method and device
Li Pipeline Spatial Data Modeling and Pipeline WebGIS
He et al. Assistant design system of urban underground pipeline based on 3D virtual city
CN101770614A (en) Safe management method for three-dimensional pipe network
Leng et al. A data integration and simplification framework for improving site planning and building design
CN106651186A (en) City planning management control processing method and system
CN115546394A (en) Pipe network digital twin scene generation method
Ge et al. Research report on the Utility Tunnel Engineering based on BIM technology
CN114491744A (en) Heating power pipeline full-information application method and system
CHENG et al. Application Research of BIM in the Whole Life Cycle of Metro Station
Huang et al. A research on data integration and application technology of urban comprehensive pipe gallery based on three‐dimensional geographic information system platform
CN109145437A (en) A kind of management method of underground utilities, system, equipment and readable storage medium storing program for executing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170517

Assignee: Tianjin survey and Design Institute Group Co.,Ltd.

Assignor: STARGIS (TIANJIN) TECHNOLOGY DEVELOPMENT Co.,Ltd.

Contract record no.: X2024980014455

Denomination of invention: A method for 3D automatic modeling and scheduling rendering of integrated pipeline network

Granted publication date: 20200214

License type: Common license|Cross license

Record date: 20240909

EE01 Entry into force of recordation of patent licensing contract