Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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"
24 
25 //# forward declarations
26 namespace mitk
27 {
28  class DataNode;
29 }
30 
31 namespace berry
32 {
33 
39  {
47  void SetNode(mitk::DataNode* _SelectedNode);
51  mitk::DataNode* GetNode() const;
55  virtual bool IsEmpty() const override;
56 
57  protected:
62  };
63 
64 }
65 
66 #endif // QMITKSINGLENODESELECTION_H_
DataCollection - Class to facilitate loading/accessing structured data.
#define MITK_QT_DATAMANAGER
#define berryObjectMacro(...)
Definition: berryMacros.h:37
Represents a selection object that encapsulates the selection of a single node.
mitk::DataNode * m_Node
Holds the node that is currently selected.
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66