CN106740113A - A kind of type pointer virtual instrument disk and its implementation - Google Patents
A kind of type pointer virtual instrument disk and its implementation Download PDFInfo
- Publication number
- CN106740113A CN106740113A CN201710021660.1A CN201710021660A CN106740113A CN 106740113 A CN106740113 A CN 106740113A CN 201710021660 A CN201710021660 A CN 201710021660A CN 106740113 A CN106740113 A CN 106740113A
- Authority
- CN
- China
- Prior art keywords
- texture
- pointer
- halation
- mask
- background
- 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
- 230000008859 change Effects 0.000 claims abstract description 10
- 239000011159 matrix material Substances 0.000 claims description 18
- 238000000034 method Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 9
- 230000000873 masking effect Effects 0.000 claims description 7
- 238000009877 rendering Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 13
- 239000000463 material Substances 0.000 abstract description 3
- 230000000903 blocking effect Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 101100269850 Caenorhabditis elegans mask-1 gene Proteins 0.000 description 1
- 208000002173 dizziness Diseases 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60K—ARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES; ARRANGEMENT OR MOUNTING OF PLURAL DIVERSE PRIME-MOVERS IN VEHICLES; AUXILIARY DRIVES FOR VEHICLES; INSTRUMENTATION OR DASHBOARDS FOR VEHICLES; ARRANGEMENTS IN CONNECTION WITH COOLING, AIR INTAKE, GAS EXHAUST OR FUEL SUPPLY OF PROPULSION UNITS IN VEHICLES
- B60K35/00—Arrangement of adaptations of instruments
-
- B60K35/213—
Abstract
The invention discloses a kind of type pointer virtual instrument disk and its implementation.Including dial, pointer, halation and mask;The dial:It is a foursquare texture for display scale as background;The pointer:It is rotating part, is a square texture, size is a quarter of dial texture, and one of angle is pivot at the center of dial;The halation:It is sector, with the rotation of pointer, its angle for showing changes;The mask:Change for realizing the angle that halation shows, is divided into four parts, and four parts are stitched together as background texture size, and four mask sizes are the same.The present invention realizes a kind of type pointer virtual instrument disk, there is provided a kind of new implementation, realize the display effect of halation, and support various pointer patterns, and do not limited by rotary step, material and data source need to be only provided when instrument board is designed simultaneously, interface development efficiency is improved.
Description
Technical field
The invention belongs to virtual meter panel technical field, more particularly to a kind of type pointer virtual instrument disk and its realization side
Method.
Background technology
Man-machine interface (Human-Machine Interface, HMI) is transmitted and interacted between user and machine
Medium, and instrument board is in display information, and especially display data message context has critical role, its display effect is more eye-catching.
Along with the development of embedded technology and Display Technique, occur in that virtual meter panel to replace traditional mechanical instrument
Dial plate.The mechanical all display units of instrument board will take fixed panel space, and virtual meter panel can be with other displays
Interface is switched over to realize display space utilization rate higher, while more rich display effect can be provided.
Newest virtual instrument disk technology is illustrated in the Q6e-tron quattro concept cars that Audi puts on display, this is brand-new
The application of form instrument board further realizes that totally digitilized cockpit lays the foundation for Audi.In instrument board position, one OLED is set
Display screen, for replacing conventional instrument disk.This block display screen is made using the frivolous material of its quality, and size is 14.1 feet,
Resolution ratio is 2240 × 720 pixels.Additionally, the display screen will also take Qu Ping to be designed to ensure that visual effect, make reading more
It is convenient.Driver can be operated by multi-functional steering wheel, and its function is similar to virtual driving cabin technology, can display speed,
The charged state and dump energy of battery.
The Chinese A of Shen Qing Publication patent CN 104385920, a kind of type pointer virtual instrument disk and its implementation, the party
Case propose it is a kind of pointer is rasterized after rotation mode in units of step value and then wipe the pointer data of previous frame and shown
Show new pointer position.It is disadvantageous in that, the running accuracy of pointer is limited by step value, often draws frame needs first previous
The erasing of frame point position needs elapsed time and bandwidth.
The content of the invention
It is an object of the invention to provide a kind of type pointer virtual instrument disk and its implementation, substitute traditional mechanical
Instrument board simultaneously provides more display effects, meets the demand of screen-type display system.
In order to solve the above technical problems, the present invention is achieved by the following technical solutions:
The present invention is a kind of type pointer virtual instrument disk, including dial, pointer, halation and mask;
The dial:It is a foursquare texture for display scale as background;
The pointer:It is rotating part, is a square texture, size is a quarter of dial texture, wherein
One angle is pivot at the center of dial;
The halation:It is sector, as the rotational display angle out of pointer changes;
The mask:Change for realizing the angle that halation shows, is divided into four parts, four parts be stitched together and
Background texture size is the same, and four mask sizes are the same.
A kind of implementation method of type pointer virtual instrument disk, comprises the following steps:
A. the pointer anglec of rotation is calculated;
B. pointer operation matrix is calculated:The foundation of pointer texture rotation is the parameter of operation matrix;
C. pointer texture, halation texture and mask texture are attached in background and then send the data to screen display
Come;
D. halation indication range is calculated;
E. masking operations matrix is calculated:The display of halation is to cover in the part that does not show by mask to realize, is covered
The change of display portion is realized in part change;
F. rendering context texture:Background texture is saved in internal memory;
G. pointer texture rotation:According to operation matrix rotary indicator texture;
H. pointer texture is attached to above background texture:Operated in internal memory;
J. four mask process make mask cover in not display portion;
K. mask and halation are attached in background texture;
L. the data in internal memory are shown on screen.
Preferably, the step a. calculates the pointer anglec of rotation, b. and calculates pointer operation matrix and c. by pointer texture, light
Dizzy texture and mask texture are attached in background and then send the data to screen display out three processes obtain pointer rotation side
Formula.
Preferably, the step d. calculates halation indication range, e. calculating masking operations matrix, tetra- mask process of j. and makes
Mask covers in not display portion and k. mask and halation are attached into four steps in background texture realizes halation display mode.
Principle of the invention is maximum, the maximum angle of minimum value and display, the minimum angles by setting display, most
Big value correspondence maximum angle, minimum value correspondence minimum angles, the numerical value between maximum and minimum value is by linear calculating
The pointer anglec of rotation and halation angles of display are calculated, then according to anglec of rotation rotary indicator, and halation is covered not with mask
, then be attached in background for pointer texture, halation texture and mask texture and then send the data to screen and shows by the part of display
Show to come.
The invention has the advantages that:
The present invention realizes a kind of type pointer virtual instrument disk, there is provided a kind of new implementation, realizes halation
Display effect, and support various pointer patterns, and do not limited by rotary step, while need to only be carried when instrument board is designed
For material and data source, interface development efficiency is improved.
Certainly, implement any product of the invention to it is not absolutely required to while reaching all the above advantage.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, uses required for being described to embodiment below
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability
For the those of ordinary skill of domain, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings
Figure.
Fig. 1 is a kind of type pointer virtual instrument dish structure schematic diagram of the invention;
Fig. 2 is a kind of type pointer virtual instrument dish structure schematic diagram of the invention;
Fig. 3 is a kind of implementation method flow chart of type pointer virtual instrument disk of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Label in specification represents as follows:
1. the dial plate and background texture of instrument board, are a textures.
2. mask 1, transparent to only serve the effect for blocking halation.
3. mask 2, transparent to only serve the effect for blocking halation.
4. mask 3, transparent to only serve the effect for blocking halation.
5. mask 4, transparent to only serve the effect for blocking halation.
6. pointer texture, the pattern of pointer can be with varied, without departing from texture rectangle.
7. mask 3, transparent to only serve the effect for blocking halation.
8. the dial plate and background texture of instrument board, are a textures.
9. mask 2, transparent to only serve the effect for blocking halation.
10. pointer texture, the pattern of pointer can be with varied, without departing from texture rectangle.
11. halation textures, are a sectors.
12. masks 1 are transparent to only serve the effect for blocking halation.
13. masks 4 are transparent to only serve the effect for blocking halation.
14. calculate the pointer anglec of rotation.
15. calculate pointer operation matrix parameter.
16. calculate halation indication range.
17. calculating masking operations are exactly parameter.
18. rendering context textures.
19. pointer textures rotate.
20. pointer textures are attached in background texture.
21. four mask textures for the treatment of
22. are attached in background mask and halation.
23. by data display to screen.
Refer to shown in Fig. 1 and Fig. 2, the present invention is a kind of type pointer virtual instrument disk, including dial, pointer, halation
And mask;
Dial:It is a foursquare texture for display scale as background;
Pointer:It is rotating part, is a square texture, size is a quarter of dial texture, one of them
Angle is pivot at the center of dial, and pointer can have diversified forms.
Halation:It is sector, as the rotational display angle out of pointer changes;One square texture size and
Background is the same, but only sector region image, and halation can not have.
Mask:Change for realizing the angle that halation shows, is divided into four parts, and four parts are stitched together and background
Texture size is the same, and four mask sizes are the same, can be used to cover halation.
Refer to shown in Fig. 3, a kind of implementation method of type pointer virtual instrument disk comprises the following steps:
A. the pointer anglec of rotation is calculated;
B. pointer operation matrix is calculated:The foundation of pointer texture rotation is the parameter of operation matrix;
C. pointer texture, halation texture and mask texture are attached in background and then send the data to screen display
Come;
D. halation indication range is calculated;
E. masking operations matrix is calculated:The display of halation is to cover in the part that does not show by mask to realize, is covered
The change of display portion is realized in part change;
F. rendering context texture:Background texture is saved in internal memory;
G. pointer texture rotation:According to operation matrix rotary indicator texture;
H. pointer texture is attached to above background texture:Operated in internal memory;
J. four mask process make mask cover in not display portion;
K. mask and halation are attached in background texture;
L. the data in internal memory are shown on screen.
Wherein, step a. calculates the pointer anglec of rotation, b. and calculates pointer operation matrix and c. by pointer texture, halation texture
It is attached in background with mask texture and then sends the data to screen display out three processes obtain pointer rotation mode.
Wherein, step d. calculates halation indication range, e. calculating masking operations matrix, tetra- mask process of j. hides mask
Cover not display portion and k. mask and halation are attached to four steps in background texture and realize halation display mode.
Principle of the invention is maximum, the maximum angle of minimum value and display, the minimum angles by setting display, most
Big value correspondence maximum angle, minimum value correspondence minimum angles, the numerical value between maximum and minimum value is by linear calculating
The pointer anglec of rotation and halation angles of display are calculated, then according to anglec of rotation rotary indicator, and halation is covered not with mask
, then be attached in background for pointer texture, halation texture and mask texture and then send the data to screen and shows by the part of display
Show to come.
It is worth noting that, in said system embodiment, included unit is to be drawn according to function logic
Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit is specific
Title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in the various embodiments described above method
Program be can be by instruct the hardware of correlation to complete, corresponding program can be stored in embodied on computer readable storage and be situated between
In matter, described storage medium, such as ROM/RAM, disk or CD.
Present invention disclosed above preferred embodiment is only intended to help and illustrates the present invention.Preferred embodiment is not detailed
All of details is described, it is only described specific embodiment that the invention is not limited yet.Obviously, according to the content of this specification,
Can make many modifications and variations.This specification is chosen and specifically describes these embodiments, is to preferably explain the present invention
Principle and practical application so that skilled artisan can be best understood by and utilize the present invention.The present invention is only
Limited by claims and its four corner and equivalent.
Claims (4)
1. a kind of type pointer virtual instrument disk, it is characterised in that including dial, pointer, halation and mask;
The dial:It is a foursquare texture for display scale as background;
The pointer:It is rotating part, is a square texture, size is a quarter of dial texture, one of them
Angle is pivot at the center of dial;
The halation:It is sector, with the rotation of pointer, the angle for showing changes;
The mask:Change for realizing the angle that halation shows, is divided into four parts, and four parts are stitched together and background
Texture size is the same, and four mask sizes are the same.
2. a kind of implementation method of type pointer virtual instrument disk as claimed in claim 1, it is characterised in that including following step
Suddenly:
A. the pointer anglec of rotation is calculated;
B. pointer operation matrix is calculated:The foundation of pointer texture rotation is the parameter of operation matrix;
C. pointer texture, halation texture and mask texture are attached in background and then send the data to screen display out;
D. halation indication range is calculated;
E. masking operations matrix is calculated:The display of halation is to cover in the part that does not show by mask to realize, covers part
The change of display portion is realized in change;
F. rendering context texture:Background texture is saved in internal memory;
G. pointer texture rotation:According to operation matrix rotary indicator texture;
H. pointer texture is attached to above background texture:Operated in internal memory;
J. four mask process make mask cover in not display portion;
K. mask and halation are attached in background texture;
L. the data in internal memory are shown on screen.
3. a kind of implementation method of type pointer virtual instrument disk according to claim 2, it is characterised in that the step a.
Calculate the pointer anglec of rotation, b. calculating pointer operation matrixes and c. and pointer texture, halation texture and mask texture are attached to background
Out three processes obtain pointer rotation mode above then to send the data to screen display.
4. a kind of implementation method of type pointer virtual instrument disk according to claim 2, it is characterised in that the step d.
Calculating halation indication range, e. calculating masking operations matrix, tetra- mask process of j. makes mask cover in not display portion and k.
Mask and halation are attached to four steps in background texture and realize halation display mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710021660.1A CN106740113A (en) | 2017-01-12 | 2017-01-12 | A kind of type pointer virtual instrument disk and its implementation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710021660.1A CN106740113A (en) | 2017-01-12 | 2017-01-12 | A kind of type pointer virtual instrument disk and its implementation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106740113A true CN106740113A (en) | 2017-05-31 |
Family
ID=58947923
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710021660.1A Pending CN106740113A (en) | 2017-01-12 | 2017-01-12 | A kind of type pointer virtual instrument disk and its implementation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106740113A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107481301A (en) * | 2017-08-07 | 2017-12-15 | 苏州速显微电子科技有限公司 | A kind of method and its application for realizing digital picture sector shade |
CN108664302A (en) * | 2018-04-24 | 2018-10-16 | 东莞正扬电子机械有限公司 | The implementation method of the type pointer virtual instrument of high performance-price ratio |
CN110245597A (en) * | 2019-06-06 | 2019-09-17 | 重庆邮电大学 | A kind of pointer instrument versatility recognition methods |
CN110989960A (en) * | 2019-12-17 | 2020-04-10 | 马瑞利汽车电子(广州)有限公司 | Method for adjusting automobile instrument panel halo display effect by using touch equipment |
CN113682138A (en) * | 2021-09-07 | 2021-11-23 | 东风汽车集团股份有限公司 | Implementation system and method of filling type liquid crystal instrument panel |
CN114968039A (en) * | 2022-05-16 | 2022-08-30 | 大陆汽车车身电子系统(芜湖)有限公司 | Display method for halo pointer |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1555027A (en) * | 2003-12-29 | 2004-12-15 | 北京北大方正电子有限公司 | New method for displaying figure on computer screen |
CN1655962A (en) * | 2002-05-27 | 2005-08-17 | 沃尔沃技术公司 | Device for indicating an operational state of a vehicle |
WO2006005407A1 (en) * | 2004-07-09 | 2006-01-19 | Volkswagen Aktiengesellschaft | Display device for a motor vehicle and method for displaying information |
CN104385920A (en) * | 2014-10-11 | 2015-03-04 | 天津工程机械研究院 | Realization method of pointer type virtual instrument panel |
CN105022788A (en) * | 2015-06-19 | 2015-11-04 | 江苏新通达电子科技股份有限公司 | Lossless compression algorithm for bin file in PNG picture format and full liquid crystal instrument display system |
CN105620286A (en) * | 2014-11-05 | 2016-06-01 | 无锡市永动电子科技有限公司 | Electric car liquid crystal meter screen with GPS function |
-
2017
- 2017-01-12 CN CN201710021660.1A patent/CN106740113A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1655962A (en) * | 2002-05-27 | 2005-08-17 | 沃尔沃技术公司 | Device for indicating an operational state of a vehicle |
CN1555027A (en) * | 2003-12-29 | 2004-12-15 | 北京北大方正电子有限公司 | New method for displaying figure on computer screen |
WO2006005407A1 (en) * | 2004-07-09 | 2006-01-19 | Volkswagen Aktiengesellschaft | Display device for a motor vehicle and method for displaying information |
CN104385920A (en) * | 2014-10-11 | 2015-03-04 | 天津工程机械研究院 | Realization method of pointer type virtual instrument panel |
CN105620286A (en) * | 2014-11-05 | 2016-06-01 | 无锡市永动电子科技有限公司 | Electric car liquid crystal meter screen with GPS function |
CN105022788A (en) * | 2015-06-19 | 2015-11-04 | 江苏新通达电子科技股份有限公司 | Lossless compression algorithm for bin file in PNG picture format and full liquid crystal instrument display system |
Non-Patent Citations (2)
Title |
---|
王淏、李莹: "《Photoshop CS5中文版实用教程》", 31 July 2015 * |
高阳,李玉河,牛亚松,王文博: "《基于栅格化处理的虚拟仪表盘指针实现方法》", 《工程机械》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107481301A (en) * | 2017-08-07 | 2017-12-15 | 苏州速显微电子科技有限公司 | A kind of method and its application for realizing digital picture sector shade |
CN107481301B (en) * | 2017-08-07 | 2020-06-16 | 苏州速显微电子科技有限公司 | Method for realizing digital image fan-shaped shade and application thereof |
CN108664302A (en) * | 2018-04-24 | 2018-10-16 | 东莞正扬电子机械有限公司 | The implementation method of the type pointer virtual instrument of high performance-price ratio |
CN110245597A (en) * | 2019-06-06 | 2019-09-17 | 重庆邮电大学 | A kind of pointer instrument versatility recognition methods |
CN110989960A (en) * | 2019-12-17 | 2020-04-10 | 马瑞利汽车电子(广州)有限公司 | Method for adjusting automobile instrument panel halo display effect by using touch equipment |
CN110989960B (en) * | 2019-12-17 | 2024-01-16 | 马瑞利汽车电子(广州)有限公司 | Method for adjusting halation display effect of automobile instrument panel by using touch equipment |
CN113682138A (en) * | 2021-09-07 | 2021-11-23 | 东风汽车集团股份有限公司 | Implementation system and method of filling type liquid crystal instrument panel |
CN113682138B (en) * | 2021-09-07 | 2023-10-13 | 东风汽车集团股份有限公司 | System and method for realizing filling type liquid crystal instrument panel |
CN114968039A (en) * | 2022-05-16 | 2022-08-30 | 大陆汽车车身电子系统(芜湖)有限公司 | Display method for halo pointer |
CN114968039B (en) * | 2022-05-16 | 2024-04-09 | 大陆汽车车身电子系统(芜湖)有限公司 | Display method for halo pointer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106740113A (en) | A kind of type pointer virtual instrument disk and its implementation | |
CN107423071A (en) | A kind of high efficiency man-machine interface drawing practice based on static figure layer | |
CN101908060B (en) | Manufacturing method, display method and system of vector numerical map | |
CN111145326A (en) | Processing method of three-dimensional virtual cloud model, storage medium, processor and electronic device | |
CN105786263B (en) | A kind of In-cell touch panel and its driving method, display device | |
CN105425458A (en) | Colored film substrate and embedded touch display device | |
US9235925B2 (en) | Virtual surface rendering | |
CN102073265B (en) | Method and device for generating simulation clock | |
US9286122B2 (en) | Display techniques using virtual surface allocation | |
US9959668B2 (en) | Virtual surface compaction | |
CN104385920B (en) | Realization method of pointer type virtual instrument panel | |
JP2014529796A5 (en) | ||
CN108399646A (en) | A kind of image rendering method and device | |
JP2010133888A (en) | Moving object image drawing device, and display system for vehicle | |
CN106780659A (en) | A kind of two-dimension situation map generalization method and electronic equipment | |
CN105023234A (en) | Figure acceleration method based on storage optimization of embedded system | |
CN104142776A (en) | Icon processing method and device | |
US20130321454A1 (en) | Virtual Surface Lookaside Lists and Gutters | |
CN106017483A (en) | Map vehicle icon drawing method and system and navigation terminal | |
CN108346169B (en) | Two-dimensional vector rendering method and device | |
CN110860088B (en) | Rendering method and device of small map in racing game and game terminal | |
CN107481301B (en) | Method for realizing digital image fan-shaped shade and application thereof | |
CN207488669U (en) | A kind of VA displays of black hollow out | |
CN110322801A (en) | A kind of three-dimensional display apparatus, its display methods and three-dimensional display system | |
US11880564B2 (en) | Regions with digital ink input |
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 |
Application publication date: 20170531 |
|
RJ01 | Rejection of invention patent application after publication |