Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkMouseWheelEvent.h>
Public Types | |
typedef MouseWheelEvent | Self |
typedef InteractionPositionEvent | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
typedef InteractionPositionEvent | Self |
typedef InteractionEvent | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
enum | MouseButtons { NoButton, LeftMouseButton, RightMouseButton, MiddleMouseButton } |
enum | ModifierKeys { NoKey, ShiftKey, ControlKey, AltKey } |
typedef InteractionEvent | Self |
typedef itk::LightObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
ModifierKeys | GetModifiers () const |
MouseButtons | GetButtonStates () const |
void | SetModifiers (ModifierKeys modifiers) |
void | SetButtonStates (MouseButtons buttons) |
int | GetWheelDelta () const |
void | SetWheelDelta (int delta) |
bool | IsSuperClassOf (const InteractionEvent::Pointer &baseClass) const override |
![]() | |
Point2D | GetPointerPositionOnScreen () const |
Point3D | GetPositionInWorld () const |
![]() | |
void | SetSender (BaseRenderer *sender) |
BaseRenderer * | GetSender () const |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arga, const Point2D &_argb, MouseButtons _argc, ModifierKeys _argd, int _arge) |
![]() | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arga, const Point2D &_argb) |
![]() | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arg) |
Protected Member Functions | |
MouseWheelEvent (BaseRenderer *=nullptr, const Point2D &mousePosition=Point2D(), MouseButtons buttonStates=NoButton, ModifierKeys modifiers=NoKey, int wheelDelta=0) | |
~MouseWheelEvent () override | |
bool | IsEqual (const InteractionEvent &) const override |
![]() | |
InteractionPositionEvent (BaseRenderer *baseRenderer, const Point2D &mousePosition) | |
~InteractionPositionEvent () override | |
![]() | |
InteractionEvent (BaseRenderer *) | |
~InteractionEvent () override | |
Additional Inherited Members | |
![]() | |
static const std::string | KeyEsc |
static const std::string | KeyEnter |
static const std::string | KeyReturn |
static const std::string | KeyDelete |
static const std::string | KeyArrowUp |
static const std::string | KeyArrowDown |
static const std::string | KeyArrowLeft |
static const std::string | KeyArrowRight |
static const std::string | KeyF1 |
static const std::string | KeyF2 |
static const std::string | KeyF3 |
static const std::string | KeyF4 |
static const std::string | KeyF5 |
static const std::string | KeyF6 |
static const std::string | KeyF7 |
static const std::string | KeyF8 |
static const std::string | KeyF9 |
static const std::string | KeyF10 |
static const std::string | KeyF11 |
static const std::string | KeyF12 |
static const std::string | KeyPos1 |
static const std::string | KeyEnd |
static const std::string | KeyInsert |
static const std::string | KeyPageUp |
static const std::string | KeyPageDown |
static const std::string | KeySpace |
Definition at line 32 of file mitkMouseWheelEvent.h.
typedef itk::SmartPointer<const Self> mitk::MouseWheelEvent::ConstPointer |
Definition at line 35 of file mitkMouseWheelEvent.h.
Definition at line 35 of file mitkMouseWheelEvent.h.
Definition at line 35 of file mitkMouseWheelEvent.h.
Definition at line 35 of file mitkMouseWheelEvent.h.
|
protected |
Definition at line 15 of file mitkMouseWheelEvent.cpp.
|
overrideprotected |
Definition at line 57 of file mitkMouseWheelEvent.cpp.
mitk::InteractionEvent::MouseButtons mitk::MouseWheelEvent::GetButtonStates | ( | ) | const |
Definition at line 42 of file mitkMouseWheelEvent.cpp.
Referenced by GetButtonState(), and IsEqual().
|
inlineoverridevirtual |
Reimplemented from mitk::InteractionPositionEvent.
Definition at line 35 of file mitkMouseWheelEvent.h.
|
virtual |
Reimplemented from mitk::InteractionPositionEvent.
mitk::InteractionEvent::ModifierKeys mitk::MouseWheelEvent::GetModifiers | ( | ) | const |
Definition at line 37 of file mitkMouseWheelEvent.cpp.
Referenced by GetModifierState(), and IsEqual().
|
inlinestatic |
Definition at line 35 of file mitkMouseWheelEvent.h.
int mitk::MouseWheelEvent::GetWheelDelta | ( | ) | const |
Definition at line 27 of file mitkMouseWheelEvent.cpp.
Referenced by mitk::EventFactory::EventToXML(), and IsEqual().
|
overrideprotectedvirtual |
Reimplemented from mitk::InteractionPositionEvent.
Definition at line 61 of file mitkMouseWheelEvent.cpp.
References GetButtonStates(), GetModifiers(), GetWheelDelta(), and mitk::InteractionPositionEvent::IsEqual().
|
overridevirtual |
This class implements an up cast to check if the provided baseClass object is derived from this class. This function is used to support polymorphism on state machine pattern (XML) level.
Reimplemented from mitk::InteractionPositionEvent.
Definition at line 71 of file mitkMouseWheelEvent.cpp.
|
inlinestatic |
Definition at line 36 of file mitkMouseWheelEvent.h.
Referenced by mitk::VtkEventAdapter::AdaptMouseWheelEvent(), mitk::EventFactory::CreateEvent(), mitkEventConfigTest(), and QmitkRenderWindow::wheelEvent().
void mitk::MouseWheelEvent::SetButtonStates | ( | MouseButtons | buttons | ) |
Definition at line 52 of file mitkMouseWheelEvent.cpp.
void mitk::MouseWheelEvent::SetModifiers | ( | ModifierKeys | modifiers | ) |
Definition at line 47 of file mitkMouseWheelEvent.cpp.
void mitk::MouseWheelEvent::SetWheelDelta | ( | int | delta | ) |
Definition at line 32 of file mitkMouseWheelEvent.cpp.