gtsam_points
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
guik::AsyncLightViewer Class Reference

#include <async_light_viewer.hpp>

Inheritance diagram for guik::AsyncLightViewer:
Inheritance graph
[legend]
Collaboration diagram for guik::AsyncLightViewer:
Collaboration graph
[legend]

Public Member Functions

virtual ~AsyncLightViewer ()
 
void invoke (const std::function< void()> &func)
 
void invoke_after_rendering (const std::function< void()> &func)
 
void invoke_once (const std::string &label, const std::function< void()> &func)
 
void clear_images ()
 
void remove_image (const std::string &name)
 
void update_image (const std::string &name, int width, int height, const std::vector< unsigned char > &rgba_bytes, double scale=-1.0, int order=-1)
 
void clear_plots (bool clear_settings=true)
 
void remove_plot (const std::string &plot_name, const std::string &label="")
 
void setup_plot (const std::string &plot_name, int width, int height, int plot_flags=0, int x_flags=0, int y_flags=0, int order=-1)
 
void link_plot_axis (const std::string &plot_name, int link_id, int axis)
 
void link_plot_axes (const std::string &plot_name, int link_id, int axes=-1)
 
void setup_legend (const std::string &plot_name, int loc, int flags=0)
 
void fit_plot (const std::string &plot_name)
 
void fit_all_plots ()
 
void setup_plot_group_order (const std::string &group_name, int order)
 
void update_plot (const std::string &plot_name, const std::string &label, const std::shared_ptr< const PlotData > &plot)
 
void update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< double > &ys, int line_flags=0, size_t max_num_data=2048)
 
void update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< double > &xs, const std::vector< double > &ys, int line_flags=0, size_t max_num_data=2048)
 
void update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< double > &ys, int scatter_flags=0)
 
void update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< double > &xs, const std::vector< double > &ys, int scatter_flags=0)
 
void update_plot_stairs (const std::string &plot_name, const std::string &label, const std::vector< double > &ys, int stairs_flags=0)
 
void update_plot_stairs (const std::string &plot_name, const std::string &label, const std::vector< double > &xs, const std::vector< double > &ys, int stairs_flags=0)
 
void update_plot_histogram (const std::string &plot_name, const std::string &label, const std::vector< double > &xs, int bins=-2, const Eigen::Vector2d &range=Eigen::Vector2d(0.0, 0.0), int histogram_flags=0)
 
void update_plot_histogram (const std::string &plot_name, const std::string &label, const std::vector< double > &xs, const std::vector< double > &ys, int x_bins=-2, int y_bins=-2, const Eigen::Vector2d &x_range=Eigen::Vector2d(0.0, 0.0), const Eigen::Vector2d &y_range=Eigen::Vector2d(0.0, 0.0), int histogram_flags=0)
 
template<typename T >
auto update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< T > &ys, int line_flags=0, size_t max_num_data=8192 *12) -> std::enable_if_t< std::is_arithmetic_v< T >, void >
 
template<typename T1 , typename T2 >
void update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< T1 > &xs, const std::vector< T2 > &ys, int line_flags=0, size_t max_num_data=8192 *12)
 
template<typename T , int D, typename Alloc >
void update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &data, int line_flags=0, size_t max_num_data=8192 *12)
 
template<typename T , typename Func >
auto update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< T > &data, const Func &transform, int line_flags=0, size_t max_num_data=8192 *12) -> std::enable_if_t<!std::is_arithmetic_v< decltype(transform(data[0]))>, void >
 
template<typename T , typename Func >
auto update_plot_line (const std::string &plot_name, const std::string &label, const std::vector< T > &data, const Func &transform, int line_flags=0, size_t max_num_data=8192 *12) -> std::enable_if_t< std::is_arithmetic_v< decltype(transform(data[0]))>, void >
 
template<typename T >
auto update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< T > &ys, int scatter_flags=0) -> std::enable_if_t< std::is_arithmetic_v< T >, void >
 
