Realization method of pointer type virtual instrument panel

An implementation method, a technology of the dashboard, applied in the directions of transportation and packaging, vehicle parts, etc., can solve the problems of unsatisfactory effect, limited effect, and increased cost.

Active Publication Date: 2015-03-04
TIANJIN ENG MACHINERY INST
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above problems, many manufacturers use double buffering technology to eliminate the flickering problem of the instrument display screen, but the effect is not ideal. The double buffering method only solves the efficiency of background graphics drawing and complex graphics calculation, but it cannot improve the ef...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Realization method of pointer type virtual instrument panel
  • Realization method of pointer type virtual instrument panel
  • Realization method of pointer type virtual instrument panel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0107] In order to further understand the content, characteristics and effects of the present invention, the following examples are given hereby, and detailed descriptions are as follows in conjunction with the accompanying drawings:

[0108] see Figure 1 to Figure 7 , a method for realizing a pointer-type virtual instrument panel, comprising the following steps:

[0109] Step 101, establishing a device context DC;

[0110] Step 102, load the dial background, and display it on the device context DC;

[0111] Step 103, copy two memory contexts MEMDC1 and MEMDC2, and use the dial background as a canvas;

[0112] Step 104, load the needle picture;

[0113] Step 105, obtain the size of the pointer image, width w, and length l, at this time the pointer can represent a rectangle whose growth is l and width is w;

[0114] Step 106, setting the center of rotation of the hands (X 0 ,Y 0 );

[0115] Step 107: After the watch hands are rotated by an angle of α, the coordinates (X...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a realization method of a pointer type virtual instrument panel. The realization method comprises the following steps: an equipment context is built; a dial background is loaded; a memory context is duplicated, and the dial background serves as a canvas; a pointer picture is loaded; the size of the pointer picture is obtained; a pointer rotating center is set; after a pointer rotates an angle alpha, the rasterization treatment is performed with a coordinate as a rotating center according to step distance; each small rectangle coordinate is obtained; the pointer rotating the angle alpha is drawn in one of the memory contexts; the picture in the corresponding position of the memory context is duplicated in the equipment context for displaying; after the angle alpha is changed, the pointer is drawn in the memory context again; the last pointer display content in the equipment context is erased by the corresponding background picture in the other one of the memory contexts according to the pre-change rectangle coordinate of the angle alpha; and the picture in the corresponding position of the memory context is duplicated in the equipment context for displaying according to the post-change rectangle coordinate of the angle alpha.

Description

technical field [0001] The invention belongs to the technical field of motor vehicle dashboards, and in particular relates to a method for realizing a pointer-type virtual dashboard. Background technique [0002] At present, most of the most common instrument panels use moving coil or moving magnet analog instruments, and stepping motor digital instruments to display information. With the further development of computers and liquid crystal display technologies, some equipment gradually adopts LCD screens for human information display. As a result, the instrument panel has become more and more beautiful, with more and more functions, starting from practicality and becoming fashionable and dazzling, and finally completing the perfect combination of practicality and fashion. [0003] In order not to change the usage habits of operators, although the dashboards of many devices are gradually upgraded to LCD screens, parameters such as engine speed and vehicle speed must be displa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): B60K35/00
Inventor 李玉河高阳
Owner TIANJIN ENG MACHINERY INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products