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

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

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

Public Member Functions

 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)
 

Protected Member Functions

void set_active (bool onoff)
 

Protected Attributes

bool _active
 

Detailed Description

Definition at line 46 of file base.h.

Constructor & Destructor Documentation

◆ CameraInteractor()

MR::GUI::MRView::Tool::CameraInteractor::CameraInteractor ( )
inline

Definition at line 49 of file base.h.

Member Function Documentation

◆ active()

bool MR::GUI::MRView::Tool::CameraInteractor::active ( ) const
inline

Definition at line 50 of file base.h.

◆ deactivate()

virtual void MR::GUI::MRView::Tool::CameraInteractor::deactivate ( )
virtual

◆ pan_event()

virtual bool MR::GUI::MRView::Tool::CameraInteractor::pan_event ( const ModelViewProjection projection)
virtual

◆ panthrough_event()

virtual bool MR::GUI::MRView::Tool::CameraInteractor::panthrough_event ( const ModelViewProjection projection)
virtual

◆ rotate_event()

virtual bool MR::GUI::MRView::Tool::CameraInteractor::rotate_event ( const ModelViewProjection projection)
virtual

◆ set_active()

void MR::GUI::MRView::Tool::CameraInteractor::set_active ( bool  onoff)
inlineprotected

Definition at line 59 of file base.h.

◆ slice_move_event()

virtual bool MR::GUI::MRView::Tool::CameraInteractor::slice_move_event ( const ModelViewProjection projection,
float  inc 
)
virtual

◆ tilt_event()

virtual bool MR::GUI::MRView::Tool::CameraInteractor::tilt_event ( const ModelViewProjection projection)
virtual

Member Data Documentation

◆ _active

bool MR::GUI::MRView::Tool::CameraInteractor::_active
protected

Definition at line 58 of file base.h.


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