|
Modules |
Model Properties |
Data Structures |
struct | stg_cbarg_t |
Defines |
#define | STG_PROPNAME_MAX 128 |
Typedefs |
typedef int(* | stg_property_callback_t )(stg_model_t *mod, char *propname, void *data, size_t len, void *userdata) |
typedef int(* | stg_model_initializer_t )(stg_model_t *) |
Functions |
stg_model_t * | stg_model_create (stg_world_t *world, stg_model_t *parent, stg_id_t id, char *token, stg_model_initializer_t initializer) |
void | stg_model_destroy (stg_model_t *mod) |
void | stg_model_get_global_pose (stg_model_t *mod, stg_pose_t *gpose) |
void | stg_model_subscribe (stg_model_t *mod) |
void | stg_model_unsubscribe (stg_model_t *mod) |
void | stg_model_load (stg_model_t *mod) |
void | stg_model_save (stg_model_t *model) |
int | stg_model_set_global_pose (stg_model_t *mod, stg_pose_t *gpose) |
int | stg_model_set_velocity (stg_model_t *mod, stg_velocity_t *vel) |
int | stg_model_set_parent (stg_model_t *mod, stg_model_t *newparent) |
void | stg_model_get_geom (stg_model_t *mod, stg_geom_t *dest) |
void | stg_model_get_velocity (stg_model_t *mod, stg_velocity_t *dest) |
void | stg_model_set_property (stg_model_t *mod, const char *propname, void *data, size_t len) |
void * | stg_model_get_property (stg_model_t *mod, const char *name, size_t *size) |
void * | stg_model_get_property_fixed (stg_model_t *mod, const char *name, size_t size) |
void | stg_model_property_refresh (stg_model_t *mod, const char *propname) |
stg_polygon_t * | stg_model_get_polygons (stg_model_t *mod, size_t *poly_count) |
void | stg_model_set_polygons (stg_model_t *mod, stg_polygon_t *polys, size_t poly_count) |
int | stg_model_add_property_callback (stg_model_t *mod, const char *propname, stg_property_callback_t callback, void *user) |
int | stg_model_remove_property_callback (stg_model_t *mod, const char *propname, stg_property_callback_t callback) |
int | stg_model_remove_property_callbacks (stg_model_t *mod, const char *propname) |
void | stg_model_print (stg_model_t *mod) |
int | stg_model_is_antecedent (stg_model_t *mod, stg_model_t *testmod) |
int | stg_model_is_descendent (stg_model_t *mod, stg_model_t *testmod) |
int | stg_model_is_related (stg_model_t *mod1, stg_model_t *mod2) |
stg_model_t * | stg_model_root (stg_model_t *mod) |
GPtrArray * | stg_model_array_from_tree (stg_model_t *root) |
int | stg_model_startup (stg_model_t *mod) |
int | stg_model_shutdown (stg_model_t *mod) |
int | stg_model_update (stg_model_t *mod) |
void | stg_model_global_to_local (stg_model_t *mod, stg_pose_t *pose) |
void | stg_model_local_to_global (stg_model_t *mod, stg_pose_t *pose) |
void | stg_model_add_property_toggles (stg_model_t *mod, const char *propname, stg_property_callback_t callback_on, void *arg_on, stg_property_callback_t callback_off, void *arg_off, const char *label, int enabled) |
int | stg_model_fig_clear_cb (stg_model_t *mod, void *data, size_t len, void *userp) |