Medical Imaging Interaction Toolkit
2024.12.99-d991a09f
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Groups
Namespace List
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Variables
e
f
i
l
m
n
p
r
s
t
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
q
r
s
t
v
x
Enumerations
Enumerator
a
b
c
d
e
g
h
i
k
l
n
o
p
r
s
t
v
w
z
Class List
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
c
m
o
r
s
t
Related Functions
File List
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
m
o
p
q
r
s
t
u
v
x
Functions
_
e
h
m
o
q
s
u
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
m
o
p
q
r
s
u
v
x
Examples
Download
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
mitkNodePredicateData.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 mitkNodePredicateData_h
14
#define mitkNodePredicateData_h
15
16
#include "
mitkNodePredicateBase.h
"
17
18
namespace
mitk
19
{
20
class
BaseData;
21
22
//##Documentation
23
//## @brief Predicate that evaluates if the given DataNodes data object pointer equals a given pointer
24
//##
25
//## NodePredicateData(nullptr) returns true if a DataNode does not have a data object (e.g. ->GetData() returns nullptr).
26
//## This could return an unexpected number of nodes (e.g. the root node of the tree)
27
//## @warning NodePredicateData holds a weak pointer to a BaseData! NodePredicateData p(mitk::BaseData::New()); will
28
//not
29
// work.
30
//## Intended use is: NodePredicateData p(myDataObject); result = myDataStorage->GetSubset(p); Then work with
31
// result, do not reuse p later.
32
//##
33
//## @ingroup DataStorage
34
class
MITKCORE_EXPORT
NodePredicateData
:
public
NodePredicateBase
35
{
36
public
:
37
mitkClassMacro
(
NodePredicateData
,
NodePredicateBase
);
38
mitkNewMacro1Param
(
NodePredicateData
,
mitk::BaseData
*);
39
40
//##Documentation
41
//## @brief Standard Destructor
42
~
NodePredicateData
()
override
;
43
44
//##Documentation
45
//## @brief Checks, if the nodes data object is of a specific data type
46
bool
CheckNode(
const
mitk::DataNode
*node)
const override
;
47
48
protected
:
49
//##Documentation
50
//## @brief Protected constructor, use static instantiation functions instead
51
NodePredicateData
(
mitk::BaseData
*d);
52
53
mitk::BaseData
*
m_DataObject
;
54
};
55
}
// namespace mitk
56
57
#endif
mitk::NodePredicateData::m_DataObject
mitk::BaseData * m_DataObject
Definition:
mitkNodePredicateData.h:53
mitkNewMacro1Param
#define mitkNewMacro1Param(classname, type)
Definition:
mitkCommon.h:68
mitk::NodePredicateBase
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Definition:
mitkNodePredicateBase.h:35
mitkNodePredicateBase.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::NodePredicateData
Predicate that evaluates if the given DataNodes data object pointer equals a given pointer.
Definition:
mitkNodePredicateData.h:34
mitk::BaseData
Base of all data objects.
Definition:
mitkBaseData.h:42
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::DataNode
Class for nodes of the DataTree.
Definition:
mitkDataNode.h:63
src
MITK
Modules
Core
include
mitkNodePredicateData.h
Generated on Sat Mar 22 2025 02:15:03 for Medical Imaging Interaction Toolkit by
1.8.17