CN106469466A - A kind of construction method of three-dimensional pipeline model Connector model - Google Patents

A kind of construction method of three-dimensional pipeline model Connector model Download PDF

Info

Publication number
CN106469466A
CN106469466A CN201610799763.6A CN201610799763A CN106469466A CN 106469466 A CN106469466 A CN 106469466A CN 201610799763 A CN201610799763 A CN 201610799763A CN 106469466 A CN106469466 A CN 106469466A
Authority
CN
China
Prior art keywords
model
pipeline
connector
coordinate
set tube
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610799763.6A
Other languages
Chinese (zh)
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.)
Zhejiang Kelan Information Technology Co Ltd
Original Assignee
Zhejiang Kelan Information Technology 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 Zhejiang Kelan Information Technology Co Ltd filed Critical Zhejiang Kelan Information Technology Co Ltd
Priority to CN201610799763.6A priority Critical patent/CN106469466A/en
Publication of CN106469466A publication Critical patent/CN106469466A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/04Texture mapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2016Rotation, translation, scaling

Abstract

The present invention relates to geospatial information system technical field, disclose a kind of construction method of three-dimensional pipeline model Connector model, comprise the steps:(1) structure of Connector model:1. connect the structure of spherical model;2. cover the structure of tube model;(2) position of Connector model and morphology Control:1. to the operation connecting spherical model;2. the operation to set tube model;(3) appearance attribute of Connector model controls.The present invention is used for pipeline initiating terminal or clearing end, and connected ball and the encapsulation of sleeve pipe line up carry out round and smooth process.Meet place in pipeline two, if pipeline is in 180 degree docking, the fully wrapped around connected ball of sleeve pipe realizes the smooth docking of two pipelines, so that pipeline is connected more attractive in appearance;If pipeline is in other angles docking, it can clearly be seen that connected ball outside docking flex point, thus realizing the natural transition of two pipelines, connecing in pipeline three or meeting place more, also enabling preferable connection effect using the external member that the present invention generates.

Description

