CN104932890A - View assembly processing method - Google Patents

View assembly processing method Download PDF

Info

Publication number
CN104932890A
CN104932890A CN201510333556.7A CN201510333556A CN104932890A CN 104932890 A CN104932890 A CN 104932890A CN 201510333556 A CN201510333556 A CN 201510333556A CN 104932890 A CN104932890 A CN 104932890A
Authority
CN
China
Prior art keywords
state
view component
coordinate position
view
rotation
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
Application number
CN201510333556.7A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201510333556.7A priority Critical patent/CN104932890A/en
Publication of CN104932890A publication Critical patent/CN104932890A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a view assembly processing method, which comprises the following steps: receiving a view assembly operation instruction; according to the received view assembly operation instruction, determining N view assemblies to be operated; determining the first states and the Mth states of the N view assemblies; then, controlling the N view assemblies to be converted to the Mth states from the first states; and causing the 2i+1 view assembly and the 2i+2 view assembly to rotate along the same rotation shaft, wherein two adjacent view assemblies have opposite rotation directions, and an included angle between the two adjacent view assemblies is progressively increased or reduced and the coordinate positions of the two adjacent view assemblies translate to the same direction from the first state to the Mth state so as to realize an effect that content displayed by the N view assemblies is displayed in a three-dimensional paper folding way.

Description

