|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkMouseModeSwitcher.h>


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< Self > | Pointer |
| typedef itk::SmartPointer< const Self > | ConstPointer |
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 | |
Definition at line 57 of file mitkMouseModeSwitcher.h.
| typedef itk::SmartPointer<const Self> mitk::MouseModeSwitcher::ConstPointer |
Definition at line 67 of file mitkMouseModeSwitcher.h.
Definition at line 67 of file mitkMouseModeSwitcher.h.
Definition at line 67 of file mitkMouseModeSwitcher.h.
| typedef itk::Object mitk::MouseModeSwitcher::Superclass |
Definition at line 67 of file mitkMouseModeSwitcher.h.
| Enumerator | |
|---|---|
| PACS | |
| MITK | |
| ROTATION | |
| ROTATIONLINKED | |
| SWIVEL | |
Definition at line 72 of file mitkMouseModeSwitcher.h.
| Enumerator | |
|---|---|
| MousePointer | |
| Scroll | |
| LevelWindow | |
| Zoom | |
| Pan | |
Definition at line 81 of file mitkMouseModeSwitcher.h.
|
protected |
Definition at line 20 of file mitkMouseModeSwitcher.cpp.
References SetInteractionScheme().
|
overrideprotected |
Definition at line 27 of file mitkMouseModeSwitcher.cpp.
References us::GetModuleContext(), mitk::DisplayInteractor::New(), and ModuleContext::RegisterService().
| Pointer mitk::MouseModeSwitcher::Clone | ( | ) | const |
|
inlinevirtual |
Definition at line 67 of file mitkMouseModeSwitcher.h.
|
virtual |
| mitk::MouseModeSwitcher::MouseMode mitk::MouseModeSwitcher::GetCurrentMouseMode | ( | ) | const |
Returns the current mouse mode.
Definition at line 122 of file mitkMouseModeSwitcher.cpp.
Referenced by QmitkMouseModeSwitcher::OnMouseModeChangedViaCommand().
|
inlinestatic |
Definition at line 67 of file mitkMouseModeSwitcher.h.
| mitk::MouseModeSwitcher::itkEventMacro | ( | MouseModeChangedEvent | , |
| itk::AnyEvent | |||
| ) |
Can be observed by GUI class to update button states when mode is changed programatically.
|
static |
Referenced by mitk::InteractionTestHelper::Initialize().
| void mitk::MouseModeSwitcher::SelectMouseMode | ( | MouseMode | mode | ) |
Setter for mouse mode.
Definition at line 84 of file mitkMouseModeSwitcher.cpp.
References LevelWindow, MousePointer, PACS, Pan, Scroll, and Zoom.
Referenced by QmitkMouseModeSwitcher::OnMouseModeChangedViaButton().
| void mitk::MouseModeSwitcher::SetInteractionScheme | ( | InteractionScheme | scheme | ) |
Setter for interaction scheme.
Definition at line 47 of file mitkMouseModeSwitcher.cpp.
References MITK, PACS, ROTATION, ROTATIONLINKED, and SWIVEL.
Referenced by MouseModeSwitcher(), and QmitkMouseModeSwitcher::OnMouseModeChangedViaButton().