Medical Imaging Interaction Toolkit  2021.10.99-888ff917
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"
20 
21 //# forward declarations
22 namespace mitk
23 {
24  class DataNode;
25 }
26 
27 namespace berry
28 {
29 
35  {
43  void SetNode(mitk::DataNode* _SelectedNode);
47  mitk::DataNode* GetNode() const;
51  bool IsEmpty() const override;
52 
53  protected:
58  };
59 
60 }
61 
62 #endif // QMITKSINGLENODESELECTION_H_
DataCollection - Class to facilitate loading/accessing structured data.
#define MITK_QT_DATAMANAGER
#define berryObjectMacro(...)
Definition: berryMacros.h:33
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:57