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
berrySingleNodeSelection.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,
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
#ifndef QMITKSINGLENODESELECTION_H_
18
#define QMITKSINGLENODESELECTION_H_
19
20
// Own includes
21
#include "
berryISelection.h
"
23
#include <
org_mitk_gui_qt_datamanager_Export.h
>
24
25
//# forward declarations
26
namespace
mitk
27
{
28
class
DataNode;
29
}
30
31
namespace
berry
32
{
33
38
struct
MITK_QT_DATAMANAGER
SingleNodeSelection
:
public
berry::ISelection
39
{
43
berryObjectMacro
(
SingleNodeSelection
);
47
void
SetNode(
mitk::DataNode
* _SelectedNode);
51
mitk::DataNode
* GetNode()
const
;
55
virtual
bool
IsEmpty()
const override
;
56
57
protected
:
61
mitk::DataNode
*
m_Node
;
62
};
63
64
}
65
66
#endif // QMITKSINGLENODESELECTION_H_
berry
Definition:
QmitkPropertyItemModel.h:27
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
MITK_QT_DATAMANAGER
#define MITK_QT_DATAMANAGER
Definition:
org_mitk_gui_qt_datamanager_Export.h:23
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryISelection.h
berry::SingleNodeSelection
Represents a selection object that encapsulates the selection of a single node.
Definition:
berrySingleNodeSelection.h:38
berry::SingleNodeSelection::m_Node
mitk::DataNode * m_Node
Holds the node that is currently selected.
Definition:
berrySingleNodeSelection.h:61
org_mitk_gui_qt_datamanager_Export.h
berry::ISelection
Definition:
berryISelection.h:37
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:66
git
MITK
Plugins
org.mitk.gui.qt.datamanager
src
berrySingleNodeSelection.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1