Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
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 
39  DataNodeObject(DataNode* node);
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
berryMacros.h
itk::SmartPointer< Self >
org_mitk_gui_common_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
MITK_GUI_COMMON_PLUGIN
#define MITK_GUI_COMMON_PLUGIN
Definition: org_mitk_gui_common_Export.h:26
mitk::DataNodeObject
Definition: mitkDataNodeObject.h:31
mitkDataNode.h
mitkWeakPointer.h
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
mitk::WeakPointer
Definition: mitkWeakPointer.h:22
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63