Developer documentation
Version 3.0.3-105-gd3941f44
MR::GUI::MRView::Tool::Overlay Class Reference

#include "gui/mrview/tool/overlay.h"

Inheritance diagram for MR::GUI::MRView::Tool::Overlay:
MR::GUI::MRView::Tool::Base MR::GUI::MRView::ColourMapButtonObserver MR::GUI::MRView::DisplayableVisitor

Classes

class  InterpolateCheckBox
 

Protected Member Functions

void update_selection ()
 
void updateGL ()
 
void add_images (vector< std::unique_ptr< MR::Header > > &list)
 
void dropEvent (QDropEvent *event) override
 

Protected Attributes

QPushButton * hide_all_button
 
Model * image_list_model
 
QListView * image_list_view
 
ColourMapButtoncolourmap_button
 
AdjustButtonmin_value
 
AdjustButtonmax_value
 
AdjustButtonlower_threshold
 
AdjustButtonupper_threshold
 
QCheckBox * lower_threshold_check_box
 
QCheckBox * upper_threshold_check_box
 
InterpolateCheckBoxinterpolate_check_box
 
QSlider * opacity_slider
 
QGroupBox * volume_box
 
GridLayoutvolume_index_layout
 

Additional Inherited Members

- Public Member Functions inherited from MR::GUI::MRView::Tool::Base
 Base (Dock *parent)
 
Windowwindow () const
 
virtual bool process_commandline_option (const MR::App::ParsedOption &opt)
 
virtual QSize sizeHint () const override
 
void grab_focus ()
 
void release_focus ()
 
virtual void draw (const Projection &transform, bool is_3D, int axis, int slice)
 
virtual void draw_colourbars ()
 
virtual size_t visible_number_colourbars ()
 
virtual int draw_tool_labels (int, int, const Projection &) const
 
virtual bool mouse_press_event ()
 
virtual bool mouse_move_event ()
 
virtual bool mouse_release_event ()
 
virtual void close_event ()
 
virtual void reset_event ()
 
virtual QCursor * get_cursor ()
 
void update_cursor ()
 
void dragEnterEvent (QDragEnterEvent *event) override
 
void dragMoveEvent (QDragMoveEvent *event) override
 
void dragLeaveEvent (QDragLeaveEvent *event) override
 
virtual void selected_colourmap (size_t, const ColourMapButton &)
 
virtual void selected_custom_colour (const QColor &, const ColourMapButton &)
 
virtual void toggle_show_colour_bar (bool, const ColourMapButton &)
 
virtual void toggle_invert_colourmap (bool, const ColourMapButton &)
 
virtual void reset_colourmap (const ColourMapButton &)
 
- Public Member Functions inherited from MR::GUI::MRView::DisplayableVisitor
virtual void render_image_colourbar (const Image &)
 
virtual void render_fixel_colourbar (const Tool::BaseFixel &)
 
virtual void render_tractogram_colourbar (const Tool::Tractogram &)
 
- Static Public Member Functions inherited from MR::GUI::MRView::Tool::Base
static void add_commandline_options (MR::App::OptionList &options)
 
- Public Attributes inherited from MR::GUI::MRView::Tool::Base
std::string current_folder
 

Detailed Description

Definition at line 35 of file overlay.h.

Member Function Documentation

◆ add_images()

void MR::GUI::MRView::Tool::Overlay::add_images ( vector< std::unique_ptr< MR::Header > > &  list)
protected

◆ dropEvent()

void MR::GUI::MRView::Tool::Overlay::dropEvent ( QDropEvent *  event)
overrideprotected

◆ update_selection()

void MR::GUI::MRView::Tool::Overlay::update_selection ( )
protected

◆ updateGL()

void MR::GUI::MRView::Tool::Overlay::updateGL ( )
inlineprotected

Definition at line 104 of file overlay.h.

Member Data Documentation

◆ colourmap_button

ColourMapButton* MR::GUI::MRView::Tool::Overlay::colourmap_button
protected

Definition at line 95 of file overlay.h.

◆ hide_all_button

QPushButton* MR::GUI::MRView::Tool::Overlay::hide_all_button
protected

Definition at line 92 of file overlay.h.

◆ image_list_model

Model* MR::GUI::MRView::Tool::Overlay::image_list_model
protected

Definition at line 93 of file overlay.h.

◆ image_list_view

QListView* MR::GUI::MRView::Tool::Overlay::image_list_view
protected

Definition at line 94 of file overlay.h.

◆ interpolate_check_box

InterpolateCheckBox* MR::GUI::MRView::Tool::Overlay::interpolate_check_box
protected

Definition at line 98 of file overlay.h.

◆ lower_threshold

AdjustButton * MR::GUI::MRView::Tool::Overlay::lower_threshold
protected

Definition at line 96 of file overlay.h.

◆ lower_threshold_check_box

QCheckBox* MR::GUI::MRView::Tool::Overlay::lower_threshold_check_box
protected

Definition at line 97 of file overlay.h.

◆ max_value

AdjustButton * MR::GUI::MRView::Tool::Overlay::max_value
protected

Definition at line 96 of file overlay.h.

◆ min_value

AdjustButton* MR::GUI::MRView::Tool::Overlay::min_value
protected

Definition at line 96 of file overlay.h.

◆ opacity_slider

QSlider* MR::GUI::MRView::Tool::Overlay::opacity_slider
protected

Definition at line 99 of file overlay.h.

◆ upper_threshold

AdjustButton * MR::GUI::MRView::Tool::Overlay::upper_threshold
protected

Definition at line 96 of file overlay.h.

◆ upper_threshold_check_box

QCheckBox * MR::GUI::MRView::Tool::Overlay::upper_threshold_check_box
protected

Definition at line 97 of file overlay.h.

◆ volume_box

QGroupBox* MR::GUI::MRView::Tool::Overlay::volume_box
protected

Definition at line 100 of file overlay.h.

◆ volume_index_layout

GridLayout* MR::GUI::MRView::Tool::Overlay::volume_index_layout
protected

Definition at line 101 of file overlay.h.


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