Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::MRView::Mode::LightBox Class Reference

#include "gui/mrview/mode/lightbox.h"

Inheritance diagram for MR::GUI::MRView::Mode::LightBox:
MR::GUI::MRView::Mode::Slice MR::GUI::MRView::Mode::Base

Public Slots

void nrows_slot (int value)
 
void ncolumns_slot (int value)
 
void slice_inc_slot (float value)
 
void volume_inc_slot (int value)
 
void show_grid_slot (bool value)
 
void show_volumes_slot (bool value)
 
void image_volume_changed_slot ()
 

Signals

void slice_increment_reset ()
 

Public Member Functions

 LightBox ()
 
void paint (Projection &with_projection) override
 
void set_focus_event () override
 
void slice_move_event (float x) override
 
void pan_event () override
 
void panthrough_event () override
 
void tilt_event () override
 
void rotate_event () override
 
void image_changed_event () override
 
void reset_windowing () override
 
void request_update_mode_gui (ModeGuiVisitor &visitor) const override
 
void set_rows (size_t rows)
 
void set_cols (size_t cols)
 
void set_volume_increment (size_t vol_inc)
 
void set_slice_increment (float inc)
 
void set_show_grid (bool show_grid)
 
void set_show_volumes (bool show_vol)
 

Static Public Member Functions

static size_t get_rows ()
 
static size_t get_cols ()
 
static size_t get_volume_increment ()
 
static float get_slice_increment ()
 
static float get_slice_inc_adjust_rate ()
 
static bool get_show_grid ()
 
static bool get_show_volumes ()
 

Protected Member Functions

void draw_plane_primitive (int axis, Displayable::Shader &shader_program, Projection &with_projection) override
 
- Protected Member Functions inherited from MR::GUI::MRView::Mode::Slice
virtual void draw_plane_primitive (int axis, Displayable::Shader &shader_program, Projection &with_projection)
 
void draw_plane (int axis, Displayable::Shader &shader_program, Projection &with_projection)
 
- Protected Member Functions inherited from MR::GUI::MRView::Mode::Base
void slice_move_event (const ModelViewProjection &proj, float x)
 
void set_focus_event (const ModelViewProjection &proj)
 
void pan_event (const ModelViewProjection &proj)
 
void panthrough_event (const ModelViewProjection &proj)
 
void tilt_event (const ModelViewProjection &proj)
 
void rotate_event (const ModelViewProjection &proj)
 
GL::mat4 adjust_projection_matrix (const GL::mat4 &Q, int proj) const
 
GL::mat4 adjust_projection_matrix (const GL::mat4 &Q) const
 
void reset_view ()
 

Additional Inherited Members

- Protected Attributes inherited from MR::GUI::MRView::Mode::Base
bool visible
 

Detailed Description

Definition at line 30 of file lightbox.h.

Constructor & Destructor Documentation

◆ LightBox()

MR::GUI::MRView::Mode::LightBox::LightBox ( )

Member Function Documentation

◆ draw_plane_primitive()

void MR::GUI::MRView::Mode::LightBox::draw_plane_primitive ( int  axis,
Displayable::Shader &  shader_program,
Projection with_projection 
)
overrideprotectedvirtual

Reimplemented from MR::GUI::MRView::Mode::Slice.

◆ get_cols()

static size_t MR::GUI::MRView::Mode::LightBox::get_cols ( )
inlinestatic

Definition at line 51 of file lightbox.h.

◆ get_rows()

static size_t MR::GUI::MRView::Mode::LightBox::get_rows ( )
inlinestatic

Definition at line 50 of file lightbox.h.

◆ get_show_grid()

static bool MR::GUI::MRView::Mode::LightBox::get_show_grid ( )
inlinestatic

Definition at line 55 of file lightbox.h.

◆ get_show_volumes()

static bool MR::GUI::MRView::Mode::LightBox::get_show_volumes ( )
inlinestatic