template<typename T1 , typename T2 >
void update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< T1 > &xs, const std::vector< T2 > &ys, int scatter_flags=0)
 
template<typename T , int D, typename Alloc >
void update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &data, int scatter_flags=0)
 
template<typename T , typename Func >
auto update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< T > &data, const Func &transform, int scatter_flags=0, size_t max_num_data=8192 *12) -> std::enable_if_t<!std::is_arithmetic_v< decltype(transform(data[0]))>, void >
 
template<typename T , typename Func >
auto update_plot_scatter (const std::string &plot_name, const std::string &label, const std::vector< T > &data, const Func &transform, int scatter_flags=0, size_t max_num_data=8192 *12) -> std::enable_if_t< std::is_arithmetic_v< decltype(transform(data[0]))>, void >
 
template<typename T >
void update_plot_stairs (const std::string &plot_name, const std::string &label, const std::vector< T > &ys, int stairs_flags=0)
 
template<typename T1 , typename T2 >
void update_plot_stairs (const std::string &plot_name, const std::string &label, const std::vector< T1 > &xs, const std::vector< T2 > &ys, int stairs_flags=0)
 
template<typename T >
void update_plot_histogram (const std::string &plot_name, const std::string &label, const std::vector< T > &xs, int bins=-2, const Eigen::Vector2d &range=Eigen::Vector2d(0.0, 0.0), int histogram_flags=0)
 
template<typename T1 , typename T2 >
void update_plot_histogram (const std::string &plot_name, const std::string &label, const std::vector< T1 > &xs, const std::vector< T2 > &ys, int x_bins=-2, int y_bins=-2, const Eigen::Vector2d &x_range=Eigen::Vector2d(0.0, 0.0), const Eigen::Vector2d &y_range=Eigen::Vector2d(0.0, 0.0), int histogram_flags=0)
 
void set_plot_style (const std::string &plot_name, const std::string &label, const PlotStyleConstPtr &style)
 
void set_line_style (const std::string &plot_name, const std::string &label, const Eigen::Vector4f &color=Eigen::Vector4f(0, 0, 0, -1), float weight=-1)
 
void set_scatter_style (const std::string &plot_name, const std::string &label, int marker=0, float size=-1, const Eigen::Vector4f &fill=Eigen::Vector4f(0, 0, 0, -1), float weight=-1, const Eigen::Vector4f &outline=Eigen::Vector4f(0, 0, 0, -1))
 
AsyncLightViewerContext async_sub_viewer (const std::string &context_name, const Eigen::Vector2i &canvas_size=Eigen::Vector2i(-1, -1))
 
- Public Member Functions inherited from guik::AsyncLightViewerContext
 AsyncLightViewerContext ()
 
 AsyncLightViewerContext (LightViewerContext *context)
 
 ~AsyncLightViewerContext ()
 
void clear ()
 
void clear_text ()
 
void append_text (const std::string &text)
 
void register_ui_callback (const std::string &name, const std::function< void()> &callback=0)
 
void remove_ui_callback (const std::string &name)
 
void disable_xy_grid ()
 
void enable_xy_grid ()
 
void set_draw_xy_grid (bool draw_xy_grid)
 
void set_colormap (glk::COLORMAP colormap)
 
void set_point_shape (float point_size=1.0f, bool metric=true, bool circle=true)
 
void clear_drawables ()
 
void clear_drawables (const std::function< bool(const std::string &)> &fn)
 
void remove_drawable (const std::string &name)
 
void remove_drawable (const std::regex &regex)
 
void save_camera_settings (const std::string &path)
 
void load_camera_settings (const std::string &path)
 
void save_color_buffer (const std::string &filename)
 
void save_depth_buffer (const std::string &filename, bool real_scale=true)
 
void reset_center ()
 
void lookat (const Eigen::Vector3f &pt)
 
template<typename Vector >
void lookat (const Vector &pt)
 
