CN114723895B - Dynamic visualization implementation method of 3D effect histogram - Google Patents

Dynamic visualization implementation method of 3D effect histogram Download PDF

Info

Publication number
CN114723895B
CN114723895B CN202210637382.3A CN202210637382A CN114723895B CN 114723895 B CN114723895 B CN 114723895B CN 202210637382 A CN202210637382 A CN 202210637382A CN 114723895 B CN114723895 B CN 114723895B
Authority
CN
China
Prior art keywords
histogram
data
initial template
dynamic
template
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
CN202210637382.3A
Other languages
Chinese (zh)
Other versions
CN114723895A (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.)
Shandong Jerei Digital Technology Co Ltd
Original Assignee
Shandong Jerei Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Jerei Digital Technology Co Ltd filed Critical Shandong Jerei Digital Technology Co Ltd
Priority to CN202210637382.3A priority Critical patent/CN114723895B/en
Publication of CN114723895A publication Critical patent/CN114723895A/en
Application granted granted Critical
Publication of CN114723895B publication Critical patent/CN114723895B/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
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2219/00Indexing scheme for manipulating 3D models or images for computer graphics
    • G06T2219/20Indexing scheme for editing of 3D models
    • G06T2219/2024Style variation

Abstract

The invention relates to the technical field of picture processing and data visualization, in particular to a dynamic visualization implementation method of a 3D effect histogram. A dynamic visualization implementation method of a 3D effect histogram is characterized by comprising the following steps: s1, importing the tool kit into a three-dimensional engine, automatically generating a new option for creating the 3D histogram initial template by an editor menu bar, clicking the new option, and creating the 3D histogram initial template; s2, setting the attribute of the 3D histogram initial template through an attribute panel; and S3, operating to generate a dynamic visualized 3D effect histogram. The method has the advantages of simple and efficient operation, workload reduction, processing efficiency improvement and realization of various 3D histogram dynamic effects by using the UI in addition to modeling in a big data visualization application scene.

Description