A kind of construction method of three-dimensional pipeline model Connector model
Technical field
The present invention relates to GIS-Geographic Information System trivector field, more particularly to a kind of three-dimensional pipeline model connector mould The construction method of type.
Background technology
With country and the attention degree more and more higher to underground pipeline construction, the construction of underground pipe gallery for the government, city ground The planning of underground pipelines, management still become the problem having to solve.The type of underground utilities is varied, and traditional two dimension is managed Wire management can not meet and is actually needed, and by being modeled to underground utilities, and present in three-dimensional scenic and manage, be Current main trend.
Three-dimensional pipeline modeling has manual modeling and automatic modeling two types.For manual modeling, using collecting The information such as line size, texture, attribute manually model, and this modeling method efficiency is low, high cost, are unfavorable for promoting.Automatically build Mould be using field data acquisition pipeline 2-D data according to pipeline model must be automatically generated by algorithm, this modeling method is carrying While high modeling efficiency, greatly reduce modeling cost.
At present, three-dimensional pipeline model is built according to two-dimensional vector data and show the side of existing comparative maturity in the scene Method.But, during practical operation, the problems such as due to Pipeline Data Collection precision, if not to adjacent lines junction If processing, then line break, pipeline stagger the problems such as will occur, and lead to display effect in the scene not good.
Content of the invention
The present invention is directed to the shortcoming that in prior art, three-dimensional pipeline model junction point line break, pipeline stagger, there is provided A kind of construction method of three-dimensional pipeline model Connector model.
In order to solve above-mentioned technical problem, the present invention is addressed by following technical proposals.
A kind of construction method of three-dimensional pipeline model Connector model, comprises the steps:
(1) structure of Connector model:Structure including the structure connecting spherical model and set tube model:
1. connect the structure of spherical model:Connect spherical model to build according to the parametric equation of sphere, the ginseng of sphere parameters equation Number is controlled by segmentation granularity S connecting radius of a ball R and connected ball, and acquiescence connects radius of a ball R=1, and segmentation granularity S=5, build Connection spherical model be model centered on coordinate origin;
2. cover the structure of tube model:Set tube model builds according to the parametric equation of circle, and the parameter of model is justified by sleeve pipe bottom surface Radius R, segmentation granularity S of base circumference and sleeve pipe height H control, the bottom surface radius of circle R=1 of acquiescence sleeve pipe, split grain Degree S=5, sleeve pipe height H=2, the center of the set tube model bottom surface of structure is the initial point of coordinate system, with coordinate system Y-axis as longitudinal direction Axis of symmetry;
(2) position of Connector model and morphology Control:Modeled for initial point according to the Connector model that step (1) is set up Unit model, needs to be moved in scene correct position and angle by following operation;
1. to the operation connecting spherical model:
A. connect spherical model at the origin to zoom in and out, default zoom ratio is 1.2 times of pipeline radius.Scaling can To be adjusted according to expression effect;
B. move to pipeline junction by connecting spherical model, shift value is the apex coordinate of pipeline starting point or terminating point.
2. the operation to set tube model:
a:Set tube model at the origin zooms in and out, and default zoom ratio is 1.2 times of pipeline radius, and scaling is permissible It is adjusted according to expression effect;
b:Set tube model at the origin is rotated, by sleeve rotating to the form parallel with pipeline;Rotary shaft and the world Vertically, the anglec of rotation is Y-axis and first section or the rear pipeline of world coordinate system for the Y-axis of coordinate system and first section or rear pipeline vector The angle of vector;
c:Set tube model is moved to pipeline junction, shift value is the apex coordinate of pipeline starting point or terminating point;
(3) appearance attribute of Connector model controls:Appearance attribute includes material properties and texture properties;Material properties are used In setting material color, texture properties take the form of by generate texture coordinate, then generate texture coordinate and Texture resource is arranged to be realized on node.
Further, in step (1), the organizational form of Connector model is VRML structure.
The present invention, due to employing above technical scheme, has significant technique effect:The present invention is used for pipeline is initiateed At end or clearing end, connected ball and the encapsulation of sleeve pipe line up carry out round and smooth process.Meet place in pipeline two, if pipeline is in 180 degree Docking, then the fully wrapped around connected ball of sleeve pipe realizes the smooth docking of two pipelines, so that pipeline is connected more attractive in appearance;If pipeline is in it His angle is docked, then it can clearly be seen that connected ball outside docking flex point, thus realizing the natural transition of two pipelines, manage Line three connects or meets place more, also enables preferable connection effect using the external member that the present invention generates.
Brief description
Fig. 1 is a kind of construction method schematic flow sheet of present invention three-dimensional pipeline model Connector model;
Fig. 2 is two pipeline external member design sketchs in a kind of present invention three-dimensional pipeline model Connector model;
Fig. 3 is a plurality of pipeline junction external member design sketch in a kind of present invention three-dimensional pipeline model Connector model.
Specific embodiment
With embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
As shown in Figure 1 to Figure 3, a kind of construction method of three-dimensional pipeline model Connector model, comprises the steps:
(1) structure of Connector model:Structure including the structure connecting spherical model and set tube model:
1. connect the structure of spherical model:Connect spherical model to build according to the parametric equation of sphere, parametric equation is as follows:
The parameter of sphere parameters equation is controlled by segmentation granularity S connecting radius of a ball R and connected ball, connected ball Z-direction Segmentation granularity be S, and the segmentation granularity of XOY plane be 2S (its positive integer of S), the connection spherical model of structure is former with coordinate system Model centered on point, the information of model is organized with VRML structure.
In general, build connecting the unit model that spherical model is with R=1, S=5, build apex coordinate, the stricture of vagina of model Reason coordinate, normal coordinate are as shown in table 1 below, table 2, table 3:
Unit connected ball apex coordinate (part)
Sequence number X Y Z
C(0,0) 1.000 0.000 0.000
C(1,0) 0.707 0.707 0.000
C(2,0) 0.000 1.000 0.000
C(3,0) -0.707 0.707 0.000
C(4,0) -1.000 0.000 0.000
Table 1
Unit connected ball texture coordinate (part)
Sequence number X Y Z
N(0,0) 1.000 0.000 0.000
N(1,0) 0.707 0.707 0.000
N(2,0) 0.000 1.000 0.000
N(2,0) -0.707 0.707 0.000
N(4,0) -1.000 0.000 0.000
Table 2
Unit connected ball normal coordinate (part)
Sequence number X Y Z
N(0,0) 1.000 0.000 0.000
N(1,0) 0.707 0.707 0.000
N(2,0) 0.000 1.000 0.000
N(2,0) -0.707 0.707 0.000
N(4,0) -1.000 0.000 0.000
Table 3
2. cover the structure of tube model:Set tube model builds according to the parametric equation of circle, and the parameter of model is justified by sleeve pipe bottom surface Radius R, segmentation granularity S of base circumference and sleeve pipe height H control, the bottom surface radius of circle R=1 of acquiescence sleeve pipe, split grain Degree S=5, sleeve pipe height H=2, the center of the set tube model bottom surface of structure is the initial point of coordinate system, with coordinate system Y-axis as longitudinal direction Axis of symmetry;
Set tube model is to be built based on the parametric equation of circle, and its parametric equation is as follows:
Set tube model bottom surface is to be controlled with radius R and segmentation granularity S, and segmentation granularity S is bigger, then set tube model bottom surface circle On number of vertices more, sleeve pipe model performance rounder and more smooth.The bottom surface of set tube model is constructed on the XOY plane of coordinate system After apex coordinate, with H for high elongation bottom surface apex coordinate, generate set tube model top surface apex coordinate.The set tube model building Bottom center in coordinate origin, with Y-axis for the model of longitudinally asymmetric axle, the information of model is to be organized with VRML structure 's.
In general, building set tube model is the unit model of S=8 with R=1, H=2, build model apex coordinate, Texture coordinate, normal coordinate are as shown in table 4 below, table 5, table 6:
Unit sleeve pipe model vertices coordinate (part)
Sequence number X Y Z
C(0) 0.000 0.000 1.000
C(5) 1.000 2.000 0.000
C(10) -0.707 0.000 -0.707
C(15) -0.707 2.000 0.707
C(20) 0.707 2.000 0.707
C(25) -1.000 2.000 0.000
C(30) 0.707 0.000 0.707
C(35) -1.000 0.000 0.000
Table 4
Unit connected ball normal coordinate (part)
Sequence number X Y
T(0) 0.00 0.00
T(5) 0.28 1.00
T(10) 0.71 0.00
T(15) 1.00 1.00
T(20) 0.85 0.85
T(25) 0.49 0.00
T(30) 0.85 0.85
T(35) 0.49 0.00
Table 5
Unit sleeve pipe model normal coordinate (part)
Sequence number X Y Z
N(0) 0.000 0.000 1.000
N(5) 1.000 0.000 0.000
N(10) -0.707 0.000 -0.707
N(15) -0.707 0.000 0.707
N(20) 0.000 1.000 0.000
N(25) 0.000 1.000 0.000
N(30) 0.000 -1.000 0.000
N(35) 0.000 -1.000 0.000
Table 6
(2) position of Connector model and morphology Control:Modeled for initial point according to the Connector model that step (1) is set up Unit model, needs to be moved in scene correct position and angle by following operation;
1. to the operation connecting spherical model:
A. connect spherical model at the origin to zoom in and out, default zoom ratio is 1.2 times of pipeline radius.Scaling can To be adjusted according to expression effect;
B. move to pipeline junction by connecting spherical model, shift value is the apex coordinate of pipeline starting point or terminating point.
It is to build centered on coordinate origin due to connecting spherical model, need to carry out attitude to it to be controlled, specifically Exactly suitable position in scene is put by connecting spherical model by translation, rotation, scaling, reach two adjacent lines of connection Purpose.
Connect spherical model and be not required to rotation process to be carried out, but Pan and Zoom operation will be carried out.Translation is to connect The central point of spherical model moves at the initial of pipeline or terminating point, and zoom operations are to control connection spherical model integrally to scale, To reach the purpose adapting to pipe radius.The scaling dynamics of acquiescence is 1.2 times of pipe radius at present.The mathematics base of these operations Plinth carries out matrix manipulation by opposite vertexes coordinate and realizes, formula specific as follows:
2. the operation to set tube model:
a:Set tube model at the origin zooms in and out, and default zoom ratio is 1.2 times of pipeline radius, and scaling is permissible It is adjusted according to expression effect;
b:Set tube model at the origin is rotated, by sleeve rotating to the form parallel with pipeline;Rotary shaft and the world Vertically, the anglec of rotation is Y-axis and first section or the rear pipeline of world coordinate system for the Y-axis of coordinate system and first section or rear pipeline vector The angle of vector;
c:Set tube model is moved to pipeline junction, shift value is the apex coordinate of pipeline starting point or terminating point;
The set tube model building near zero need to carry out translating, rotates, scales three kinds of operations, just can move on to pipe Line junction.Set tube model zooms in and out operation first, and scaling is 1.2 times of pipeline model radius;Secondly, rotated Operation, the Y-axis of rotary shaft and world coordinate system and first section or rear pipeline vector are vertical, and the anglec of rotation is the Y of world coordinate system Axle and the angle of first section or rear pipeline vector;Last grip tube model moves at starting point or the terminating point of pipeline.More than The Fundamentals of Mathematics such as following formula of operation:
(3) appearance attribute of Connector model controls:Material properties are used for arranging the color of material, the performance of texture properties Form is by generating texture coordinate, then the texture coordinate generating and texture resource is arranged and realizes on node.
The appearance attribute connecting spherical model is divided into material properties and two kinds of texture properties.Under the influence of scene light, even The outward appearance received both can by pure color form can also with paste texture in the way of represent.Pure color form represents mainly to be passed through to arrange field The material properties of scape node are realizing, and texture mode represents and mainly passes through to generate the texture coordinate of vertex correspondence, then Texture coordinate and texture resource are arranged to be realized in the texture properties of scenario node.
The appearance attribute of set tube model is also classified into material properties and two kinds of texture properties, implementation and connection spherical model one Cause.
In a word, the foregoing is only presently preferred embodiments of the present invention, all equalizations made according to scope of the present invention patent Change and modification, all should belong to the covering scope of patent of the present invention.

