17#ifndef __gui_mrview_mode_lightbox_h__
18#define __gui_mrview_mode_lightbox_h__
33 using proj_focusdelta = std::pair<Projection,float>;
48 visitor.update_lightbox_mode_gui(*
this); }
80 bool render_volumes();
83 static bool show_grid_lines, show_volumes;
84 static std::string prev_image_name;
85 static ssize_t n_rows, n_cols, volume_increment;
86 static float slice_focus_increment;
87 static float slice_focus_inc_adjust_rate;
88 static ssize_t current_slice_index;
void request_update_mode_gui(ModeGuiVisitor &visitor) const override
void slice_increment_reset()
void set_volume_increment(size_t vol_inc)
void set_cols(size_t cols)
void set_focus_event() override
static bool get_show_grid()
void show_volumes_slot(bool value)
void set_slice_increment(float inc)
void tilt_event() override
void panthrough_event() override
void nrows_slot(int value)
void slice_inc_slot(float value)
static float get_slice_inc_adjust_rate()
static float get_slice_increment()
void set_show_volumes(bool show_vol)
void draw_plane_primitive(int axis, Displayable::Shader &shader_program, Projection &with_projection) override
void set_rows(size_t rows)
void show_grid_slot(bool value)
void volume_inc_slot(int value)
void set_show_grid(bool show_grid)
void image_volume_changed_slot()
void ncolumns_slot(int value)
void reset_windowing() override
void pan_event() override
void image_changed_event() override
void slice_move_event(float x) override
void rotate_event() override
void paint(Projection &with_projection) override
static bool get_show_volumes()
static size_t get_volume_increment()
VectorType::Scalar value(const VectorType &coefs, typename VectorType::Scalar cos_elevation, typename VectorType::Scalar cos_azimuth, typename VectorType::Scalar sin_azimuth, int lmax)