Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
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 (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
#ifndef QMITKSINGLENODESELECTION_H_
14
#define QMITKSINGLENODESELECTION_H_
15
16
// Own includes
17
#include "
berryISelection.h
"
19
#include <
org_mitk_gui_qt_datamanager_Export.h
>
20
21
//# forward declarations
22
namespace
mitk
23
{
24
class
DataNode;
25
}
26
27
namespace
berry
28
{
29
34
struct
MITK_QT_DATAMANAGER
SingleNodeSelection
:
public
berry::ISelection
35
{
39
berryObjectMacro
(
SingleNodeSelection
);
43
void
SetNode(
mitk::DataNode
* _SelectedNode);
47
mitk::DataNode
* GetNode()
const
;
51
bool
IsEmpty()
const override
;
52
53
protected
:
57
mitk::DataNode
*
m_Node
;
58
};
59
60
}
61
62
#endif // QMITKSINGLENODESELECTION_H_
org_mitk_gui_qt_datamanager_Export.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
RenderingTests.dox:1
berry::SingleNodeSelection
Represents a selection object that encapsulates the selection of a single node.
Definition:
berrySingleNodeSelection.h:34
berry::SingleNodeSelection::m_Node
mitk::DataNode * m_Node
Holds the node that is currently selected.
Definition:
berrySingleNodeSelection.h:57
berry::ISelection
Definition:
berryISelection.h:33
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
MITK_QT_DATAMANAGER
#define MITK_QT_DATAMANAGER
Definition:
org_mitk_gui_qt_datamanager_Export.h:26
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:63
berry
Definition:
QmitkPropertyItemModel.h:24
berryISelection.h
src
MITK
Plugins
org.mitk.gui.qt.datamanager
src
berrySingleNodeSelection.h
Generated on Wed May 17 2023 16:26:02 for Medical Imaging Interaction Toolkit by
1.8.17