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
QmitkToolGUI.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 "
QmitkToolGUI.h
"
18
19
#include <iostream>
20
21
QmitkToolGUI::~QmitkToolGUI
()
22
{
23
m_ReferenceCount = 0;
// otherwise ITK will complain in LightObject's destructor
24
}
25
26
void
QmitkToolGUI::Register
()
const
27
{
28
// empty on purpose, just don't let ITK handle calls to Register()
29
}
30
31
void
QmitkToolGUI::UnRegister
() const ITK_NOEXCEPT
32
{
33
// empty on purpose, just don't let ITK handle calls to UnRegister()
34
}
35
36
void
QmitkToolGUI::SetReferenceCount
(
int
)
37
{
38
// empty on purpose, just don't let ITK handle calls to SetReferenceCount()
39
}
40
41
void
QmitkToolGUI::SetTool
(
mitk::Tool
*tool)
42
{
43
m_Tool
= tool;
44
45
emit(
NewToolAssociated
(tool));
46
}
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition:
mitkTool.h:92
QmitkToolGUI::SetReferenceCount
virtual void SetReferenceCount(int) override
Definition:
QmitkToolGUI.cpp:36
QmitkToolGUI::NewToolAssociated
void NewToolAssociated(mitk::Tool *)
QmitkToolGUI::m_Tool
mitk::Tool::Pointer m_Tool
Definition:
QmitkToolGUI.h:61
QmitkToolGUI::UnRegister
virtual void UnRegister() const ITK_NOEXCEPT ITK_OVERRIDE
Definition:
QmitkToolGUI.cpp:31
QmitkToolGUI::SetTool
void SetTool(mitk::Tool *tool)
Definition:
QmitkToolGUI.cpp:41
QmitkToolGUI::Register
virtual void Register() const override
Definition:
QmitkToolGUI.cpp:26
QmitkToolGUI.h
QmitkToolGUI::~QmitkToolGUI
virtual ~QmitkToolGUI()
Definition:
QmitkToolGUI.cpp:21
git
MITK
Modules
SegmentationUI
Qmitk
QmitkToolGUI.cpp
Generated on Fri Feb 3 2017 20:52:15 for Medical Imaging Interaction Toolkit by
1.8.9.1