Medical Imaging Interaction Toolkit  2021.02.99-b1c7fb9e
Medical Imaging Interaction Toolkit
mitk::MouseModeSwitcher Class Reference

#include <mitkMouseModeSwitcher.h>

Inheritance diagram for mitk::MouseModeSwitcher:
Collaboration diagram for mitk::MouseModeSwitcher:

Public Types

enum  InteractionScheme {
  PACS, MITK, ROTATION, ROTATIONLINKED,
  SWIVEL
}
 
enum  MouseMode {
  MousePointer, Scroll, LevelWindow, Zoom,
  Pan
}
 
typedef MouseModeSwitcher Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

 itkEventMacro (MouseModeChangedEvent, itk::AnyEvent)
 Can be observed by GUI class to update button states when mode is changed programatically. More...
 
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
void SetInteractionScheme (InteractionScheme)
 Setter for interaction scheme. More...
 
void SelectMouseMode (MouseMode mode)
 Setter for mouse mode. More...
 
MouseMode GetCurrentMouseMode () const
 Returns the current mouse mode. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 

Protected Member Functions

 MouseModeSwitcher ()
 
 ~MouseModeSwitcher () override
 

Detailed Description

Definition at line 57 of file mitkMouseModeSwitcher.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Definition at line 67 of file mitkMouseModeSwitcher.h.

Member Enumeration Documentation

◆ InteractionScheme

Enumerator
PACS 
MITK 
ROTATION 
ROTATIONLINKED 
SWIVEL 

Definition at line 72 of file mitkMouseModeSwitcher.h.

◆ MouseMode

Enumerator
MousePointer 
Scroll 
LevelWindow 
Zoom 
Pan 

Definition at line 81 of file mitkMouseModeSwitcher.h.

Constructor & Destructor Documentation

◆ MouseModeSwitcher()

mitk::MouseModeSwitcher::MouseModeSwitcher ( )
protected

◆ ~MouseModeSwitcher()

mitk::MouseModeSwitcher::~MouseModeSwitcher ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::MouseModeSwitcher::Clone ( ) const

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::MouseModeSwitcher::GetClassHierarchy ( ) const
inlinevirtual

Definition at line 67 of file mitkMouseModeSwitcher.h.

◆ GetClassName()

virtual const char* mitk::MouseModeSwitcher::GetClassName ( ) const
virtual

◆ GetCurrentMouseMode()

MouseMode mitk::MouseModeSwitcher::GetCurrentMouseMode ( ) const

Returns the current mouse mode.

◆ GetStaticNameOfClass()

static const char* mitk::MouseModeSwitcher::GetStaticNameOfClass ( )
inlinestatic

Definition at line 67 of file mitkMouseModeSwitcher.h.

◆ itkEventMacro()

mitk::MouseModeSwitcher::itkEventMacro ( MouseModeChangedEvent  ,
itk::AnyEvent   
)

Can be observed by GUI class to update button states when mode is changed programatically.

◆ New()

static Pointer mitk::MouseModeSwitcher::New ( )
static

◆ SelectMouseMode()

void mitk::MouseModeSwitcher::SelectMouseMode ( MouseMode  mode)

Setter for mouse mode.

◆ SetInteractionScheme()

void mitk::MouseModeSwitcher::SetInteractionScheme ( InteractionScheme  )

Setter for interaction scheme.


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