Definition at line 56 of file lightbox.h.

◆ get_slice_inc_adjust_rate()

static float MR::GUI::MRView::Mode::LightBox::get_slice_inc_adjust_rate ( )
inlinestatic

Definition at line 54 of file lightbox.h.

◆ get_slice_increment()

static float MR::GUI::MRView::Mode::LightBox::get_slice_increment ( )
inlinestatic

Definition at line 53 of file lightbox.h.

◆ get_volume_increment()

static size_t MR::GUI::MRView::Mode::LightBox::get_volume_increment ( )
inlinestatic

Definition at line 52 of file lightbox.h.

◆ image_changed_event()

void MR::GUI::MRView::Mode::LightBox::image_changed_event ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ image_volume_changed_slot

void MR::GUI::MRView::Mode::LightBox::image_volume_changed_slot ( )
inlineslot

Definition at line 72 of file lightbox.h.

◆ ncolumns_slot

void MR::GUI::MRView::Mode::LightBox::ncolumns_slot ( int  value)
inlineslot

Definition at line 67 of file lightbox.h.

◆ nrows_slot

void MR::GUI::MRView::Mode::LightBox::nrows_slot ( int  value)
inlineslot

Definition at line 66 of file lightbox.h.

◆ paint()

void MR::GUI::MRView::Mode::LightBox::paint ( Projection with_projection)
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Slice.

◆ pan_event()

void MR::GUI::MRView::Mode::LightBox::pan_event ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ panthrough_event()

void MR::GUI::MRView::Mode::LightBox::panthrough_event ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ request_update_mode_gui()

void MR::GUI::MRView::Mode::LightBox::request_update_mode_gui ( ModeGuiVisitor visitor) const
inlineoverridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

Definition at line 47 of file lightbox.h.

◆ reset_windowing()

void MR::GUI::MRView::Mode::LightBox::reset_windowing ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ rotate_event()

void MR::GUI::MRView::Mode::LightBox::rotate_event ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ set_cols()

void MR::GUI::MRView::Mode::LightBox::set_cols ( size_t  cols)

◆ set_focus_event()

void MR::GUI::MRView::Mode::LightBox::set_focus_event ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ set_rows()

void MR::GUI::MRView::Mode::LightBox::set_rows ( size_t  rows)

◆ set_show_grid()

void MR::GUI::MRView::Mode::LightBox::set_show_grid ( bool  show_grid)

◆ set_show_volumes()

void MR::GUI::MRView::Mode::LightBox::set_show_volumes ( bool  show_vol)

◆ set_slice_increment()

void MR::GUI::MRView::Mode::LightBox::set_slice_increment ( float  inc)

◆ set_volume_increment()

void MR::GUI::MRView::Mode::LightBox::set_volume_increment ( size_t  vol_inc)

◆ show_grid_slot

void MR::GUI::MRView::Mode::LightBox::show_grid_slot ( bool  value)
inlineslot

Definition at line 70 of file lightbox.h.

◆ show_volumes_slot

void MR::GUI::MRView::Mode::LightBox::show_volumes_slot ( bool  value)
inlineslot

Definition at line 71 of file lightbox.h.

◆ slice_inc_slot

void MR::GUI::MRView::Mode::LightBox::slice_inc_slot ( float  value)
inlineslot

Definition at line 68 of file lightbox.h.

◆ slice_increment_reset

void MR::GUI::MRView::Mode::LightBox::slice_increment_reset ( )
signal

◆ slice_move_event()

void MR::GUI::MRView::Mode::LightBox::slice_move_event ( float  x)
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ tilt_event()

void MR::GUI::MRView::Mode::LightBox::tilt_event ( )
overridevirtual

Reimplemented from MR::GUI::MRView::Mode::Base.

◆ volume_inc_slot

void MR::GUI::MRView::Mode::LightBox::volume_inc_slot ( int  value)
inlineslot

Definition at line 69 of file lightbox.h.


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