Dynamic visualization implementation method of 3D effect histogram
Technical Field
The invention relates to the technical field of picture processing and data visualization, in particular to a dynamic visualization implementation method of a 3D effect histogram.
Background
In data visualization, a large number of data tables are required to be used as main body support, and meanwhile, the algorithm performance of data access and the attractiveness of data display need to be considered. In some large data page designs, due to the fact that various column-shaped bodies, cylinders and other column diagrams based on planar design are 2D pictures in nature, when the stretching length is calculated according to a data algorithm, the 3D effect of the top and the bottom of the column diagrams is easy to stretch and deform in data change, and the column diagrams are not attractive.
In order to solve the above problems, the existing processing method is to perform modeling with reference to a plane design, then project the model onto an empty RawImage through a second camera, and finally achieve 3D dynamic stretching by changing the LocalScale of the model, and the whole processing process not only needs to coordinate a model team, but also is too cumbersome.
In addition, chart plug-in tools on the market are independent, after data need to be fetched from an interface, a histogram component can be found through a script written by the user, then assignment can be carried out, if the demand of the histogram in a project is too large, the finding of the corresponding histogram and the assignment can be very tedious, errors are not easily checked, and the maintainability of the project is not facilitated.
Disclosure of Invention
The invention provides a dynamic visualization implementation method of a 3D effect histogram, which aims to solve the problem of tensile deformation caused by data change of the top and the bottom of the histogram in the visualization process of the 3D effect histogram.
In order to achieve the purpose of the invention, the invention adopts the following technical scheme:
the dynamic visualization implementation method of the 3D effect histogram is characterized by comprising the following steps of:
s1, importing the tool kit into a three-dimensional engine, automatically generating a new option for creating the 3D histogram initial template by an editor menu bar, clicking the new option, and creating the 3D histogram initial template;
s2, setting the attribute of the 3D histogram initial template through an attribute panel;
and S3, operating to generate a dynamic visualized 3D effect histogram.
The operation process of S3 includes:
s31, the data processing center executes GET/POST request to the network interface address, and then stores the acquired data to the data temporary storage space;
s32, the 3D histogram initial template component sends the set template component ID to the data processing center according to the attribute setting in S2, the data processing center inquires the ID event registration storage center whether the template component ID exists, if so, the data processing center extracts corresponding data from the data temporary storage space according to the ID and returns the corresponding data to the template component;
s33, acquiring anchor point positions of a head part, a body part and a tail part of the 3D histogram initial template, and associating the head part, the body part and the tail part of the 3D histogram initial template through an Image anchor point control script to realize perfect fit of the three parts during dynamic increase and decrease animation execution;
and S34, processing the histogram data returned in the S32, and assigning the processed histogram data to the whole attached histogram to form the dynamic increase and decrease effect of the 3D histogram.
The tool kit of the S1 comprises a data processing center, an ID event registration storage center, an attribute management panel, an Editor editing script and a 3D histogram prefabrication body;
the data processing center is used for requesting and receiving real-time data and storing the returned data in a classified manner; and registering the receiver event with the ID event registration storage center, receiving the message response from the ID event registration storage center, and returning corresponding data according to the message content.
The ID event registration storage center adopts a multi-parameter entrusting mode, can transmit parameters of multiple types and multiple quantities, and is mainly used for responding to a message sending request of a sender and sending a message to a corresponding receiver.
And the attribute management panel is used for correspondingly generating debugging windows with functions of ID, histogram quantity, animation display time, XYZ-axis direction display buttons, gradient color setting, top numerical value display and the like in the observer attribute panel on the right side when the 3D histogram template is generated.
The Editor editing script runs when the tool pack is imported into the three-dimensional engine, is used for expanding and editing a menu Bar of the three-dimensional engine through a MenuItem (Assets/creat/3D _ Bar/prefab _3 dbar) keyword, and is used for instantiating the 3D histogram prefabrication into a 3D histogram initial template in response to a menu click.
The 3D histogram preform is generated by binding an extended editing script.
The head, the trunk and the tail of the 3D histogram initial template are formed by dividing through a Sudoku cutting method.
Compared with the prior art, the invention has the beneficial effects that:
the method has the advantages of simple and efficient operation, workload reduction, processing efficiency improvement, realization of dynamic effects of various 3D histograms by using the UI besides modeling in a big data visualization application scene, dynamic replacement of different styles and types of histograms according to planar design, and visualization independent editing. Meanwhile, a message distribution management mechanism consisting of a data processing center, an ID event registration storage center and an attribute management panel is arranged, a user can realize data assignment by filling in corresponding ID according to data provided by an interface, data interaction is not needed by a traditional method for establishing an associated script, the coupling in a project is reduced, and the maintenance and the modification are easy. And the lightweight plug-in is realized, and the imported project can be used according to the corresponding setting of the attribute panel, so that the method is simple, convenient and quick.
Drawings
FIG. 1 is a flow chart of the data processing, requesting, and assigning work principle of the present invention
FIG. 2 is a flow chart illustrating the principle of the present invention for cutting a 3D material diagram
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
Example one
In the method for implementing dynamic visualization of a 3D effect histogram according to this embodiment, the three-dimensional engine used is Unity3D, the language used is C # language, and the application scenario is as follows: the production capacity of each production line within one hour needs to be counted in a certain factory workshop, real-time data is put on a data large screen, and a dynamic increasing and decreasing visual animation effect is shown in a bar graph form through data access.
The implementation process comprises the following steps: the method comprises the steps of firstly obtaining real-time data, needing to be connected to a workshop production line intranet, obtaining hourly production data of each production line from a production line background through an Http protocol, carrying out corresponding data storage according to names (IDs) of the production lines after processing, correspondingly generating histogram templates with the same number according to the number of the production lines, carrying out ID setting according to the names (IDs) of the production lines, and simultaneously setting other attributes.
The project plane designer designs a 3D cuboid-shaped histogram, divides the provided plane material graph by a Sudoku division method, assigns values to the picture slots of the created histogram after the plane material graph is imported into an engine, and can perform real-time data visualization after operation.
The specific implementation method comprises the following steps:
s1, importing the tool package into a Unity engine, automatically generating a new option for creating the 3D histogram initial template by an editor menu bar, clicking the new option, and creating the 3D histogram initial template;
s2, leading the divided plane material graph into an engine, dragging and dropping the plane material graph into a picture slot of the attribute panel, and carrying out corresponding attribute setting on the plane material graph;
and S3, operating to generate a dynamic visualized 3D effect histogram.
The operation process of S3 includes:
s31, the data processing center acquires the production data of each production line from the production line background through the intranet interface of the workshop production line, and stores the acquired production data to the data temporary storage space by using the unique ID;
s32, the 3D histogram initial template component sends the set template component ID to the data processing center according to the attribute setting in S2, the data processing center inquires the ID event registration storage center whether the ID of the template component exists, if so, the data processing center extracts corresponding data from the data temporary storage space according to the ID and returns the corresponding data to the template component;
s33, acquiring anchor point positions of a head part, a body part and a tail part of the 3D histogram initial template, and associating the head part, the body part and the tail part of the 3D histogram initial template through an Image anchor point control script to realize perfect fit of the three parts during dynamic increase and decrease animation execution;
and S34, processing the histogram data returned in the S32, and assigning the processed histogram data to the whole attached histogram to form the dynamic increase and decrease effect of the 3D histogram.
The tool kit of the S1 comprises a data processing center, an ID event registration storage center, an attribute management panel, an Editor editing script and a 3D histogram prefabrication body;
the data processing center is used for requesting and receiving real-time data and storing the returned data in a classified manner; and registering the receiver event with the ID event registration storage center, receiving the message response from the ID event registration storage center, and returning corresponding data according to the message content.
The ID event registration storage center adopts a multi-parameter entrusting mode, can transmit parameters of multiple types and multiple quantities, and is mainly used for responding to a message sending request of a sender and sending a message to a corresponding receiver.
And the attribute management panel is used for correspondingly generating debugging windows with functions of ID, histogram quantity, animation display time, XYZ-axis direction display buttons, gradient color setting, top numerical value display and the like in the observer attribute panel on the right side when the 3D histogram template is generated.
The Editor editing script runs when the tool pack is imported into the three-dimensional engine, is used for expanding and editing a menu Bar of the three-dimensional engine through a MenuItem (Assets/creat/3D _ Bar/prefab _3 dbar) keyword, and is used for instantiating the 3D histogram prefabrication into a 3D histogram initial template in response to a menu click.
The 3D histogram preform is generated by binding an extended editing script.
The head, the trunk and the tail of the 3D histogram initial template are formed by dividing through a Sudoku cutting method.
According to the event distribution system with the unique registered ID, the user assigns the ID to each histogram component according to the interface data, does not need to search for the component assignment, and assigns the value according to the automatic ID identification of the event distribution system after capturing the data through the Web interface, so that the workload is reduced, and the error troubleshooting process is simplified. In the aspect of picture stretching, a user can use default materials provided in the tool, and can also process the materials through a planar design and then import the materials by himself. Only a default style histogram needs to be generated, the processed material picture is correspondingly dragged to the picture according to the prompt, the picture can be automatically stitched and spliced into a whole picture according to the algorithm, and the 3D effect stretching of the histogram can be realized only by stretching the corresponding part according to the data algorithm.

