Stg::StgWorldGui Class Reference
#include <stage.hh>
Inherits Stg::StgWorld.
Detailed Description
Extends StgWorld to implement an FLTK / OpenGL graphical user interface.
Public Member Functions | |
std::string | ClockString (void) |
virtual bool | IsGUI () |
virtual void | Load (const char *filename) |
virtual bool | Save (const char *filename) |
void | SetRealTimeInterval (stg_usec_t usec) |
void | Start () |
StgWorldGui (int W, int H, const char *L=0) | |
void | Stop () |
void | TogglePause () |
virtual void | UnLoad () |
virtual bool | Update () |
Static Public Attributes | |
static const stg_msec_t | DEFAULT_INTERVAL_REAL = 100 |
real time between updates | |
Protected Member Functions | |
void | DrawFloor () |
void | DrawTree (bool leaves) |
StgCanvas * | GetCanvas (void) |
virtual void | PopColor () |
virtual void | PushColor (double r, double g, double b, double a) |
virtual void | PushColor (stg_color_t col) |
Member Function Documentation
std::string StgWorldGui::ClockString | ( | void | ) |
Get human readable string that describes the current simulation time.
void Stg::StgWorldGui::SetRealTimeInterval | ( | stg_usec_t | usec | ) | [inline] |
Set the minimum real time interval between world updates, in microeconds.
The documentation for this class was generated from the following files:
- stage.hh
- worldgui.cc
Generated on Wed Jul 30 11:36:06 2008 for Stage by 1.4.7