model_ptz.c File Reference

#include <math.h>
#include "stage_internal.h"
#include "gui.h"

Functions

int ptz_init (stg_model_t *mod)
void ptz_load (stg_model_t *mod)
int ptz_render_cfg (stg_model_t *mod, void *userp)
int ptz_render_data (stg_model_t *mod, void *userp)
int ptz_shutdown (stg_model_t *mod)
int ptz_startup (stg_model_t *mod)
int ptz_unrender_cfg (stg_model_t *mod, void *userp)
int ptz_unrender_data (stg_model_t *mod, void *userp)
int ptz_update (stg_model_t *mod)

Variables

int _stg_disable_gui
stg_rtk_fig_tfig_debug_rays
const double STG_DEFAULT_PTZ_PAN = 0.0
const double STG_DEFAULT_PTZ_TILT = 0.0
const double STG_DEFAULT_PTZ_ZOOM = DTOR(60)
const stg_color_t STG_PTZ_COLOR = 0x000080
const double STG_PTZ_SIZE_X = 0.1
const double STG_PTZ_SIZE_Y = 0.1
const double STG_PTZ_SPEED_PAN = 1.0
const double STG_PTZ_SPEED_TILT = 0.0
const double STG_PTZ_SPEED_ZOOM = 0.3
const double STG_PTZ_WATTS = 1.0

Function Documentation

int ptz_render_cfg ( stg_model_t mod,
void *  userp 
)

int ptz_shutdown ( stg_model_t mod  ) 

References PRINT_DEBUG.

Referenced by ptz_init().

int ptz_startup ( stg_model_t mod  ) 

int ptz_unrender_cfg ( stg_model_t mod,
void *  userp 
)

int ptz_unrender_data ( stg_model_t mod,
void *  userp 
)

References stg_model_fig_clear().

int ptz_update ( stg_model_t mod  ) 


Variable Documentation

const double STG_DEFAULT_PTZ_PAN = 0.0

Referenced by ptz_init().

const double STG_DEFAULT_PTZ_TILT = 0.0

Referenced by ptz_init().

const double STG_DEFAULT_PTZ_ZOOM = DTOR(60)

Referenced by ptz_init().

const stg_color_t STG_PTZ_COLOR = 0x000080

Referenced by ptz_init().

const double STG_PTZ_SIZE_X = 0.1

Referenced by ptz_init().

const double STG_PTZ_SIZE_Y = 0.1

Referenced by ptz_init().

const double STG_PTZ_SPEED_PAN = 1.0

Referenced by ptz_init().

const double STG_PTZ_SPEED_TILT = 0.0

Referenced by ptz_init().

const double STG_PTZ_SPEED_ZOOM = 0.3

Referenced by ptz_init().

const double STG_PTZ_WATTS = 1.0

Referenced by ptz_startup().


Generated on Wed Jun 3 23:12:29 2009 for Stage by  doxygen 1.5.9