Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkMouseMoveEvent.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkMouseMoveEvent_h
14 #define mitkMouseMoveEvent_h
15 #include "itkObject.h"
16 #include "itkObjectFactory.h"
17 #include "mitkBaseRenderer.h"
18 #include "mitkCommon.h"
19 #include "mitkInteractionEvent.h"
22 
23 #include <MitkCoreExports.h>
24 
25 namespace mitk
26 {
28  {
29  public:
32 
33  ModifierKeys GetModifiers() const;
34  MouseButtons GetButtonStates() const;
35  void SetModifiers(ModifierKeys modifiers);
36  void SetButtonStates(MouseButtons buttons);
37 
38  bool IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const override;
39 
40  protected:
42  const Point2D & = Point2D(),
43  MouseButtons buttonStates = NoButton,
44  ModifierKeys modifiers = NoKey);
45  ~MouseMoveEvent() override;
46 
47  bool IsEqual(const InteractionEvent &) const override;
48 
49  private:
50  MouseButtons m_ButtonStates;
51  ModifierKeys m_Modifiers;
52  };
53 } /* namespace mitk */
54 
55 #endif
mitk::InteractionEvent
Definition: mitkInteractionEvent.h:26
mitkInteractionEvent.h
mitk::InteractionEvent::MouseButtons
MouseButtons
Definition: mitkInteractionEvent.h:44
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::MouseMoveEvent
Definition: mitkMouseMoveEvent.h:27
mitk::InteractionPositionEvent
Super class for all position events.
Definition: mitkInteractionPositionEvent.h:36
mitkInteractionPositionEvent.h
MitkCoreExports.h
mitk::Point< ScalarType, 2 >
mitkCommon.h
mitk::Point2D
Point< ScalarType, 2 > Point2D
Definition: mitkPoint.h:120
mitk::InteractionEvent::ModifierKeys
ModifierKeys
Definition: mitkInteractionEvent.h:52
mitkInteractionEventConst.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::BaseRenderer
Definition: mitkBaseRenderer.h:56
mitkNewMacro4Param
#define mitkNewMacro4Param(classname, typea, typeb, typec, typed)
Definition: mitkCommon.h:107
mitkBaseRenderer.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15