Claims (2)

1. A dynamic visualization implementation method of a 3D effect histogram is characterized by comprising the following steps:
s1, importing the tool kit into a three-dimensional engine, automatically generating a new option for creating the 3D histogram initial template by an editor menu bar, clicking the new option, and creating the 3D histogram initial template;
s2, setting the attribute of the 3D histogram initial template through an attribute panel;
s3, running to generate a dynamic visualized 3D effect histogram;
the operation process of S3 includes:
s31, the data processing center executes GET/POST request to the network interface address, and then stores the acquired data to the data temporary storage space;
s32, the 3D histogram initial template component sends the set template component ID to the data processing center according to the attribute setting in S2, the data processing center inquires the ID event registration storage center whether the template component ID exists, if so, the data processing center extracts corresponding data from the data temporary storage space according to the ID and returns the corresponding data to the template component;
s33, acquiring anchor point positions of a head part, a body part and a tail part of the 3D histogram initial template, and associating the head part, the body part and the tail part of the 3D histogram initial template through an Image anchor point control script to realize perfect fit of the three parts during dynamic increase and decrease animation execution;
s34, processing the histogram data returned in the S32, and assigning the processed histogram data to the whole attached histogram to form a dynamic increase and decrease effect of the 3D histogram;
the tool kit of the S1 comprises a data processing center, an ID event registration storage center, an attribute management panel, an Editor editing script and a 3D histogram prefabrication body;
the data processing center is used for requesting and receiving real-time data and storing the returned data in a classified manner; and registering the receiver event with the ID event registration storage center, receiving the message response from the ID event registration storage center, and returning corresponding data according to the message content;
the ID event registration storage center adopts a multi-parameter entrusting form, can carry out multi-type and multi-quantity type transmission parameters, and is mainly used for responding to a message sending request of a sender and sending a message to a corresponding receiver;
the property management panel is used for correspondingly generating an ID, the quantity of the histograms, animation display time, XYZ-axis direction display buttons, gradient color setting and a debugging window of top numerical value display in the observer property panel on the right side when the 3D histogram template is generated;
the Editor editing script runs when the tool pack is imported into the three-dimensional engine, and is used for expanding and editing a menu bar of the three-dimensional engine through a MenuItem keyword and responding to menu clicking to instantiate the 3D histogram prefabricated body into a 3D histogram initial template;
the 3D histogram preform is generated by binding an extended editing script.
2. A method for dynamic visualization of a 3D effects histogram as defined in claim 1,
the head, the trunk and the tail of the 3D histogram initial template are formed by dividing through a Sudoku cutting method.
CN202210637382.3A 2022-06-08 2022-06-08 Dynamic visualization implementation method of 3D effect histogram Active CN114723895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210637382.3A CN114723895B (en) 2022-06-08 2022-06-08 Dynamic visualization implementation method of 3D effect histogram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210637382.3A CN114723895B (en) 2022-06-08 2022-06-08 Dynamic visualization implementation method of 3D effect histogram