void use_orbit_camera_control (double distance=80.0, double theta=0.0, double phi=-60.0f *M_PI/180.0f)
 
void use_orbit_camera_control_xz (double distance=80.0, double theta=0.0, double phi=0.0)
 
void use_topdown_camera_control (double distance=80.0, double theta=0.0)
 
void use_arcball_camera_control (double distance=80.0, double theta=0.0, double phi=-60.0f *M_PI/180.0f)
 
void use_fps_camera_control (double fovy_deg=60.0)
 
void update_drawable_setting (const std::string &name, const ShaderSetting &shader_setting)
 
void update_points (const std::string &name, const float *data, int stride, int num_points, const ShaderSetting &shader_setting)
 
template<typename Scalar , int Dim>
void update_points (const std::string &name, const Eigen::Matrix< Scalar, Dim, 1 > *points, int num_points, const ShaderSetting &shader_setting)
 
template<typename Scalar , int Dim, typename Allocator >
void update_points (const std::string &name, const std::vector< Eigen::Matrix< Scalar, Dim, 1 >, Allocator > &points, const ShaderSetting &shader_setting)
 
void update_points (const std::string &name, const float *vertices, int vertex_stride, const float *colors, int color_stride, int num_points, const ShaderSetting &shader_setting)
 
template<typename ScalarV , int DimV, typename ScalarC , int DimC>
void update_points (const std::string &name, const Eigen::Matrix< ScalarV, DimV, 1 > *points, const Eigen::Matrix< ScalarC, DimC, 1 > *colors, int num_points, const ShaderSetting &shader_setting)
 
template<typename ScalarV , int DimV, typename AllocatorV , typename ScalarC , int DimC, typename AllocatorC >
void update_points (const std::string &name, const std::vector< Eigen::Matrix< ScalarV, DimV, 1 >, AllocatorV > &points, const std::vector< Eigen::Matrix< ScalarC, DimC, 1 >, AllocatorC > &colors, const ShaderSetting &shader_setting)
 
template<typename Scalar , int Dim>
void update_normal_dists (const std::string &name, const Eigen::Matrix< Scalar, Dim, 1 > *points, const Eigen::Matrix< Scalar, Dim, Dim > *covs, int num_points, float scale, const ShaderSetting &shader_setting)
 
template<typename Scalar , int Dim, typename Alloc1 , typename Alloc2 >
void update_normal_dists (const std::string &name, const std::vector< Eigen::Matrix< Scalar, Dim, 1 >, Alloc1 > &points, const std::vector< Eigen::Matrix< Scalar, Dim, Dim >, Alloc2 > &covs, float scale, const ShaderSetting &shader_setting)
 
