Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkDataNodeObject.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 
14 #ifndef mitkDataNodeObject_h
15 #define mitkDataNodeObject_h
16 
17 #include <berryObject.h>
18 #include <berryMacros.h>
19 
21 
22 #include <mitkDataNode.h>
23 #include <mitkWeakPointer.h>
24 
25 namespace mitk
26 {
27 
32 {
33 
34 public:
35 
37 
40 
41  DataNode::Pointer GetDataNode() const;
42 
43  bool operator==(const berry::Object* obj) const override;
44 
45 private:
46  WeakPointer<DataNode> m_Node;
47 
48 };
49 
50 }
51 
52 #endif
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:73
DataNode::Pointer GetDataNode() const
DataNodeObject(DataNode *node)
bool operator==(const berry::Object *obj) const override
berryObjectMacro(mitk::DataNodeObject)
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64
Find image slices visible on a given plane.
#define MITK_GUI_COMMON_PLUGIN