You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

02-interface.rst 9.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. Interface Overview
  2. ==================
  3. .. figure:: images/studio-interface-annotated.png
  4. :alt: |Brand| |AuthTool| Interface
  5. :align: center
  6. |Brand| |AuthTool| Interface
  7. The following sections are an overview of the main features of |AuthTool| tool, and make for a quick and easy introduction to its usage. Here are the topics covered in this overview:
  8. - Top Level **Menu Bar**
  9. - **Toolbar**, which provides immediate access to the most common actions (Scenario File Edition, Window Manager, Active Logs Level, Add Comment Box, Edit Scenario Information, Scenario Control, …)
  10. - **Available Boxes** tree view
  11. - **Scenario Settings**
  12. - **Scenario I/O Controls**
  13. - **Status Bar**, which provides performance information when a scenario is being run
  14. - **Message Console** which prints Info, Warning or Error messages
  15. - **Scenario Authoring** window, where boxes may be arranged together in order to fulfill the task at hand.
  16. - |BulletEngCtrlPanel|
  17. Menu Bar
  18. --------
  19. Options available from the menu bar are presently restricted to actions involving handling and exiting the application. Scenarios can be saved to MXS (Mensia XML Scenario) or to XML files (as does OpenViBE). Several scenarios may be edited simultaneously, and the active scenario may be changed by clicking onto the corresponding tab at the top of the scenario editor window. Here is a list of options from the menu bar and their shortcuts if available:
  20. The File menu handles standard scenario operations such as creation, saving and closing. Note that the application won't quit as long as at least one scenario is running.
  21. .. figure:: images/menubar-file.png
  22. :alt: File Menu
  23. :align: right
  24. - New – **Ctrl+n**: open a new scenario in a new tab:
  25. - Open – **Ctrl+o**: open a file selection dialog to select an existing scenario file
  26. - Recent Scenarios: access recently closed scenarios
  27. - Save – **Ctrl+s**: save current scenario
  28. - Save As: save the current scenario in another file
  29. - Close - **Ctrl+w**: close current scenario tab
  30. - Quit – **Alt+F4**: quit |AuthTool|
  31. The Edit menu allows the user to cut/copy/paste selections (in a scenario or across scenarios). These options can also be accessed when right-clicking on a box. User actions are saved during scenario editing and can be retrieved through undo-redo.
  32. .. figure:: images/menubar-edit.png
  33. :alt: Edit Menu
  34. :align: right
  35. - Find – **Ctrl+f**: direct to filter box to make a search in the list of boxes
  36. - Undo – **Ctrl+z**: cancel the last edition operation
  37. - Redo – **Ctrl+y**: redo the operation you just cancelled
  38. - Cut – **Ctrl+x**: cut current selection
  39. - Copy – **Ctrl+c**: copy current selection
  40. - Paste – **Ctrl+v**: paste current selection
  41. - Delete – **Del**: delete current selection
  42. - Preferences: this item displays the Configuration Manager dialog. It contains a list of all configuration tokens and their values. This list is read only. To know more about the Configuration Manager, refer to The Configuration Manager documentation paragraph.
  43. The Help menu allows the user to open some various utilities applications.
  44. .. figure:: images/menubar-help.png
  45. :alt: Help Menu
  46. :align: right
  47. - About this scenario – allow to add a scenario description see: Adding metadata
  48. - About |Brand| – display Credits for |AuthTool|
  49. - Browse documentation – Open box documentation
  50. - Register License – Open tool to add a license
  51. - Report issue – Open the support website, see: Support
  52. - What's new in version 3.0.x.x of |AuthTool|
  53. Toolbar
  54. -------
  55. .. figure:: images/toolbar-annotated.png
  56. :alt: Toolbar
  57. :align: center
  58. NeuorRT |AuthTool| Toolbar
  59. The first section of the tools bar offers direct access to the scenario handling options that you can find in the menu *File*.
  60. Next section contains the Undo and Redo buttons.
  61. After these you have controls for various functionalities of |Brand| |AuthTool|:
  62. - :ref:`window-manager`
  63. - :ref:`log-levels`
  64. - :ref:`scenario-comments`
  65. - :ref:`scenario-information`
  66. - :ref:`scenario-controls`
  67. - |BulletEngCtrlPanel|
  68. .. _window-manager:
  69. Window Manager
  70. --------------
  71. .. image:: images/icon-window-manager.png
  72. The **Window Manager** button is a toggle button, allowing for displaying and hiding the **window manager**. This tool is displayed in a popup window when the button is pressed. It takes care of arranging visualization boxes in a layout. Such boxes (if any in the current scenario) initially appear under the 'Unaffected display plugins' node of the tree view in the upper left corner. A window containing one tab is also created by default and displayed on the right, as below:
  73. .. figure:: images/window-manager.png
  74. :alt: Window Manager
  75. :align: center
  76. Window manager popup dialog for a scenario with 4 visualization boxes, by default
  77. Users may create any number of windows containing any number of tabs, and then drag and drop visualization boxes onto such tabs in a tree-like structure. If the user chooses to not use the window manager all visualization boxes will be given their own window, displayed when the scenario is being played. For a more in-depth review of the window manager usage, see the Window Manager Tutorial.
  78. .. figure:: images/window-manager-4-panes.png
  79. :alt: Window Manager with 4 panes
  80. :align: center
  81. Window manager popup dialog for a scenario with 4 organized visualization boxes
  82. .. _log-levels:
  83. Log Levels
  84. ----------
  85. .. image:: images/icon-log-levels.png
  86. The second button displays the log levels dialog ( ). It may be used to configure which log messages should be displayed in the console. It contains 8 levels as shown in the following figure:
  87. .. figure:: images/log-levels.png
  88. :alt: Log Levels
  89. :align: center
  90. Log Levels Dialog
  91. *Warnings* and *Errors* should always be selected. *Information* displays useful messages from signal processing boxes. *Trace* can be used to check step-by-step the processing in the boxes and the kernel. *Benchmark* and *Debug* are very verbose and should not be used with |AuthTool| console (only in log files).
  92. .. _scenario-comments:
  93. Scenario Comments
  94. -----------------
  95. .. image:: images/icon-add-comment.png
  96. This button adds a dedicated comment box to the scenario. These boxes have of course no input and outputs. Double click on them to edit the comment they display. The syntax of the comments uses `pango style <http://www.gtk.org/api/2.6/pango/PangoMarkupFormat.html>`__, the style buttons can help you format your comment.
  97. .. figure:: images/scenario-comment.png
  98. :alt: Scenario Comment
  99. :align: center
  100. Comment, as it appears in a scenario
  101. .. figure:: images/scenario-comment-editor.png
  102. :alt: Scenario Comment Editor
  103. :align: center
  104. Comment Editor Dialog
  105. .. _scenario-information:
  106. Scenario Description
  107. --------------------
  108. .. image:: images/icon-scenario-information.png
  109. This buttons allows editing of some information that will be saved with the scenario (name, authors, date, description, etc.).
  110. .. figure:: images/scenario-information.png
  111. :alt: Scenario Description Edit Dialog
  112. :align: center
  113. Scenario Description
  114. .. _scenario-controls:
  115. Scenario Controls
  116. -----------------
  117. .. image:: images/icon-scenario-controls.png
  118. Scenario controls work like a media player would.
  119. - Stop – **F5**: go back to scenario edition mode
  120. - Step – **F6**: play scenario one step of simulation at a time
  121. - Play/Pause – **F7**: play scenario in real time or pause it if it is already running
  122. - Fast Forward – **F8**: play scenario as fast as possible
  123. Once a scenario is being played, it is not possible to modify it. Press *Stop* to go back in edition mode. Shortcuts from F5 to F8 can be used only if the focus is on |AuthTool| main window (not on visualization windows for example).
  124. Finally, the toolbar contains a time counter which displays the simulation time as a scenario is being run. It is reset to 0 as a scenario is stopped.
  125. Box Algorithms Tree View
  126. ------------------------
  127. The right-hand part of |AuthTool| window displays a list of existing box algorithms, which are the building blocks of |Brand| scenarios.
  128. Under the *Box algorithms* tab lies a tree view listing available box algorithms, along with a short description of their respective roles. Box algorithms are the smallest granular elements that may be manipulated by a |AuthTool| user. They act as black boxes which can be connected together by their inputs and outputs. In order to facilitate their selection, they are grouped into categories, which make up the top level nodes of the tree view. Some categories are related to signal processing, others to scenario serialization or visualization purposes. The default tree view shows only stable and fully supported boxes.
  129. The status of a box varies with the context, and is reflected by the color of the font used in the tree view. The box name and description will use a cyan font if the box is deprecated, and a light grey font if it is unstable. To know more about box status, see section Box status.
  130. Status Bar
  131. ----------
  132. The status bar that lies at the bottom of the window provides performance information. When a scenario is being run, |Brand| keeps track of the time used by each box and of the overall execution time. Overall performance is displayed in a green gauge overlaid with the same information in percent. A system load 100 percent means the system is barely able to handle the computation load induced by the scenario to run in real-time.
  133. To identify the bottlenecks in a scenario, one can press the button to the right of the gauge as a scenario is being run. This will highlight boxes from green to red, depending on how much time is spent in each box relative to the others.
  134. Console
  135. -------
  136. |AuthTool| console can be expanded/hidden by a simple click. You can choose the log levels you want to see in this particular window. |AuthTool| console has been developed in order to be sure to see any warning or error messages.
  137. .. figure:: images/console-annotated.png
  138. :alt: |Brand| |AuthTool| Console
  139. :align: center
  140. |Brand| |AuthTool| Console