The content of the invention
In view of the foregoing, it is necessary to provide it is a kind of need not use range sensor by construct 3D objects three-dimensional object creation method and apply the method electronic installation.
A kind of electronic installation, the electronic installation includes a touch-screen module and a processor, the touch-screen module includes the touch-control sensor that a touch-screen is electrically connected with touch-screen, and processor is to computing and performs the program that a user creates three-dimensional object on the touchscreen, and the processor includes:
One receiving unit, for receiving the touch sensible signal of touch-control sensor output, and determines the finger of user position on the touchscreen;
One timing unit, for calculating the finger of user residence time on the touchscreen;
One object creating unit, finger according to user position on the touchscreen and residence time and construct a three-dimensional object.
A kind of three-dimensional object creation method of the application electronic installation, wherein, the method comprises the following steps:
The touch sensible signal of touch-control sensor output is received, and determines the finger of user position on the touchscreen;
Calculate the finger residence time on the touchscreen of user;
Finger according to user position on the touchscreen and residence time and construct a three-dimensional object.
By three-dimensional object creation method of the invention and the electronic installation of application the method, you can convenient use person is simply and accurately created that the three-dimensional object of various shapes, so as to strengthen display and the operating characteristics of electronic installation.
Brief description of the drawings
Fig. 1 is the block diagram of the preferred embodiment of electronic installation of the present invention.
Fig. 2 is the block diagram of the touch-screen module preferred embodiment of electronic installation of the present invention.
Fig. 3 is the block diagram of the preferred embodiment of the processor of electronic installation of the present invention.
Fig. 4 is that the processor of electronic installation of the present invention creates the schematic diagram of a two-dimentional object on the touchscreen.
Fig. 5 is that the processor of electronic installation of the present invention creates the schematic diagram of a rectangular item on the touchscreen.
Fig. 6 is that the processor of electronic installation of the present invention creates the schematic diagram of a triangular prism object on the touchscreen.
Fig. 7 is that the processor of electronic installation of the present invention creates the schematic diagram of a special 3D objects on the touchscreen.
Fig. 8 is that the processor of electronic installation of the present invention creates the schematic diagram of a triangular pyramidal object on the touchscreen.
Fig. 9 is that the processor of electronic installation of the present invention creates the schematic diagram of a ball object or a nose circle post object on the touchscreen.
Figure 10 is that the processor of electronic installation of the present invention creates the schematic diagram of a cylinder object on the touchscreen.
Figure 11 is that the processor of electronic installation of the present invention creates the length of object and time, the relativeness schematic diagram of pressure on the touchscreen.
Figure 12 be electronic installation of the present invention processor on the touchscreen by pressure adjust object sideline width schematic diagram.
Figure 13 is the schematic diagram that the object that creates on the touchscreen of processor is dragged and moving direction of toward finger overturns of electronic installation of the present invention.
Figure 14 is the reduced schematic diagram of the object that creates on the touchscreen of processor of electronic installation of the present invention.
Figure 15 is the exaggerated schematic diagram of the object that creates on the touchscreen of processor of electronic installation of the present invention.
Figure 16 is the schematic flow sheet of three-dimensional object creation method of the present invention.
Main element symbol description
Electronic installation |
10 |
Touch-screen module |
100 |
Processor |
200 |
Touch-screen |
101 |
Touch-control sensor |
104 |
Pressure sensor |
105 |
Memory |
206 |
Receiving unit |
201 |
Timing unit |
202 |
Object creating unit |
203 |
Gesture moves sensing unit |
204 |
Rectangular item |
500 |
Triangular prism object |
600 |
Triangular pyramidal object |
800 |
Ball object |
901 |
Nose circle post object |
902 |
Cylinder |
1000 |
|
|
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
Below in conjunction with the accompanying drawings and better embodiment is described in further detail to the present invention:
It is the block diagram of the preferred embodiment of electronic installation 10 with reference to Fig. 1.In the present embodiment, the electronic installation 10 can be the consumer electronics products such as mobile phone or panel computer.The electronic installation 10 includes a touch-screen module 100 and a processor 200, and with reference to Fig. 2, the touch-screen module 100 includes the touch-control sensor 104 and pressure sensor 105 that a touch-screen 101 is electrically connected with touch-screen 101.
The touch-control sensor 104 is used to sense user contact touch-screen 101 and exports a touch sensible signal to the processor 200.The pressure sensor 105 is used to sense the pressure that user's finger presses touch-screen 101, and exports a pressure-sensing signal to the processor 200.The processor of processor 200 is to computing and performs the program that user creates three-dimensional object on the touchscreen.
As shown in figure 3, the processor 200 also includes a receiving unit 201, a timing unit 202, an object creating unit 203, proficiency potential shift dynamic sensing unit 204 and memory 206.The receiving unit 201 is used to receive the touch sensible signal of the output of the touch-control sensor 104 and the pressure-sensing signal of the output of pressure sensor 105, and determines the finger of user position on the touchscreen.The timing unit 202 is used to calculate the finger of the user residence time on touch-screen 101.The object creating unit 203 constructs the effigurate object of tool for the position and residence time according to the finger of user on touch-screen 101.Gesture movement sensing unit 204 is used to sense user's finger moving direction on the touchscreen and distance, and the moving direction that will induce and range information are transferred to the object creating unit 203, the object creating unit 203 accordingly changes the shape of the object shown on touch-screen 101 according to the moving direction and range information.
The internal memory of the memory 206 contains the color table of different time and the corresponding different colours of pressure value.The pressure sensor 105 perceives user and presses the pressure of touch-screen 101, and exports to the object creating unit 203 of the processor 200.The object creating unit 203 adjusts the length of color, line width or the object of the object being shown on touch-screen 101 according to the pressure for receiving, wherein, the color of the object can compare the color table of the memory storage of memory 206 to adjust.
As shown in figure 4, when a finger of user draws a summit A on touch-screen 101, object creating unit 203 constructs the two-dimentional object L of a straight flange of object according to a summit A.
As shown in Figure 5, when two fingers of user draw two summits A, B on touch-screen 101, object creating unit 203 constructs the base A-B of object according to the position of two summits A, B, and two summits A, the B are extended outward into two sides A-A` and B-B` perpendicular to base A-B, wherein, the finger of user residence time on touch-screen 101 is more long, and the length of two sides A-A` and B-B` is more long.In this way, a rectangular item 500 can be created that.
As shown in Figure 6, when three fingers of user draw three summits C, D, E on touch-screen 101, object creating unit 203 constructs the bottom surface C-D-E of object according to the position of three summits C, D, E, and three summits C, D, the E are stretched out with formed one parallel to bottom surface C-D-E top surface C`-D`-E`, wherein, three fingers of user residence time on touch-screen 101 is more long, top surface C`-D`-E` is more remote apart from bottom surface C-D-E, and some sides perpendicular to bottom surface C-D-E and top surface C`-D`-E` are formed between bottom surface C-D-E and top surface C`-D`-E`.In the present embodiment, three summits C, D, E contact touch-screen 101 simultaneously, and three summits C`, D`, E` of top surface C`-D`-E` leave touch-screen 101 simultaneously.In this way, three triangular prism objects 600 of side rule of the same size can be created that.
As shown in Figure 7, when three fingers of user draw three summits 1,2,3 on touch-screen 101, object creating unit 203 constructs a bottom surface 1-2-3 according to the position on three summits 1,2,3, and three summits 1,2,3 of bottom surface 1-2-3 are stretched out to form a top surface 3`-2`-1`.Wherein, three summits 3`, 2`, 1` of three summits 1,2,3 of bottom surface 1-2-3 and top surface 3`-2`-1` are corresponded, and sequence number size represents the sequencing that finger contacts touch-screen 101, the bigger order for representing contact touch-screen 101 of sequence number more after.I.e. in the present embodiment, the time of the contact of summit 1 touch-screen 101 of bottom surface 1-2-3 is earliest, and leaves the latest;The time of the contact of summit 3 touch-screen 101 the latest, and is left earliest.Some sides perpendicular to bottom surface 1-2-3 are formed between bottom surface 1-2-3 and top surface 3`-2`-1`, and, that is more than the distance between summit 2 and summit 2`, the distance between summit 3 and summit 1` are less than the distance between summit 2 and summit 2` on the distance between summit 1 and summit 3`.In this way, the triangular prism of any shape and size can be created.Certainly, when simultaneously three fingers of user contact touch-screen 101, but the time that three fingers leave is different, and object creating unit 203 also can accordingly be created that special 3D objects 700.As shown in figure 8, when user three fingers on touch-screen 101 by open up into be closed to converge at a little by be created that a triangular pyramidal object 800.
As shown in figure 9, when user draws a circle clockwise on touch-screen 101 with a finger along the direction of numeral 1, then finger moved into circle, a ball object 901 or a nose circle post object 902 can be created that according to the digital 2 finger residence time.As shown in Figure 10, when user draws a circle clockwise on touch-screen 101 with a finger along the direction of numeral 1, then finger is moved into the upper two ends of circle, a cylinder object 1000 can be created that according to the digital 2 finger residence time.
As shown in figure 11, in one embodiment, in addition to the development length for controlling object using the residence time, the pressure of the perception of pressure sensor 105 can also be used to control, time, pressure and object length are in a kind of relativeness, can be linearly or nonlinearly relation, software developer can set according to demand.As shown in figure 12, in one embodiment, the length that can be also stretched by time T control objects, by Stress control sideline width P or the color of change adjustment object;Also can rest on the time on object by finger to change color after completing to create object.The relation of color color, color density and pressure, in can presetting memory 206.
As shown in figure 13, when user's finger moves to any point 2 by any point 1 on touch-screen 101, the object can by gesture movement sensing unit 204 detect, and control the object dragged and toward finger moving direction overturn.
As shown in figure 14, object is overturn to the position to be changed through controlling gesture, face P to be changed is clicked with finger, two fingers 1,2 are closed up again dubs picture once, the plane P that object creating unit 203 can be intended to modification is contracted to plane P ', can increase modification degree with dubbing number of times or clicking on interval time.
As shown in figure 15, object is overturn to the position to be changed through controlling gesture, face P to be changed is clicked with finger, two 1,2 points of fingers are opened again dubs picture once, the plane P that object creating unit 203 can be intended to modification is amplified to plane P ' ', can increase modification degree with dubbing number of times or clicking on interval time.When object is not clicked on, then the overall scaled control of object can be done.
In the present embodiment, when user thinks that drawn object is long, circle is drawn with finger counterclockwise, when first lap is drawn, system is to enter reverse pattern, now needs continuous picture to justify, finger does not leave plane, can determine return degree with the number of turns according to the speed subsequently drawn a circle;It is too short then to be justified with clockwise picture.
It is the three-dimensional object creation method for being applied to above-mentioned electronic installation 10 with reference to shown in Figure 16.In the present embodiment, the method comprises the following steps:
Step S001, touch-control sensor 103 senses user contact touch-screen 101 and one touch sensible signal of output is to the processor 200, and determines the finger of user position on the touchscreen.
Step S002, the sensing user finger of the pressure sensor 105 presses the pressure of touch-screen 101, and exports the object creating unit 203 of a pressure-sensing signal to the processor 200.
Step S003, the receiving unit 201 of processor 200 receives the touch sensible signal of the output of the touch-control sensor 104 and the pressure-sensing signal of the output of pressure sensor 105.
Step S004, the timing unit 202 calculate user finger on touch-screen 101 residence time, and the residence time that will be calculated be transferred to the object creating unit 203.
Step S005, the gesture movement sensing user of sensing unit 204 finger moving direction on the touchscreen and distance, and the moving direction that will induce and range information are transferred to the object creating unit 203.
Step S006, position of the object creating unit 203 according to the finger of user on touch-screen 101, residence time and pressure and construct the object with definite shape and color.
Step S007, the object creating unit 203 accordingly changes size or pulls the object shown on touch-screen 101 according to the moving direction and range information of user's finger.In the present embodiment, as shown in Fig. 3 to 13, finger can be placed in user the optional position of touch-screen 101, and be created that different 2D and 3D objects by arbitrarily moving finger.
To sum up, by three-dimensional object creation method of the invention and the electronic installation of application the method, you can convenient use person is simply and accurately created that the three-dimensional object of various shapes, so as to strengthen display and the operating characteristics of electronic installation.
The above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although being described in detail to the present invention with reference to above preferred embodiment, it will be understood by those within the art that, technical scheme can be modified or equivalent should not all depart from the spirit and scope of technical solution of the present invention.