#include <gui.h>
Inheritance diagram for Gui:
Public Methods | |
Gui (Render *render) | |
The window. More... | |
virtual | ~Gui () |
virtual void | Start () |
Start running the Gui. More... | |
virtual void | HandleEvents ()=0 |
Process any IO events (may be used by Render). More... | |
virtual void | ButtonHandle (int b) |
Figure out what actions to take based on menu choices. More... | |
Public Attributes | |
Render * | R |
bool | Finished |
Set to true if you want to main loop to terminate. More... | |
Protected Methods | |
virtual void | CreateWindow () |
Make the menu window. More... | |
virtual void | Init () |
Initialize Gui and Render. More... | |
virtual void | MainLoop () |
The main event processing loop. More... | |
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).
Implemented 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.
|
|
|