Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkInteractionEventObserver.cpp
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
#include "
mitkInteractionEventObserver.h
"
14
15
mitk::InteractionEventObserver::InteractionEventObserver
() : m_IsEnabled(true)
16
{
17
}
18
19
mitk::InteractionEventObserver::~InteractionEventObserver
()
20
{
21
}
22
23
void
mitk::InteractionEventObserver::Disable
()
24
{
25
m_IsEnabled =
false
;
26
}
27
28
void
mitk::InteractionEventObserver::Enable
()
29
{
30
m_IsEnabled =
true
;
31
}
32
33
bool
mitk::InteractionEventObserver::IsEnabled
()
const
34
{
35
return
m_IsEnabled;
36
}
mitkInteractionEventObserver.h
mitk::InteractionEventObserver::Disable
void Disable()
Definition:
mitkInteractionEventObserver.cpp:23
mitk::InteractionEventObserver::Enable
void Enable()
Definition:
mitkInteractionEventObserver.cpp:28
mitk::InteractionEventObserver::InteractionEventObserver
InteractionEventObserver()
Definition:
mitkInteractionEventObserver.cpp:15
mitk::InteractionEventObserver::~InteractionEventObserver
virtual ~InteractionEventObserver()
Definition:
mitkInteractionEventObserver.cpp:19
mitk::InteractionEventObserver::IsEnabled
bool IsEnabled() const
Definition:
mitkInteractionEventObserver.cpp:33
Source
Modules
Core
src
Interactions
mitkInteractionEventObserver.cpp
Generated on Thu Mar 12 2020 10:23:53 for Medical Imaging Interaction Toolkit by
1.8.13