void update_thin_lines (const std::string &name, const float *vertices, const float *colors, int num_vertices, const unsigned int *indices, int num_indices, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename Scalar , int Dim>
void update_thin_lines (const std::string &name, const Eigen::Matrix< Scalar, Dim, 1 > *points, int num_points, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename ScalarV , int DimV, typename ScalarC , int DimC>
void update_thin_lines (const std::string &name, const Eigen::Matrix< ScalarV, DimV, 1 > *points, const Eigen::Matrix< ScalarC, DimC, 1 > *colors, int num_points, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename ScalarV , int DimV, typename ScalarC , int DimC>
void update_thin_lines (const std::string &name, const Eigen::Matrix< ScalarV, DimV, 1 > *points, const Eigen::Matrix< ScalarC, DimC, 1 > *colors, int num_points, const unsigned int *indices, int num_indices, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename Point , typename Alloc >
void update_thin_lines (const std::string &name, const std::vector< Point, Alloc > &points, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename Point , typename Alloc >
void update_thin_lines (const std::string &name, const std::vector< Point, Alloc > &points, const std::vector< unsigned int > &indices, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename Point , typename AllocP , typename Color , typename AllocC >
void update_thin_lines (const std::string &name, const std::vector< Point, AllocP > &points, const std::vector< Color, AllocC > &colors, bool line_strip, const ShaderSetting &shader_setting)
 
template<typename Point , typename AllocP , typename Color , typename AllocC >
void update_thin_lines (const std::string &name, const std::vector< Point, AllocP > &points, const std::vector< Color, AllocC > &colors, const std::vector< unsigned int > &indices, bool line_strip, const ShaderSetting &shader_setting)
 
void update_icosahedron (const std::string &name, const ShaderSetting &shader_setting)
 
void update_sphere (const std::string &name, const ShaderSetting &shader_setting)
 
void update_cube (const std::string &name, const ShaderSetting &shader_setting)
 
void update_cone (const std::string &name, const ShaderSetting &shader_setting)
 
void update_frustum (const std::string &name, const ShaderSetting &shader_setting)
 
void update_coord (const std::string &name, const ShaderSetting &shader_setting)
 
void update_wire_icosahedron (const std::string &name, const ShaderSetting &shader_setting)
 
void update_wire_sphere (const std::string &name, const ShaderSetting &shader_setting)
 
void update_wire_cube (const std::string &name, const ShaderSetting &shader_setting)
 
void update_wire_cone (const std::string &name, const ShaderSetting &shader_setting)
 
void update_wire_frustum (const std::string &name, const ShaderSetting &shader_setting)
 

Static Public Member Functions

static AsyncLightViewerinstance (const Eigen::Vector2i &size=Eigen::Vector2i(-1, -1), bool background=false, const std::string &title="screen")
 Create and run the viewer in a background thread.
 
static void destroy ()
 Destroy the viewer in the background thread.
 
static void wait ()
 Wait for the viewer to be closed.
 
static void wait_until_click ()
 Wait for a break button to be clicked.
 
static void toggle_wait ()
 Wait while a toggle checkbox is checked.
 

Additional Inherited Members

- Protected Attributes inherited from guik::AsyncLightViewerContext
LightViewerContextcontext
 

Constructor & Destructor Documentation

◆ ~AsyncLightViewer()

virtual guik::AsyncLightViewer::~AsyncLightViewer ( )
virtual

Member Function Documentation

◆ async_sub_viewer()

AsyncLightViewerContext guik::AsyncLightViewer::async_sub_viewer ( const std::string &  context_name,
const Eigen::Vector2i &  canvas_size = Eigen::Vector2i(-1, -1) 
)

◆ clear_images()

void guik::AsyncLightViewer::clear_images ( )

◆ clear_plots()

void guik::AsyncLightViewer::clear_plots ( bool  clear_settings = true)

◆ destroy()

static void guik::AsyncLightViewer::destroy ( )
static

Destroy the viewer in the background thread.

◆ fit_all_plots()

void guik::AsyncLightViewer::fit_all_plots ( )

◆ fit_plot()

void guik::AsyncLightViewer::fit_plot ( const std::string &  plot_name)

◆ instance()

static AsyncLightViewer * guik::AsyncLightViewer::instance ( const Eigen::Vector2i &  size = Eigen::Vector2i(-1, -1),
bool  background = false,
const std::string &  title = "screen" 
)
static

Create and run the viewer in a background thread.

◆ invoke()

void guik::AsyncLightViewer::invoke ( const std::function< void()> &  func)

◆ invoke_after_rendering()

void guik::AsyncLightViewer::invoke_after_rendering ( const std::function< void()> &  func)

◆ invoke_once()

void guik::AsyncLightViewer::invoke_once ( const std::string &  label,
const std::function< void()> &  func 
)

◆ link_plot_axes()

void guik::AsyncLightViewer::link_plot_axes ( const std::string &  plot_name,
int  link_id,
int  axes = -1 
)

◆ link_plot_axis()

void guik::AsyncLightViewer::link_plot_axis ( const std::string &  plot_name,
int  link_id,
int  axis 
)

◆ remove_image()

void guik::AsyncLightViewer::remove_image ( const std::string &  name)

◆ remove_plot()

void guik::AsyncLightViewer::remove_plot ( const std::string &  plot_name,
const std::string &  label = "" 
)

◆ set_line_style()

void guik::AsyncLightViewer::set_line_style ( const std::string &  plot_name,
const std::string &  label,
const Eigen::Vector4f &  color = Eigen::Vector4f(0, 0, 0, -1),
float  weight = -1 
)

◆ set_plot_style()

void guik::AsyncLightViewer::set_plot_style ( const std::string &  plot_name,
const std::string &  label,
const PlotStyleConstPtr style 
)

◆ set_scatter_style()

void guik::AsyncLightViewer::set_scatter_style ( const std::string &  plot_name,
const std::string &  label,
int  marker = 0,
float  size = -1,
const Eigen::Vector4f &  fill = Eigen::Vector4f(0, 0, 0, -1),
float  weight = -1,
const Eigen::Vector4f &  outline = Eigen::Vector4f(0, 0, 0, -1) 
)

◆ setup_legend()

void guik::AsyncLightViewer::setup_legend ( const std::string &  plot_name,
int  loc,
int  flags = 0 
)

◆ setup_plot()

void guik::AsyncLightViewer::setup_plot ( const std::string &  plot_name,
int  width,
int  height,
int  plot_flags = 0,
int  x_flags = 0,
int  y_flags = 0,
int  order = -1 
)

◆ setup_plot_group_order()

void guik::AsyncLightViewer::setup_plot_group_order ( const std::string &  group_name,
int  order 
)

◆ toggle_wait()

static void guik::AsyncLightViewer::toggle_wait ( )
static

Wait while a toggle checkbox is checked.

◆ update_image()

void guik::AsyncLightViewer::update_image ( const std::string &  name,
int  width,
int  height,
const std::vector< unsigned char > &  rgba_bytes,
double  scale = -1.0,
int  order = -1 
)

◆ update_plot()

void guik::AsyncLightViewer::update_plot ( const std::string &  plot_name,
const std::string &  label,
const std::shared_ptr< const PlotData > &  plot 
)

◆ update_plot_histogram() [1/4]

void guik::AsyncLightViewer::update_plot_histogram ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  xs,
const std::vector< double > &  ys,
int  x_bins = -2,
int  y_bins = -2,
const Eigen::Vector2d &  x_range = Eigen::Vector2d(0.0, 0.0),
const Eigen::Vector2d &  y_range = Eigen::Vector2d(0.0, 0.0),
int  histogram_flags = 0 
)

◆ update_plot_histogram() [2/4]

void guik::AsyncLightViewer::update_plot_histogram ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  xs,
int  bins = -2,
const Eigen::Vector2d &  range = Eigen::Vector2d(0.0, 0.0),
int  histogram_flags = 0 
)

◆ update_plot_histogram() [3/4]

template<typename T >
void guik::AsyncLightViewer::update_plot_histogram ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  xs,
int  bins = -2,
const Eigen::Vector2d &  range = Eigen::Vector2d(0.0, 0.0),
int  histogram_flags = 0 
)

◆ update_plot_histogram() [4/4]

template<typename T1 , typename T2 >
void guik::AsyncLightViewer::update_plot_histogram ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T1 > &  xs,
const std::vector< T2 > &  ys,
int  x_bins = -2,
int  y_bins = -2,
const Eigen::Vector2d &  x_range = Eigen::Vector2d(0.0, 0.0),
const Eigen::Vector2d &  y_range = Eigen::Vector2d(0.0, 0.0),
int  histogram_flags = 0 
)

◆ update_plot_line() [1/7]

void guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  xs,
const std::vector< double > &  ys,
int  line_flags = 0,
size_t  max_num_data = 2048 
)

◆ update_plot_line() [2/7]

void guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  ys,
int  line_flags = 0,
size_t  max_num_data = 2048 
)

