Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkInteractionEventObserver.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 mitkInteractionEventObserver_h
14
#define mitkInteractionEventObserver_h
15
16
#include "
mitkInteractionEvent.h
"
17
#include "
mitkServiceInterface.h
"
18
#include <
MitkCoreExports.h
>
19
20
namespace
mitk
21
{
33
struct
MITKCORE_EXPORT
InteractionEventObserver
34
{
35
InteractionEventObserver
();
36
virtual
~
InteractionEventObserver
();
59
virtual
void
Notify(
InteractionEvent
*interactionEvent,
bool
isHandled) = 0;
60
61
void
Disable();
62
void
Enable();
63
bool
IsEnabled()
const
;
64
65
private
:
66
bool
m_IsEnabled;
67
};
68
69
}
/* namespace mitk */
70
MITK_DECLARE_SERVICE_INTERFACE
(
mitk::InteractionEventObserver
,
"org.mitk.InteractionEventObserver"
)
71
#endif
mitk::InteractionEvent
Definition:
mitkInteractionEvent.h:26
mitkInteractionEvent.h
mitkServiceInterface.h
mitk::InteractionEventObserver
Base class to implement InteractionEventObservers.
Definition:
mitkInteractionEventObserver.h:33
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
MitkCoreExports.h
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition:
mitkServiceInterface.h:26
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkInteractionEventObserver.h
Generated on Mon Dec 23 2024 02:13:19 for Medical Imaging Interaction Toolkit by
1.8.17