A kind of view component disposal route
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of view component disposal route.
Background technology
Along with the development of electronic information technology, electronic equipment gets more and more, user is in use electronic equipment process, and the individual demand for the application program on electronic equipment is also more and more higher, and meeting the individual demand of user when using electronic appliance software becomes the key improving Consumer's Experience.
Usually, application program operationally can form user interface, on the one hand can to user's showing display contents by user interface, described displaying contents can comprise the information of the types such as text, image, video, on the other hand, also for user provides interactive means, to receive the operational order of user's input or selection to carry out respective handling.
Summary of the invention
The embodiment of the present invention provides a kind of view component disposal route, in order to realize the display effect of three-dimensional paper folding.
Embodiment of the present invention technical scheme is as follows:
A kind of view component disposal route, the method step comprises:
Receive view component operational order;
According to described view component operational order, determine N number of view component to be operated, described N number of view component comprises the first view component successively to N view component, N be greater than 1 integer;
Determine the first state and the M state of described N number of view component;
Control described N number of view component from the first state transformation to M state; Wherein, 2i+1 view component and 2i+2 view component are rotated with same turning axle, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position are to the translation of same direction, and 0 °≤θ≤90 °, θ represents the angle between adjacent two view component, M be greater than 1 integer
In the embodiment of the present invention, three-dimensional paper folding effect is reached by controlling view component, wherein, according to the view component operational order received, determine N number of view component to be operated, determine the first state and the M state of described N number of view component, then described N number of view component is controlled from the first state transformation to M state, rotate with same turning axle by making 2i+1 view component and 2i+2 view component, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position is to the translation of same direction, thus the content achieved shown by described N number of view component carries out the effect that shows in three-dimensional paper folding mode.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The image processing flow figure schematic diagram that Fig. 1 provides for the embodiment of the present invention;
Display effect schematic diagram when a kind of turning axle that Fig. 2 provides for the embodiment of the present invention is parallel with display screen;
There is display effect schematic diagram during certain angle in a kind of turning axle that Fig. 3 provides for the embodiment of the present invention and display screen;
The view component first state front-view schematic diagram that Fig. 4 provides for the embodiment of the present invention one;
The view component second state front-view schematic diagram that Fig. 5 provides for the embodiment of the present invention one;
Schematic diagram is looked on the view component second state right side that Fig. 6 provides for the embodiment of the present invention one;
The view component third state front-view schematic diagram that Fig. 7 provides for the embodiment of the present invention one;
View component the 4th state front-view schematic diagram that Fig. 8 provides for the embodiment of the present invention one;
The view component first state front-view schematic diagram that Fig. 9 provides for the embodiment of the present invention two;
The view component second state front-view schematic diagram that Figure 10 provides for the embodiment of the present invention two;
Schematic diagram is looked on the view component second state right side that Figure 11 provides for the embodiment of the present invention two;
The view component third state front-view schematic diagram that Figure 12 provides for the embodiment of the present invention two.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The application program had in the electronic equipment of Presentation Function is undertaken alternately by user interface and user, and user interface can carry out showing with view, the menu in such as application program, represent by view, can be the information such as video, picture, word in each view.
For menu interface, if a menu interface shows N number of menu option with view, then view component can be set for the view that this N number of menu option is corresponding, wherein, a corresponding view component of view.In the embodiment of the present invention, realize the three-dimensional paper folding display effect of N number of view of this menu interface by controlling view component.
Based on the view component of above-mentioned setting, Fig. 1 shows the image processing flow that the embodiment of the present invention provides, this flow process can be performed by view component treating apparatus, view component treating apparatus can be the view component treating apparatus had in the electronic equipment of Presentation Function, such as, can be view component treating apparatus in the subscriber equipmenies such as mobile phone, panel computer, PC.
As shown in the figure, this flow process comprises the following steps:
Step S101: receive view component operational order.
View component operational order refers to the application program for supporting three-dimensional paper folding display effect, its user interface is carried out to the view component operational order of three-dimensional paper folding effect display.
View component operational order can be produced by application program, and the menu in such as application program shows with multiple image format, then after the menu display function in this application program is called, by this view component operational order of generation.View component operational order also can be produce based on the operation of user, such as, still show for multiple image format with the menu in application program, for the terminal with touch-screen, the screen touch control operation of user to this menu can produce the view component operational order shown this menu.For another example, for the terminal with acceleration transducer, the gesture motion of the user detected by acceleration transducer (such as up or down whipping terminal) also can produce view component operational order.In addition, according to type and the hardware configuration of subscriber equipment, also may comprise the mode that other generate view component operational order, the manipulation of such as mouse, the embodiment of the present invention does not do concrete restriction to this.
No matter be the view component operational order produced by which kind of reason, for view component treating apparatus, all can receive this view component operational order, and carry out image procossing according to the method that the embodiment of the present invention provides.
Step S102: according to view component operational order, determines N number of view component to be operated.Be mapped with a view in a view component, N be greater than 1 integer.
For convenience of description, can distinguish in such a way view component: N number of view component comprises the first view component successively to N view component.
In order to improve dirigibility, alternatively, the N number of view component to be operated determined, can be views all in user interface or display window, also can be partial view wherein.Such as, can give tacit consent to the view component corresponding to all views in a user interface or display window, be defined as view component to be operated, also can according to the operation of user, view such as operated by touch control operation, determines that these view component corresponding to the view that operates are view component to be operated.
Step S103: the first state and the M state of determining N number of view component.
First state can be the original state of N number of view component, such as, can be the original state of default; Also can be the current state of N number of view component, such as, when receiving view component operational order, the state of N number of view component.M state is the end-state of N number of view component, and this end-state can be the state of default, also can be the state determined according to the operational order received.After the first state determining N number of view component and M state, also just determine initial state and the done state of N number of view component.
Step S104: control N number of view component from the first state transformation to M state.
Wherein, 2i+1 view component and 2i+2 view component are rotated with same turning axle, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position are to the translation of same direction, and 0 °≤θ≤90 °, θ represents the angle between adjacent two view component, M be greater than 1 integer
In practical application, three-dimensional function can be called and realize the N number of view component of above-mentioned control from the first state transformation to the process of M state.
Preferably, in step S104, controlling N number of view component from the first state transformation to the process of M state can be: determine N number of view component respectively in the first state to the coordinate position M state and the anglec of rotation, successively according to the first state to the coordinate position under M state and the anglec of rotation, N number of view component is set.
Specifically, if same view component is from the first state to M state, the anglec of rotation increases progressively, then coordinate position is to first direction translation; Or if same view component is from the first state to M state, the anglec of rotation is successively decreased, then coordinate position is to second direction translation.First direction is contrary with second direction.Can find out, the embodiment of the present invention supports the three-dimensional paper folding display effect of different directions, such as, if same view component is from the first state to M state, its anglec of rotation increases progressively, then can realize the effect that three-dimensional paper folding is opened, otherwise, if same view component is from the first state to M state, its anglec of rotation is successively decreased, then can realize the effect that three-dimensional paper folding is folding.
Consider that terminal shows in units of frame when showing, therefore the first state is here to each state in M state, can a corresponding frame, also can corresponding multiframe.
Further, after step slol, before step S102, the extension direction of N number of view component can also be determined according to view component operational order.Correspondingly, in step S103, according to extension direction, N number of view component can be determined respectively in the first state to the coordinate position under M state; Wherein, if extension direction is first direction, then same view component is from the first state to M state, coordinate position to first direction translation, or, if extension direction is second direction, then same view component is from the first state to M state, and coordinate position is to second direction translation.
In concrete enforcement, because view component operational order can generate according to the screen operator of user, therefore determine extension direction according to view component operational order, namely determine extension direction according to the screen operator of user.Such as, if the screen operator of user is touch control operation, then can determine extension direction according to the glide direction of user's finger on screen; For another example, if the screen operator of user is gesture operation, then can determine extension direction according to the direction of user's whipping mobile phone.Certainly, extension direction also can be predefined.
Consider that terminal is when showing, show in units of frame according to the frame per second of regulation, therefore successively according to the first state to the coordinate position under M state and the anglec of rotation, after N number of view component is set, the view that this N number of view component maps, will successively according to from the first state to the order of M state different positions and according to the different anglecs of rotation be shown, and because each frame can show a period of time (length of this time is determined by frame per second), therefore according to the persistence of vision principle of human eye, user will see the display effect of three-dimensional paper folding.
Can be found out by above flow process, in the embodiment of the present invention, three-dimensional paper folding effect is reached by controlling view component, wherein, according to the view component operational order received, determine N number of view component to be operated, determine the first state and the M state of N number of view component, then N number of view component is controlled from the first state transformation to M state, rotate with same turning axle by making 2i+1 view component and 2i+2 view component, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position is to the translation of same direction, thus the content achieved shown by N number of view component carries out the effect that shows in three-dimensional paper folding mode.
The display effect of three-dimensional paper folding, main basis carries out arranging realizing for the parameter under each state in step S104.In order to more clearly to how realizing three-dimensional paper folding effect be described, below emphasis how preferred version in step S104 is arranged to parameter under each state, comprise coordinate position and the anglec of rotation, be described in detail.
In step S104, when determining the anglec of rotation of view component, each view component can have respective turning axle, also can all view component based on identical turning axle, or members is based on the first turning axle, members is based on the second turning axle in addition, by that analogy.Preferably, no matter N number of view component uses same turning axle, or N number of view uses multiple turning axle, turning axle is all parallel to the plane at display screen place and is parallel to each other between turning axle, like this, from the angle of user, the view that N number of view component maps can not produce angle with screen on the direction of view translation.Fig. 2 show a kind of turning axle parallel with display screen time display effect.
In another kind of implementation, no matter N number of view component uses same turning axle, or N number of view uses multiple turning axle, turning axle is all parallel to each other, but there is angle with display screen, namely not parallel with display screen, like this from the angle of user, the view that N number of view component maps produces angle with screen on the direction of view translation.Fig. 3 shows display effect when a kind of turning axle and display screen exist certain angle.
In the embodiment of the present invention, realize for the ease of technology, reduce computation complexity, preferably, first can determine a reference state, follow-up when calculating first state is to the coordinate position of M state and the anglec of rotation, all with the coordinate position under this reference state and turning axle for benchmark calculates.
In the preferred implementation of one, state when all views in a user interface or display window all can be folded is set to reference state, under this reference state, N number of view component coordinate position is identical, N number of view component shares a turning axle, and turning axle is vertical with the translation direction of N number of view component.Preferably, this turning axle is parallel to the plane of display screen.
In the embodiment of the present invention, the shape of N number of view component and size are not limited.Preferably, the shape of N number of view component is all identical with size, such as, rectangle identical sized by N number of view component is equal, then: under jth state, the anglec of rotation of N number of view component is identical; The difference of the anglec of rotation of the i-th view component under jth state and the anglec of rotation under jth+1 state is identical with the difference of the anglec of rotation under jth+2 state with the anglec of rotation under jth+1 state; The difference of the coordinate position of the i-th view component under jth state and the coordinate position under jth+1 state is identical with the difference of the coordinate position under jth+2 state with the coordinate position under jth+1 state.Wherein, 1≤i≤M, 1≤j≤M-2.
Preferably, in the embodiment of the present invention, the conversion rate of the three-dimensional paper folding effect that N number of view component produces is controlled, that is, can regulate the conversion rate of three-dimensional paper folding effect as required.
As previously mentioned, may correspond to a frame or multiframe from the first state to each state M state, therefore can control display speed by adjusting frame number corresponding to each state or adjusting frame per second.Frame per second refers to the quantity of the frame of display in the unit interval.
For example, when frame per second is constant, change to the time span of M state from the first state according to N number of view component, determine the quantity of the frame that each state is corresponding.Or, when the quantity of frame corresponding to each state is identical, changes to the time span of M state according to N number of view component from the first state, determine frame per second.
Wherein, preferably, according to the view component operational order received, can determine that N number of view component changes to the time span of M state from the first state.Such as, menu in application program shows with multiple image format, for the terminal with touch-screen, the screen touch control operation of user to this menu can produce the view component operational order shown this menu, then the speed of user's Touch Screen can be received by view component operational order, thus can determine that N number of view component changes to the time span of M state from the first state.
In the various embodiments described above of the present invention, the value of M, can determine to end-state anglec of rotation size and default angle step from current state according to N number of view component, also can determine to the shift length of end-state and default displacement step-length according to N number of view component current state, can also preset.
N number of view component is under kth state, 1≤k≤M, adjacent two view component in N number of view component can have a very little distance on adjacent limit, preferably, two adjacent limits keep overlapping, namely N number of view component is under kth state, any two adjacent view assemblies on keep overlapping.The embodiment of the present invention all illustrates with preferred version.
Embodiment one
The implementation step of view component disposal route of the present invention is described below in detail, see Fig. 4 to Fig. 8 with specific embodiment.In the present embodiment, for ease of understanding, choosing a kind of preferred mode and being described.Preset four and be rectangle and the identical view component of size, and view component length is identical with the width of display screen, is L=2, view component width is W=1.In an initial condition, four view component coordinate positions are identical and be all positioned at display screen the top and be parallel to display screen.In the present embodiment, the reference state chosen is identical with the first state residing for four views, and the first state is exactly original state, namely using be positioned at display screen the top and the plane being parallel to display screen as with reference to state, and using in view component near display screen and that rib parallel with display screen as with reference to the turning axle under state.
Particularly, see Fig. 4, coordinate system chooses the X-axis using display screen horizontal direction as coordinate system, the vertical direction of display screen is as the Y-axis of coordinate system, using the direction vertical with display screen as the Z axis of coordinate system, and using the summit in the display screen upper left corner as the initial point of coordinate system, the turning axle under reference state is AB.
In Fig. 4, four view component are all in original state, are also the first state, the overlap of lower four view component of the first state, namely the coordinate position of four view component is identical, is A (0,0,0), B (2,0,0), C (0,0,1), D (2,0,1).
The end-state of four view component as shown in Figure 8, all launch on the display screen, and namely view component is parallel to display screen by four view component, and adjacent two view component only keep overlapping on a rib.
In the present embodiment, four view component transform to end-state through one of four states from original state, and namely in four view component, each view component all has experience first state, second state, the third state and the 4th state, the first state and original state, the 4th state and end-state.Each view component in four view component is from the first state to the 4th state, the anglec of rotation 0 ° respectively between adjacent two states, 30 °, 60 °, 90 °, and under same state, the angle that each view component in four view component rotates is identical, and the direction of rotation is, watch on the right side of display screen, see Fig. 5, first and three-view diagram assembly rotate clockwise around turning axle, second and the 4th view component around turning axle along being rotated counterclockwise.
In step S101, view component treating apparatus receives view component operational order.
For in step S102, according to the view component processing command received, determine that the direction that four view component extend is that see Fig. 4, namely extension direction is Y-axis positive dirction along display screen from top to bottom.
For step S103, according to the extension direction of four view component determined in step S102, determine four view component respectively in the first state to the coordinate position under the 4th state.
Particularly, see Fig. 4, the first state of four view component is identical, and identical with reference state, and the coordinate of four view component is respectively A (0,0,0), B (2,0,0), C (0,0,1), D (2,0,1).
Four view component are described below in detail from the first state to the conversion process of the second state:
See Fig. 4 and Fig. 5, first view component turns clockwise 30 ° around turning axle AB, and the downward translation distance of view is 0, therefore the coordinate of the first view component in a first state through rotating four points arrived after translation transformation under the second state is respectively A (0,0,0), B (2,0,0,) second view component is rotated counterclockwise 30 ° around turning axle AB, and then along Y-axis positive dirction translation distance be from B to F, be 2*W*sin30 °=1, therefore the coordinate of the second view component in a first state through rotating four points arrived after translation transformation under the second state is respectively e (0,1,0), F (2,1,0); Three-view diagram assembly turns clockwise 30 ° around turning axle AB, and then along Y-axis positive dirction translation distance be from B to F, be 2*W*sin30 °=1, therefore the coordinate of three-view diagram assembly in a first state through rotating four points arrived after translation transformation under the second state is respectively E (0,1,0), F (2,1,0) 4th view component is rotated counterclockwise 30 ° around turning axle AB, and then along Y-axis positive dirction translation distance be from B to J, be 4*W*sin30 °=2, therefore the coordinate of the 4th view component in a first state through rotating four points arrived after translation transformation under the second state is respectively i (0,2,0), J (2,2,0).
Therefore, four view component, from the first state shown in Fig. 4, arrive the second state shown in Fig. 5 separately after over-rotation peace is moved.
Four view component from the second state to the third state separately around the turning axle anglec of rotation be 60 °, from the third state to the 4th state separately around the turning axle anglec of rotation be 90 °, its process and four view component move on to the second state class seemingly from the first state through rotary flat, do not repeat them here.
Through rotating translation, four view component coordinate is in a third condition respectively: see Fig. 6 and Fig. 7, and the coordinate position of four points of view component 1 is respectively A (0,0,0), B (2,0,0), the coordinate position of four points of view component 2 is respectively the coordinate position of four points of view component 3 is respectively the coordinate position of four points of view component 4 is respectively
Through rotating translation, the coordinate of four view component under the 4th state is respectively: see Fig. 8, the coordinate position of four points of view component 1 is respectively A (0, 0, 0), B (2, 0, 0), C (0, 1, 0), D (2, 1, 0), the coordinate position of four points of view component 2 is respectively C (0, 1, 0), D (2, 1, 0), E (0, 2, 0), F (2, 2, 0), the coordinate position of four points of view component 3 is respectively E (0, 2, 0), F (2, 2, 0), G (0, 3, 0), H (2, 3, 0), the coordinate position of four points of view component 4 is respectively G (0, 3, 0), H (2, 3, 0), I (0, 4, 0), J (2, 4, 0).
For step S104, according to the view component operational order received, determine the time that four view component show in each state, such as each state duration is 1 second.According to the coordinate position of four view component respectively under one of four states determined in step S103, four views are shown to the 4th state successively from the first state, and each state lower residence time is 1 second.
In the embodiment of the present invention, three-dimensional paper folding effect is reached by controlling view component, wherein, according to the view component operational order received, determine N number of view component to be operated, determine the first state and the M state of N number of view component, then N number of view component is controlled from the first state transformation to M state, rotate with same turning axle by making 2i+1 view component and 2i+2 view component, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position is to the translation of same direction, thus the content achieved shown by N number of view component carries out the effect that shows in three-dimensional paper folding mode.
Embodiment two
Provide another specific embodiment two below to describe the implementation step of view component disposal route of the present invention in detail, see Fig. 9 to Figure 12.In the present embodiment, choose a kind of preferred mode to be described.Preset three and be rectangle and the identical view component of size, and view component length is identical with the width of display screen, is L=2, view component width is W=1.In an initial condition, four view component coordinate positions are identical and be all positioned at display screen the top and be parallel to display screen.In the present embodiment, the reference state chosen is identical with the first state residing for three views, and the first state is exactly original state, namely using be positioned at display screen the top and the plane being parallel to display screen as with reference to state, and using in view component near display screen and that rib parallel with display screen as with reference to the turning axle under state.
Particularly, see Fig. 9, coordinate system chooses the X-axis using display screen horizontal direction as coordinate system, the vertical direction of display screen is as the Y-axis of coordinate system, using the direction vertical with display screen as the Z axis of coordinate system, and using the summit in the display screen upper left corner as the initial point of coordinate system, the turning axle under reference state is AB.
In Fig. 9, three view component are all in original state, are also the first state, lower three the view component overlaps of the first state, and the coordinate position of three view component is identical, is A (0,0,0), B (2,0,0), C (0,0,1), D (2,0,1).
The end-state of three view component as shown in figure 12, all launch on the display screen, and namely view component is parallel to display screen by three view component, and adjacent two view component only keep overlapping on a rib.
In the present embodiment, three view component transform to end-state through three states from original state, and namely in three view component, each view component all has experience first state, second state, the third state, the first state and original state, the third state and end-state.Each view component in three view component is from the first state to the third state, the anglec of rotation 0 ° respectively between adjacent two states, 45 °, 90 °, and under same state, the angle that each view component in three view component rotates is identical, the direction rotated is, watch on the right side of display screen, see Figure 10, first and three-view diagram assembly rotate clockwise around turning axle, second view component is rotated counterclockwise around turning axle edge, namely the first view component rotates along contrary direction around identical turning axle with the second view component, second view component rotates along contrary direction around identical turning axle with three-view diagram assembly.
In step S101, view component treating apparatus receives view component operational order.
For in step S102, according to the view component processing command received, determine that the direction that three view component extend is that see Fig. 9, namely extension direction is Y-axis positive dirction along display screen from top to bottom.
For step S103, according to the extension direction of three view component determined in step S102, determine the coordinate position of three view component respectively under the first state to the third state.
Particularly, see Fig. 9, the first state of three view component is identical, and identical with reference state, and the coordinate of three view component is respectively A (0,0,0), B (2,0,0), C (0,0,1), D (2,0,1).
Three view component are described below in detail from the first state to the conversion process of the second state:
See Fig. 9, Figure 10 and Figure 11, first view component turns clockwise 45 ° around turning axle AB, and the downward translation distance of the first view is 0, therefore the coordinate of the first view component in a first state through rotating four points arrived after translation transformation under the second state is respectively A (0,0,0), B (2,0,0,) second view component is rotated counterclockwise 45 ° around turning axle AB, and then is be from B to F along Y-axis positive dirction translation distance therefore the coordinate of the second view component in a first state through rotating four points arrived after translation transformation under the second state is respectively three-view diagram assembly turns clockwise 45 ° around turning axle AB, and then is be from B to F along Y-axis positive dirction translation distance therefore the coordinate of three-view diagram assembly in a first state through rotating four points arrived after translation transformation under the second state is respectively therefore, three view component, from the first state shown in Fig. 9, arrive the second state shown in Figure 10 separately after over-rotation peace is moved.
Three view component are 90 ° around the turning axle anglec of rotation from the second state to the third state separately, and its process and three view component move on to the second state class seemingly from the first state through rotary flat, do not repeat them here.
Through rotating translation, three view component coordinate is in a third condition respectively: see Figure 12, and the coordinate position of four points of view component 1 is respectively A (0,0,0), B (2,0,0), C (0,1,0), D (2,1,0), the coordinate position of four points of view component 2 is respectively C (0,1,0), D (2,1,0), E (0,2,0), F (2,2,0), the coordinate position of four points of view component 3 is respectively E (0,2,0), F (2,2,0), G (0,3,0), H (2,3,0).
For step S104, according to the view component operational order received, determine the time that three view component show in each state, such as each state duration is 1 second.According to the coordinate position of three view component respectively under three states determined in step S103, to three views from the first state to the third state show successively, and each state lower residence time is 1 second.
In the present embodiment, pass through foregoing description, can find out, three-dimensional paper folding effect is reached, wherein, according to the view component operational order received by controlling view component, determine N number of view component to be operated, and N number of view component in the first state to the coordinate position under M state and the anglec of rotation, then successively according to the first state to the coordinate position under M state and the anglec of rotation, N number of view component is set.Determining that N number of view component is when the first state is to the coordinate position under N state and the anglec of rotation, because 2i+1 view component and 2i+2 view component are rotated with same turning axle, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position are to the translation of same direction, thus by rotating and translation N number of view component, the content achieved shown by N number of view component carries out the effect shown in three-dimensional paper folding mode.
In the embodiment of the present invention, three-dimensional paper folding effect is reached by controlling view component, wherein, according to the view component operational order received, determine N number of view component to be operated, determine the first state and the M state of N number of view component, then N number of view component is controlled from the first state transformation to M state, rotate with same turning axle by making 2i+1 view component and 2i+2 view component, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position is to the translation of same direction, thus the content achieved shown by N number of view component carries out the effect that shows in three-dimensional paper folding mode.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a view component disposal route, is characterized in that, described method comprises:
Receive view component operational order;
According to described view component operational order, determine N number of view component to be operated, described N number of view component comprises the first view component successively to N view component, N be greater than 1 integer;
Determine the first state and the M state of described N number of view component;
Control described N number of view component from the first state transformation to M state; Wherein, 2i+1 view component and 2i+2 view component are rotated with same turning axle, the sense of rotation of adjacent two view component is contrary, and from the first state to M state, the size increasing or decreasing of the angle between adjacent two view component, coordinate position are to the translation of same direction, and 0 °≤θ≤90 °, θ represents the angle between adjacent two view component, M be greater than 1 integer
2. the method for claim 1, is characterized in that, the described N number of view component of described control, from the first state transformation to M state, comprising:
Determine described N number of view component respectively in the first state to the coordinate position under M state and the anglec of rotation;
Successively according to described first state to the coordinate position under M state and the anglec of rotation, described N number of view component is set.
3. method as claimed in claim 2, is characterized in that, after described reception view component operational order, determining that described N number of view component is before the first state to the coordinate position under M state and the anglec of rotation, also comprises respectively:
The extension direction of described N number of view component is determined according to described view component operational order;
Describedly determine described N number of view component respectively in the first state to the coordinate position under M state, comprising:
According to described extension direction, determine described N number of view component respectively in the first state to the coordinate position under M state; Wherein, if described extension direction is first direction, then same view component is from the first state to M state, coordinate position to first direction translation, or, if described extension direction is second direction, then same view component is from the first state to M state, and coordinate position is to second direction translation.
4. the method for claim 1, is characterized in that, described from the first state to M state, and the size increasing or decreasing of the angle between adjacent two view component, coordinate position, to the translation of same direction, refer to:
Same view component is from the first state to M state, and the anglec of rotation increases progressively, and coordinate position is to first direction translation; Or
Same view component is from the first state to M state, and the anglec of rotation is successively decreased, and coordinate position is to second direction translation, and described first direction is contrary with described second direction.
5. the method for claim 1, is characterized in that, described turning axle is parallel to the plane of display screen.
6. the method for claim 1, is characterized in that, described turning axle is the turning axle under reference state, and under described first state to M state, the coordinate position of each view component determines based on the reference coordinate position under described reference state.
7. method as claimed in claim 6, is characterized in that, under described reference state, described N number of view component is overlapping, and described turning axle is vertical with the translation direction of described N number of view component.
8. the method for claim 1, is characterized in that, the shape of described N number of view component is all identical with size, then:
Under jth state, the anglec of rotation of described N number of view component is identical; The difference of the anglec of rotation of the i-th view component under jth state and the anglec of rotation under jth+1 state is identical with the difference of the anglec of rotation under jth+2 state with the anglec of rotation under jth+1 state;
The difference of the coordinate position of the i-th view component under jth state and the coordinate position under jth+1 state, identical with the difference of the coordinate position under jth+2 state with the coordinate position under jth+1 state, wherein, 1≤i≤M, 1≤j≤M-2.
9. the method for claim 1, is characterized in that, described first state to each state in M state, a corresponding frame or multiframe.
10. method as claimed in claim 9, is characterized in that, also comprise:
When frame per second is constant, change to the time span of M state from the first state according to described N number of view component, determine the quantity of the frame that each state is corresponding; Or
When the quantity of frame corresponding to each state is identical, changes to the time span of M state according to described N number of view component from the first state, determine frame per second.
CN201510333556.7A 2015-06-16 2015-06-16 View assembly processing method Pending CN104932890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510333556.7A CN104932890A (en) 2015-06-16 2015-06-16 View assembly processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510333556.7A CN104932890A (en) 2015-06-16 2015-06-16 View assembly processing method