Claims (2)

1. a kind of construction method of three-dimensional pipeline model Connector model is it is characterised in that comprise the steps:
(1) structure of Connector model:Structure including the structure connecting spherical model and set tube model:
1. connect the structure of spherical model:Connect spherical model to build according to the parametric equation of sphere, the parameter of sphere parameters equation by Connect radius of a ball R and segmentation granularity S of connected ball controls, acquiescence connects radius of a ball R=1, and segmentation granularity S=5, the company of structure Model of receiving is the model centered on coordinate origin;
2. cover the structure of tube model:Set tube model builds according to the parametric equation of circle, the parameter of model justified by sleeve pipe bottom surface half Footpath R, segmentation granularity S of base circumference and sleeve pipe height H control, the bottom surface radius of circle R=1 of acquiescence sleeve pipe, segmentation granularity S= 5, sleeve pipe height H=2, the center of the set tube model bottom surface of structure is the initial point of coordinate system, is longitudinally asymmetric with coordinate system Y-axis Axle;
(2) position of Connector model and morphology Control:The unit being modeled for initial point according to the Connector model that step (1) is set up Model, needs to be moved in scene correct position and angle by following operation;
1. to the operation connecting spherical model:
A. connect spherical model at the origin to zoom in and out, default zoom ratio is 1.2 times of pipeline radius;
B. move to pipeline junction by connecting spherical model, shift value is the apex coordinate of pipeline starting point or terminating point;
2. the operation to set tube model:
a:Set tube model at the origin zooms in and out, and default zoom ratio is 1.2 times of pipeline radius, and scaling can basis Expression effect is adjusted;
b:Set tube model at the origin is rotated, by sleeve rotating to the form parallel with pipeline;Rotary shaft and world coordinates Vertically, the anglec of rotation is Y-axis and first section or the rear pipeline vector of world coordinate system for the Y-axis of system and first section or rear pipeline vector Angle;
c:Set tube model is moved to pipeline junction, shift value is the apex coordinate of pipeline starting point or terminating point;
(3) appearance attribute of Connector model controls:Appearance attribute includes material properties and texture properties;Material properties are used for setting Put the color of material, texture properties take the form of by generating texture coordinate, then the texture coordinate generating and texture Resource is arranged to be realized on node.
2. according to claim 1 a kind of three-dimensional pipeline model Connector model construction method it is characterised in that:Step (1), in, the organizational form of Connector model is VRML structure.
CN201610799763.6A 2016-08-31 2016-08-31 A kind of construction method of three-dimensional pipeline model Connector model Pending CN106469466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610799763.6A CN106469466A (en) 2016-08-31 2016-08-31 A kind of construction method of three-dimensional pipeline model Connector model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610799763.6A CN106469466A (en) 2016-08-31 2016-08-31 A kind of construction method of three-dimensional pipeline model Connector model