◆ update_plot_line() [3/7]

template<typename T , int D, typename Alloc >
void guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &  data,
int  line_flags = 0,
size_t  max_num_data = 8192 * 12 
)

◆ update_plot_line() [4/7]

template<typename T , typename Func >
auto guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  data,
const Func &  transform,
int  line_flags = 0,
size_t  max_num_data = 8192 * 12 
) -> std::enable_if_t<std::is_arithmetic_v<decltype(transform(data[0]))>, void>
inline

◆ update_plot_line() [5/7]

template<typename T , typename Func >
auto guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  data,
const Func &  transform,
int  line_flags = 0,
size_t  max_num_data = 8192 * 12 
) -> std::enable_if_t<!std::is_arithmetic_v<decltype(transform(data[0]))>, void>
inline

◆ update_plot_line() [6/7]

template<typename T >
auto guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  ys,
int  line_flags = 0,
size_t  max_num_data = 8192 * 12 
) -> std::enable_if_t<std::is_arithmetic_v<T>, void>

◆ update_plot_line() [7/7]

template<typename T1 , typename T2 >
void guik::AsyncLightViewer::update_plot_line ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T1 > &  xs,
const std::vector< T2 > &  ys,
int  line_flags = 0,
size_t  max_num_data = 8192 * 12 
)

