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
berrySingleNodeSelection.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 "
berrySingleNodeSelection.h
"
18
19
#include "
mitkDataNode.h
"
20
21
namespace
berry
22
{
23
24
void
SingleNodeSelection::SetNode
(
mitk::DataNode
* _SelectedNode )
25
{
26
m_Node
= _SelectedNode;
27
}
28
29
mitk::DataNode
*
SingleNodeSelection::GetNode
()
const
30
{
31
return
m_Node
;
32
}
33
34
bool
SingleNodeSelection::IsEmpty
()
const
35
{
36
return
(
m_Node
==
nullptr
);
37
}
38
39
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::SingleNodeSelection::SetNode
void SetNode(mitk::DataNode *_SelectedNode)
Node setter.
Definition:
berrySingleNodeSelection.cpp:24
mitkDataNode.h
berry::SingleNodeSelection::m_Node
mitk::DataNode * m_Node
Holds the node that is currently selected.
Definition:
berrySingleNodeSelection.h:61
berrySingleNodeSelection.h
berry::SingleNodeSelection::GetNode
mitk::DataNode * GetNode() const
Node getter.
Definition:
berrySingleNodeSelection.cpp:29
berry::SingleNodeSelection::IsEmpty
virtual bool IsEmpty() const override
Checks if node is 0.
Definition:
berrySingleNodeSelection.cpp:34
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:66
git
MITK
Plugins
org.mitk.gui.qt.datamanager
src
berrySingleNodeSelection.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1