Publications (1)

Publication Number Publication Date
CN106469466A true CN106469466A (en) 2017-03-01

Family

ID=58230265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610799763.6A Pending CN106469466A (en) 2016-08-31 2016-08-31 A kind of construction method of three-dimensional pipeline model Connector model

Country Status (1)

Country Link
CN (1) CN106469466A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399652A (en) * 2018-02-12 2018-08-14 广州市城市规划勘测设计研究院 Method, apparatus, storage medium and the terminal device of City Buried Pipeline three-dimension monitor model foundation
CN111079306A (en) * 2019-12-27 2020-04-28 广州燃气集团有限公司 Calculation method, system, device and storage medium for pipe fitting for pipeline connection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853162A (en) * 2010-06-01 2010-10-06 电子科技大学 Method for rendering editable webpage three-dimensional (Web3D) geometric modeling
CN102157014A (en) * 2011-04-13 2011-08-17 西安理工大学 Method for three-dimensional visualization of comprehensive pipeline of metro
CN102201129A (en) * 2011-04-25 2011-09-28 西安理工大学 Three-dimensional visual operation maintenance system and method of subway comprehensive pipelines
CN103679804A (en) * 2013-12-18 2014-03-26 中国科学院深圳先进技术研究院 System and method for automatically building three-dimensional model of data of underground pipeline
CN104574505A (en) * 2014-12-30 2015-04-29 华东师范大学 Automatic three-dimensional pipeline communication modeling method
US9405866B1 (en) * 2015-05-29 2016-08-02 International Business Machines Corporation Automating a microarchitecture design exploration environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853162A (en) * 2010-06-01 2010-10-06 电子科技大学 Method for rendering editable webpage three-dimensional (Web3D) geometric modeling
CN102157014A (en) * 2011-04-13 2011-08-17 西安理工大学 Method for three-dimensional visualization of comprehensive pipeline of metro
CN102201129A (en) * 2011-04-25 2011-09-28 西安理工大学 Three-dimensional visual operation maintenance system and method of subway comprehensive pipelines
CN103679804A (en) * 2013-12-18 2014-03-26 中国科学院深圳先进技术研究院 System and method for automatically building three-dimensional model of data of underground pipeline
CN104574505A (en) * 2014-12-30 2015-04-29 华东师范大学 Automatic three-dimensional pipeline communication modeling method
US9405866B1 (en) * 2015-05-29 2016-08-02 International Business Machines Corporation Automating a microarchitecture design exploration environment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐熠: "基于ArcGIS的地下管线三维虚拟仿真研究与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399652A (en) * 2018-02-12 2018-08-14 广州市城市规划勘测设计研究院 Method, apparatus, storage medium and the terminal device of City Buried Pipeline three-dimension monitor model foundation
CN111079306A (en) * 2019-12-27 2020-04-28 广州燃气集团有限公司 Calculation method, system, device and storage medium for pipe fitting for pipeline connection

