Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkDataNodeObject.cpp
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
#include "
mitkDataNodeObject.h
"
14
15
namespace
mitk
16
{
17
18
DataNodeObject::DataNodeObject
() :
19
m_Node
(nullptr)
20
{
21
22
}
23
24
DataNodeObject::DataNodeObject
(
DataNode::Pointer
node) :
25
m_Node(node)
26
{
27
28
}
29
30
DataNode::Pointer
DataNodeObject::GetDataNode
()
const
31
{
32
return
m_Node;
33
}
34
35
bool
DataNodeObject::operator==
(
const
berry::Object
* obj)
const
36
{
37
if
(
const
DataNodeObject
* other = dynamic_cast<const DataNodeObject*>(obj))
38
{
39
return
m_Node == other->m_Node;
40
}
41
42
return
false
;
43
}
44
45
}
mitk::DataNodeObject
Definition:
mitkDataNodeObject.h:30
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitkDataNodeObject.h
m_Node
mitk::DataNode::Pointer m_Node
Definition:
QtFreeRender.cpp:67
mitk::DataNodeObject::DataNodeObject
DataNodeObject()
Definition:
mitkDataNodeObject.cpp:18
mitk::DataNodeObject::GetDataNode
DataNode::Pointer GetDataNode() const
Definition:
mitkDataNodeObject.cpp:30
mitk::DataNodeObject::operator==
bool operator==(const berry::Object *obj) const override
Definition:
mitkDataNodeObject.cpp:35
itk::SmartPointer< Self >
Source
Plugins
org.mitk.gui.common
src
mitkDataNodeObject.cpp
Generated on Thu Mar 12 2020 10:23:42 for Medical Imaging Interaction Toolkit by
1.8.13