CN105700778A - Tree-shaped navigation menu generation method for handheld controller - Google Patents
Tree-shaped navigation menu generation method for handheld controller Download PDFInfo
- Publication number
- CN105700778A CN105700778A CN201610015108.7A CN201610015108A CN105700778A CN 105700778 A CN105700778 A CN 105700778A CN 201610015108 A CN201610015108 A CN 201610015108A CN 105700778 A CN105700778 A CN 105700778A
- Authority
- CN
- China
- Prior art keywords
- tree
- menu
- node
- navigation menu
- handheld controller
- 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
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a tree-shaped navigation menu generation method for a handheld controller. The method comprises: a step 101 of acquiring a root node; a step 102 of acquiring a focus node; a step 103 of acquiring a focus node hierarchy; a step 104 of acquiring a list including the focus node, the root node and intermediate nodes; and a step 105 of generating a first-layer menu. The method can be widely applied to ground handheld controllers of unmanned aerial vehicles, and rapid and reliable human-machine interaction is realized. Through adoption of the method, the problems of complex operation, low operation speed and poor use experience in the handheld controller are solved, and the human-machine interaction friendliness and usability of the handheld controller are enhanced greatly.
Description
Technical field
The present invention relates to technical field of aerospace, the tree-like navigation menu particularly relating to a kind of hand held controller generates method。
Background technology
At present, small-sized individual soldier's UAS is limited by weight, ground installation is equipped with handheld controller mostly, the touch screen operation that most of hand held controllers adopt, there is complicated operation, touch the shortcoming that precision is low, and the operation of touch screen in cold environments requires the direct contact screen of finger or adopts the touch screen glove that contact surface is bigger, operating experience is relatively poor。It addition, in manual flight course, both hands thumb it is essential to ensure that operate near rocking bar, and from ergonomics angle, the experience of touch operation is also poor。
Visible, there is the problem complicated, speed of operation is slow, experience is poor in current hand held controller operation, therefore, hand-held controller carries out new design, makes user can realize simple operations, strengthens Consumer's Experience, becomes the problem that technical staff needs to consider。
Summary of the invention
The technical problem to be solved is to provide the tree-like navigation menu of a kind of hand held controller and generates method, makes user can realize simple operations, strengthens Consumer's Experience。
In order to solve above-mentioned technical problem, the invention provides the tree-like navigation menu of a kind of hand held controller and generate method, described method includes:
101, obtain root node;
102, obtain focus node;
103, obtain focus node level;
104, obtain focus node and root node intermediate node list;
105, generate ground floor menu。
Preferably, described method is further comprising the steps of:
106, generate second layer menu and connecting line。
Preferably, described method is further comprising the steps of:
107, generate third layer menu and connecting line。
Preferably, described root node describes to scan file from XML and obtains。
The present invention supports non-touch screen fast operating, have that operation button is few, response rapidly, the feature of intuitive display, support multiple edit pattern。Including, support the input editings such as numeral input, drop-down list, choice box。This invention can be widely applied to unmanned aerial vehicle hand held controller, it is achieved man-machine interaction quick, reliable。The invention solves hand held controller complicated operation, speed of operation is slow, experience is poor problem, man-machine interaction friendliness and the ease for use of hand held controller are greatly improved。
Accompanying drawing explanation
The tree-like navigation menu that Fig. 1 is the hand held controller of the embodiment of the present invention generates method flow schematic diagram。
Fig. 2 is the tree-like navigation menu schematic diagram of the hand held controller that one embodiment of the invention generates。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than all。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
With reference to shown in Fig. 1, the tree-like navigation menu for the hand held controller of the embodiment of the present invention generates method flow schematic diagram。Said method comprising the steps of:
Step 101, obtains root node;
Root node refers to the first order menu of whole tree structure, is describe scanning file from XML to obtain;
Step 102, obtains focus node;
Step 103, obtains focus node level;
Step 104, obtains focus node and root node, intermediate node list;
This list is for the ease of carrying out the data structure that menu renders and logical relation is inquired about and safeguarded in program。
Step 105, generates ground floor menu;
Step 106, generates second layer menu and connecting line;
Step 107, generates third layer menu and connecting line, terminates。
Invention software adopts QT system framework, and C++ programming language is developed。Adopt object-oriented programming pattern。
NaviTreeWidget Similar integral is from QWidget class, in that context it may be convenient to shown by forms client call。Adopt the description language configuration menu content of XML, during initialization, the node in configuration file is read in internal list, frame size and formula case are adjusted according to configuration file content simultaneously。OnPaint event carries out rendering of menu content and the setting of focus and connecting line。Key operation event adjusts focus and menu editing item。
MenuManager class is used for managing menu nodes logical relation, implements the triggering of focus switching and dependent event。
NaviTreeUtil class provides menu editing and renders required instrument。
Render class provides the rendering program of the interface elements such as label, choice box, digital editing frame, connecting line。
ParaCfg has been used for the configuration item management of program。
Above-described detailed description of the invention; the purpose of the present invention, technical scheme and beneficial effect have been further described; it is it should be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain being not intended to limit the present invention; all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention。
Claims (4)
1. the tree-like navigation menu of a hand held controller generates method, it is characterised in that described method includes:
101, obtain root node;
102, obtain focus node;
103, obtain focus node level;
104, obtain focus node and root node intermediate node list;
105, generate ground floor menu。
2. the tree-like navigation menu of hand held controller as claimed in claim 1 generates method, it is characterised in that described method is further comprising the steps of:
106, generate second layer menu and connecting line。
3. the tree-like navigation menu of hand held controller as claimed in claim 2 generates method, it is characterised in that described method is further comprising the steps of:
107, generate third layer menu and connecting line。
4. the tree-like navigation menu of hand held controller as claimed in claim 1 generates method, it is characterised in that described root node describes scanning file from XML and obtains。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610015108.7A CN105700778A (en) | 2016-01-11 | 2016-01-11 | Tree-shaped navigation menu generation method for handheld controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610015108.7A CN105700778A (en) | 2016-01-11 | 2016-01-11 | Tree-shaped navigation menu generation method for handheld controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105700778A true CN105700778A (en) | 2016-06-22 |
Family
ID=56227015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610015108.7A Pending CN105700778A (en) | 2016-01-11 | 2016-01-11 | Tree-shaped navigation menu generation method for handheld controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105700778A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688531A (en) * | 2019-08-26 | 2020-01-14 | 北京旷视科技有限公司 | Tree component rendering method and device, data processing equipment and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227552A (en) * | 2007-12-05 | 2008-07-23 | 深圳创维数字技术股份有限公司 | Method for developing set-top box menu |
US20080252923A1 (en) * | 2007-04-10 | 2008-10-16 | Canon Kabushiki Kaisha | External terminal control apparatus and control method thereof |
CN101704411A (en) * | 2009-11-04 | 2010-05-12 | 北京航空航天大学 | Flight remote controller suitable for unmanned plane |
CN103631588A (en) * | 2013-11-20 | 2014-03-12 | 中国电子科技集团公司第四十一研究所 | Menu configuration method based on modular instrument |
-
2016
- 2016-01-11 CN CN201610015108.7A patent/CN105700778A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080252923A1 (en) * | 2007-04-10 | 2008-10-16 | Canon Kabushiki Kaisha | External terminal control apparatus and control method thereof |
CN101227552A (en) * | 2007-12-05 | 2008-07-23 | 深圳创维数字技术股份有限公司 | Method for developing set-top box menu |
CN101704411A (en) * | 2009-11-04 | 2010-05-12 | 北京航空航天大学 | Flight remote controller suitable for unmanned plane |
CN103631588A (en) * | 2013-11-20 | 2014-03-12 | 中国电子科技集团公司第四十一研究所 | Menu configuration method based on modular instrument |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110688531A (en) * | 2019-08-26 | 2020-01-14 | 北京旷视科技有限公司 | Tree component rendering method and device, data processing equipment and medium |
CN110688531B (en) * | 2019-08-26 | 2022-08-26 | 北京旷视科技有限公司 | Tree component rendering method and device, data processing equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10146407B2 (en) | Physical object detection and touchscreen interaction | |
CN102779009B (en) | Method and terminal for displaying application program interface | |
US20120192078A1 (en) | Method and system of mobile virtual desktop and virtual trackball therefor | |
Mine et al. | Making VR work: building a real-world immersive modeling application in the virtual world | |
Gesslein et al. | Pen-based interaction with spreadsheets in mobile virtual reality | |
JP2009537051A (en) | Multi-touch usage, gestures and implementation | |
US20190004698A1 (en) | Virtual tools for use with touch-sensitive surfaces | |
JP2011128962A (en) | Information processing apparatus and method, and computer program | |
US20110131533A1 (en) | Apparatus and method for user interface configuration in portable terminal | |
CN101976142A (en) | Method for preventing accidental touch operation of touch screen device | |
US20220350418A1 (en) | Composite computer keyboard | |
US20120179963A1 (en) | Multi-touch electronic device, graphic display interface thereof and object selection method of multi-touch display | |
CN110471587A (en) | Exchange method, interactive device, terminal and computer readable storage medium | |
Yang et al. | Mobile augmented reality authoring tool | |
JP2012022458A (en) | Information processing apparatus and control method thereof | |
CN110427138A (en) | Translation information processing method, device, electronic equipment and storage medium | |
US9582033B2 (en) | Apparatus for providing a tablet case for touch-sensitive devices | |
CN105700778A (en) | Tree-shaped navigation menu generation method for handheld controller | |
CN106815020A (en) | A kind of software implementation method for supporting User Defined function items | |
Mine et al. | Principles, interactions and devices for real-world immersive modeling | |
GB2516345A (en) | Physical object detection and touchscreen interaction | |
CN108536372A (en) | A kind of touch screen information system Human-computer Interactive Design method | |
TWI478047B (en) | Electronic device and quickly sending email method thereof | |
JPH08115194A (en) | Help display method for information processing system | |
Vogelsang et al. | A design space for user interface elements using finger orientation input |
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 |
Application publication date: 20160622 |
|
RJ01 | Rejection of invention patent application after publication |