CN111027113B - Method, system and storage medium for generating plane contour map based on building model - Google Patents

Method, system and storage medium for generating plane contour map based on building model Download PDF

Info

Publication number
CN111027113B
CN111027113B CN201911248383.3A CN201911248383A CN111027113B CN 111027113 B CN111027113 B CN 111027113B CN 201911248383 A CN201911248383 A CN 201911248383A CN 111027113 B CN111027113 B CN 111027113B
Authority
CN
China
Prior art keywords
primitive
building model
generating
data
primitives
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911248383.3A
Other languages
Chinese (zh)
Other versions
CN111027113A (en
Inventor
裘斌
杜勇强
潘黎丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Glodon Co Ltd
Original Assignee
Glodon 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 Glodon Co Ltd filed Critical Glodon Co Ltd
Priority to CN201911248383.3A priority Critical patent/CN111027113B/en
Publication of CN111027113A publication Critical patent/CN111027113A/en
Application granted granted Critical
Publication of CN111027113B publication Critical patent/CN111027113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • G06T17/10Constructive solid geometry [CSG] using solid primitives, e.g. cylinders, cubes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/04Architectural design, interior design

Abstract

The invention belongs to the field of digital modeling display, and particularly relates to a method, a system and a storage medium for generating a plane contour map based on a building model. The planar outline map generated according to the building model in the prior art generally contains all the primitives, the three-dimensional and two-dimensional synchronous rendering inevitably adds extra pressure to the rendering engine, and the high-level cutting is difficult to accurately realize. The method is based on a building model as a rendering object, the attributes of all the primitives are obtained through file analysis corresponding to the rendering object, or the primitives in the building model are classified through a user-defined expansion data method, and then the filtered primitives are rendered from the top view angle through a user-defined filtering rule to generate a plane contour map. The pressure of three-dimensional rendering is not increased, the problem of generating height by a entanglement plane is not needed, so that the problem of cutting from the middle of a graphic primitive is not worry, and two-dimensional and three-dimensional linkage is supported.

Description

Method, system and storage medium for generating plane contour map based on building model
Technical Field
The invention belongs to the field of digital modeling display, and particularly relates to a method, a system and a storage medium for generating a plane contour map based on a building model.
Background
In browsing complex rendering models, especially building models, in addition to viewing three-dimensional effect maps, it is often necessary to view in combination with a plan view in order to locate or determine local details. Furthermore, the planar contour map generated from the building model is also different according to different usage scenarios, and it is not necessary to display all primitives in the rendering model.
There are two general methods for generating a plan profile based on a building model: one is to render all or part of the primitives in two dimensions while rendering the building model in three dimensions; the other is to intercept the building model in a cross-sectional manner through a horizontal face of a certain height.
However, the above generation method has the following problems:
(1) The plane outline map generated according to the building model generally comprises all the primitives, and the primitives with rendering values are not filtered out according to actual requirements;
(2) The two-dimensional plane rendering is carried out at the same time of the three-dimensional rendering, so that additional pressure is inevitably added to a rendering engine;
(3) The difficulty in generating a plane profile by cutting a plane according to the section height is that the section height is selected, and the possibility that part of the primitives of the building model are not cut through exists;
(4) The generally generated planar profile only supports viewing, and has no more functional support, such as two-dimensional linkage and the like.
Disclosure of Invention
The concepts to which the present invention relates are explained herein.
The bounding box: in the fields of computer graphics and computational geometry, a bounding box is a closed space that completely encloses an object or combination of objects. Packaging complex objects in a simple enclosure can increase the efficiency of geometric operations. Usually represented by bright spots in space (two points or one center point in space, or scalar representations of three directions).
SDK: a software development kit (Software Development Kit) is typically a collection of development tools used by software engineers to create application software for a particular software package, software framework, hardware platform, operating system, or the like.
Mesh: a Polygon mesh (Polygon mesh) is a collection of vertices and polygons in three-dimensional computer graphics representing a polyhedral shape, also called an unstructured mesh. These meshes are typically composed of triangles, quadrilaterals, or other simple convex polygons, which may simplify the rendering process.
Filtering the primitives: the invention refers to a graphic element which is obtained after filtering by a certain rule and needs to be rendered in a plane outline drawing.
The method, the system and the storage medium for generating the building plane contour map are based on a building model as a rendering object, the attributes of all the primitives are obtained through file analysis corresponding to the rendering object, or the primitives in the building model are classified by a user-defined expansion data method, and optionally are reasonably stored in a light-weight mode, and then the filtered primitives are rendered from the top view angle through a user-defined filtering rule to generate the plane contour map.
According to one aspect of the present invention, there is provided a method of generating a plan profile based on a building model, the method comprising the steps of:
s1, acquiring a primitive data file from a building model;
s2, analyzing the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data comprises primitive attribute data such as primitive belonging families, primitive categories and the like;
s3, filtering the model primitives according to set rules to obtain primitive sets obtained by filtering according to primitive types in the set floors;
s4, generating a plane outline drawing from top view rendering.
Further, the groups to which the primitives belong include floors, building numbers, professions, field cloths and the like.
Further, the primitive category includes members of various families that make up the building model.
Further, after step S1 is completed, for the building model in which the primitive attribute data is missing or incomplete, the primitive attribute data is expanded autonomously by the user.
Further, when the primitive attribute data are expanded, the primitive attributes of the building model are assigned in batches in the classification files according to the classification files established by the building model according to the primitive attributes.
Further, in step S2, geometric data such as vertices, vertex indexes, normal vectors, and map uv data associated with the primitives are obtained when traversing the primitives, using an iterator capable of traversing all primitives in the building model.
Further, in step S2, for building model files with different file formats, the geometric data of the primitives are further converted into data formats supported by the rendering engine.
Further, after step S2 is completed, the obtained primitive geometry data and primitive attribute data are stored in a lightweight manner.
Further, in the light-weight storage, the primitive geometric data is compressed by an o3dgc or drago compression algorithm and then stored, and the primitive attribute data is stored according to a classification sub-table database.
Further, in step S3, the set rule includes a set floor for display and a filtered primitive category.
Further, in step S3, the building numbers, professions, or field fabrics in the group to which the primitives belong are also used for filtering according to different requirements.
Further, in step S1, bounding boxes of each primitive may be extracted from the primitive data file, and bounding boxes of all primitives are combined and calculated to obtain a bounding box of the entire scene of the building model.
Further, the positions of the primitives in the building model are determined through the relation between the bounding boxes of the primitives and the bounding boxes of the whole scene and are used for two-dimensional and three-dimensional linkage display.
Further, when a layer of a planar profile is displayed, in a linked three-dimensional scene, the camera also moves to that layer and clicks a different location in the planar region in the planar profile, the camera of the three-dimensional scene will move to the corresponding location of that floor with the camera orientation unchanged.
Further, when browsing in a three-dimensional scene, along with the movement of the camera and the change of the direction of the lens, the position and the direction of the camera in the linked plane profile can be synchronously reflected in the plane profile in the form of an arrow.
According to another aspect of the present invention, there is also provided a system for generating a planar contour map based on a building model, the system including a primitive data file acquisition module, a primitive data file analysis module, a model primitive filtering module, and a planar contour map rendering module, wherein
The primitive data file acquisition module acquires a primitive data file from the building model;
the primitive data file analysis module analyzes the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data comprises primitive attribute data such as primitive belonging families, primitive categories and the like;
the model primitive filtering module filters model primitives according to set rules to obtain primitive sets obtained by filtering according to primitive categories in the set floors;
the planar profile rendering module generates a planar profile from a top view rendering.
Further, the groups to which the primitives belong include floors, building numbers, professions, field cloths and the like.
Further, the primitive category includes members of various families that make up the building model.
Further, the system also comprises a primitive attribute data expansion module, and for the building model with missing or incomplete primitive attribute data, the primitive attribute data is expanded by a user independently.
Further, when the primitive attribute data are expanded, the primitive attributes of the building model are assigned in batches in the classification files according to the classification files established by the building model according to the primitive attributes.
Further, the primitive data file analysis module obtains geometric data such as vertexes, vertex indexes, normal vectors, mapping uv data and the like associated with the primitives when traversing the primitives by using an iterator capable of traversing all the primitives in the building model.
Further, the primitive data file parsing module also needs to convert the geometric data of the primitive into the data format supported by the rendering engine for the building model files with different file formats.
Further, the system also comprises a lightweight storage module, and the obtained primitive geometric data and primitive attribute data are stored in a lightweight mode.
Further, in the light-weight storage, the primitive geometric data is compressed by an o3dgc or drago compression algorithm and then stored, and the primitive attribute data is stored according to a classification sub-table database.
Further, the set rules include set floors for display and filtered primitive categories.
Further, the model primitive filtering module also utilizes building numbers, professions or field fabrics in the group to which the primitives belong to filter according to different requirements.
Furthermore, the primitive data file obtaining module may further extract a bounding box of each primitive from the primitive data file, and calculate the bounding box of all primitives by merging the bounding boxes of all primitives, so as to obtain a bounding box of the whole scene of the building model.
Further, the positions of the primitives in the building model are determined through the relation between the bounding boxes of the primitives and the bounding boxes of the whole scene and are used for two-dimensional and three-dimensional linkage display.
Further, when a layer of a planar profile is displayed, in a linked three-dimensional scene, the camera also moves to that layer and clicks a different location in the planar region in the planar profile, the camera of the three-dimensional scene will move to the corresponding location of that floor with the camera orientation unchanged.
Further, when browsing in a three-dimensional scene, along with the movement of the camera and the change of the direction of the lens, the position and the direction of the camera in the linked plane profile can be synchronously reflected in the plane profile in the form of an arrow.
According to another aspect of the present invention there is also provided a storage medium having stored thereon a computer program which when executed by a processor performs a method as described above.
The invention filters and generates the plane contour diagrams of different styles based on the building model itself as the rendering object and the extended attribute, and is used for scenes with different requirements. The user can also quickly position based on the generated plane profile and carry out simple two-dimensional and three-dimensional linkage.
Compared with the prior art, the invention has the following beneficial effects:
(1) The invention keeps the whole geometric structure of the rendering object while generating the plane outline map, does not increase the pressure of three-dimensional rendering, and does not need to tangle the problem of plane generation height, thereby avoiding the problem of cutting from the middle of the graphic primitive.
(2) And supporting user-defined filtering rules.
(3) And the method supports rapid positioning from a two-dimensional rendering position to three dimensions and performs simple two-dimensional and three-dimensional linkage.
The foregoing description is only an overview of the disclosed technology, and may be implemented in accordance with the disclosure of the present disclosure, so that the above-mentioned and other objects, features and advantages of the present disclosure can be more clearly understood, and the following detailed description of the preferred embodiments is given with reference to the accompanying drawings.
Drawings
FIG. 1 is a flow chart of a method of generating a plan profile based on a building model in accordance with the present invention;
FIG. 2 is a data type of a render object;
FIG. 3 is a perspective rendering of an architectural model at a selected floor according to an embodiment;
FIG. 4 is a plan outline view of an embodiment building model generated at a selected floor;
FIG. 5 is a two-dimensional linkage schematic of a perspective rendering and a plan outline of a building model according to an embodiment.
Detailed Description
Other advantages and effects of the present disclosure will become readily apparent to those skilled in the art from the following disclosure, which describes embodiments of the present disclosure by way of specific examples. It will be apparent that the described embodiments are merely some, but not all embodiments of the present disclosure. The disclosure may be embodied or practiced in other different specific embodiments, and details within the subject specification may be modified or changed from various points of view and applications without departing from the spirit of the disclosure. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the following claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present disclosure, one skilled in the art will appreciate that one aspect described herein may be implemented independently of any other aspect, and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. In addition, such apparatus may be implemented and/or such methods practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should also be noted that the illustrations provided in the following embodiments merely illustrate the basic concepts of the disclosure by way of illustration, and only the components related to the disclosure are shown in the drawings and are not drawn according to the number, shape and size of the components in actual implementation, and the form, number and proportion of the components in actual implementation may be arbitrarily changed, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided in order to provide a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Referring to fig. 1, the method flowchart for generating a plan outline map based on a building model of the present invention comprises the following steps:
s1, acquiring a primitive data file from a building model
Referring to fig. 2, the primitive data of the building model as a rendering object includes the following types:
(1) Primitive geometry data
Specifically, the method comprises parameterized geometric information data, mesh data, primitive bounding boxes and the like, wherein the geometric data must be acquired from a building model and needs to be directly supported or can be indirectly converted into a data format supported by a rendering engine, so that the rendering engine can maintain the accurate appearance shape of a rendering object in a top view generated according to the geometric data and can ensure that the relative position is unchanged.
(2) Primitive attribute data
Including but not limited to: the more complete the building model of the attribute data, the more kinds of the plane contour diagrams can be generated, and the higher the fineness degree. The following categorization describes attributes:
(a) The floor is indispensable, which fundamentally supports the generation of the plane profile of different floors, and simultaneously provides important support for two-dimensional and three-dimensional linkage, and is characterized in that: clicking the corresponding plan of a certain floor can obtain the height (floor) of the plan, so that the camera can jump to the corresponding height (floor) in the three-dimensional space;
(b) Building numbers are often used in the situation that a model is large and comprises a plurality of different buildings, but a plane outline map of a single model is expected to be generated, because the building numbers are separated by depending on the building attributes of the primitives at the moment;
(c) Professional and field cloth is often applied to support the situation of separating corresponding primitives in batches according to different requirements;
(d) Primitive classes are important references for defining filtering rules in later stages of more detail.
Among the attributes of the building model, types (a), (b) and (c) belong to the division of the family of primitives. The type (d) is very important for the display effect, the primitive category is used as a filtering condition set by a user to select primitives to be displayed in the rendering plane outline, when only one or more categories of primitives need to be rendered in the plane diagram, the categories of all the primitives in the building model need to be identified, and the primitives meeting the filtering condition, such as the primitives which need to only contain wall categories when the plane diagram is rendered, are screened.
(3) Bounding box data
In the optimized scheme, bounding box data of the building model can be extracted from the building model file and used for carrying out a two-dimensional and three-dimensional linkage display scheme, the bounding box relates to a bounding box of each primitive in the building model, and the bounding box of the whole scene of the building model obtained by merging and calculating the bounding boxes of all primitives can be used for determining the positions of the primitives in the building model through the bounding box, so that the method is a basis for carrying out two-dimensional and three-dimensional linkage.
S2, for the building model with incomplete building model primitive attribute data, the user autonomously expands the primitive attribute data
This step is an optional step, and if the building model establishes a classification file according to the primitive attribute, the primitive attribute of the building model can be directly assigned in the classification file, such as floors, professions, field cloth, and the like. If the building model itself contains more content and cannot be classified by a single attribute, the attributes of the primitives to be filtered can be comprehensively set in batches.
For example, a building is divided by floor and specialty, saved as a single model file (floor model file and specialty model file) for the building, respectively, and then defined in each model file, for example, floor information for the building is defined in the floor model file, specialty information for the building is defined in the specialty model file, and other relevant data, if any. And then, initiating integration on the model files, and writing attribute data defined in the single model file into corresponding primitive attributes during integration. Generally, the more detailed the attribute data, the more files are classified, so the attribute data supported by the building model itself and the user-defined attribute data preferably complement each other.
S3, analyzing the primitive data file
The method comprises the steps of obtaining geometric data and/or bounding box data of vertexes, vertex indexes, normal vectors, mapping uv and the like hung on the primitives when traversing the primitives by using an iterator capable of traversing all the primitives in the building model, and reading the primitive attribute data through corresponding API interfaces.
For building model files with different file formats, corresponding plug-ins or SDKs which can be used for secondary development are needed to provide support for conversion, so that geometric data of the graphic primitives are converted into data formats supported by a rendering engine. The mainstream modeling software has corresponding support, such as modeling software of revit, sketchup,3dmax and the like, has corresponding SDK, and files in 3dm, FBX, obj, gltf and the like have three-party library support with a plurality of open sources.
S4, saving data in a light-weight mode
The step is an optional optimization scheme, namely, the primitive geometric data, the primitive attribute data and/or the bounding box data obtained in the steps S1-S3 are stored in a lightweight mode.
For example, the primitive attribute data is stored according to a classification table database, the primitive geometry data is compressed by using compression algorithms such as o3dgc or drago, and the gz compression mode of the json file is also an alternative scheme for facilitating the web side to read.
The light-weight storage has the advantages of improving the data reading efficiency, reducing the memory space occupied by the data, facilitating the data reading and writing, and being used as a basis for supporting secondary development, such as the display of a model at a Web end.
S5, filtering the model graphic element by using a set rule
(1) Traversing attribute data of all primitives in the building model to obtain a set of primitives in a set floor, namely a set of various types of components in each floor
In the actual operation process, the floor attribute is usually taken as a priority traversal object, and a set of different types of members under each floor is obtained. This is an essential step in generating a floor plan profile, and no matter which attribute is classified and filtered, layering is required based on floor attributes.
(2) The other attributes, including building number, specialty, field layout, primitive category, etc., are mainly used for separating floors according to different requirements. For example, filtering through primitive classes, for extracting primitives of one or more classes to be rendered in a floor.
S6, generating a plane outline drawing from top view rendering
And (3) rendering the primitives obtained by filtering in the step (S5) independently by adopting the angle of the top view according to the geometric data of the primitives, wherein the process of rendering the plane contour map is separated from the three-dimensional rendering, and no extra pressure is caused to the three-dimensional rendering. The method generates a plane outline drawing of the building model after the floor filtering, and aims at different rendering engines, so long as the stored graphic primitive geometric data is converted into the data organization of each rendering engine.
The actual effect can be seen in fig. 3-4, where fig. 3 is a geometric representation of a rendered object obtained by filtering the F01 layer of the building model of an embodiment, and fig. 4 is a plan outline view of a user defining a rendering of only the filtered wall and the structural frame from a top view, and it can be found that fig. 4 substantially retains the important outline of F01 formed by the wall, but removes the primitives that form a partial or full occlusion after the rendering of stairs, floors, doors, etc.
In addition to the contour display, two-dimensional and three-dimensional linkage display can be performed, referring to fig. 5, because the building model often has multiple floors, on the premise that no floor is selected, multiple plane contour diagrams can be generated, and after a certain layer of plane contour diagram is selected according to the floors in the plane contour diagram list, a camera of a three-dimensional scene can be moved to the floor. Clicking different positions in the planar area in the planar profile, the camera of the three-dimensional scene will move to the corresponding position on the floor with the camera orientation unchanged. When browsing in a three-dimensional scene, the movement of the camera and the change of the direction of the lens are caused, and meanwhile, in the plane outline, the position and the direction of the camera are synchronously reflected in the plane outline in the form of arrows.
When clicking the plane contour map, the corresponding floor height of the corresponding plane contour map is known, so that in three-dimensional preview, the camera can be rapidly positioned to the corresponding floor height, and under the condition that building model bounding box data are obtained by calculating the relation between the clicking position of the mouse and the bounding box position, x-value and y-value of the three-dimensional space position can be obtained directly or through screen coordinate transformation of the clicking of the mouse, and the camera can be moved to the corresponding position while the viewing angle direction is kept unchanged. While the plane contour map is opened, the camera position is moved in the three-dimensional space, two-dimensional x and y values (the height z value is ignored) are obtained directly or through the coordinate inverse transformation of the camera position, and the arrow mark position is moved to the appointed plane position in the plane contour. The direction of the arrow may be determined from the X, Y values of the camera direction parameters in the three-dimensional scene (Z values do not affect).

Claims (29)

1. A method of generating a plan profile based on a building model, the method comprising the steps of:
s1, acquiring a primitive data file from a building model;
s2, analyzing the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data comprises a group to which the primitive belongs and a primitive category;
s3, filtering the model primitives according to set rules to obtain primitive sets obtained by filtering according to primitive types in the set floors;
s4, generating a plane outline drawing from top view rendering;
when a layer of planar contour map is displayed, in the linked three-dimensional scene, the camera also moves to the layer, and clicking a different position in the planar region in the planar contour map, the camera of the three-dimensional scene will move to the corresponding position of the floor, with the camera orientation unchanged.
2. The method of generating a plan profile based on a building model of claim 1, wherein: the primitive belongs to the family including floors, building numbers, professions or field cloths.
3. The method of generating a plan profile based on a building model of claim 2, wherein: the primitive classes include various components that make up the building model.
4. A method of generating a plan profile based on a building model as claimed in claim 3, wherein: after step S1 is completed, for the building model with incomplete primitive attribute data, the primitive attribute data is expanded by the user autonomously.
5. The method for generating a plan profile based on a building model of claim 4, wherein: when the primitive attribute data are expanded, the primitive attributes of the building model are assigned in batches in the classification files according to the classification files established by the building model according to the primitive attributes.
6. The method of generating a plan profile based on a building model of any one of claims 1-5, wherein: in step S2, using an iterator that traverses all primitives in the building model, vertices, vertex indices, normal vectors, and map uv data associated with the primitives are obtained while traversing the primitives.
7. The method of generating a plan profile based on a building model of any one of claims 1-5, wherein: in step S2, for building model files with different file formats, the geometric data of the primitives are further converted into data formats supported by the rendering engine.
8. The method of generating a plan profile based on a building model of any one of claims 1-5, wherein: after step S2 is completed, the obtained primitive geometry data and primitive attribute data are stored in a lightweight manner.
9. The method of generating a plan profile based on a building model of claim 8, wherein: and in the light-weight storage, the primitive geometric data is compressed by using an o3dgc or drago compression algorithm and then stored, and the primitive attribute data is stored according to a classification sub-table database.
10. The method of generating a plan profile based on a building model of any one of claims 1-5, wherein: in step S3, the set rule includes a set floor for display and a filtered primitive category.
11. The method of generating a plan profile based on a building model of claim 10, wherein: in step S3, the building numbers, professions or field fabrics in the group to which the primitives belong are also used for filtering according to different requirements.
12. The method of generating a plan profile based on a building model of any one of claims 1-5, wherein: in step S1, bounding boxes of each primitive are also extracted from the primitive data file, and the bounding boxes of all the primitives are combined to calculate an overall bounding box of the building model.
13. The method of generating a plan profile based on a building model of claim 12, wherein: and determining the position of each primitive in the building model through the relation between the bounding box of the primitive and the whole bounding box, and using the bounding box of the primitive and the whole bounding box for two-dimensional and three-dimensional linkage display.
14. The method of generating a plan profile based on a building model of claim 1, wherein: when browsing in a three-dimensional scene, along with the movement of a camera and the change of the direction of a lens, the position and the direction of the camera are synchronously reflected in the plane contour diagram in the form of arrows in the linked plane contour diagram.
15. A system for generating a plan outline map based on a building model, characterized by: the system comprises a primitive data file acquisition module, a primitive data file analysis module, a model primitive filtering module and a plane outline drawing rendering module, wherein
The primitive data file acquisition module acquires a primitive data file from the building model;
the primitive data file analysis module analyzes the primitive data file to obtain primitive geometric data and primitive attribute data, wherein the primitive attribute data comprises a group to which the primitive belongs and a primitive category;
the model primitive filtering module filters model primitives according to set rules to obtain primitive sets obtained by filtering according to primitive categories in the set floors;
the plane contour map rendering module renders and generates a plane contour map from a top view;
when a layer of planar contour map is displayed, in the linked three-dimensional scene, the camera also moves to the layer, and clicking a different position in the planar region in the planar contour map, the camera of the three-dimensional scene will move to the corresponding position of the floor, with the camera orientation unchanged.
16. The system for generating a plan profile based on a building model of claim 15, wherein: the primitive belongs to the family including floors, building numbers, professions or field cloths.
17. The system for generating a plan profile based on a building model of claim 16, wherein: the primitive classes include various components that make up the building model.
18. The system for generating a plan profile based on a building model of claim 17, wherein: the system also comprises a primitive attribute data expansion module, and for the building model with incomplete primitive attribute data, the primitive attribute data is expanded by a user independently.
19. The system for generating a plan profile based on a building model of claim 18, wherein: when the primitive attribute data are expanded, the primitive attributes of the building model are assigned in batches in the classification files according to the classification files established by the building model according to the primitive attributes.
20. The building model based planar profile generating system according to any one of claims 15-19, wherein: the primitive data file analysis module obtains vertexes, vertex indexes, normal vectors and mapping uv data associated with the primitives by using iterators for traversing all the primitives in the building model.
21. The building model based planar profile generating system according to any one of claims 15-19, wherein: the primitive data file analysis module also needs to convert the geometric data of the primitive into a data format supported by a rendering engine for building model files with different file formats.
22. The building model based planar profile generating system according to any one of claims 15-19, wherein: the system also comprises a lightweight storage module, and the obtained primitive geometric data and primitive attribute data are stored in a lightweight mode.
23. The system for generating a plan profile based on a building model of claim 22, wherein: and in the light-weight storage, the primitive geometric data is compressed by using an o3dgc or drago compression algorithm and then stored, and the primitive attribute data is stored according to a classification sub-table database.
24. The building model based planar profile generating system according to any one of claims 15-19, wherein: the set rules include set floors for display and filtered primitive categories.
25. The system for generating a plan profile based on a building model of claim 24, wherein: the model primitive filtering module also utilizes building numbers, professions or field cloths in the group to which the primitives belong to filter according to different requirements.
26. The building model based planar profile generating system according to any one of claims 15-19, wherein: the primitive data file acquisition module also extracts bounding boxes of each primitive from the primitive data file, and merges the bounding boxes of all the primitives to calculate the overall bounding box of the building model.
27. The system for generating a plan profile based on a building model of claim 26, wherein: and determining the position of each primitive in the building model through the relation between the bounding box of the primitive and the whole bounding box, and using the bounding box of the primitive and the whole bounding box for two-dimensional and three-dimensional linkage display.
28. The system for generating a plan profile based on a building model of claim 15, wherein: when browsing in a three-dimensional scene, along with the movement of a camera and the change of the direction of a lens, the position and the direction of the camera are synchronously reflected in the plane contour diagram in the form of arrows in the linked plane contour diagram.
29. A storage medium, characterized by: a computer program stored thereon, which when executed by a processor performs the method according to any of claims 1-14.
CN201911248383.3A 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model Active CN111027113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911248383.3A CN111027113B (en) 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911248383.3A CN111027113B (en) 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model

Publications (2)

Publication Number Publication Date
CN111027113A CN111027113A (en) 2020-04-17
CN111027113B true CN111027113B (en) 2023-06-09

Family

ID=70204892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911248383.3A Active CN111027113B (en) 2019-12-09 2019-12-09 Method, system and storage medium for generating plane contour map based on building model

Country Status (1)

Country Link
CN (1) CN111027113B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111783186B (en) * 2020-07-03 2021-03-16 北京安怀信科技股份有限公司 General CAD model result light-weight visual viewing method
CN112035906B (en) * 2020-07-17 2023-12-22 中国二十冶集团有限公司 Diversified slag flushing ditch inlet electric calculation combined modeling refinement adjustment method
CN111710014A (en) * 2020-08-20 2020-09-25 杭州品茗安控信息技术股份有限公司 Double-code network graph display method, device, equipment and storage medium
CN112308975A (en) * 2020-11-06 2021-02-02 中国石油天然气集团有限公司 RVM binary model analysis method and system for three-dimensional lightweight engine
CN112380611B (en) * 2020-12-04 2022-11-15 江南造船(集团)有限责任公司 Method, device, equipment and medium for designing perforated steel plate of ship outfitting platform channel
CN112579945A (en) * 2020-12-30 2021-03-30 深圳须弥云图空间科技有限公司 Model data display method and device, equipment and computer readable storage medium
CN113506364A (en) * 2021-06-29 2021-10-15 中铁北京工程局集团有限公司 Model creation method, system, device and storage medium
CN114067055B (en) * 2021-11-18 2022-11-11 北京优锘科技有限公司 Method, device, medium and equipment for rapidly generating building floor 3D model in real time
CN113868280B (en) * 2021-11-25 2022-03-25 芯和半导体科技(上海)有限公司 Parameterized unit data updating method and device, computer equipment and storage medium
CN115329697B (en) * 2022-08-26 2023-04-14 北京国科恒通科技股份有限公司 Method, device and system for generating simulated three-dimensional circuit diagram and storage medium
CN117197300B (en) * 2023-11-06 2024-01-30 武汉方拓数字科技有限公司 Rendering synthesis method of three-dimensional wire frame perspective view map based on transparent channel

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150751A (en) * 2013-01-10 2013-06-12 江苏易图地理信息工程有限公司 Three-dimensional modeling method for achieving building inside and outside integration in digital map
CN103530456A (en) * 2013-10-10 2014-01-22 中国电子科技集团公司第十五研究所 Method for building floor plan map and floor plan map generating system
CN104680572A (en) * 2015-02-13 2015-06-03 上海同筑信息科技有限公司 BIM-based mobile terminal building model rendering performance optimization method and system
CN105303590A (en) * 2015-11-25 2016-02-03 中国地质大学(武汉) Method for cutting block model of three-dimensional ore body with attribute to generate two-dimensional profile map
CN107153723A (en) * 2017-04-17 2017-09-12 盈嘉互联(北京)科技有限公司 The data tissue and management method and system of a kind of 3-dimensional digital garden
CN108427810A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 The data processing method and device of assembled architecture technological design based on BIM
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
CN109242969A (en) * 2018-09-29 2019-01-18 中民筑友科技投资有限公司 A kind of outer profile model generating method, device and the equipment of assembled architecture
CN109829962A (en) * 2019-01-29 2019-05-31 广联达科技股份有限公司 A kind of object space blanking line computation accelerated method using OPENGL
CN110334390A (en) * 2019-05-22 2019-10-15 郑州轻工业学院 Exterior wall recognition methods, device, storage medium and processor in CAD
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN110516370A (en) * 2019-08-29 2019-11-29 同济大学建筑设计研究院(集团)有限公司 Prefabricated components deepen drawing creation method, apparatus, computer equipment and medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7065242B2 (en) * 2000-03-28 2006-06-20 Viewpoint Corporation System and method of three-dimensional image capture and modeling
US9471718B2 (en) * 2013-03-14 2016-10-18 Tendril Networks, Inc. Personalization of recommendations based on building model and behavioral science
US10048077B2 (en) * 2014-11-24 2018-08-14 Pornchai Direkwut Method and system of generating an indoor floor plan

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150751A (en) * 2013-01-10 2013-06-12 江苏易图地理信息工程有限公司 Three-dimensional modeling method for achieving building inside and outside integration in digital map
CN103530456A (en) * 2013-10-10 2014-01-22 中国电子科技集团公司第十五研究所 Method for building floor plan map and floor plan map generating system
CN104680572A (en) * 2015-02-13 2015-06-03 上海同筑信息科技有限公司 BIM-based mobile terminal building model rendering performance optimization method and system
CN105303590A (en) * 2015-11-25 2016-02-03 中国地质大学(武汉) Method for cutting block model of three-dimensional ore body with attribute to generate two-dimensional profile map
CN107153723A (en) * 2017-04-17 2017-09-12 盈嘉互联(北京)科技有限公司 The data tissue and management method and system of a kind of 3-dimensional digital garden
CN108427810A (en) * 2017-08-12 2018-08-21 中民筑友科技投资有限公司 The data processing method and device of assembled architecture technological design based on BIM
CN109165401A (en) * 2018-07-09 2019-01-08 国核电力规划设计研究院有限公司 A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
CN109242969A (en) * 2018-09-29 2019-01-18 中民筑友科技投资有限公司 A kind of outer profile model generating method, device and the equipment of assembled architecture
CN109829962A (en) * 2019-01-29 2019-05-31 广联达科技股份有限公司 A kind of object space blanking line computation accelerated method using OPENGL
CN110334390A (en) * 2019-05-22 2019-10-15 郑州轻工业学院 Exterior wall recognition methods, device, storage medium and processor in CAD
CN110414148A (en) * 2019-07-30 2019-11-05 中北大学 The cross-platform online method for visualizing of open BIM based on WebGL
CN110516370A (en) * 2019-08-29 2019-11-29 同济大学建筑设计研究院(集团)有限公司 Prefabricated components deepen drawing creation method, apparatus, computer equipment and medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
李娟娟 ; 施昆 ; 邱飞廷 ; .基于ArcEngine与Skyline的二三维联动GIS系统平台设计与应用――以昆明三维城市规划辅助决策系统为例.江西科学.2010,28(第05期),第696-700页. *
杨若瑜,胡笳,匡海峰,蔡敏,蔡士杰.建筑结构平面图辅助设计系统VHAutoFraming的设计与实现.计算机辅助设计与图形学学报.2002,14(第11期),第1026-1031页. *
汤君友等.基于VR-Platform的城市三维景观动态仿真技术研究.《测绘通报》.2012,(第51期),第294-296页. *
洪洲 ; .基于Cityengine平台的CGA规则室内三维建模方法研究.测绘与空间地理信息.2017,40(第09期),第120-122页. *
陈建祥,魏迎梅,吴玲达.虚拟战场环境中的态势标绘与表现.计算机应用.2005,(第07期),第1701-1703页. *

Also Published As

Publication number Publication date
CN111027113A (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN111027113B (en) Method, system and storage medium for generating plane contour map based on building model
CN104346769B (en) The compression of three-dimensional modeling object
JP4516957B2 (en) Method, system and data structure for searching for 3D objects
US6825839B2 (en) Method and apparatus for generating atomic parts of graphic representation through skeletonization for interactive visualization applications
Lin et al. Structure-preserving retargeting of irregular 3d architecture
Liu et al. Industrial design using interpolatory discrete developable surfaces
JP4199170B2 (en) High-dimensional texture mapping apparatus, method and program
CN109960717A (en) Indoor navigation road network map model data method for organizing and system
KR20130004066A (en) Method for designing a geometrical three-dimensional modeled object
Demir et al. Proceduralization for editing 3d architectural models
JP2018109948A (en) Querying database based on parametric view function
Gao et al. An approach to solid modeling in a semi-immersive virtual environment
Li et al. Geometric structure simplification of 3D building models
JP2020173809A (en) Three-dimensional reconstruction of structure of real scene
KR102356044B1 (en) Method of extracting and converting BIM data for Web Browser and VR/AR Application
CN113706713A (en) Live-action three-dimensional model cutting method and device and computer equipment
JP4034583B2 (en) CAD analysis result data processing apparatus, CAD analysis result data processing method, and CAD analysis result data processing program
KR20030073424A (en) A rendering system, rendering method, and recording medium therefor
CN111737844A (en) Web 3D-based three-dimensional building model editing system and workflow
JP7017852B2 (en) Positioning of 3D objects using descriptors
CN109858059B (en) Application method of virtual reality technology based on CAD (computer-aided design) super-large model in hydropower station simulation
KR20170142890A (en) System and Method for generating 3-Dimensional composited image of goods and packing box
JP2017162447A (en) Localization of 3d object with quantization
CN113378334B (en) Parameterized modeling method and system for underground pipeline and computer readable storage medium
Theisel CAGD and Scientific Visualization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant