Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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,
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
#include "
mitkDataNodeObject.h
"
18
19
namespace
mitk
20
{
21
22
DataNodeObject::DataNodeObject
() :
23
m_Node
(nullptr)
24
{
25
26
}
27
28
DataNodeObject::DataNodeObject
(
DataNode::Pointer
node) :
29
m_Node
(node)
30
{
31
32
}
33
34
DataNode::Pointer
DataNodeObject::GetDataNode
()
const
35
{
36
return
m_Node;
37
}
38
39
bool
DataNodeObject::operator==
(
const
berry::Object
* obj)
const
40
{
41
if
(
const
DataNodeObject
* other = dynamic_cast<const DataNodeObject*>(obj))
42
{
43
return
m_Node == other->m_Node;
44
}
45
46
return
false
;
47
}
48
49
}
mitk::DataNodeObject
Definition:
mitkDataNodeObject.h:34
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::DataNodeObject::GetDataNode
DataNode::Pointer GetDataNode() const
Definition:
mitkDataNodeObject.cpp:34
mitkDataNodeObject.h
m_Node
mitk::DataNode::Pointer m_Node
Definition:
QtFreeRender.cpp:71
mitk::DataNodeObject::DataNodeObject
DataNodeObject()
Definition:
mitkDataNodeObject.cpp:22
mitk::DataNodeObject::operator==
bool operator==(const berry::Object *obj) const override
Definition:
mitkDataNodeObject.cpp:39
itk::SmartPointer< Self >
git
MITK
Plugins
org.mitk.gui.common
src
mitkDataNodeObject.cpp
Generated on Fri Feb 3 2017 20:51:55 for Medical Imaging Interaction Toolkit by
1.8.9.1