00001 #ifndef H_GTK_VIEWER 00002 #define H_GTK_VIEWER 00003 00004 #include <csm/csm_all.h> 00005 #include <csm/laser_data_cairo.h> 00006 00007 struct GooLaserData; 00008 00009 typedef struct { 00010 ld_style laser; 00011 line_style pose_path; 00012 00013 const char *use; 00014 ld_reference use_reference; 00015 const char * input_filename; 00016 00017 oriented_bbox viewport; 00018 00019 LDP* scans; 00020 struct GooLaserData** scans_items; 00021 int scans_size; 00022 int scans_num; 00023 00024 double device_size[2]; 00025 00026 GooCanvasItem *root; 00027 GooCanvas*canvas; 00028 } viewer_params; 00029 00030 void compute_transformations(viewer_params*p); 00031 00032 #endif