Functions | Variables
gtk_viewer1.c File Reference
#include <stdlib.h>
#include <goocanvas.h>
#include "goo_laser_data.h"
#include "gtk_viewer.h"
Include dependency graph for gtk_viewer1.c:

Go to the source code of this file.

Functions

void compute_transformations (viewer_params *p)
 
void item_to_world (const double pose[3], cairo_matrix_t *m)
 
int main (int argc, char **argv)
 
static gboolean on_delete_event (GtkWidget *window, GdkEvent *event, gpointer unused_data)
 
static gboolean on_rect_button_press (GooCanvasItem *view, GooCanvasItem *target, GdkEventButton *event, gpointer data)
 
void * reading_thread (void *data)
 
void world_to_viewport (const oriented_bbox *obbox, const double device_size[2], cairo_matrix_t *m)
 

Variables

GooCanvasItem * rect_item
 
GooCanvasItem * text_item
 

Function Documentation

◆ compute_transformations()

void compute_transformations ( viewer_params p)

Definition at line 184 of file gtk_viewer1.c.

◆ item_to_world()

void item_to_world ( const double  pose[3],
cairo_matrix_t *  m 
)

Definition at line 178 of file gtk_viewer1.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 20 of file gtk_viewer1.c.

◆ on_delete_event()

static gboolean on_delete_event ( GtkWidget *  window,
GdkEvent *  event,
gpointer  unused_data 
)
static

Definition at line 259 of file gtk_viewer1.c.

◆ on_rect_button_press()

static gboolean on_rect_button_press ( GooCanvasItem *  view,
GooCanvasItem *  target,
GdkEventButton *  event,
gpointer  data 
)
static

Definition at line 246 of file gtk_viewer1.c.

◆ reading_thread()

void * reading_thread ( void *  data)

Definition at line 116 of file gtk_viewer1.c.

◆ world_to_viewport()

void world_to_viewport ( const oriented_bbox obbox,
const double  device_size[2],
cairo_matrix_t *  m 
)

Definition at line 161 of file gtk_viewer1.c.

Variable Documentation

◆ rect_item

GooCanvasItem* rect_item

Definition at line 18 of file gtk_viewer1.c.

◆ text_item

GooCanvasItem* text_item

Definition at line 17 of file gtk_viewer1.c.



csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:34