Publications (2)

Publication Number Publication Date
CN114723895A CN114723895A (en) 2022-07-08
CN114723895B true CN114723895B (en) 2022-09-27

Family

ID=82232474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210637382.3A Active CN114723895B (en) 2022-06-08 2022-06-08 Dynamic visualization implementation method of 3D effect histogram

Country Status (1)

Country Link
CN (1) CN114723895B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116185413B (en) * 2023-04-24 2023-08-01 山东捷瑞数字科技股份有限公司 Method, system, device and medium for generating specified menu based on three-dimensional engine

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222597A (en) * 1999-01-29 2000-08-11 Matsushita Electric Ind Co Ltd Pseudo three-dimensional polygonal column plotting method and computer-readable recording medium recording program for executing the same method on computer
CN102169412A (en) * 2011-03-31 2011-08-31 北京清大高科系统控制有限公司 Real-time three-dimensional visual system of power grid
CN107544806A (en) * 2017-09-04 2018-01-05 江苏中威科技软件系统有限公司 Visualize list method for drafting
CN110599600A (en) * 2019-09-16 2019-12-20 海南诺亦腾海洋科技研究院有限公司 Automatic transformation method of multidimensional visualization model of data
CN111596989A (en) * 2020-04-28 2020-08-28 西安震有信通科技有限公司 Histogram display method, terminal and storage medium
CN111859053A (en) * 2020-07-22 2020-10-30 武汉镝次元数据科技有限公司 Data definition method of visual chart and chart library realized by data definition method
CN112560422A (en) * 2020-12-10 2021-03-26 北京煜邦电力技术股份有限公司 Chart processing method, device, equipment and medium
CN113157779A (en) * 2020-01-22 2021-07-23 北京沃东天骏信息技术有限公司 Data chart generation method and device
US11270483B1 (en) * 2020-09-09 2022-03-08 Sap Se Unified multi-view data visualization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9703820B2 (en) * 2014-08-05 2017-07-11 Adobe Systems Incorporated Customized and automated dynamic infographics
CN107229474B (en) * 2017-05-31 2020-12-25 成都药王科技股份有限公司 Method and device for rapidly configuring Java interface and chart service based on visual interface
CN114556287A (en) * 2019-04-23 2022-05-27 多芬风险投资有限责任公司 Data caching, dynamic code generation, and data visualization techniques

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000222597A (en) * 1999-01-29 2000-08-11 Matsushita Electric Ind Co Ltd Pseudo three-dimensional polygonal column plotting method and computer-readable recording medium recording program for executing the same method on computer
CN102169412A (en) * 2011-03-31 2011-08-31 北京清大高科系统控制有限公司 Real-time three-dimensional visual system of power grid
CN107544806A (en) * 2017-09-04 2018-01-05 江苏中威科技软件系统有限公司 Visualize list method for drafting
CN110599600A (en) * 2019-09-16 2019-12-20 海南诺亦腾海洋科技研究院有限公司 Automatic transformation method of multidimensional visualization model of data
CN113157779A (en) * 2020-01-22 2021-07-23 北京沃东天骏信息技术有限公司 Data chart generation method and device
CN111596989A (en) * 2020-04-28 2020-08-28 西安震有信通科技有限公司 Histogram display method, terminal and storage medium
CN111859053A (en) * 2020-07-22 2020-10-30 武汉镝次元数据科技有限公司 Data definition method of visual chart and chart library realized by data definition method
US11270483B1 (en) * 2020-09-09 2022-03-08 Sap Se Unified multi-view data visualization
CN112560422A (en) * 2020-12-10 2021-03-26 北京煜邦电力技术股份有限公司 Chart processing method, device, equipment and medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于JFree Chart的Web统计图表;王睿等;《微机发展》;20050310(第03期);全文 *
三维网格柱状图制图表达及应用研究;黄煌等;《现代测绘》;20160525(第03期);全文 *

