Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkNodePredicateOr.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 mitkNodePredicateOr_h
14
#define mitkNodePredicateOr_h
15
16
#include "
mitkNodePredicateCompositeBase.h
"
17
18
namespace
mitk
19
{
20
//##Documentation
21
//## @brief Composite predicate that forms a logical OR relation from its child predicates
22
//##
23
//##
24
//##
25
//##
26
//## @ingroup DataStorage
27
class
MITKCORE_EXPORT
NodePredicateOr
:
public
NodePredicateCompositeBase
28
{
29
public
:
30
mitkClassMacro
(
NodePredicateOr
,
NodePredicateCompositeBase
);
31
itkFactorylessNewMacro(
NodePredicateOr
);
32
mitkNewMacro2Param
(
NodePredicateOr
,
const
NodePredicateBase
*,
const
NodePredicateBase
*);
33
mitkNewMacro3Param
(
NodePredicateOr
,
const
NodePredicateBase
*,
const
NodePredicateBase
*,
const
NodePredicateBase
*);
34
35
//##Documentation
36
//## @brief Standard Destructor
37
~
NodePredicateOr
()
override
;
38
39
//##Documentation
40
//## @brief Checks, if the node fulfills any of the subpredicates conditions
41
bool
CheckNode(
const
DataNode
*node)
const override
;
42
43
protected
:
44
//##Documentation
45
//## @brief Constructor
46
NodePredicateOr
();
47
//##Documentation
48
//## @brief Convenience constructor that adds p1 and p2 to list of child predicates
49
NodePredicateOr
(
const
NodePredicateBase
*p1,
const
NodePredicateBase
*p2);
50
//##Documentation
51
//## @brief Convenience constructor that adds p1, p2 and p3 to list of child predicates
52
NodePredicateOr
(
const
NodePredicateBase
*p1,
const
NodePredicateBase
*p2,
const
NodePredicateBase
*p3);
53
};
54
55
}
// namespace mitk
56
57
#endif
mitkNewMacro2Param
#define mitkNewMacro2Param(classname, typea, typeb)
Definition:
mitkCommon.h:81
mitk::NodePredicateBase
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Definition:
mitkNodePredicateBase.h:35
mitkNewMacro3Param
#define mitkNewMacro3Param(classname, typea, typeb, typec)
Definition:
mitkCommon.h:94
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::NodePredicateCompositeBase
Base class for all predicates that can have child predicates (e.g. AND/OR)
Definition:
mitkNodePredicateCompositeBase.h:28
mitk::NodePredicateOr
Composite predicate that forms a logical OR relation from its child predicates.
Definition:
mitkNodePredicateOr.h:27
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
mitkNodePredicateCompositeBase.h
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
mitkNodePredicateOr.h
Generated on Mon Dec 23 2024 02:13:20 for Medical Imaging Interaction Toolkit by
1.8.17