Functions
Stg::Gl Namespace Reference

Functions

void coord_shift (double x, double y, double z, double a)
 
void draw_array (float x, float y, float w, float h, float *data, size_t len, size_t offset, float min, float max)
 
void draw_array (float x, float y, float w, float h, float *data, size_t len, size_t offset)
 
void draw_centered_rect (float x, float y, float dx, float dy)
 
void draw_grid (bounds3d_t vol)
 
void draw_octagon (float w, float h, float m)
 
void draw_octagon (float x, float y, float w, float h, float m)
 
void draw_origin (double len)
 
void draw_speech_bubble (float x, float y, float z, const char *str)
 
void draw_string (float x, float y, float z, const char *string)
 
void draw_string_multiline (float x, float y, float w, float h, const char *string, Fl_Align align)
 
void draw_vector (double x, double y, double z)
 
void pose_inverse_shift (const Pose &pose)
 
void pose_shift (const Pose &pose)
 

Detailed Description

Convenient OpenGL drawing routines, used by visualization code.

Function Documentation

void Stg::Gl::coord_shift ( double  x,
double  y,
double  z,
double  a 
)

Definition at line 6 of file gl.cc.

void Stg::Gl::draw_array ( float  x,
float  y,
float  w,
float  h,
float *  data,
size_t  len,
size_t  offset,
float  min,
float  max 
)

Definition at line 24 of file gl.cc.

void Stg::Gl::draw_array ( float  x,
float  y,
float  w,
float  h,
float *  data,
size_t  len,
size_t  offset 
)

Definition at line 49 of file gl.cc.

void Stg::Gl::draw_centered_rect ( float  x,
float  y,
float  dx,
float  dy 
)

Draws a rectangle with center at x,y, with sides of length dx,dy

Definition at line 121 of file gl.cc.

void Stg::Gl::draw_grid ( bounds3d_t  vol)

Definition at line 141 of file gl.cc.

void Stg::Gl::draw_octagon ( float  w,
float  h,
float  m 
)

Definition at line 90 of file gl.cc.

void Stg::Gl::draw_octagon ( float  x,
float  y,
float  w,
float  h,
float  m 
)

Definition at line 106 of file gl.cc.

void Stg::Gl::draw_origin ( double  len)

Definition at line 134 of file gl.cc.

void Stg::Gl::draw_speech_bubble ( float  x,
float  y,
float  z,
const char *  str 
)

Definition at line 83 of file gl.cc.

void Stg::Gl::draw_string ( float  x,
float  y,
float  z,
const char *  string 
)

Render a string at [x,y,z] in the current color

Definition at line 65 of file gl.cc.

void Stg::Gl::draw_string_multiline ( float  x,
float  y,
float  w,
float  h,
const char *  string,
Fl_Align  align 
)

Definition at line 77 of file gl.cc.

void Stg::Gl::draw_vector ( double  x,
double  y,
double  z 
)

Definition at line 126 of file gl.cc.

void Stg::Gl::pose_inverse_shift ( const Pose pose)

Definition at line 18 of file gl.cc.

void Stg::Gl::pose_shift ( const Pose pose)

Definition at line 13 of file gl.cc.



stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12