Medical Imaging Interaction Toolkit
2016.11.0
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 () | |
virtual | ~MouseModeSwitcher () |
Definition at line 61 of file mitkMouseModeSwitcher.h.
typedef itk::SmartPointer<const Self> mitk::MouseModeSwitcher::ConstPointer |
Definition at line 71 of file mitkMouseModeSwitcher.h.
Definition at line 71 of file mitkMouseModeSwitcher.h.
Definition at line 71 of file mitkMouseModeSwitcher.h.
typedef itk::Object mitk::MouseModeSwitcher::Superclass |
Definition at line 71 of file mitkMouseModeSwitcher.h.
Enumerator | |
---|---|
PACS | |
MITK | |
ROTATION | |
ROTATIONLINKED | |
SWIVEL |
Definition at line 75 of file mitkMouseModeSwitcher.h.
Enumerator | |
---|---|
MousePointer | |
Scroll | |
LevelWindow | |
Zoom | |
Pan |
Definition at line 84 of file mitkMouseModeSwitcher.h.
|
protected |
Definition at line 24 of file mitkMouseModeSwitcher.cpp.
References SetInteractionScheme().
|
protectedvirtual |
Definition at line 31 of file mitkMouseModeSwitcher.cpp.
Pointer mitk::MouseModeSwitcher::Clone | ( | ) | const |
|
inlinevirtual |
Definition at line 71 of file mitkMouseModeSwitcher.h.
|
virtual |
mitk::MouseModeSwitcher::MouseMode mitk::MouseModeSwitcher::GetCurrentMouseMode | ( | ) | const |
Returns the current mouse mode.
Definition at line 126 of file mitkMouseModeSwitcher.cpp.
Referenced by QmitkMouseModeSwitcher::OnMouseModeChanged().
|
inlinestatic |
Definition at line 71 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 |
void mitk::MouseModeSwitcher::SelectMouseMode | ( | MouseMode | mode | ) |
Setter for mouse mode.
Definition at line 88 of file mitkMouseModeSwitcher.cpp.
Referenced by QmitkMouseModeSwitcher::modeSelectedByUser().
void mitk::MouseModeSwitcher::SetInteractionScheme | ( | InteractionScheme | scheme | ) |
Setter for interaction scheme.
Definition at line 51 of file mitkMouseModeSwitcher.cpp.
Referenced by QmitkMouseModeSwitcher::modeSelectedByUser(), and MouseModeSwitcher().