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

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

Inheritance diagram for MR::GUI::MRView::Tool::Transform:
MR::GUI::MRView::Tool::Base MR::GUI::MRView::Tool::CameraInteractor

Protected Slots

void onActivate (bool)
 

Protected Member Functions

virtual void showEvent (QShowEvent *event) override
 
virtual void closeEvent (QCloseEvent *event) override
 
virtual void hideEvent (QHideEvent *event) override
 
void setActive (bool onoff)
 
- Protected Member Functions inherited from MR::GUI::MRView::Tool::CameraInteractor
void set_active (bool onoff)
 

Protected Attributes

QPushButton * activate_button
 
- Protected Attributes inherited from MR::GUI::MRView::Tool::CameraInteractor
bool _active
 

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
 
- Public Member Functions inherited from MR::GUI::MRView::Tool::CameraInteractor
 CameraInteractor ()
 
bool active () const
 
virtual void deactivate ()
 
virtual bool slice_move_event (const ModelViewProjection &projection, float inc)
 
virtual bool pan_event (const ModelViewProjection &projection)
 
virtual bool panthrough_event (const ModelViewProjection &projection)
 
virtual bool tilt_event (const ModelViewProjection &projection)
 
virtual bool rotate_event (const ModelViewProjection &projection)
 
- 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 transform.h.

Member Function Documentation

◆ closeEvent()

virtual void MR::GUI::MRView::Tool::Transform::closeEvent ( QCloseEvent *  event)
overrideprotectedvirtual

◆ hideEvent()

virtual void MR::GUI::MRView::Tool::Transform::hideEvent ( QHideEvent *  event)
overrideprotectedvirtual

◆ onActivate

void MR::GUI::MRView::Tool::Transform::onActivate ( bool  )
protectedslot

◆ setActive()

void MR::GUI::MRView::Tool::Transform::setActive ( bool  onoff)
protected

◆ showEvent()

virtual void MR::GUI::MRView::Tool::Transform::showEvent ( QShowEvent *  event)
overrideprotectedvirtual

Member Data Documentation

◆ activate_button

QPushButton* MR::GUI::MRView::Tool::Transform::activate_button
protected

Definition at line 48 of file transform.h.


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