Summary of the invention
In view of this, the embodiment of the present application provides a kind of construction method of three-dimensional temperature model.The application is related to simultaneously
A kind of construction device of three-dimensional temperature model, a kind of calculating equipment and a kind of computer readable storage medium, it is existing to solve
Technological deficiency present in technology.
According to the embodiment of the present application in a first aspect, providing a kind of construction method of three-dimensional temperature model, comprising:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data
The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data
The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension
Three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair
The plane grid for the plane grid unit composition answered, comprising:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data
Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Optionally, described to determine that each plane grid unit is in three-dimensional seat in the plane grid according to the temperature data
Mark corresponding altitude information in space, comprising:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid
The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space
Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat
Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Optionally, the three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit
Determine each plane grid unit corresponding altitude information sub-step in the three dimensional coordinate space, comprising:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat
Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space
Lattice unit corresponding altitude information in the three dimensional coordinate space.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
Before the three-dimensional temperature model step execution for stating business dimension, further includes:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
State the three-dimensional temperature model of business dimension, comprising:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit
Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair
The plane grid for the plane grid unit composition answered, comprising:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described
The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model step execution for stating business dimension, further includes:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information,
Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set
And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color
Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model
Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model step execution for stating business dimension, further includes:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively
Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding
Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model step execution for stating business dimension, further includes:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid
Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model
It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and before the three-dimensional temperature figure step execution for obtaining the business dimension, is also wrapped
It includes:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine
The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section
Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid
Solid;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to institute
Three-dimensional coordinate data addition is stated in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained
State three-dimensional temperature figure.
According to the second aspect of the embodiment of the present application, a kind of construction device of three-dimensional temperature model is provided, comprising:
Data module is obtained, is configured as obtaining the two-dimensional coordinate data and the two-dimensional coordinate data pair of business dimension
The temperature data answered;
Gridding processing module is configured as carrying out gridding processing to the two-dimensional coordinate data, obtain by described two
Tie up the plane grid of the corresponding plane grid unit composition of coordinate data;
It determines data module, is configured as determining each plane grid list in the plane grid according to the temperature data
Member corresponding altitude information in three dimensional coordinate space;
Model module is constructed, is configured as by calling blueprint Processing Interface to select the plane grid and the height
Data construct the three-dimensional temperature model of the business dimension.
Optionally, described device further include:
It determines coordinate altitude information module, is configured as according to plane grid unit each in the plane grid described
Corresponding altitude information in three dimensional coordinate space determines the node of each plane grid unit in the three dimensional coordinate space
Coordinate altitude information;
Texture module is generated, is configured as that corresponding rendered color is arranged for the coordinate altitude information, and be based on setting
The corresponding two-dimensional coordinate data of the node of the coordinate altitude information and each plane grid unit of setting rendered color generates texture
Figure;
Rendering module is configured as by the texture maps being that the three-dimensional temperature model adds rendered color, and to adding
Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
According to the third aspect of the embodiment of the present application, a kind of calculating equipment is provided, comprising:
Memory and processor;
For the memory for storing computer executable instructions, the processor is executable for executing the computer
Instruction:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data
The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data
The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension
Three-dimensional temperature model.
According to the fourth aspect of the embodiment of the present application, a kind of computer readable storage medium is provided, is stored with calculating
Machine executable instruction realizes the step of the construction method of three-dimensional temperature model described in any one when the instruction is executed by processor
Suddenly.
The construction method of three-dimensional temperature model provided by the present application, by the two-dimensional coordinate number for obtaining the business dimension
According to, the plane grid that building is made of plane grid unit, and the two-dimensional coordinate data for obtaining the business dimension is corresponding
Temperature data, altitude information of the plane grid unit in the three dimensional coordinate space is determined, according to the high degree
Accordingly and the plane grid constructs the three-dimensional temperature model of the business dimension, by the three dimensional coordinate space
The three-dimensional temperature model for constructing the business dimension, realizing can be by the three-dimensional temperature in the three dimensional coordinate space
Longitudinal depth of model embodies the temperature situation of the business dimension, and it is specific that the business dimension can be understood more intuitively
Temperature distribution situation facilitates analysis and understanding to the business dimension.
When it is implemented, in the case where determining the corresponding inclined-plane of each plane grid unit in three dimensional coordinate space, because
There is side altogether for each plane grid unit, so that the inclined-plane that each plane grid unit determines in three dimensional coordinate space is homogeneous
It connects, and because altitude information is not consistent, so that being spliced into the three-dimensional grid framework with wave vision.
It, can according to the temperature data of each plane grid unit and the vertex two-dimensional coordinate data of each grid cell
Three-dimensional coordinate data of each vertex of each grid cell in three dimensional coordinate space is determined in three dimensional coordinate space, so that
The inclined-plane that there are mapping relations with each plane grid unit can be determined in three dimensional coordinate space, it can be in subsequent builds institute
It states three-dimensional temperature model and provides a basic framework, greatly enhance the building effect for constructing the three-dimensional temperature model
Rate.
Step 108: by calling blueprint Processing Interface to select described in the plane grid and altitude information building
The three-dimensional temperature model of business dimension.
Specifically, above-mentioned determine the altitude information of each plane grid unit in the plane grid according to temperature data
On the basis of, further, according to the altitude information of plane grid unit each in the plane grid of acquisition and described flat
Surface grids construct the three-dimensional temperature model of the business dimension by the blueprint Processing Interface in illusory engine;Wherein, described three
The frame that temperature model is three-dimensional temperature figure to be rendered is tieed up, the business dimension is shown in three dimensional coordinate space
Profile.
Wherein, the blueprint Processing Interface is the blueprint visualization system in illusory engine, is the game foot of a completion
This system, by the blueprint Processing Interface by the corresponding altitude information of each two-dimensional coordinate data and by two-dimensional coordinate data
The plane grid of composition connects together, and can be created that the three-dimensional temperature model of the business dimension, and principle is to pass through
The event of variable and the three-dimensional temperature model of building that the function, the building process that construct the three-dimensional temperature model generate is built
Vertical connection, to realize the building three-dimensional temperature model.
Include blueprint function library in the blueprint Processing Interface based on this, is selecting the plane grid and altitude information
During constructing the three-dimensional temperature model, the function in the blueprint function library can be called directly to be multiplexed
Realize the building three-dimensional temperature model.
Before the above-mentioned building three-dimensional temperature model, in one or more embodiments of the present embodiment, for institute
It states the blueprint Processing Interface building three-dimensional temperature model construction efficiency faster, can determine the index of each plane grid unit
Data, and then reduce the transmission of data volume, accelerate the building efficiency of three-dimensional temperature model, the following institute of specific implementation
It states:
Determine the index data of each plane grid unit in the plane grid;
In the case where determining index data, step 108 is executed by calling blueprint Processing Interface to select the plane grid
And the altitude information constructs the three-dimensional temperature model of the business dimension;Correspondingly, the blueprint Processing Interface passes through rope
Argument is carrying out constructing the three-dimensional temperature model, step 108 is specifically referred to by described in calling according to plane grid unit is determined
The blueprint function for including in blueprint Processing Interface selects the index data of each plane grid unit and each plane grid to exist
The corresponding altitude information building three-dimensional temperature model in the three dimensional coordinate space.
Specifically, determining the index data of each plane grid unit in the plane grid, the blueprint Processing Interface
The plane grid unit that each index data is determined by the index data passes through when constructing the three-dimensional temperature model
Index data obtains the corresponding plane grid unit of index data and the corresponding altitude information of each plane grid unit
Construct the three-dimensional temperature model.
It is described flat by selecting in order to improve the blueprint Processing Interface during constructing the three-dimensional temperature model
The working efficiency of surface grids and the altitude information determines each plane grid in the plane grid corresponding respectively
Index data, and each index data is unique, so that data corresponding to each plane grid unit only pass through the index
Data are determined, and the data volume for reducing the blueprint Processing Interface selection passes through when constructing the three-dimensional temperature model
The plane grid of each plane grid unit composition can be obtained in the index data, then is constructed based on the altitude information
The three-dimensional temperature model greatly enhances building by the index data of each plane grid unit of determination
The building efficiency of the three-dimensional temperature model.
On the basis of the above-mentioned building three-dimensional temperature model, further, the one or more of the present embodiment implement
In mode, by rendering to the three-dimensional temperature model, the three-dimensional temperature figure that can be shown is obtained, specific implementation is such as
It is lower described:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information,
Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set
And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color
Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Specifically, the altitude information according to the plane grid unit in the three dimensional coordinate space, determines each flat
Coordinate altitude information of the node of surface grids unit in the three dimensional coordinate space;For example, the high degree of plane grid unit
According to the inclined-plane being built into for tri- three-dimensional coordinate points of A2, B2 and C2, the value of the corresponding z-axis of the three-dimensional coordinate point of A2, B2 and C2
Corresponding rendered color is arranged for the coordinate altitude information in the as coordinate altitude information of plane grid unit, specifically can be with
It is the corresponding rendered color of coordinate altitude information setting for the node of each plane grid unit, or for by multiple coordinates
Corresponding rendered color is arranged in the face that the corresponding multiple three-dimensional coordinate points of altitude information are built into;
Based on this, different rendered colors is arranged in different coordinate altitude informations, for example, tri- points of A2, B2 and C2 are constituted
Inclined-plane, not identical as the corresponding altitude information in inclined-plane that tri- points of A3, B3 and C3 are constituted, then coordinate altitude information is also not phase
With, during color is set according to coordinate altitude information, different colors can be set for the two planes, according to setting
The corresponding two-dimensional coordinate data of node for setting rendered color coordinate altitude information and each plane grid unit generates texture maps;
The texture maps specifically refer to grid chart identical with the plane grid, and the altitude information based on each plane grid unit
The coordinate altitude information of the node of i.e. each plane grid unit determines that each plane grid unit in texture maps should be arranged
Rendered color, the texture maps obtained at this time can be one be made of the cube with rendered color it is identical as plane grid
The texture maps of area, or can be one it is being made of the plane grid unit with rendered color with plane grid identical faces
Long-pending texture maps;
It is that the three-dimensional temperature model adds rendered color by the texture maps, to the three-dimensional of addition rendered color
Temperature model is rendered, and can be obtained the three-dimensional temperature figure of the business dimension.
On the basis of being that the three-dimensional temperature model adds rendered color above by texture maps, further, this reality
It applies in one or more embodiments of example, during adding the rendered color, in order to guarantee the rendered color of addition
It adds correct, can be added according to the corresponding relationship of two-dimensional coordinate data in the three-dimensional temperature model, it is specific real
Existing mode is as described below:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model
Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Specifically, because the texture maps are that the two-dimensional coordinate based on the plane grid unit generates, it is described
The coordinate of texture maps and the three-dimensional temperature model is correspondingly, for example, a three-dimensional coordinate in three-dimensional temperature model
Point is (1,1,1), then coordinate points corresponding to this point are (1,1, z) in texture maps, and wherein z value is texture maps apart from Three Dimensional Thermal
The distance for spending model lowest part by the way that texture maps to be placed on to the surface of three-dimensional temperature model, and guarantees that coordinate corresponds,
Rendered color is added to the three-dimensional temperature model by orthogonal camera, determines each three-dimensional grid list of the three-dimensional temperature model
Member all has color, then the three-dimensional temperature model for adding rendered color is rendered, and obtains the three-dimensional temperature figure.
For example, leading to as shown in Fig. 2, Fig. 2 (a) shows three-dimensional temperature model of the business dimension in three dimensional coordinate space
It crosses the corresponding altitude information of three-dimensional temperature model and constructs the plane grid unit generation texture maps of three-dimensional temperature model, by line
Reason figure is placed with three-dimensional temperature model according to mode shown in Fig. 2 (a), and is arranged in texture maps each according to altitude information
The color of grid adds rendered color to three-dimensional temperature model from top to bottom by orthogonal camera later, to addition rendered color
Three-dimensional temperature model rendered, three-dimensional temperature figure is generated, shown in three-dimensional temperature figure such as Fig. 2 (b) of generation, wherein three-dimensional
Temperature figure wave crest highest point is red with color corresponding in texture maps, and being only below wave crest highest point with texture maps corresponding color is
Orange, trough lowest part color corresponding with texture maps is blue.
In addition to this, above-described embodiment is to be added rendered color by the wire frame to three-dimensional temperature model, generation
Three-dimensional temperature figure is also the data variation for embodying business dimension on line, can also be enclosed by the wire frame to three-dimensional temperature model
At region be added rendered color so that the three-dimensional temperature figure shown is more straight to the data bandwagon effect of business dimension
It sees, in practical applications, by adding rendered color to the three-dimensional temperature model, is not limited to line or region addition rendering face
Color can also add rendered color to the point on three-dimensional temperature model, and the application does not do any restriction herein.
The three-dimensional temperature figure is converted to by the data in three dimensions to the business dimension, realizing can lead to
Data situation and variation tendency that three-dimensional temperature figure embodies the business dimension are crossed, and the temperature figure generated is three-dimensional
Visual temperature figure, can be understood by the depth of the three-dimensional temperature figure business dimension data wave crest and trough it
Between gap so that it is visual perception it is more excellent.
On the basis of the above-mentioned generation texture maps, further, in one or more embodiments of the present embodiment,
In order to improve displaying the three-dimensional temperature figure bandwagon effect, modifier can be added to the three-dimensional temperature figure, it is specific real
Existing mode is as described below:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine
The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section
Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid
Solid;
Correspondingly, according to the determining modification solid, executing described by the texture maps is the three-dimensional
Temperature model adds rendered color, and renders to the three-dimensional temperature model of addition rendered color, obtains the business
The three-dimensional temperature figure step of dimension, the step specifically refer to be the three-dimensional temperature model addition rendering face by the texture maps
Color, and the modification solid is added in the three-dimensional temperature model according to the three-dimensional coordinate data;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained
State three-dimensional temperature figure.
Specifically, determining each plane grid unit by the node of each plane grid unit in the plane grid
The two-dimensional coordinate data of node, and determine according to the two-dimensional coordinate data temperature data of each grid node, based on described
Temperature data and the two-dimensional coordinate data of each grid node determine each grid node in the three dimensional coordinate space
Three-dimensional coordinate data determines the three-dimensional coordinate point of each grid node based on the three-dimensional coordinate data, in each three-dimensional
Coordinate points generate modification solid, and the modification solid can be the space geometries shape such as spherical, cube shaped, triangular pyramidal
Shape;The Three Dimensional Thermal is added to by the modification solid for generating each grid node in the three dimensional coordinate space
It spends in model, so that all having the modification solid at each node in the three-dimensional temperature model, will be repaired described in addition
The three-dimensional temperature model of decorations solid and rendered color is rendered, and the three-dimensional temperature with modification solid and color is generated
Figure.
Based on this, the process for adding the modification solid can pass through the Hierarchical in illusory engine
Instanced Static Mesh Component (layering example static grid assembly) component carries out generation mesh geometry and (repairs
Adorn solid), then described in by Addinstance in illusory engine (increasing example) component being placed on each mesh geometry
In three-dimensional temperature model;By the way that the coordinate data of each mesh geometry is input to the Hierarchical Instanced
Static Mesh Component component, is felt ashamed by the function of Addinstance, be can be realized and is put each mesh geometry
It sets on the three-dimensional temperature model, wherein Hierarchical Instanced Static Mesh Component component
Corresponding three-dimensional is specifically created that according to two-dimensional coordinate data (Xi, Yi) and the corresponding temperature data Zi of two-dimensional coordinate data
Coordinate data (Xi, Yi, Zi) generates mesh geometry further according to three-dimensional coordinate data (Xi, Yi, Zi).
By adding the modification solid (mesh geometry) to the three-dimensional temperature model, realize render it is described
Three-dimensional temperature figure bandwagon effect is more preferable, can more obviously embody the number of the business dimension described in the three dimensional coordinate space
According to concrete condition.
On the basis of the above-mentioned building three-dimensional temperature model, further, the one or more of the present embodiment implement
In mode, can also the altitude information demarcation interval be arranged rendered color for each demarcation interval and be added to described three
Temperature model is tieed up, then rendering is carried out to three-dimensional temperature model and generates the three-dimensional temperature figure, specific implementation is as described below:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively
Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding
Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Specifically, by the way that the altitude information is divided, according to the corresponding maximum value of the altitude information and minimum
Value, determines each interval range, being divided at least two sections (when rendered color is arranged, can distinguish business dimension
Data variation), rendered color is arranged to each demarcation interval, the rendered color of setting can be the maximum value according to altitude information
To minimum value, gradual color is set, maximum value corresponds to dark color, the corresponding pale coloration of minimum value, and intermediate data corresponds to
Numerical value with becoming smaller, color also gradually becomes shallower as color, and the different corresponding rendered colors of altitude information is not identical;It is based on
The corresponding rendered color of each demarcation interval is to the three-dimensional temperature model addition rendering dyeing, by addition rendered color
The three-dimensional temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
In addition to this, a kind of color and right only can be arranged to the corresponding maximum value of altitude information according to the actual situation
A kind of color is arranged in the corresponding minimum value of altitude information, and two kinds of colors are not identical, is rendered by adding to three-dimensional temperature model
Color simultaneously renders, and the corresponding wave crest of three-dimensional temperature figure and trough rendered is with color, other regions and without rendering face
Color, the situation can be counted in the temperature highest point of only statistical service dimension and the data of temperature lowest part, avoid wash with watercolours
Contaminate more redundancy three-dimensional temperature models.
Rendered color is set by dividing the altitude information, and to each demarcation interval, so as to described
When three-dimensional temperature model addition color, gradual color change, then the three-dimensional temperature to addition rendered color can be embodied
Model is rendered, and three-dimensional temperature figure is obtained, and when showing the three-dimensional temperature figure, can pass through the variation of color and height
Variation understands the data situation of the business dimension, so that the bandwagon effect of the three-dimensional temperature figure shown is more preferable.
On the basis of the above-mentioned building three-dimensional temperature model, further, the one or more of the present embodiment implement
In mode, rendered color can be set for each altitude information, the rendered color that altitude information is arranged is added to the three-dimensional
Temperature model, then rendering is carried out to three-dimensional temperature model and generates the three-dimensional temperature figure, specific implementation is as described below:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid
Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model
It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Specifically, whole altitude informations are integrated, altitude information set is obtained, to the altitude information set
Rejecting processing is carried out, so that duplicate altitude information is not present in the altitude information in altitude information set, obtains optimal height number
According to set, it is that rendered color is arranged in the altitude information in the optimal height data acquisition system, is arranged further according to each altitude information
Rendered color be the three dimensional coordinate space in plane grid unit addition rendering primary colors so that the Three Dimensional Thermal constructed
Model has the rendered color, renders to the three-dimensional temperature model of addition rendered color, obtains the Three Dimensional Thermal
Degree figure.
By the way that rendered color is arranged for the corresponding altitude information of each plane grid unit, and it is added to the three-dimensional temperature
Model is rendered by the three-dimensional temperature model to addition rendered color, is obtained the three-dimensional temperature figure, is being shown described three
When tieing up temperature figure, the data situation of the business dimension can be understood by the variation of color and the variation of height, so that
The bandwagon effect of the three-dimensional temperature figure of displaying is more preferable.
In the construction method of three-dimensional temperature model provided by the present application, by the two-dimensional coordinate number for obtaining the business dimension
According to, the plane grid that building is made of plane grid unit, and the two-dimensional coordinate data for obtaining the business dimension is corresponding
Temperature data, altitude information of the plane grid unit in the three dimensional coordinate space is determined, according to the high degree
Accordingly and the plane grid constructs the three-dimensional temperature model of the business dimension, by the three dimensional coordinate space
The three-dimensional temperature model for constructing the business dimension, realizing can be by the three-dimensional temperature in the three dimensional coordinate space
Longitudinal depth of model embodies the temperature situation of the business dimension, and is the three-dimensional temperature model addition by texture maps
Rendered color generates the three-dimensional temperature figure, and the business dimension can be embodied by the three-dimensional temperature figure by realizing
Data situation and variation tendency, and the data of the business dimension can be understood by the depth of the three-dimensional temperature figure
Gap between wave crest and trough, so that visual perception is more excellent.
Following combination attached drawings 3 and attached drawing 4, with the construction method of three-dimensional temperature model provided by the present application in statistics population
According to application for, the construction method of the three-dimensional temperature model is further described.Wherein, Fig. 3 shows the application
A kind of process flow diagram of the building process for three-dimensional temperature model that one embodiment provides, Fig. 4 show one embodiment of the application
A kind of structural schematic diagram of the three-dimensional temperature figure provided, Fig. 3 specific steps include step 302 to step 316.
Step 302: obtaining area coordinate and the corresponding population support of each area coordinate of population distribution city A.
Specifically, shown in Figure 4, the area coordinate in the A of city is any point on the face XOY, such as coordinate (a, e,
0) area coordinate in the A of city can be indicated, wherein each unit of Z axis indicates 1000 people.
Based on this, in the A of city, the corresponding area coordinate in the most intensive position of population support is (c, g, 0), corresponding people
Mouth number is 2000 people.
Step 304: gridding processing being carried out by area coordinate of the triangulation to city A, acquisition is sat by region
Mark the planar triangulations of composition.
Specifically, carrying out three to whole region coordinate by triangulation according to the whole region coordinate in the A of city
Angle gridding processing, obtains gradual planar triangulations.
Step 306: determining that planar triangulations are sat in three-dimensional according to the corresponding population support of area coordinate each in the A of city
Mark the height value in space.
Specifically, determining the every of building planar triangulations according to the corresponding population support of coordinates regional each in the A of city
Height value of a area coordinate in three dimensional coordinate space.
Based on this, area coordinate is that (c, g, 0) corresponding population support is 2000 people, then area coordinate (c, g, 0) is three
Tieing up the height value in coordinate space is 2, and corresponding three-dimensional coordinate is (c, g, n), the corresponding population support of area coordinate (b, e, 0)
For 0 people, then height value of the area coordinate (b, e, 0) in three dimensional coordinate space is 0, and corresponding three-dimensional coordinate is (b, e, O), with
This analogizes, and determines height value and corresponding three-dimensional coordinate of each area coordinate in three dimensional coordinate space respectively.
Step 308: calling the population distribution of blueprint Processing Interface selection planar triangulations and height value building city A
Three-dimensional temperature model.
Step 310: texture maps are generated according to area coordinate.
Specifically, generating texture maps according to the area coordinate of city A, which can be is made of polygon
Planar grains figure is also possible to the spatial texture figure being made of solid geometry.
Step 312: according to each area coordinate, corresponding population support is configured rendered color to texture maps.
Specifically, by the corresponding texture maps of the most area coordinate of population support polygon or solid geometry be set as
Red, the polygon or solid geometry being only below in the corresponding texture maps of the most area coordinate of population support are set as yellow,
And so on, it is that difference is respectively set in the polygon or solid geometry in the different corresponding texture maps of area coordinate of population support
Color.
Step 314: rendered color is added by the population distribution three-dimensional temperature model that texture maps are city A.
Specifically, the texture maps constructed are identical as the face XOY in Fig. 4, texture maps are placed on the face XOY, in flat
Row state and coordinate points one-to-one correspondence from top to bottom add the population distribution three-dimensional temperature model of city A by orthogonal camera
Rendered color in texture maps is added on population distribution three-dimensional temperature model by rendered color according to area coordinate.
Step 316: the population distribution three-dimensional temperature model of addition rendered color being rendered, the population of city A is obtained
It is distributed three-dimensional temperature figure.
Specifically, referring to fig. 4, being rendered, being obtained by the population distribution three-dimensional temperature model to addition rendered color
City A population distribution three-dimensional temperature figure it is as shown in Figure 4.
The construction method of three-dimensional temperature model provided by the present application, the area coordinate of the city A of acquisition, and cutd open by triangle
Divide algorithm to construct gradual planar triangulations, passes through the corresponding population of the area coordinate of planar triangulations and city A
Mesh constructs population distribution three-dimensional temperature model, while constructing texture maps, is that population distribution three-dimensional temperature model adds by texture maps
Add rendered color, the population distribution three-dimensional temperature figure rendered is allowed specifically to recognize city A's according to color and depth
The population distribution situation in each region can understand the population of city A by the wave crest and trough of population distribution three-dimensional temperature figure
Distribution proportion gap, city A can effectively be planned according to the displaying content of population distribution three-dimensional temperature figure by realizing.
Corresponding with above method embodiment, present invention also provides the construction device embodiment of three-dimensional temperature model, Fig. 5
A kind of structural schematic diagram of the construction device of three-dimensional temperature model of one embodiment of the application offer is provided.As shown in figure 5, should
Device includes:
Data module 502 is obtained, is configured as obtaining the two-dimensional coordinate data of business dimension and the two-dimensional coordinate number
According to corresponding temperature data;
Gridding processing module 504 is configured as carrying out gridding processing to the two-dimensional coordinate data, obtain by described
The plane grid of the corresponding plane grid unit composition of two-dimensional coordinate data;
It determines data module 506, is configured as determining each plane net in the plane grid according to the temperature data
Lattice unit corresponding altitude information in three dimensional coordinate space;
Model module 508 is constructed, is configured as by calling blueprint Processing Interface to select the plane grid and described
Altitude information constructs the three-dimensional temperature model of the business dimension.
In an optional embodiment, the gridding processing module 504, comprising:
Gridding processing unit is configured as carrying out gridding processing to the 2-D data by triangulation,
Obtain the corresponding planar triangulations unit of the two-dimensional coordinate data;
Plane grid unit is generated, is configured as generating the plane grid according to the planar triangulations unit.
In an optional embodiment, the determining data module 506, comprising:
Determine three-dimensional coordinate data unit, be configured as by by the corresponding temperature data of the two-dimensional coordinate data and
The corresponding two-dimensional coordinate data of plane grid unit for including in the plane grid is converted, and each plane grid list is obtained
The three-dimensional coordinate data that member maps in the three dimensional coordinate space;
It determines altitude information unit, is configured as mapping in the three dimensional coordinate space based on each plane grid unit
Three-dimensional coordinate data determine each plane grid unit corresponding altitude information in the three dimensional coordinate space.
In an optional embodiment, the determining altitude information unit, comprising:
It determines three-dimensional grid unit submodule, is configured as according to each plane grid unit in the three dimensional coordinate space
The three-dimensional coordinate data of middle mapping determines three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space;
It determines altitude information submodule, is configured as based on each plane grid unit in the three dimensional coordinate space
Three-dimensional grid unit determines each plane grid unit corresponding altitude information in the three dimensional coordinate space.
In an optional embodiment, the construction device of the three-dimensional temperature model, comprising:
It determines index data module, is configured to determine that the index number of each plane grid unit in the plane grid
According to;
Correspondingly, the building model module 508 is configured to:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit
Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
In an optional embodiment, the gridding processing module 504, comprising:
It determines two-dimensional coordinate dot element, it is corresponding with the two-dimensional coordinate data to be configured as the determination in two-dimensional coordinate space
Two-dimensional coordinate point;
It determines polygonal element, is configured as determining the plane grid list for forming the plane grid according to gridding rule
Polygon belonging to member;
Determination unit, be configured as by adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit into
Row joins end to end, and the plane grid unit is determined in the two-dimensional coordinate space;
Plane grid unit is generated, is configured as being generated in the two-dimensional coordinate space according to the plane grid unit
The plane grid.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
It determines coordinate altitude information module, is configured as according to plane grid unit each in the plane grid described
Corresponding altitude information in three dimensional coordinate space determines the node of each plane grid unit in the three dimensional coordinate space
Coordinate altitude information;
Texture module is generated, is configured as that corresponding rendered color is arranged for the coordinate altitude information, and be based on setting
The corresponding two-dimensional coordinate data of the node of the coordinate altitude information and each plane grid unit of setting rendered color generates texture
Figure;
Rendering module is configured as by the texture maps being that the three-dimensional temperature model adds rendered color, and to adding
Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
In an optional embodiment, the rendering module, comprising:
Sequencing unit, be configured as by the texture maps and the three-dimensional temperature model according to the two-dimensional coordinate data into
Row sequence;
Rendered color unit is added, is configured as through orthogonal camera according to the texture maps and the three-dimensional temperature model
Put in order to the three-dimensional temperature model addition rendered color;
Rendering unit is configured as rendering the three-dimensional temperature model of addition rendered color, obtains the Three Dimensional Thermal
Degree figure.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
Division module is configured as determining that the altitude information is corresponding more by dividing the altitude information
A demarcation interval;
Rendered color module is set, multiple demarcation interval setting rendering face corresponding to the altitude information are configured as
Color determines the corresponding rendered color of each demarcation interval respectively;
First rendering module is configured as based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model
Addition rendering dyeing is rendered by the three-dimensional temperature model to addition rendered color, obtains the business dimension
Three-dimensional temperature figure.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
Altitude information collection modules are created, are configured as according to plane grid unit each in the plane grid in three-dimensional
Corresponding altitude information creates altitude information set in coordinate space;
Module is rejected, is configured as doing the altitude information set rejecting processing, obtains optimal height data acquisition system;
It determines rendered color module, is configured to determine that each altitude information in the optimal height data acquisition system is corresponding
Rendered color;
Second rendering module is configured as adding the corresponding rendering face of each altitude information to the three-dimensional temperature model
Color, the three-dimensional temperature model based on addition rendered color are rendered, and the three-dimensional temperature figure of the business dimension is obtained.
In an optional embodiment, the construction device of the three-dimensional temperature model, further includes:
It determines height of node data module, is configured as two according to each grid node for including in the plane grid
The corresponding temperature data of coordinate data are tieed up, determine the altitude information of each grid node;
It determines Nodes Three-dimensional coordinate data module, is configured as two-dimensional coordinate data based on each grid node and each
The altitude information of grid node determines three-dimensional coordinate data of each grid node in the three dimensional coordinate space;
It determines modification geometry module, is configured as being determined according to the three-dimensional coordinate data and being wrapped in the plane grid
The same number of modification solid of the grid node contained;
Correspondingly, the rendering module, is configured to be that the three-dimensional temperature model adds by the texture maps
Add rendered color, and the modification solid is added in the three-dimensional temperature model according to the three-dimensional coordinate data;It will
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, and the three-dimensional temperature is obtained
Figure.
In the construction device of three-dimensional temperature model provided by the present application, by the two-dimensional coordinate number for obtaining the business dimension
According to, the plane grid that building is made of plane grid unit, and the two-dimensional coordinate data for obtaining the business dimension is corresponding
Temperature data, altitude information of the plane grid unit in the three dimensional coordinate space is determined, according to the high degree
Accordingly and the plane grid constructs the three-dimensional temperature model of the business dimension, by the three dimensional coordinate space
The three-dimensional temperature model for constructing the business dimension, realizing can be by the three-dimensional temperature in the three dimensional coordinate space
Longitudinal depth of model embodies the temperature situation of the business dimension, and is the three-dimensional temperature model addition by texture maps
Rendered color generates the three-dimensional temperature figure, and the business dimension can be embodied by the three-dimensional temperature figure by realizing
Data situation and variation tendency, and the data of the business dimension can be understood by the depth of the three-dimensional temperature figure
Gap between wave crest and trough, so that visual perception is more excellent.
A kind of exemplary scheme of the construction device of above-mentioned three-dimensional temperature model for the present embodiment.It should be noted that
The technical solution category of the construction method of the technical solution of the construction device of the three-dimensional temperature model and above-mentioned three-dimensional temperature model
In the detail content that same design, the technical solution of the construction device of three-dimensional temperature model are not described in detail, may refer to
State the description of the technical solution of the construction method of three-dimensional temperature model.
Fig. 6 shows a kind of structural block diagram of the calculating equipment 600 provided according to one embodiment of the application.The calculating equipment
600 component includes but is not limited to memory 610 and processor 620.Processor 620 is connected with memory 610 by bus 630
It connects, database 650 is for saving data.
Calculating equipment 600 further includes access device 640, access device 640 enable calculate equipment 600 via one or
Multiple networks 660 communicate.The example of these networks includes public switched telephone network (PSTN), local area network (LAN), wide area network
(WAN), the combination of the communication network of personal area network (PAN) or such as internet.Access device 640 may include wired or wireless
One or more of any kind of network interface (for example, network interface card (NIC)), such as IEEE802.11 wireless local area
Net (WLAN) wireless interface, worldwide interoperability for microwave accesses (Wi-MAX) interface, Ethernet interface, universal serial bus (USB) connect
Mouth, cellular network interface, blue tooth interface, near-field communication (NFC) interface, etc..
In one embodiment of the application, unshowned other component can also in above-mentioned and Fig. 6 of calculating equipment 600
To be connected to each other, such as pass through bus.It should be appreciated that calculating device structure block diagram shown in fig. 6 is merely for the sake of exemplary
Purpose, rather than the limitation to the application range.Those skilled in the art can according to need, and increase or replace other component.
Calculating equipment 600 can be any kind of static or mobile computing device, including mobile computer or mobile meter
Calculate equipment (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, net book etc.), movement
Phone (for example, smart phone), wearable calculating equipment (for example, smartwatch, intelligent glasses etc.) or other kinds of shifting
Dynamic equipment, or the static calculating equipment of such as desktop computer or PC.Calculating equipment 600 can also be mobile or state type
Server.
Wherein, processor 620 is for executing following computer executable instructions:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data
The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data
The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension
Three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair
The plane grid for the plane grid unit composition answered, comprising:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data
Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Optionally, described to determine that each plane grid unit is in three-dimensional seat in the plane grid according to the temperature data
Mark corresponding altitude information in space, comprising:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid
The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space
Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat
Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Optionally, the three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit
Determine each plane grid unit corresponding altitude information sub-instructions in the three dimensional coordinate space, comprising:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat
Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space
Lattice unit corresponding altitude information in the three dimensional coordinate space.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
Before the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
State the three-dimensional temperature model of business dimension, comprising:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit
Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair
The plane grid for the plane grid unit composition answered, comprising:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described
The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information,
Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set
And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color
Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model
Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively
Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding
Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model command execution for stating business dimension, processor 620 is also used to execute following computer executable instructions:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid
Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model
It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, before the three-dimensional temperature figure instruction execution for obtaining the business dimension, processing
Device 620 is also used to execute following computer executable instructions:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine
The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section
Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid
Solid;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to institute
Three-dimensional coordinate data addition is stated in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained
State three-dimensional temperature figure.
A kind of exemplary scheme of above-mentioned calculating equipment for the present embodiment.It should be noted that the skill of the calculating equipment
The technical solution of the construction method of art scheme and above-mentioned three-dimensional temperature model belongs to same design, calculates the technical solution of equipment
The detail content being not described in detail may refer to the description of the technical solution of the construction method of above-mentioned three-dimensional temperature model.
One embodiment of the application also provides a kind of computer readable storage medium, is stored with computer instruction, the instruction
To be used for when being executed by processor:
Obtain the two-dimensional coordinate data and the corresponding temperature data of the two-dimensional coordinate data of business dimension;
Gridding processing is carried out to the two-dimensional coordinate data, is obtained by the corresponding plane grid of the two-dimensional coordinate data
The plane grid of unit composition;
Determine that each plane grid unit is right in three dimensional coordinate space in the plane grid according to the temperature data
The altitude information answered;
By calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct the business dimension
Three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair
The plane grid for the plane grid unit composition answered, comprising:
Gridding processing is carried out to the 2-D data by triangulation, it is corresponding to obtain the two-dimensional coordinate data
Planar triangulations unit;
The plane grid is generated according to the planar triangulations unit.
Optionally, described to determine that each plane grid unit is in three-dimensional seat in the plane grid according to the temperature data
Mark corresponding altitude information in space, comprising:
Pass through the plane grid that will include in the corresponding temperature data of the two-dimensional coordinate data and the plane grid
The corresponding two-dimensional coordinate data of unit is converted, and obtains what each plane grid unit mapped in the three dimensional coordinate space
Three-dimensional coordinate data;
It is determined based on the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat
Surface grids unit corresponding altitude information in the three dimensional coordinate space.
Optionally, the three-dimensional coordinate data mapped in the three dimensional coordinate space based on each plane grid unit
Determine each plane grid unit corresponding altitude information sub-step in the three dimensional coordinate space, comprising:
It is determined according to the three-dimensional coordinate data that each plane grid unit maps in the three dimensional coordinate space each flat
Three-dimensional grid unit of the surface grids unit in the three dimensional coordinate space;
Each plane net is determined based on three-dimensional grid unit of each plane grid unit in the three dimensional coordinate space
Lattice unit corresponding altitude information in the three dimensional coordinate space.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
Before the three-dimensional temperature model step execution for stating business dimension, further includes:
Determine the index data of each plane grid unit in the plane grid;
Correspondingly, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
State the three-dimensional temperature model of business dimension, comprising:
By calling the blueprint function for including in the blueprint Processing Interface to select the index number of each plane grid unit
Accordingly and each plane grid corresponding altitude information in the three dimensional coordinate space constructs the three-dimensional temperature model.
Optionally, described that gridding processing is carried out to the two-dimensional coordinate data, it obtains by the two-dimensional coordinate data pair
The plane grid for the plane grid unit composition answered, comprising:
Two-dimensional coordinate point corresponding with the two-dimensional coordinate data is determined in two-dimensional coordinate space;
It is determined according to gridding rule and forms polygon belonging to the plane grid unit of the plane grid;
Adjacent two-dimensional coordinate point polygon according to belonging to the plane grid unit is joined end to end, described
The plane grid unit is determined in two-dimensional coordinate space;
The plane grid is generated in the two-dimensional coordinate space according to the plane grid unit.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model step execution for stating business dimension, further includes:
According to plane grid unit each in the plane grid in the three dimensional coordinate space corresponding altitude information,
Determine coordinate altitude information of the node of each plane grid unit in the three dimensional coordinate space;
For the coordinate altitude information, corresponding rendered color, and the coordinate altitude information based on setting rendered color are set
And the corresponding two-dimensional coordinate data of node of each plane grid unit generates texture maps;
It is the three-dimensional temperature model addition rendered color by the texture maps, and to described the three of addition rendered color
Dimension temperature model is rendered, and the three-dimensional temperature figure of the business dimension is obtained.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
The texture maps are ranked up with the three-dimensional temperature model according to the two-dimensional coordinate data;
Pass through orthogonal camera putting in order to the three-dimensional temperature according to the texture maps and the three-dimensional temperature model
Model adds rendered color;
The three-dimensional temperature model of addition rendered color is rendered, the three-dimensional temperature figure is obtained.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model step execution for stating business dimension, further includes:
By dividing to the altitude information, the corresponding multiple demarcation intervals of the altitude information are determined;
Rendered color is arranged in multiple demarcation intervals corresponding to the altitude information, determines that each demarcation interval is corresponding respectively
Rendered color;
Based on the corresponding rendered color of each demarcation interval to the three-dimensional temperature model addition rendering dyeing, by adding
Add the three-dimensional temperature model of rendered color to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described by calling blueprint Processing Interface that the plane grid and the altitude information is selected to construct institute
After the three-dimensional temperature model step execution for stating business dimension, further includes:
The corresponding altitude information creation in three dimensional coordinate space according to plane grid unit each in the plane grid
Altitude information set;
Rejecting processing is done to the altitude information set, obtains optimal height data acquisition system;
Determine the corresponding rendered color of each altitude information in the optimal height data acquisition system;
The corresponding rendered color of each altitude information, the institute based on addition rendered color are added to the three-dimensional temperature model
It states three-dimensional temperature model to be rendered, obtains the three-dimensional temperature figure of the business dimension.
Optionally, described to add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and before the three-dimensional temperature figure step execution for obtaining the business dimension, is also wrapped
It includes:
According to the corresponding temperature data of the two-dimensional coordinate data for each grid node for including in the plane grid, determine
The altitude information of each grid node;
The altitude information of two-dimensional coordinate data and each grid node based on each grid node determines each grid section
Three-dimensional coordinate data of the point in the three dimensional coordinate space;
According to the same number of modification of grid node for including in three-dimensional coordinate data determination and the plane grid
Solid;
Correspondingly, described add rendered color by the texture maps for the three-dimensional temperature model, and addition is rendered
The three-dimensional temperature model of color is rendered, and the three-dimensional temperature figure of the business dimension is obtained, comprising:
It is the three-dimensional temperature model addition rendered color by the texture maps, and by the modification solid according to institute
Three-dimensional coordinate data addition is stated in the three-dimensional temperature model;
The three-dimensional temperature model for adding the modification solid and addition rendered color is rendered, institute is obtained
State three-dimensional temperature figure.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited
The technical solution of the construction method of the technical solution of storage media and above-mentioned three-dimensional temperature model belongs to same design, storage medium
The detail content that is not described in detail of technical solution, may refer to the technical solution of the construction method of above-mentioned three-dimensional temperature model
Description.
It is above-mentioned that the application specific embodiment is described.Other embodiments are within the scope of the appended claims.
In some cases, the movement recorded in detail in the claims or step can be executed according to the sequence being different from embodiment
And desired result still may be implemented.In addition, process depicted in the drawing not necessarily require the particular order shown or
Person's consecutive order is just able to achieve desired result.In some embodiments, multitasking and parallel processing are also possible
Or it may be advantageous.
The computer instruction includes computer program code, the computer program code can for source code form,
Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry institute
State any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, the computer storage of computer program code
Device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory),
Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior
Increase and decrease appropriate can be carried out according to the requirement made laws in jurisdiction with patent practice by holding, such as in certain jurisdictions of courts
Area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment
All details are described, are not limited the invention to the specific embodiments described.It obviously, can according to present context
It makes many modifications and variations.The application chooses and specifically describes these embodiments, is the original in order to preferably explain the application
Reason and practical application, so that skilled artisan be enable to better understand and utilize the application.The application is only authorized
The limitation of sharp claim and its full scope and equivalent.