11.07.2015 Views

Download document (10.35 MB) - Escuela Superior de Informática ...

Download document (10.35 MB) - Escuela Superior de Informática ...

Download document (10.35 MB) - Escuela Superior de Informática ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

D.2. Código fuente <strong>de</strong> los módulos más relevantes. 14717 #<strong>de</strong>fine NO<strong>MB</strong>RE_TEMPORAL "#mocasym_temp#.###"18 #<strong>de</strong>fine NO<strong>MB</strong>RE_TEMPORAL_GESTOS "#mocasym_temp_gestos#.###"1920 #<strong>de</strong>fine VISTA_BRAZOS 021 #<strong>de</strong>fine VISTA_CARA 122 #<strong>de</strong>fine VISTA_MANOS 22324 type<strong>de</strong>f struct { /* La informacion que interesa <strong>de</strong> un fichero huesos */25 int frames_seg;26 int num_canales;27 int num_frames;28 } TInfoFichero;2930 type<strong>de</strong>f struct { /* Informacion que interesa <strong>de</strong> un fichero <strong>de</strong> gestos */31 int gestos_frames_seg;32 int gestos_num_canales;33 int gestos_num_frames;34 } TInfoFicheroGestos;3536 type<strong>de</strong>f struct { /* Un punto en 3D se <strong>de</strong>fine con 3 coor<strong>de</strong>nadas */37 double x;38 double y;39 double z;40 } TPunto3D;4142 type<strong>de</strong>f struct { /* Elemento <strong>de</strong>l vector <strong>de</strong> canales <strong>de</strong> huesos */43 GString *nombre;44 GSList *lista;45 } TElementoMo<strong>de</strong>lo3D;4647 type<strong>de</strong>f struct { /* Elemento <strong>de</strong>l vector <strong>de</strong> canales <strong>de</strong> gestos */48 GString *gestos_nombre;49 GSList *gestos_lista;50 } TElementoMo<strong>de</strong>lo3DGestos;5152 type<strong>de</strong>f struct { /* Elemento <strong>de</strong>l vector <strong>de</strong> poses <strong>de</strong> manos */53 GString *frame_clave;54 GString *mano;55 } TPoseMano;5657 type<strong>de</strong>f struct { /* Elemento <strong>de</strong>l vector <strong>de</strong> canales <strong>de</strong> manos */58 GString *mano_pose;59 GSList *mano_lista;60 } TElementoMo<strong>de</strong>loPoseManos;616263 type<strong>de</strong>f struct { /* Informacion para cada marca <strong>de</strong>l esqueleto */64 int color; /* Numero <strong>de</strong> color */65 gboolean visible; /* Es una marca visible */66 } TMarcaEsqueleto;6768 type<strong>de</strong>f struct { /* Informacion para cada hueso <strong>de</strong>l esqueleto */69 int color; /* Numero <strong>de</strong> color */70 int origen; /* Marca origen <strong>de</strong>l hueso */71 int <strong>de</strong>stino; /* Marca <strong>de</strong>stino <strong>de</strong>l hueso */72 } THuesoEsqueleto;7374 type<strong>de</strong>f struct { /* Informacion <strong>de</strong> cada color <strong>de</strong>l esqueleto */75 int numero;76 char nombre[30];

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!