Publications (1)

Publication Number Publication Date
CN104932890A true CN104932890A (en) 2015-09-23

Family

ID=54120066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510333556.7A Pending CN104932890A (en) 2015-06-16 2015-06-16 View assembly processing method

Country Status (1)

Country Link
CN (1) CN104932890A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1217508A1 (en) * 2000-12-21 2002-06-26 Xerox Corporation Systems and computer program products for the display and operation of virtual three-dimensional books
CN101546248A (en) * 2009-05-05 2009-09-30 阿里巴巴集团控股有限公司 Method and device for presenting cascade option menu
CN101556526A (en) * 2008-04-10 2009-10-14 索尼株式会社 List display apparatus, list display method, and graphical user interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1217508A1 (en) * 2000-12-21 2002-06-26 Xerox Corporation Systems and computer program products for the display and operation of virtual three-dimensional books
CN101556526A (en) * 2008-04-10 2009-10-14 索尼株式会社 List display apparatus, list display method, and graphical user interface
CN101546248A (en) * 2009-05-05 2009-09-30 阿里巴巴集团控股有限公司 Method and device for presenting cascade option menu

Similar Documents

Publication Publication Date Title
CN102495712B (en) Map splicing display method based on plurality of display terminals
DE202013100255U1 (en) Display device, remote control device and operating function of the same
EP2669781B1 (en) A user interface for navigating in a three-dimensional environment
CN112230836B (en) Object moving method and device, storage medium and electronic device
CN102768607B (en) Method and device for realizing touch operation application program
CN104572058A (en) Information processing method and electronic equipment
KR20100035924A (en) Display system having display apparatus and external input apparatus, and control method thereof
CN105446675A (en) Split-screen displaying method and electronic device
CN110574000B (en) display device
CN103412720A (en) Method and device for processing touch-control input signals
US20160378272A1 (en) Systems and methods for providing multi-focus to applications for collaboration
CN108399343A (en) A kind of page display method, device and equipment
WO2016042864A1 (en) Multi-screen display position switching method, information processing device, and control method and control program therefor
JP2024009171A (en) Head mounted display apparatus
CN103793061A (en) Control method and electronic equipment
CN106055299B (en) The method of image Arbitrary Rotation is realized in multiple display equipment
CN109976624A (en) Image display method, device, equipment and computer readable storage medium
WO2016042834A1 (en) Method for enlarging content in split screen, information processing device and control method and control program therefor
CN104020939A (en) Control method and electronic device
CN104123062A (en) Information processing method and electronic device
CN108932089A (en) A kind of method of adjustment of target object, device, electronic equipment and storage medium
CN104932890A (en) View assembly processing method
WO2021005871A1 (en) Information processing device, information processing method, and program
CN103902202A (en) Processing method and electronic device
CN103853470A (en) Data processing and displaying method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20150923