CN109542579A - A kind of dynamic creation panorama is parked the method for image system UI - Google Patents
A kind of dynamic creation panorama is parked the method for image system UI Download PDFInfo
- Publication number
- CN109542579A CN109542579A CN201811548087.0A CN201811548087A CN109542579A CN 109542579 A CN109542579 A CN 109542579A CN 201811548087 A CN201811548087 A CN 201811548087A CN 109542579 A CN109542579 A CN 109542579A
- Authority
- CN
- China
- Prior art keywords
- class
- xml file
- message
- image system
- dynamic creation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R1/00—Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44594—Unloading
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2300/00—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
- B60R2300/10—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of camera system used
- B60R2300/105—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of camera system used using multiple cameras
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2300/00—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
- B60R2300/30—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the type of image processing
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2300/00—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
- B60R2300/60—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by monitoring and displaying vehicle exterior scenes from a transformed perspective
- B60R2300/607—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by monitoring and displaying vehicle exterior scenes from a transformed perspective from a bird's eye viewpoint
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R2300/00—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
- B60R2300/80—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement
- B60R2300/806—Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement for aiding parking
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Mechanical Engineering (AREA)
- Processing Or Creating Images (AREA)
Abstract
It parks the method for image system UI the present invention relates to a kind of dynamic creation panorama, it include: that Main function starts to execute, the Run function of PV is called, the object and other initialization operations of BirdViewWindow class and Unitycontroller class are created in Run function;XMLLoader comes in the content load of BV.xml file, in the constructed fuction of BirdViewWindow class, according to the content in XML file, shows picture resource in corresponding coordinate position;XMLLoader is the loader of XML file, and the content in BV.xml file is the coordinate and display size of the various menu option in UI;After user has selected the UI of some style, previous picture resource is uninstalled first, then the different coordinate positions in reselection XML file, finally shows picture in corresponding coordinate position again.The present invention can switch different UI styles by message mechanism, meet the preference demand of different user, and humanization designing, diversification realize man-machine smooth interaction, and user experience is good, can meet the needs of practical application well.
Description
Technical field
The invention belongs to Vehicle Engineering technical fields, and in particular to a kind of dynamic creation panorama is parked the side of image system UI
Method.
Background technique
360 ° of full-view image systems are a kind of virtual reality technologies based on image, it is obtained three-dimensional vertical with true photo
The feeling of body, this is that general picture and three-dimensional modeling are all unable to reach.360 ° of panoramas can act as general picture
The effect for showing and recording, but the angular field of view of general picture is limited, also has no three-dimensional sense, and 360 ° of panoramas not only have 360 °
Visual angle, can more bring the visual impression of 3 D stereo, allow user like on the spot in person.Driver deposits when driving
In this problem that many blind areas, the appearance of 360 ° of panoramas solve, and automobile is exactly the ample scope for abilities of 360 ° of panoramas.Panorama
Image system product is made of 4 cameras and 1 host, and camera is separately mounted to 4 positions all around of vehicle, is led to
The splicing for crossing host shows the picture splicing of 4 cameras shooting in vehicle at the panoramic picture got a bird's eye view in the air is similar to
It carries in display screen.Under the driving of unmanned theory, Vehicular display device stops not just to make up user, when reversing
Blind area, but more focus on user enjoy, such as broadcast, music and video playing etc..In field of automobile design,
Automobile human-computer interaction and user experience play an increasingly important role, and have become and generate significant impact to automobile brand
One of element.Full-view image system product must have a display interface to realize human-computer interaction, then for vehicle-mounted panoramic
For the manufacturer of image system, hommization is designed, diversified UI product is similarly important.Based on people-oriented think of
Think, user is possible to not like the look & feel of system default or to this kind of wind when using full-view image system product
Operation under lattice interface smoothly, does not need to provide user different look & feel selections, then to meet the needs of users.
Summary of the invention
For above-mentioned problems of the prior art, it can avoid above-mentioned skill occur the purpose of the present invention is to provide one kind
The dynamic creation panorama of art defect is parked the method for image system UI.
In order to achieve the above-mentioned object of the invention, technical solution provided by the invention is as follows:
A kind of dynamic creation panorama is parked the method for image system UI, comprising:
S1: creation includes C0,C1,……Cn, coordinate-system pond;
S2: loader loads coordinate information in pond;
S3: main window is bound coordinate information and corresponding picture resource using structure, and is stored in array element arr
[0], [1] arr ... in arr [n];
S4: main window shows picture;
S5: window procedure function receives message queue message;
S6: judge whether type of message is replacement UI, if so, S7 is executed, if it is not, then executing S5;
S7: unloading picture resource, and execute S4.
A kind of dynamic creation panorama is parked the method for image system UI, comprising: Main function starts to execute, and calls PV's
Run function creates the object of BirdViewWindow class and Unitycontroller class and other initial in Run function
Change operation;
PV is the total interface of a variety of models, and BirdViewWindow is to get a bird's eye view window interface, and Unitycontroller is unified
Control unit interface;
XMLLoader comes in the content load of BV.xml file, in the constructed fuction of BirdViewWindow class, root
According to the content in XML file, picture resource is shown in corresponding coordinate position;
XMLLoader is the loader of XML file, and the content in BV.xml file is the coordinate of the various menu option in UI
And display size.
Further, in the method, Main function starts to execute, and calls the Run function of PV, creates in Run function
The object and other initialization operations of BirdViewWindow class and Unitycontroller class, pass through the polymorphism of class:
Subclass object is directed toward in succession, rewriting and base class reference, and the same base class reference is made to be directed toward specific vehicle according to actual needs
UI.
Further, the method also includes: after user has selected the UI of some style, previous picture is provided first
Source uninstalls, then the different coordinate positions in reselection XML file, finally shows picture in corresponding coordinate position again.
Further, in the method, switch different UI styles by message mechanism.
Further, the message mechanism includes: to generate event message, this disappears when user selects different UI styles
Breath is placed in message queue, and application program obtains message in message queue and window procedure function is transferred to handle the message,
Complete the switching of UI.
Dynamic creation panorama provided by the invention is parked the method for image system UI, and it is different can to pass through message mechanism switching
UI style, meet the preference demand of different user, humanization designing, diversification realize man-machine smooth interaction, user experience
It is good, the needs of practical application can be met well.
Detailed description of the invention
Fig. 1 be dynamic creation panorama of the invention park image system UI method program implementation flow chart;
Fig. 2 is message mechanism schematic diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing and specific implementation
The present invention will be further described for example.It should be appreciated that described herein, specific examples are only used to explain the present invention, and does not have to
It is of the invention in limiting.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
A kind of dynamic creation panorama is parked the method for image system UI, comprising:
S1: creation includes C0,C1,……Cn, coordinate-system pond;
S2: loader loads coordinate information in pond;
S3: main window is bound coordinate information and corresponding picture resource using structure, and is stored in array element arr
[0], [1] arr ... in arr [n];
S4: main window shows picture;
S5: window procedure function receives message queue message;
S6: judge whether type of message is replacement UI, if so, S7 is executed, if it is not, then executing S5;
S7: unloading picture resource, and execute S4.
Specifically, as shown in Figure 1, dynamic creation panorama is parked image system UI method, comprising the following steps:
Main function starts to execute, and calls the Run function of PV, in Run function creation BirdViewWindow class and
The object of Unitycontroller class and other initialization operations.This three parts has all used the polymorphism of class: it inherits,
It rewrites and subclass object is directed toward in base class reference, this be directed toward the same base class reference can specific according to the actual needs
The UI of vehicle improves the reusability of code.
PV is the total interface of a variety of models, and PV1 and PV2 etc. are specific vehicle;Page is the total interface of the page,
BirdViewWindow is to get a bird's eye view window interface, and XBirdViewWindow gets a bird's eye view window interface for specific vehicle;
BirdViewService is to get a bird's eye view service interface, and Unitycontroller is unified controller interface, and XController is tool
The controller of body vehicle.
XMLLoader is the loader of xml document, and the content in BV.xml file is the coordinate of the various menu option in UI
And display size.
XMLLoader comes in the content load of BV.xml file, in the constructed fuction of BirdViewWindow class, root
According to the content in XML file, picture resource is shown in corresponding coordinate position.User can select properly according to personal preference
The interface UI, after user has selected the ui of some style, previous picture resource is uninstalled first, then reselection XML text
Different coordinate positions in part finally show picture in corresponding coordinate position again.And can be different with successful switch UI style,
It is most important to be to rely on message mechanism.Message mechanism principle generates as shown in Fig. 2, when user selects different UI styles
Event message, the message are placed in message queue, and application program obtains message in message queue and transfers to window procedure letter
Number handles the message, completes the switching of UI.
Dynamic creation panorama provided by the invention is parked the method for image system UI, and it is different can to pass through message mechanism switching
UI style, meet the preference demand of different user, humanization designing, diversification realize man-machine smooth interaction, user experience
It is good, the needs of practical application can be met well.
Embodiments of the present invention above described embodiment only expresses, the description thereof is more specific and detailed, but can not
Therefore limitations on the scope of the patent of the present invention are interpreted as.It should be pointed out that for those of ordinary skill in the art,
Without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection model of the invention
It encloses.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (6)
- A kind of method of image system UI 1. dynamic creation panorama is parked characterized by comprisingS1: creation includes C0,C1,……Cn, coordinate-system pond;S2: loader loads coordinate information in pond;S3: main window is bound coordinate information and corresponding picture resource using structure, and is stored in array element arr [0], Arr [1] ... in arr [n];S4: main window shows picture;S5: window procedure function receives message queue message;S6: judge whether type of message is replacement UI, if so, S7 is executed, if it is not, then executing S5;S7: unloading picture resource, and execute S4.
- A kind of method of image system UI 2. dynamic creation panorama is parked characterized by comprising Main function starts to execute, The Run function for calling PV, create in Run function BirdViewWindow class and Unitycontroller class object and its His initialization operation;PV is the total interface of a variety of models, and BirdViewWindow is to get a bird's eye view window interface, and Unitycontroller is to be uniformly controlled Device interface;XMLLoader comes in the content load of BV.xml file, in the constructed fuction of BirdViewWindow class, according to Content in XML file shows picture resource in corresponding coordinate position;XMLLoader is the loader of XML file, and the content in BV.xml file is the coordinate of the various menu option and aobvious in UI Show size.
- 3. the method for dynamic creation full-view image system UI according to claim 2, which is characterized in that in the method In, Main function starts to execute, call the Run function of PV, in Run function creation BirdViewWindow class and The object of Unitycontroller class and other initialization operations, pass through the polymorphism of class: succession, rewriting and base class Subclass object is directed toward in reference, and the same base class is made to quote the UI for according to actual needs and being directed toward specific vehicle.
- 4. the method for dynamic creation full-view image system UI according to claim 2, which is characterized in that the method is also wrapped It includes: after user has selected the UI of some style, first uninstalling previous picture resource, then in reselection XML file Different coordinate positions, finally again corresponding coordinate position show picture.
- 5. the method for dynamic creation full-view image system UI according to claim 2, which is characterized in that in the method In, switch different UI styles by message mechanism.
- 6. according to the method for dynamic creation full-view image system UI described in claim 2-5, which is characterized in that the message machine System includes: to generate event message when user selects different UI styles, which is placed in message queue, application program Message is obtained in message queue and window procedure function is transferred to handle the message, completes the switching of UI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811548087.0A CN109542579A (en) | 2018-12-18 | 2018-12-18 | A kind of dynamic creation panorama is parked the method for image system UI |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811548087.0A CN109542579A (en) | 2018-12-18 | 2018-12-18 | A kind of dynamic creation panorama is parked the method for image system UI |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542579A true CN109542579A (en) | 2019-03-29 |
Family
ID=65855386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811548087.0A Pending CN109542579A (en) | 2018-12-18 | 2018-12-18 | A kind of dynamic creation panorama is parked the method for image system UI |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542579A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101095106A (en) * | 2004-01-24 | 2007-12-26 | 宝马股份公司 | Production of a graphic user and/or display surface for a motor vehicle |
CN103487795A (en) * | 2013-09-29 | 2014-01-01 | 惠州市德赛西威汽车电子有限公司 | Displaying method and system of parking distance control used for assisting parking |
CN105138218A (en) * | 2015-07-23 | 2015-12-09 | 上海修源网络科技有限公司 | Method and system for replacing vehicle style theme |
CN106686343A (en) * | 2015-11-09 | 2017-05-17 | 广州汽车集团股份有限公司 | Panorama parking display method and apparatus |
CN106802794A (en) * | 2016-12-20 | 2017-06-06 | 智车优行科技(北京)有限公司 | Method for switching theme, device, vehicle and system |
CN108304238A (en) * | 2017-12-29 | 2018-07-20 | 浙江警察学院 | The Qt interface implementing methods and system of Highway Maintenance troubleshooting handheld terminal |
-
2018
- 2018-12-18 CN CN201811548087.0A patent/CN109542579A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101095106A (en) * | 2004-01-24 | 2007-12-26 | 宝马股份公司 | Production of a graphic user and/or display surface for a motor vehicle |
CN103487795A (en) * | 2013-09-29 | 2014-01-01 | 惠州市德赛西威汽车电子有限公司 | Displaying method and system of parking distance control used for assisting parking |
CN105138218A (en) * | 2015-07-23 | 2015-12-09 | 上海修源网络科技有限公司 | Method and system for replacing vehicle style theme |
CN106686343A (en) * | 2015-11-09 | 2017-05-17 | 广州汽车集团股份有限公司 | Panorama parking display method and apparatus |
CN106802794A (en) * | 2016-12-20 | 2017-06-06 | 智车优行科技(北京)有限公司 | Method for switching theme, device, vehicle and system |
CN108304238A (en) * | 2017-12-29 | 2018-07-20 | 浙江警察学院 | The Qt interface implementing methods and system of Highway Maintenance troubleshooting handheld terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4197874A1 (en) | Scene generation method, apparatus and system, device and storage medium | |
US10228828B2 (en) | Coordinating user interface elements across screen spaces | |
JP5529026B2 (en) | A template-based method for creating video ads | |
JP2012181849A (en) | Displaying graphical objects | |
US11169672B2 (en) | Styling system | |
JPH0778244A (en) | Operating method of machine | |
CN103870255A (en) | Method and apparatus for displaying floating component | |
CN101374213A (en) | Implementing method for self-defining television human-machine interface | |
KR20120045744A (en) | An apparatus and method for authoring experience-based learning content | |
CN101694770B (en) | Method for controlling screen display, device and hand-held equipment | |
CN106131686A (en) | Utilize video play mode changing method and the device of parasitic tool kit realization | |
US10885695B2 (en) | Configurable stylized transitions between user interface element states | |
CN107690612A (en) | A kind of display control method and electronic equipment | |
CN106126027A (en) | The multi-screen display method of terminal screen, device and terminal | |
CN107291319A (en) | A kind of window display method, information interacting method and system | |
CN110497853A (en) | It parks picture display process, system, readable storage medium storing program for executing and automobile | |
CN105915993A (en) | Method and device for setting video playing mode by using parasitic toolkit | |
CN112698905A (en) | Screen protection display method, display device, terminal device and server | |
CN112445564A (en) | Interface display method, electronic device and computer readable storage medium | |
CN115426545A (en) | Aircraft formation light performance control method, electronic device and storage medium | |
CN109542579A (en) | A kind of dynamic creation panorama is parked the method for image system UI | |
CN110083323A (en) | A kind of method and device for realizing mostly display and multi-user concurrent | |
CN105719237A (en) | Image stitching method and system | |
CN107831968A (en) | Method and apparatus for the software and hardware linkage interaction of vehicle intelligent rearview mirror | |
CN104820489B (en) | Manage the system and method for directly controlling feedback of low delay |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190329 |