Also Published As

Publication number Publication date
CN114723895A (en) 2022-07-08

Similar Documents

Publication Publication Date Title
CN103984818B (en) AUV (autonomous underwater vehicle) design flow visualization modeling method based on Flex technology
CN107045730B (en) Multi-dimensional display system and method for digital cultural scene or image
WO2021036448A1 (en) Webpage editing method and apparatus
CN106354786A (en) Visual analysis method and system
CN103593181B (en) A kind of configurable Distributed Three-dimensional vision emulation system
CN110096268A (en) By the system and method for the executable program of the VR/AR/MR device secondary editor of stateization living
CN110807015A (en) Big data asset value delivery management method and system
CN114723895B (en) Dynamic visualization implementation method of 3D effect histogram
CN108984832B (en) Method and system for loading BIM model by utilizing Unity3D in intelligent building operation and maintenance
CN107209773A (en) Automatically unified visualization interface is called
WO2015096518A1 (en) Method and apparatus for dynamically displaying three-dimensional model
CN111667557B (en) Animation production method and device, storage medium and terminal
KR20030073424A (en) A rendering system, rendering method, and recording medium therefor
US10417924B2 (en) Visual work instructions for assembling product
CN107436785B (en) Revit software information interaction system and interaction method based on information system
CN108255964B (en) Method for displaying process flow route
CN106846431B (en) Unified Web graph drawing system supporting multiple expression forms
CN109544703B (en) Data center Web3D model loading method easy to realize interaction
CN115294308A (en) Augmented reality auxiliary assembly operation guiding system based on deep learning
CN111309321A (en) Customizable GUI system based on data drive
CN109003334A (en) A kind of binocular three-dimensional virtual reality scenario building system based on WebGL
WO2022183519A1 (en) Three-dimensional graphics image player capable of real-time interaction
CN113709575B (en) Video editing processing method and device, electronic equipment and storage medium
CN114782008A (en) BIM project cooperation method and system developed based on SketchUp and other related equipment
CN111538878A (en) QT-based data acquisition platform data display method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No.102, Aucma street, Laishan District, Yantai City, Shandong Province

Applicant after: SHANDONG JEREI DIGITAL TECHNOLOGY Co.,Ltd.

Address before: 264003 No. 26, Tonghe Road, Laishan District, Yantai City, Shandong Province

Applicant before: SHANDONG JEREI DIGITAL TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant