Stg::WorldGui Class Reference

#include <stage.hh>

Inherits Stg::World.

List of all members.

Public Member Functions

virtual std::string ClockString () const
void DrawBoundingBoxTree ()
std::string EnergyString (void)
CanvasGetCanvas (void) const
virtual bool IsGUI () const
virtual void Load (const char *filename)
stg_usec_t RealTimeNow (void) const
virtual ModelRecentlySelectedModel () const
virtual void RemoveChild (Model *mod)
virtual bool Save (const char *filename)
void Show ()
virtual void Start ()
virtual void Stop ()
virtual void UnLoad ()
virtual bool Update ()
 WorldGui (int W, int H, const char *L=0)
 ~WorldGui ()

Protected Member Functions

void DrawOccupancy ()
void DrawVoxels ()
virtual void PopColor ()
virtual void PushColor (double r, double g, double b, double a)
virtual void PushColor (Color col)

Detailed Description

Extends World to implement an FLTK / OpenGL graphical user interface.


Constructor & Destructor Documentation

WorldGui::WorldGui ( int  W,
int  H,
const char *  L = 0 
)
WorldGui::~WorldGui (  ) 

Member Function Documentation

std::string WorldGui::ClockString ( void   )  const [virtual]

Get human readable string that describes the current simulation time.

Reimplemented from Stg::World.

void WorldGui::DrawBoundingBoxTree (  ) 
void WorldGui::DrawOccupancy (  )  [protected]
void WorldGui::DrawVoxels (  )  [protected]
std::string WorldGui::EnergyString ( void   ) 

Get human readable string that describes the current global energy state.

Canvas* Stg::WorldGui::GetCanvas ( void   )  const [inline]
virtual bool Stg::WorldGui::IsGUI (  )  const [inline, virtual]

Reimplemented from Stg::World.

void WorldGui::Load ( const char *  filename  )  [virtual]

Reimplemented from Stg::World.

void WorldGui::PopColor (  )  [protected, virtual]

Reimplemented from Stg::World.

void WorldGui::PushColor ( double  r,
double  g,
double  b,
double  a 
) [protected, virtual]

Reimplemented from Stg::World.

void WorldGui::PushColor ( Color  col  )  [protected, virtual]

Reimplemented from Stg::World.

stg_usec_t WorldGui::RealTimeNow ( void   )  const
Model * WorldGui::RecentlySelectedModel (  )  const [virtual]
void WorldGui::RemoveChild ( Model mod  )  [virtual]

Reimplemented from Stg::Ancestor.

bool WorldGui::Save ( const char *  filename  )  [virtual]

Reimplemented from Stg::World.

void WorldGui::Show (  ) 

show the window - need to call this if you don't Load().

void WorldGui::Start (  )  [virtual]

Reimplemented from Stg::World.

void WorldGui::Stop (  )  [virtual]

Reimplemented from Stg::World.

void WorldGui::UnLoad (  )  [virtual]

Reimplemented from Stg::World.

bool WorldGui::Update ( void   )  [virtual]

Reimplemented from Stg::World.


The documentation for this class was generated from the following files:

Generated on Tue Oct 20 15:42:06 2009 for Stage by  doxygen 1.6.1