Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitk::MouseMoveEvent Class Reference

#include <mitkMouseMoveEvent.h>

Inheritance diagram for mitk::MouseMoveEvent:
Collaboration diagram for mitk::MouseMoveEvent:

Public Types

typedef MouseMoveEvent Self
 
typedef InteractionPositionEvent Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::InteractionPositionEvent
typedef InteractionPositionEvent Self
 
typedef InteractionEvent Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::InteractionEvent
enum  MouseButtons { NoButton, LeftMouseButton, RightMouseButton, MiddleMouseButton }
 
enum  ModifierKeys { NoKey, ShiftKey, ControlKey, AltKey }
 
typedef InteractionEvent Self
 
typedef itk::LightObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

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)
 
bool IsSuperClassOf (const InteractionEvent::Pointer &baseClass) const override
 
- Public Member Functions inherited from mitk::InteractionPositionEvent
Point2D GetPointerPositionOnScreen () const
 
Point3D GetPositionInWorld () const
 
- Public Member Functions inherited from mitk::InteractionEvent
void SetSender (BaseRenderer *sender)
 
BaseRendererGetSender () const
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New (BaseRenderer *_arga, const Point2D &_argb, MouseButtons _argc, ModifierKeys _argd)
 
- Static Public Member Functions inherited from mitk::InteractionPositionEvent
static const char * GetStaticNameOfClass ()
 
static Pointer New (BaseRenderer *_arga, const Point2D &_argb)
 
- Static Public Member Functions inherited from mitk::InteractionEvent
static const char * GetStaticNameOfClass ()
 
static Pointer New (BaseRenderer *_arg)
 

Protected Member Functions

 MouseMoveEvent (BaseRenderer *, const Point2D &=Point2D(), MouseButtons buttonStates=NoButton, ModifierKeys modifiers=NoKey)
 
 ~MouseMoveEvent () override
 
bool IsEqual (const InteractionEvent &) const override
 
- Protected Member Functions inherited from mitk::InteractionPositionEvent
 InteractionPositionEvent (BaseRenderer *baseRenderer, const Point2D &mousePosition)
 
 ~InteractionPositionEvent () override
 
- Protected Member Functions inherited from mitk::InteractionEvent
 InteractionEvent (BaseRenderer *)
 
 ~InteractionEvent () override
 

Additional Inherited Members

- Static Public Attributes inherited from mitk::InteractionEvent
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
 

Detailed Description

Definition at line 27 of file mitkMouseMoveEvent.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ MouseMoveEvent()

mitk::MouseMoveEvent::MouseMoveEvent ( mitk::BaseRenderer baseRenderer,
const Point2D mousePosition = Point2D(),
MouseButtons  buttonStates = NoButton,
ModifierKeys  modifiers = NoKey 
)
protected

Definition at line 16 of file mitkMouseMoveEvent.cpp.

◆ ~MouseMoveEvent()

mitk::MouseMoveEvent::~MouseMoveEvent ( )
overrideprotected

Definition at line 44 of file mitkMouseMoveEvent.cpp.

Member Function Documentation

◆ GetButtonStates()

mitk::InteractionEvent::MouseButtons mitk::MouseMoveEvent::GetButtonStates ( ) const

Definition at line 29 of file mitkMouseMoveEvent.cpp.

Referenced by GetButtonState(), and IsEqual().

◆ GetClassHierarchy()

virtual std::vector<std::string> mitk::MouseMoveEvent::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::InteractionPositionEvent.

Definition at line 30 of file mitkMouseMoveEvent.h.

◆ GetClassName()

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

Reimplemented from mitk::InteractionPositionEvent.

◆ GetModifiers()

mitk::InteractionEvent::ModifierKeys mitk::MouseMoveEvent::GetModifiers ( ) const

Definition at line 24 of file mitkMouseMoveEvent.cpp.

Referenced by GetModifierState(), and IsEqual().

◆ GetStaticNameOfClass()

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

Definition at line 30 of file mitkMouseMoveEvent.h.

◆ IsEqual()

bool mitk::MouseMoveEvent::IsEqual ( const InteractionEvent interactionEvent) const
overrideprotectedvirtual

◆ IsSuperClassOf()

bool mitk::MouseMoveEvent::IsSuperClassOf ( const InteractionEvent::Pointer baseClass) const
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 55 of file mitkMouseMoveEvent.cpp.

◆ New()

static Pointer mitk::MouseMoveEvent::New ( BaseRenderer _arga,
const Point2D _argb,
MouseButtons  _argc,
ModifierKeys  _argd 
)
inlinestatic

◆ SetButtonStates()

void mitk::MouseMoveEvent::SetButtonStates ( MouseButtons  buttons)

Definition at line 39 of file mitkMouseMoveEvent.cpp.

◆ SetModifiers()

void mitk::MouseMoveEvent::SetModifiers ( ModifierKeys  modifiers)

Definition at line 34 of file mitkMouseMoveEvent.cpp.


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