_stg_world Struct Reference
[Internals]
#include <stage_internal.h>
Data Fields | |
int | child_type_count [256] |
gboolean | destroy |
stg_msec_t | gui_interval |
stg_msec_t | gui_last_update |
stg_msec_t | gui_menu_interval |
stg_msec_t | gui_menu_last_update |
stg_meters_t | height |
stg_id_t | id |
struct _stg_matrix * | matrix |
GHashTable * | models |
GHashTable * | models_by_name |
gboolean | paused |
double | ppm |
stg_msec_t | real_interval_measured |
GList * | selected_models |
stg_msec_t | sim_interval |
stg_msec_t | sim_time |
int | subs |
char * | token |
stg_msec_t | wall_interval |
stg_msec_t | wall_last_update |
stg_meters_t | width |
gui_window_t * | win |
Field Documentation
int _stg_world::child_type_count[256] |
the number of models of each type is counted so we can automatically generate names for them
gboolean _stg_world::destroy |
this world should be destroyed ASAP
real-time interval between GUI canvas updates
the wall-clock time of the last gui canvas update
real-time interval between GUI menu updates
the wall-clock time of the last gui menu update
y size of the world
Stage's unique identifier for this world.
struct _stg_matrix* _stg_world::matrix [read] |
occupancy quadtree for model raytracing
GHashTable* _stg_world::models |
the models that make up the world, indexed by id
GHashTable* _stg_world::models_by_name |
the models that make up the world, indexed by name
gboolean _stg_world::paused |
the world only updates when this is zero
double _stg_world::ppm |
the resolution of the world model in pixels per meter
the wallclock-time interval elapsed between the last two updates - compare this with sim_interval to see the ratio of sim to real time
GList* _stg_world::selected_models |
a list of models that are currently selected by the user
this much simulated time elapses each step.
the current time in this world
int _stg_world::subs |
the total number of subscriptions to all models
char* _stg_world::token |
the name of this world
real-time interval between updates - set this to zero for 'as fast as possible'
the wall-clock time of the last world update
x size of the world
the gui window associated with this world
The documentation for this struct was generated from the following file:
Generated on Wed Jun 3 23:12:29 2009 for Stage by
