
#include <gui.h>
Inheritance diagram for Gui::

Public Methods | |
| Gui (Render *render) | |
| The window. | |
| virtual | ~Gui () |
| virtual void | Start () |
| Start running the Gui. | |
| virtual void | HandleEvents ()=0 |
| Process any IO events (may be used by Render). | |
| virtual void | ButtonHandle (int b) |
| Figure out what actions to take based on menu choices. | |
Public Attributes | |
| Render* | R |
| bool | Finished |
| Set to true if you want to main loop to terminate. | |
Protected Methods | |
| virtual void | CreateWindow () |
| Make the menu window. | |
| virtual void | Init () |
| Initialize Gui and Render. | |
| virtual void | MainLoop () |
| The main event processing loop. | |
Protected Attributes | |
| string | FilePath |
The graphical user interface (GUI) is designed as a hierarchy of classes to enable specific user interfaces to be designed for a variety of different motion strategy problems and planning algorithms. Currently, there is one derived class which serves as the GUI for all of the RRT-based planners. Each instance of Gui includes an instance of an RRT Planner class and an instance of a Render class. Using this design, the same basic GUI design can be used, regardless of the particular rendering methods.
|
|
The window.
|
|
|
|
|
|
Figure out what actions to take based on menu choices.
Reimplemented in GuiPlanner. |
|
|
Make the menu window.
|
|
|
Process any IO events (may be used by Render).
Reimplemented in GuiPlanner. |
|
|
Initialize Gui and Render.
Reimplemented in GuiPlanner. |
|
|
The main event processing loop.
|
|
|
Start running the Gui.
|
|
|
|
|
|
Set to true if you want to main loop to terminate.
|
|
|
|