Functions
laser_data_cairo.c File Reference
#include <string.h>
#include <cairo-pdf.h>
#include <stdlib.h>
#include <limits.h>
#include "laser_data_cairo.h"
Include dependency graph for laser_data_cairo.c:

Go to the source code of this file.

Functions

const char * cat (const char *a, const char *b)
 
void cr_ld_draw (cairo_t *cr, LDP ld, ld_style *p)
 
void cr_ld_draw_corr (cairo_t *cr, LDP laser_ref, LDP laser_sens)
 
void cr_ld_draw_countour (cairo_t *, LDP, double, double)
 
void cr_ld_draw_normals (cairo_t *cr, LDP ld, double length)
 
void cr_ld_draw_points (cairo_t *, LDP, double radius)
 
void cr_ld_draw_rays (cairo_t *, LDP)
 
void cr_ld_draw_sigma (cairo_t *cr, LDP ld, double multiplier)
 
void cr_lda_draw_pose_path (cairo_t *cr, LDP *scans, int nscans, ld_reference use_reference)
 
void cr_set_color (cairo_t *cr, const char *color)
 
void cr_set_reference (cairo_t *cr, double *pose)
 
void cr_set_style (cairo_t *cr, line_style *ls)
 
int create_image_surface (int max_width_pixels, int max_height_pixels, double bb_min[2], double bb_max[2], cairo_surface_t **surface_p, cairo_t **cr)
 
int create_pdf_surface (const char *file, int max_width_points, int max_height_points, double bb_min[2], double bb_max[2], cairo_surface_t **surface_p, cairo_t **cr)
 
void lds_add_options (ld_style *lds, struct option *ops, const char *prefix, const char *desc_prefix)
 
void lds_set_defaults (ld_style *lds)
 
void ls_add_options (line_style *ls, struct option *ops, const char *prefix, const char *desc_prefix)
 
void ls_set_defaults (line_style *ls)
 

Function Documentation

const char * cat ( const char *  a,
const char *  b 
)

Definition at line 46 of file laser_data_cairo.c.

void cr_ld_draw ( cairo_t *  cr,
LDP  ld,
ld_style p 
)

Definition at line 256 of file laser_data_cairo.c.

void cr_ld_draw_corr ( cairo_t *  cr,
LDP  laser_ref,
LDP  laser_sens 
)

Definition at line 20 of file laser_data_cairo.c.

void cr_ld_draw_countour ( cairo_t *  cr,
LDP  ld,
double  horizon,
double  connect_threshold 
)

Definition at line 185 of file laser_data_cairo.c.

void cr_ld_draw_normals ( cairo_t *  cr,
LDP  ld,
double  length 
)

Definition at line 219 of file laser_data_cairo.c.

void cr_ld_draw_points ( cairo_t *  cr,
LDP  ld,
double  radius 
)

Definition at line 207 of file laser_data_cairo.c.

void cr_ld_draw_rays ( cairo_t *  cr,
LDP  ld 
)

Definition at line 166 of file laser_data_cairo.c.

void cr_ld_draw_sigma ( cairo_t *  cr,
LDP  ld,
double  multiplier 
)

Definition at line 235 of file laser_data_cairo.c.

void cr_lda_draw_pose_path ( cairo_t *  cr,
LDP scans,
int  nscans,
ld_reference  use_reference 
)

Definition at line 143 of file laser_data_cairo.c.

void cr_set_color ( cairo_t *  cr,
const char *  color 
)

Definition at line 103 of file laser_data_cairo.c.

void cr_set_reference ( cairo_t *  cr,
double *  pose 
)

Definition at line 290 of file laser_data_cairo.c.

void cr_set_style ( cairo_t *  cr,
line_style ls 
)

Definition at line 138 of file laser_data_cairo.c.

int create_image_surface ( int  max_width_pixels,
int  max_height_pixels,
double  bb_min[2],
double  bb_max[2],
cairo_surface_t **  surface_p,
cairo_t **  cr 
)

Definition at line 362 of file laser_data_cairo.c.

int create_pdf_surface ( const char *  file,
int  max_width_points,
int  max_height_points,
double  bb_min[2],
double  bb_max[2],
cairo_surface_t **  surface_p,
cairo_t **  cr 
)

Definition at line 326 of file laser_data_cairo.c.

void lds_add_options ( ld_style lds,
struct option ops,
const char *  prefix,
const char *  desc_prefix 
)

Definition at line 70 of file laser_data_cairo.c.

void lds_set_defaults ( ld_style lds)

Definition at line 301 of file laser_data_cairo.c.

void ls_add_options ( line_style ls,
struct option ops,
const char *  prefix,
const char *  desc_prefix 
)

Definition at line 55 of file laser_data_cairo.c.

void ls_set_defaults ( line_style ls)

Definition at line 295 of file laser_data_cairo.c.



csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23