◆ update_plot_scatter() [1/7]

void guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  xs,
const std::vector< double > &  ys,
int  scatter_flags = 0 
)

◆ update_plot_scatter() [2/7]

void guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  ys,
int  scatter_flags = 0 
)

◆ update_plot_scatter() [3/7]

template<typename T , int D, typename Alloc >
void guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &  data,
int  scatter_flags = 0 
)

◆ update_plot_scatter() [4/7]

template<typename T , typename Func >
auto guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  data,
const Func &  transform,
int  scatter_flags = 0,
size_t  max_num_data = 8192 * 12 
) -> std::enable_if_t<std::is_arithmetic_v<decltype(transform(data[0]))>, void>
inline

◆ update_plot_scatter() [5/7]

template<typename T , typename Func >
auto guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  data,
const Func &  transform,
int  scatter_flags = 0,
size_t  max_num_data = 8192 * 12 
) -> std::enable_if_t<!std::is_arithmetic_v<decltype(transform(data[0]))>, void>
inline

◆ update_plot_scatter() [6/7]

template<typename T >
auto guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  ys,
int  scatter_flags = 0 
) -> std::enable_if_t<std::is_arithmetic_v<T>, void>

◆ update_plot_scatter() [7/7]

template<typename T1 , typename T2 >
void guik::AsyncLightViewer::update_plot_scatter ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T1 > &  xs,
const std::vector< T2 > &  ys,
int  scatter_flags = 0 
)

◆ update_plot_stairs() [1/4]

void guik::AsyncLightViewer::update_plot_stairs ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  xs,
const std::vector< double > &  ys,
int  stairs_flags = 0 
)

◆ update_plot_stairs() [2/4]

void guik::AsyncLightViewer::update_plot_stairs ( const std::string &  plot_name,
const std::string &  label,
const std::vector< double > &  ys,
int  stairs_flags = 0 
)

◆ update_plot_stairs() [3/4]

template<typename T >
void guik::AsyncLightViewer::update_plot_stairs ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T > &  ys,
int  stairs_flags = 0 
)

◆ update_plot_stairs() [4/4]

template<typename T1 , typename T2 >
void guik::AsyncLightViewer::update_plot_stairs ( const std::string &  plot_name,
const std::string &  label,
const std::vector< T1 > &  xs,
const std::vector< T2 > &  ys,
int  stairs_flags = 0 
)

◆ wait()

static void guik::AsyncLightViewer::wait ( )
static

Wait for the viewer to be closed.

◆ wait_until_click()

static void guik::AsyncLightViewer::wait_until_click ( )
static

Wait for a break button to be clicked.


The documentation for this class was generated from the following file: