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

◆ coord_shift()

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

Definition at line 6 of file gl.cc.

◆ draw_array() [1/2]

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.

◆ draw_array() [2/2]

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

Definition at line 47 of file gl.cc.

◆ draw_centered_rect()

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 120 of file gl.cc.

◆ draw_grid()

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

Definition at line 140 of file gl.cc.

◆ draw_octagon() [1/2]

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

Definition at line 90 of file gl.cc.

◆ draw_octagon() [2/2]

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

Definition at line 106 of file gl.cc.

◆ draw_origin()

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

Definition at line 133 of file gl.cc.

◆ draw_speech_bubble()

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

Definition at line 83 of file gl.cc.

◆ draw_string()

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 61 of file gl.cc.

◆ draw_string_multiline()

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

Definition at line 75 of file gl.cc.

◆ draw_vector()

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

Definition at line 125 of file gl.cc.

◆ pose_inverse_shift()

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

Definition at line 18 of file gl.cc.

◆ pose_shift()

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 Feb 28 2022 23:48:56