Similar Documents

Publication Publication Date Title
CN104574505A (en) Automatic three-dimensional pipeline communication modeling method
CN101783023B (en) Method for exchanging AutoCAD (computer-aided design) graphic block with point map symbol based on path
CN107045733A (en) The method being modeled based on cloud data to transformer station's GIS device
CN107945217B (en) Image characteristic point pair rapid screening method and system suitable for automatic assembly
CN108182301B (en) Cable network branch diagram manufacturing method based on topological diagram automatic layout
CN106055794A (en) Method for building three-dimensional pipeline model in parametric manner
CN111311650A (en) Point cloud data registration method and device and storage medium
CN109118578A (en) A kind of multiview three-dimensional reconstruction texture mapping method of stratification
CN103606184A (en) Device based on two-dimensional and three-dimensional integrated vector render engine
CN101976468A (en) Method and system for visualizing multiresolution dynamic landform
CN106469466A (en) A kind of construction method of three-dimensional pipeline model Connector model
CN107170045A (en) The method being modeled based on cloud data to substation transformer
CN108447120A (en) A kind of method and device of structure three-dimensional properties body Model
CN102760160A (en) System for downsizing multi-scale geographic map in spatial information database
CN110533739B (en) Map forming method of map grid
CN104392484A (en) Three-dimensional tree modeling method and device thereof
CN103489221B (en) Quadrilateral mesh conformal Parameterization method
CN102096946A (en) Vector data drawing method on full-sphere hexagon discrete grid
CN109166173B (en) Multi-precision three-dimensional mapping data fusion method based on BIM
CN113392485B (en) Three-dimensional virtual simulation method for underground water supply pipe network
CN104090945B (en) Geographic space entity constructing method and system
WO2020244214A1 (en) Method and device for generating shape word cloud
CN104200525B (en) Three-dimensional modeling method and system based on extrusion object images
CN103489212A (en) Two-dimensional shape corresponding method based on user inspiration
CN111177872B (en) Modeling method and system for power line based on three-dimensional geographic information system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170301