CN105912310A - Method and device for realizing user interface control based on virtual reality application - Google Patents
Method and device for realizing user interface control based on virtual reality application Download PDFInfo
- Publication number
- CN105912310A CN105912310A CN201510884623.4A CN201510884623A CN105912310A CN 105912310 A CN105912310 A CN 105912310A CN 201510884623 A CN201510884623 A CN 201510884623A CN 105912310 A CN105912310 A CN 105912310A
- Authority
- CN
- China
- Prior art keywords
- control
- type
- child
- container type
- rule container
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
- G06F9/4484—Executing subprograms
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
Abstract
The invention provides a method and a device for realizing user interface control based on a virtual reality application. The method comprises: establishing a control whose type is a regular container type in a menu object of a user interface, the regular container type is a control established according to the type, including a method for generating a plurality of child controls belonging to the control; obtaining attribute data of the child controls of the regular container type control; and according to the attribute data, generating a plurality of child controls whose control types are the same. The method and the device for realizing user interface control based on a virtual reality application improve efficiency for establishing controls in the user interface of the virtual reality application.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of user circle based on virtual reality applications
Face control implementation method and device.
Background technology
Along with the development of computer technology, virtual reality applications has obtained the most universal, at present, and virtual reality
Application has been widely used in including the electronic equipment such as mobile phone, panel computer, and user can use these virtual
Real world applications is carried out play, movable or perform some and specifically operate, whole process is as at real world
In carry out general, provide the user the omnibearing pseudo-experiences such as vision, audition, sense of touch.
Generally showing control in the user interface of virtual reality applications, these controls can be various
Button, menu, Option Box etc., user utilizes these controls directly to interact with virtual reality applications.
In prior art, when creating control in virtual reality applications, it usually needs according to the need of special scenes
Want, in the user interface of this scene, individually create each control, such as, virtual at one
Having the control of several type of button in the scene of game of reality, each button represents a game angle
Color, user clicks on a button can complete to select the function of this game role, but developer exists
When creating these controls, each button control is required for individually going to create, the therefore wound of control
Build inefficient.
Summary of the invention
The embodiment of the present invention provides a kind of user interface controls implementation method based on virtual reality applications and dress
Put, for improving the efficiency creating control in the user interface of virtual reality applications.
The embodiment of the present invention provides a kind of user interface controls implementation method based on virtual reality applications, bag
Include:
The control that control type is rule container type, described rule is created in the menu object of user interface
Container Type is that the control created according to the type includes the side generating multiple child controls belonging to this control
Method;
Obtain the attribute data of the child control of described rule container type control;
Generating, according to described attribute data, the child control that multiple control type are identical, described control type includes rule
Then Container Type and general type, described general type is the class of other control outside rule container type
Type.
Preferably, the described child control generating multiple control type identical according to described attribute data specifically wraps
Include:
According to described attribute data, the interval letter between the type of described child control, number and child control is set
Breath;And at least one child control posture information in the control of described rule container type is set;
Multiple type phases are generated according to the type of child control arranged, number, interval information and posture information
Same child control.
Preferably, described method also includes:
Arrange according to described attribute data the line number of child control of the control of described rule container type, columns,
Numbering and the size of child control, the child control that the multiple type of the most described generation is identical specifically includes:
The child control that multiple types are identical and equivalently-sized is generated according to described line number, columns and numbering.
Preferably, described at least one child control pose in the control of described rule container type that arranges is believed
Breath specifically includes:
The reference point at least one child control position letter in the control of described rule container type is set
Breath and described child control attitude information in the control of described rule container type.
Preferably, if the child control type generated is rule container type, then the son to rule container type
Control proceeds as follows:
A) attribute data of the next stage control belonging to child control of rule container type is obtained;
B) according to the attribute data of described next stage control generate multiple control type identical belong to described rule
The then next stage control of the child control of Container Type.
Preferably, before the attribute data of the child control obtaining described rule container type control, described method
Also include:
The control of the described rule container type posture information in the virtual reality scenario of user interface is set,
Wherein, described posture information includes: the reference point on the control of described rule container type is in virtual reality field
Position in scape and the control of described rule container type attitude in virtual reality scenario.
The embodiment of the present invention also provides for a kind of user interface controls based on virtual reality applications and realizes device, bag
Include: creation module, acquisition module and generation module, wherein,
Described creation module, is rule container class for creating control type in the menu object of user interface
The control of type, described rule container type is that the control created according to the type includes generation and multiple belongs to this
The method of the child control of control;
Described acquisition module, for obtaining the attribute data of the child control of described rule container type control;
Described generation module, for generating, according to described attribute data, the child control that multiple control type are identical,
Described control type include rule container type and general type, described general type be rule container type it
The type of other outer control.
Preferably, described generation module has specifically included and has arranged unit, wherein,
Described unit is set, for arranging the type of described child control, number and son according to described attribute data
Interval information between control;And at least one child control is set in the control of described rule container type
Posture information.
Preferably, described device also includes arranging subelement, wherein,
Described subelement is set, for arranging the control of described rule container type according to described attribute data
The size of the line number of child control, columns, numbering and child control.
Preferably, described device also includes that pose arranges module, wherein,
Described pose arranges module, for arranging virtual in user interface of the control of described rule container type
Posture information in reality scene, wherein, described posture information includes: the control of described rule container type
On reference point position in virtual reality scenario and the control of described rule container type in virtual reality
Attitude in scene.
The user interface controls implementation method based on virtual reality applications of embodiment of the present invention offer and device,
The control of rule container type includes the method generating multiple child controls belonging to this control, for type phase
Child control can disposably generate, improve the effect that in the user interface of virtual reality applications control creates
Rate.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in embodiment being described below
Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is the one of the present invention
A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other accompanying drawing can be obtained according to these accompanying drawings.
A kind of based on virtual reality applications the user interface controls realization side that Fig. 1 provides for the embodiment of the present invention
The flow chart of method;
A kind of based on virtual reality applications the user interface controls that Fig. 2 provides for the embodiment of the present invention shows
It is intended to;
Rule container in a kind of based on virtual reality applications the user interface that Fig. 3 provides for the embodiment of the present invention
The hierarchical relationship schematic diagram of type control and generic controls;
Fig. 4 is the display position view in the user interface of the generic controls in Fig. 3;
A kind of based on virtual reality applications the user interface controls that Fig. 5 provides for the embodiment of the present invention realizes dress
The structural representation put.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based in the present invention
Embodiment, those of ordinary skill in the art obtained under not making creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
In the various embodiments of the invention, user interface is usually the graphical front end of system, these users circle
Face can be in the virtual reality applications of electronic equipment, directly presents scene in front of the user, these scenes
Can be game picture based on virtual reality, it is also possible to for other scene experience based on virtual reality etc..
For above-mentioned user, these users can be the developer of application program, can also be application program certainly
The end user of product.
Having generally comprised one or more control in the menu object of user interface, these controls are usually system
The graphical interface of bottom code, user can be handed over reality environment by the control in user interface
Mutually.In an embodiment of the present invention, control can be certain window in user interface or certain in this window
A little buttons, picture or word etc..
In prior art, when creating control in virtual reality applications, it usually needs according to special scenes
Needs, the menu object of the user interface of this scene individually creates each control, but opens
The personnel of sending out, when creating these controls, are required for individually going to create for each control, therefore control
Establishment inefficient.For solving above-mentioned technical problem, the embodiment of the present invention provides a kind of based on virtual
The user interface controls implementation method of real world applications, is used for solving control in prior art and creates inefficient asking
Topic, the most as is shown in fig. 1, this flow process includes following step:
Step 11: create the control that control type is rule container type in the menu object of user interface.
Wherein, described rule container type is the control created according to the type, includes generation and multiple belongs to this control
The method of the child control of part.
The control of rule container type here, referred to as container control, Main Function is for organizing and showing
Show generic controls on its interior, certainly can be also used for organizing its internal container control.It addition, it is right
The control mentioned in the embodiment of the present invention, is functionally commonly divided into generic controls and container control, general
Logical assembly often has predefined outward appearance and function, such as order button, acquiescence to be shown centered on the text specified
Titles etc., would generally perform the event-handling method specified when clicking these generic controls.And container control exists
The white space being often reflected as on the common user interface of 2D in user interface, Main Function is to use
In organizing and showing generic controls on its interior or container control.User interface in virtual reality applications
In, container control is usually non-visual control, and what user finally saw is then within container control
Generic controls.
It addition, rule container type here is the control created according to the type, include the multiple genus of generation
In the method for the child control of this control, child control here is the one in above-mentioned control, can be i.e. container
Control, naturally it is also possible to be generic controls.For the method generating multiple child controls belonging to this control, this
In method can be the iteration to the function in the code that comprises of one of them child control generated or code,
Use enumerator to terminate iterative cycles, thus the most disposably generate multiple child controls, the son control ultimately generated
The number of part is controlled by the number of enumerator here.Certainly one the most schematically it is enumerated
The method generating multiple child control, the application is for being not limited thereto.
Step 12: obtain the attribute data of the child control of described rule container type control.
Rule container type control Main Function is for organizing and showing generic controls (son on its interior
Control), it is also possible to for organizing its internal container control (child control), before this, also to obtain sub-control
The attribute data of part, attribute data here can be total number of child control;Or be that child control is holding
Line number in device control and columns, total line number is multiplied by total columns and is total number of child control;Or be son
Interval between control;Or be child control pose etc. in container control.
Step 13: generate the child control that multiple control type are identical according to described attribute data.
By above-mentioned attribute data, can disposably generate the son control that multiple type is identical in container control
Part.Identical for type here, mainly for rule container type and general type, here
The type that general type is other control outside rule container type.The child control such as generated is
Container control, all container controls of the most all of child control, the child control the most such as generated is common
The button control of type, the button control of all general types of the most all of child control.
The user interface controls implementation method based on virtual reality applications that the embodiment of the present invention provides, rule is held
The control of device type includes the method generating multiple child controls belonging to this control, for the son control of type phase
Part can disposably generate, and improves the efficiency that control creates in the user interface of virtual reality applications.
In above-mentioned embodiment of the method step 13, described according to the described attribute data multiple control classes of generation
The child control that type is identical, specifically includes: arrange the type of described child control, number according to described attribute data
And the interval information between child control;And the control in described rule container type of at least one child control is set
Posture information in part;Raw according to the type of child control arranged, number, interval information and posture information
Become the child control that multiple type is identical.
For arranging the type of child control, will the type of multiple child controls is unified is set as container control, or
It is set as generic controls by unified for the type of the child control of multiple types, the most permissible for generic controls here
It is finely divided, such as, unifies to be set as generic controls the child control of type of button, or be commonly to control
Unified child control being set as picture/mb-type of part etc..
For arranging the number of child control, total number of the child control of needs is i.e. set according to product demand.
For arranging at least one child control posture information in the control of described rule container type, here
Pose include the position in the control of rule container type of the reference point on child control and child control rule
The then attitude in the control of Container Type.Owing to the control of whole rule container type is in virtual reality applications
Pose in user interface has set, and therefore, for newly-generated child control, needs to arrange son
Control posture information in the control of rule container type, and then formed and ultimately form child control and (commonly control
Part) pose in the user interface of virtual reality.Rule container type mentioned above is to create according to the type
The control built includes the method generating multiple child controls belonging to this control, the most only need to arrange at least
One child control pose in the control of rule container type, the attitude of other child control can be with
The attitude of first child control keeps consistent.
The attitude of above-mentioned the child control being to ensure that other will keep one with the attitude of the child control arranging pose
Causing, to be the most also configured the interval between child control, interval here not only includes between child control
The interval of horizontal direction, also includes the interval of vertical direction between child control, the user of virtual reality applications
In interface, when considering interval both horizontally and vertically, certainly the depth value between control can also be examined
Including Lving.During it addition, the interval of child control is configured, if child control is stiff member, i.e. son control
Part has the size specified, and no matter how container control scales, and the size of stiff member is constant, now to
Interval between child control can also be arranged to the fixed value of rigidity, and the unit of fixed value can be with user interface
The pixel of image is unit, can also be other unit certainly.
If the size that child control is bonded assemblies, i.e. assembly is variable, when container control size is less, viscous
Close control and can not account for any space;When container control size is bigger, bonding control can take arbitrarily large
Redundant space, now the interval between child control can be arranged to bonding control size synchronize change
Variable value.Interval between child control can be arranged to account for the number of the percentage ratio of the concrete size of child control
Value, such as child control is horizontally arranged at interval 50% into child control length, and child control perpendicular separation is child control
The 50% of width, finally realizes the child control scaled relative to place rule container.
In the above-described embodiments, according to the type of child control arranged, number, interval information and pose letter
While breath generates the child control that multiple types are identical, it is also possible to according to described attribute data, described rule is set
The size of the line number of the child control of the control of Container Type, columns, numbering and child control, then step 13
The child control that the multiple type of middle generation is identical specifically includes: generate many according to described line number, columns and numbering
The child control that individual type is identical and equivalently-sized.
Arranging the line number of child control, columns, line number and columns here are total relative to multiple child controls
For number, three child controls the most altogether, then could be arranged to a line three and arrange or three row string, again
It is the most altogether eight child controls, then could be arranged to two row four row, or four row two arrange, or be
A line eight row etc..
Further need exist for each child control to generating and numbering is set, numbered the 1 of such as container control,
Container control 1 generates two row two row four child controls altogether, can be by the upper left corner of container control 1
Child control arranges numbered 11, and the child control numbering in the upper right corner is set to 12, the child control numbering in the lower left corner
Being set to 13, the numbering of the child control in the lower right corner is set to 14, the corresponding numbering of such a child control.
There may be multiple container control in the user interface and ultimately generate multiple child control, the most each container control
Part and each child control have a unique numbering, when each child control is controlled and revises,
The numbering that only need to obtain child control is carried out, and finally strengthens the management to control, and makes child control and son control
Between part, well arranged between child control and container control.
Equivalently-sized for here, the length dimension of the most all child controls is equal and width dimensions phase
Deng, in the user interface of virtual reality applications, can also be other sizes of child control certainly, here
The shape of child control is also not limited to as rectangle, other shapes that certainly can also be three-dimensional, but finally
Ensure the equal sized of each same area of all of child control.
In several embodiments before, " generating the child control that multiple type is identical ", many height control here
The type of part can be the control of rule container type, can also be generic controls certainly.If child control is
Generic controls, then user interface controls creates complete, specifically can be as in figure 2 it is shown, menu pair in Fig. 2
As not showing, if child control remains as rule container type, then the then son control to rule container type
Part proceeds as follows:
A) attribute data of the next stage control belonging to child control of rule container type is obtained;
B) according to the attribute data of described next stage control generate multiple control type identical belong to described rule
The then next stage control of the child control of Container Type.
After child control execution of step a of rule container type and step b, then generate multiple rule
Next stage control belonging to the child control of Container Type.For convenience of explanation, below in conjunction with accompanying drawing 3 and accompanying drawing
4 are illustrated.Firstly for Fig. 3, container control 1 can be referred to as the control of ground floor, holding
Device control 1 generates container control 11, container control 12, container control 13 and container control 14 4
Child control, the type of four child controls here is rule container type.
It follows that after performing above-mentioned steps a and step b for container control 11, generate several institutes
The next stage control belonged to;After above-mentioned steps a and step b are performed for container control 12, generate four
Affiliated next stage control;After performing above-mentioned steps a and step b for container control 13, if generating
Next stage control belonging to dry;After above-mentioned steps a and step b are performed for container control 14, raw
Become two affiliated next stage controls.What two ellipsis in Fig. 3 represented respectively is container control 11 He
The number of the next stage control that container control 13 generates, owing to the drawing space of a whole page is limited, only by container control 12
Show with the number of the next stage control of container control 14 generation, the correspondingly omission of two in Fig. 4
Number represent same implication.
For in above-mentioned step b, generate multiple control type according to the attribute data of described next stage control
The next stage control of the identical child control belonging to described rule container type specifically includes: according to next stage control
The attribute data of part arranges the interval information between the type of next stage control, number and next stage control;With
And at least one next stage control posture information in the control of rule container type is set;According to arrange
The type of next stage control, number, interval information and posture information generate the next stage that multiple types are identical
Control.Furthermore it is also possible to according to the attribute data of next stage control arrange the line number of next stage control, columns,
Numbering and the size of child control, the next stage control that the multiple type of the most described generation is identical specifically includes: press
The next stage control that multiple types are identical and equivalently-sized is generated according to described line number, columns and numbering.
The above-mentioned interval arranged between the type of multiple next stage control, number and next stage control is believed
Breath;At least one next stage control posture information in the control of rule container type is set;Next is set
The level line number of control, columns, numbering and the size etc. of child control, and the most by the agency of at ground floor
The step generating child control in container control is roughly the same, for avoiding repeating, here only referring to Fig. 3 and Fig. 4
Instance graph, some details in step b are being illustrated.
Such as before generating next stage control in container control 12, it is necessary first to according in container control 12
The attribute data of the next stage control that will generate, arranges the type of the subordinate control of container control 12, as
Next stage control in container control 12 shown in Fig. 3 is generic controls, specifically, above-mentioned commonly
Control can be the generic controls of type of button;Then the total number arranging next stage control is 4;Set again
Put the interval between next stage control;At least one next stage control pose in container control 12 is set
Information;The line number of the generic controls of above-mentioned next stage is set and columns is respectively two row two row, four the most altogether
The button control of general type;The numbering of the last generic controls that each next stage is set again and size, raw
Become the generic controls of four type of button, i.e. generic controls 121, generic controls 122, generic controls 123
With generic controls 124.
At container control 11, container control 13, container control 14, the method for middle generation subordinate control with
The method generating next stage control in container control 12 is identical, repeats no more here, is finally presented on virtual
As shown in Figure 4, what user finally saw the most commonly controls content on the menu of the user interface of real world applications
Several generic controls in part, i.e. container control 11 and container control 13, four in container control 12
Two generic controls in individual generic controls, and container control 14, the dotted line in Fig. 4 is the most schematically
Show the position relationship of each container control, do not show in actual user interface.
Above-mentioned container control 11, container control 12, container control 13 or container control 14 are also contained
There are the method generating multiple next stage controls belonging to this control, container control 11, container control 12, appearance
Device control 13 or container control 14 can be with nested control or generic controls, also as a example by Fig. 3,
Several subordinate controls that container control 12 and container control 14 generate are generic controls, container control 11
Several subordinate controls generated with container control 13 can be generic controls, certainly can also continue to as holding
Device control, if continuing as container control, repeats above-mentioned steps a and step b, final until owning
Subordinate control be generic controls.
For an embodiment of the method before, step 12 is mentioned the described rule container type control of acquisition
The attribute data of child control, before this step, described method can also include: arranges described rule and holds
The control of device type posture information in the virtual reality scenario of user interface, wherein, described posture information
Including position in virtual reality scenario of: the reference point on the control of described rule container type and described rule
The then control of Container Type attitude in virtual reality scenario.
The most also as a example by shown in Fig. 4, although user finally see for generic controls, but container control
1 controls generic controls pose in the user interface, therefore first has to container control 1 in virtual reality
Pose in environment is set.
When the concrete pose arranging container control, such as, the user interface of virtual reality is shown that one
The three-dimensional picture in individual room, now definable world coordinate system, by user interface upper left position coordinate definition
Origin, i.e. (0,0,0), the positive right direction of initial point is x-axis positive direction, and initial point is y vertically downward
Axle positive direction, is z-axis positive direction both perpendicular to x-axis and y-axis the direction of visual lines towards user, each
The value in direction in units of the pixel of three-dimensional picture, now can arrange the reference point of container control and exist
Position coordinates in virtual reality scenario, reference point here can be the position of centre of gravity of container control, certainly
Can also be other reference points on container control.
After the reference point determined on container control position coordinates in virtual reality scenario, in addition it is also necessary to
Container control attitude in virtual reality scenario is determined, and then is the generic controls ultimately generated
Attitude arrange lay the groundwork, attitude here can be container control respectively with above-mentioned x, tri-coordinate axess of y, z
Between angle.
For three-dimensional virtual reality scenario, if two coordinate axess of the most above-mentioned x, y and container control with
And finally the generic controls of display and the angle of two coordinate axess of x, y are zero degree, then user may feel
The generic controls demonstrated is plane picture, and then the thoughts and feelings of the virtual reality scenario of whole three-dimensional can be made to cause
Impact, so typically requiring setting z-axis, i.e. the angles of display of depth value size, and container control, and
And when needs carry out three dimensional display, this angles of display is not zero.Wherein, the angle of display should with reality in
Existing virtual reality scenario is coordinated mutually.
It should be noted that final all of generic controls is shown to user as an overall 3-D view
Time, the most all of generic controls can have identical angles of display.Additionally Fig. 2 and Fig. 4 simply signal
Property display control position in the user interface, do not demonstrate the depth information between control and control
Attitude information.
How above-mentioned simply describing allows the container control arranging ground floor pose in virtual reality scenario, this
In also relate to the pose at container control of the multiple child controls in container control, described pose includes: described
The reference point on child control position in container control and described child control attitude in container control.By
It is disposable generation in multiple child controls, at least one child control the most only need to be set in container control
Pose, in conjunction with the interval between child control, remaining child control can be with the child control setting pose
The attitude maintained like, but in container control, keep different positions.
It should be noted that the concept of mentioned above two " pose ", one is that container control is user
Pose in the virtual reality scenario at interface, another is at least one child control position in container control
Appearance, first pose be container control for virtual reality scenario (user interface), second
Pose is that the child control setting pose is for generating the container control of this child control.
It is the embodiment of the method for the present invention that foregoing describes in detail, correspondingly, present invention also offers one
Plant user interface controls based on virtual reality applications and realize device embodiment.See accompanying drawing 5, including: wound
Modeling block 21, acquisition module 22 and generation module 23, wherein,
Described creation module 21, may be used for creating control type in the menu object of user interface for rule
The control of Container Type, described rule container type be according to the type create control include generation multiple
The method belonging to the child control of this control.
Described acquisition module 22, may be used for obtaining the attribute number of the child control of described rule container type control
According to.
Described generation module 23, may be used for generating, according to described attribute data, the son that multiple control type are identical
Control, described control type includes that rule container type and general type, described general type are rule container
The type of other control outside type.
The work process of this device embodiment is: first creation module 21 creates the control of rule container type,
Then acquisition module 22 obtains the attribute data of child control of rule container type control, ultimately produces module
23 attribute datas got according to acquisition module 22, the child control that the multiple types of disposable generation are identical.
The user interface controls based on virtual reality applications that the embodiment of the present invention provides realizes device, creates mould
The container control that block 21 creates includes the method generating multiple child controls belonging to this control, ultimately generates
Module 23 can disposably generate for the child control that type is identical, improves the use in virtual reality applications
The efficiency that in interface, family, control creates.
It addition, above-mentioned user interface controls based on virtual reality applications realizes in device, generation module 23
Specifically include and unit has been set, wherein, described unit has been set, described for arranging according to described attribute data
Interval information between the type of child control, number and child control;And at least one child control is set in institute
State the posture information in the control of rule container type.
Said apparatus can also include arranging subelement, wherein, described arranges subelement, for according to described
Attribute data arranges the line number of child control of the control of described rule container type, columns, numbering and son control
The size of part.
Said apparatus can also include that pose arranges module, and wherein, described pose arranges module, is used for arranging
The control of described rule container type posture information in the virtual reality scenario of user interface, wherein, institute
State posture information to include: the position in virtual reality scenario of the reference point on the control of described rule container type
Put the attitude in virtual reality scenario of the control with described rule container type.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, and the parts shown as unit can be or also
Can not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE.
Some or all of module therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme
's.Those of ordinary skill in the art, in the case of not paying performing creative labour, are i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each enforcement
Mode can add the mode of required general hardware platform by software and realize, naturally it is also possible to pass through hardware.
Based on such understanding, the part that prior art is contributed by technique scheme the most in other words is permissible
Embodying with the form of software product, this computer software product can be stored in computer-readable storage medium
In matter, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment
(can be personal computer, server, or the network equipment etc.) performs each embodiment or embodiment
The method described in some part.
Last it is noted that above example is only in order to illustrate technical scheme, rather than it is limited
System;Although the present invention being described in detail with reference to previous embodiment, those of ordinary skill in the art
It is understood that the technical scheme described in foregoing embodiments still can be modified by it, or to it
Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution
Essence departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a user interface controls implementation method based on virtual reality applications, it is characterised in that including:
The control that control type is rule container type, described rule is created in the menu object of user interface
Container Type is that the control created according to the type includes the side generating multiple child controls belonging to this control
Method;
Obtain the attribute data of the child control of described rule container type control;
Generating, according to described attribute data, the child control that multiple control type are identical, described control type includes rule
Then Container Type and general type, described general type is the class of other control outside rule container type
Type.
Method the most according to claim 1, it is characterised in that described raw according to described attribute data
The child control becoming multiple control type identical specifically includes:
According to described attribute data, the interval letter between the type of described child control, number and child control is set
Breath;And at least one child control posture information in the control of described rule container type is set;
Multiple type phases are generated according to the type of child control arranged, number, interval information and posture information
Same child control.
Method the most according to claim 2, it is characterised in that described method also includes:
Arrange according to described attribute data the line number of child control of the control of described rule container type, columns,
Numbering and the size of child control, the child control that the multiple type of the most described generation is identical specifically includes:
The child control that multiple types are identical and equivalently-sized is generated according to described line number, columns and numbering.
Method the most according to claim 2, it is characterised in that described at least one child control is set
Posture information in the control of described rule container type specifically includes:
The reference point at least one child control position letter in the control of described rule container type is set
Breath and described child control attitude information in the control of described rule container type.
5. according to the method in any of the one of Claims 1-4, it is characterised in that if generated
Child control type be rule container type, then the child control of rule container type is proceeded as follows:
A) attribute data of the next stage control belonging to child control of rule container type is obtained;
B) according to the attribute data of described next stage control generate multiple control type identical belong to described rule
The then next stage control of the child control of Container Type.
Method the most according to claim 1, it is characterised in that obtain described rule container type control
Before the attribute data of the child control of part, described method also includes:
The control of the described rule container type posture information in the virtual reality scenario of user interface is set,
Wherein, described posture information includes: the reference point on the control of described rule container type is in virtual reality field
Position in scape and the control of described rule container type attitude in virtual reality scenario.
7. a user interface controls based on virtual reality applications realizes device, it is characterised in that include
Creation module, acquisition module and generation module, wherein,
Described creation module, is rule container class for creating control type in the menu object of user interface
The control of type, described rule container type is that the control created according to the type includes generation and multiple belongs to this
The method of the child control of control;
Described acquisition module, for obtaining the attribute data of the child control of described rule container type control;
Described generation module, for generating, according to described attribute data, the child control that multiple control type are identical,
Described control type include rule container type and general type, described general type be rule container type it
The type of other outer control.
Device the most according to claim 7, it is characterised in that described generation module specifically includes and sets
Put unit, wherein,
Described unit is set, for arranging the type of described child control, number and son according to described attribute data
Interval information between control;And at least one child control is set in the control of described rule container type
Posture information.
Device the most according to claim 8, it is characterised in that it is single that described device also includes arranging son
Unit, wherein,
Described subelement is set, for arranging the control of described rule container type according to described attribute data
The size of the line number of child control, columns, numbering and child control.
Device the most according to claim 7, it is characterised in that described device also includes that pose is arranged
Module, wherein,
Described pose arranges module, for arranging virtual in user interface of the control of described rule container type
Posture information in reality scene, wherein, described posture information includes: the control of described rule container type
On reference point position in virtual reality scenario and the control of described rule container type in virtual reality
Attitude in scene.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510884623.4A CN105912310A (en) | 2015-12-04 | 2015-12-04 | Method and device for realizing user interface control based on virtual reality application |
PCT/CN2016/096979 WO2017092430A1 (en) | 2015-12-04 | 2016-08-26 | Method and device for realizing user interface control based on virtual reality application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510884623.4A CN105912310A (en) | 2015-12-04 | 2015-12-04 | Method and device for realizing user interface control based on virtual reality application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105912310A true CN105912310A (en) | 2016-08-31 |
Family
ID=56744208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510884623.4A Pending CN105912310A (en) | 2015-12-04 | 2015-12-04 | Method and device for realizing user interface control based on virtual reality application |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105912310A (en) |
WO (1) | WO2017092430A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106951171A (en) * | 2017-03-14 | 2017-07-14 | 北京小米移动软件有限公司 | The control method and device of virtual implementing helmet |
CN107066180A (en) * | 2017-03-13 | 2017-08-18 | 深圳国泰安教育技术股份有限公司 | A kind of task creating method and its system based on VR operations |
CN109407918A (en) * | 2018-09-25 | 2019-03-01 | 苏州梦想人软件科技有限公司 | The implementation method of augmented reality content multistage interactive mode |
CN109766157A (en) * | 2018-12-27 | 2019-05-17 | 益萃网络科技(中国)有限公司 | Method for displaying user interface, device, computer equipment and storage medium |
CN110573997A (en) * | 2017-04-25 | 2019-12-13 | 微软技术许可有限责任公司 | Container-based virtual camera rotation |
CN114780001A (en) * | 2022-04-19 | 2022-07-22 | 青岛海信智慧生活科技股份有限公司 | Control method of multi-way switch equipment, terminal equipment and server |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP4104426A4 (en) * | 2020-02-10 | 2024-03-06 | Visa Int Service Ass | Network based testing of mobile device kernels system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102193786A (en) * | 2010-03-11 | 2011-09-21 | 中国工商银行股份有限公司 | Device and method for constructing self-adaptive graphic user interface (GUI) |
US20110271248A1 (en) * | 2010-04-29 | 2011-11-03 | Microsoft Corporation | Converting controls into source code |
US20120151361A1 (en) * | 2009-12-09 | 2012-06-14 | Ralph Lee Burton | Dynamic Web Control Generation Facilitator |
CN103176797A (en) * | 2013-02-21 | 2013-06-26 | 用友软件股份有限公司 | Interface layout device and interface layout method |
CN104731590A (en) * | 2015-03-13 | 2015-06-24 | 广东欧珀移动通信有限公司 | Method and device for realizing user interface controls |
CN104991707A (en) * | 2015-07-20 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | User interface displaying method and device |
-
2015
- 2015-12-04 CN CN201510884623.4A patent/CN105912310A/en active Pending
-
2016
- 2016-08-26 WO PCT/CN2016/096979 patent/WO2017092430A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120151361A1 (en) * | 2009-12-09 | 2012-06-14 | Ralph Lee Burton | Dynamic Web Control Generation Facilitator |
CN102193786A (en) * | 2010-03-11 | 2011-09-21 | 中国工商银行股份有限公司 | Device and method for constructing self-adaptive graphic user interface (GUI) |
US20110271248A1 (en) * | 2010-04-29 | 2011-11-03 | Microsoft Corporation | Converting controls into source code |
CN103176797A (en) * | 2013-02-21 | 2013-06-26 | 用友软件股份有限公司 | Interface layout device and interface layout method |
CN104731590A (en) * | 2015-03-13 | 2015-06-24 | 广东欧珀移动通信有限公司 | Method and device for realizing user interface controls |
CN104991707A (en) * | 2015-07-20 | 2015-10-21 | 青岛海信移动通信技术股份有限公司 | User interface displaying method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107066180A (en) * | 2017-03-13 | 2017-08-18 | 深圳国泰安教育技术股份有限公司 | A kind of task creating method and its system based on VR operations |
CN107066180B (en) * | 2017-03-13 | 2020-05-12 | 深圳国泰安教育技术有限公司 | Task generation method and system based on VR operation |
CN106951171A (en) * | 2017-03-14 | 2017-07-14 | 北京小米移动软件有限公司 | The control method and device of virtual implementing helmet |
CN106951171B (en) * | 2017-03-14 | 2021-10-12 | 北京小米移动软件有限公司 | Control method and device of virtual reality helmet |
CN110573997A (en) * | 2017-04-25 | 2019-12-13 | 微软技术许可有限责任公司 | Container-based virtual camera rotation |
CN110573997B (en) * | 2017-04-25 | 2021-12-03 | 微软技术许可有限责任公司 | Container-based virtual camera rotation |
US11436811B2 (en) | 2017-04-25 | 2022-09-06 | Microsoft Technology Licensing, Llc | Container-based virtual camera rotation |
CN109407918A (en) * | 2018-09-25 | 2019-03-01 | 苏州梦想人软件科技有限公司 | The implementation method of augmented reality content multistage interactive mode |
CN109766157A (en) * | 2018-12-27 | 2019-05-17 | 益萃网络科技(中国)有限公司 | Method for displaying user interface, device, computer equipment and storage medium |
CN114780001A (en) * | 2022-04-19 | 2022-07-22 | 青岛海信智慧生活科技股份有限公司 | Control method of multi-way switch equipment, terminal equipment and server |
CN114780001B (en) * | 2022-04-19 | 2023-04-25 | 青岛海信智慧生活科技股份有限公司 | Control method of multi-way switch equipment, terminal equipment and server |
Also Published As
Publication number | Publication date |
---|---|
WO2017092430A1 (en) | 2017-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105912310A (en) | Method and device for realizing user interface control based on virtual reality application | |
CA2497621C (en) | Method of generating a computer readable model | |
CN105264571B (en) | HUD object designs and method | |
Balzer et al. | Software landscapes: Visualizing the structure of large software systems | |
CN111192354A (en) | Three-dimensional simulation method and system based on virtual reality | |
Wolfartsberger et al. | A virtual reality supported 3D environment for engineering design review | |
KR20120083893A (en) | Connectivity depended geometry optimization for real-time rendering | |
CN106204713B (en) | Static merging processing method and device | |
CN107735815A (en) | Simplify the small grid component with redundancy back | |
CN105808071A (en) | Display control method and device and electronic equipment | |
CN110503718A (en) | Three-dimensional engineering model lightweight display methods | |
CN112114663B (en) | Implementation method of virtual reality software framework suitable for visual and tactile fusion feedback | |
CN109819226A (en) | Method, projection device and the computer readable storage medium projected on convex body | |
CN108038916A (en) | A kind of display methods of augmented reality | |
CN113190142B (en) | Cubic model-based 3D environment interaction method and device | |
JP2001134633A (en) | Electronic drawing viewer | |
JPH10293862A (en) | Three-dimensional object data processing method | |
EP3422294B1 (en) | Traversal selection of components for a geometric model | |
CN108492371A (en) | A kind of three-dimensional building model dynamic and visual method towards fire | |
Cao et al. | A large curved display system in virtual reality for immersive data interaction | |
WO2017143432A1 (en) | Interactive haptic system for virtual reality environment | |
CN105975179A (en) | Method and apparatus for determining operation object in 3D spatial user interface | |
CN105955738A (en) | User interface display method and user interface display device corresponding to 3D list data | |
Savov et al. | Constructing Building Layouts and Mass Models with Hand Gestures in Multiple Mixed Reality Modes | |
CN103838924B (en) | Display method and device of three-dimensional model information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160831 |