Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
mitkInteractionEventObserver.h
"
18
19
mitk::InteractionEventObserver::InteractionEventObserver
() : m_IsEnabled(true)
20
{
21
}
22
23
mitk::InteractionEventObserver::~InteractionEventObserver
()
24
{
25
}
26
27
void
mitk::InteractionEventObserver::Disable
()
28
{
29
m_IsEnabled =
false
;
30
}
31
32
void
mitk::InteractionEventObserver::Enable
()
33
{
34
m_IsEnabled =
true
;
35
}
36
37
bool
mitk::InteractionEventObserver::IsEnabled
()
const
38
{
39
return
m_IsEnabled;
40
}
mitkInteractionEventObserver.h
mitk::InteractionEventObserver::IsEnabled
bool IsEnabled() const
Definition:
mitkInteractionEventObserver.cpp:37
mitk::InteractionEventObserver::Disable
void Disable()
Definition:
mitkInteractionEventObserver.cpp:27
mitk::InteractionEventObserver::Enable
void Enable()
Definition:
mitkInteractionEventObserver.cpp:32
mitk::InteractionEventObserver::InteractionEventObserver
InteractionEventObserver()
Definition:
mitkInteractionEventObserver.cpp:19
mitk::InteractionEventObserver::~InteractionEventObserver
virtual ~InteractionEventObserver()
Definition:
mitkInteractionEventObserver.cpp:23
git
MITK
Modules
Core
src
Interactions
mitkInteractionEventObserver.cpp
Generated on Fri Feb 3 2017 20:52:01 for Medical Imaging Interaction Toolkit by
1.8.9.1