Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::InteractionSchemeSwitcher Class Reference

#include <mitkInteractionSchemeSwitcher.h>

Inheritance diagram for mitk::InteractionSchemeSwitcher:
Collaboration diagram for mitk::InteractionSchemeSwitcher:

Public Types

enum  InteractionScheme {
  MITKStandard , MITKRotationUncoupled , MITKRotationCoupled , MITKSwivel ,
  PACSBase , PACSStandard , PACSLevelWindow , PACSPan ,
  PACSScroll , PACSZoom
}
 

Public Member Functions

 mitkClassMacroItkParent (InteractionSchemeSwitcher, itk::Object)
 
void SetInteractionScheme (mitk::InteractionEventHandler *interactionEventHandler, InteractionScheme interactionScheme)
 Set the current interaction scheme of the given interaction event handler. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 InteractionSchemeSwitcher ()
 
 ~InteractionSchemeSwitcher () override
 

Detailed Description

Definition at line 74 of file mitkInteractionSchemeSwitcher.h.

Member Enumeration Documentation

◆ InteractionScheme

Enumerator
MITKStandard 
MITKRotationUncoupled 
MITKRotationCoupled 
MITKSwivel 
PACSBase 
PACSStandard 
PACSLevelWindow 
PACSPan 
PACSScroll 
PACSZoom 

Definition at line 81 of file mitkInteractionSchemeSwitcher.h.

Constructor & Destructor Documentation

◆ InteractionSchemeSwitcher()

mitk::InteractionSchemeSwitcher::InteractionSchemeSwitcher ( )
protected

◆ ~InteractionSchemeSwitcher()

mitk::InteractionSchemeSwitcher::~InteractionSchemeSwitcher ( )
overrideprotected

Member Function Documentation

◆ mitkClassMacroItkParent()

mitk::InteractionSchemeSwitcher::mitkClassMacroItkParent ( InteractionSchemeSwitcher  ,
itk::Object   
)

◆ New()

static Pointer mitk::InteractionSchemeSwitcher::New ( )
static

◆ SetInteractionScheme()

void mitk::InteractionSchemeSwitcher::SetInteractionScheme ( mitk::InteractionEventHandler *  interactionEventHandler,
InteractionScheme  interactionScheme 
)

Set the current interaction scheme of the given interaction event handler.

The interaction event handler is able to accept xml-configuration files that will define the interaction scheme. Based on the given interaction scheme different configuration files are loaded into the interaction event handler. The interaction scheme can be a variant of the MITK-scheme or the PACS-scheme (see InteractionScheme). The default is MITKStandard. If the interaction scheme has been changed, an InteractionSchemeChangedEvent will be invoked.

Precondition
The interaction event handler has to be valid (not nullptr).
Exceptions
mitk::Exceptionif the interaction event handler is invalid (nullptr).
Parameters
interactionEventHandlerThe interaction event handler that defines the interaction scheme via configuration files.
interactionSchemeThe interaction scheme that should be used for the currently active interaction event handler.

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