Medical Imaging Interaction Toolkit  2026.06.00
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 
17 
18 namespace mitk
19 {
37  {
38  public:
40  itkFactorylessNewMacro(NodePredicateOr);
43 
47  ~NodePredicateOr() override;
48 
56  bool CheckNode(const DataNode *node) const override;
57 
58  protected:
59  //##Documentation
60  //## @brief Constructor
62  //##Documentation
63  //## @brief Convenience constructor that adds p1 and p2 to list of child predicates
65  //##Documentation
66  //## @brief Convenience constructor that adds p1, p2 and p3 to list of child predicates
68  };
69 
70 } // namespace mitk
71 
72 #endif
#define MITKCORE_EXPORT
Central node class of the MITK data tree, associating a data object with properties and mappers.
Definition: mitkDataNode.h:72
Abstract base class for predicates used to filter DataNode objects in DataStorage queries.
Abstract base class for composite predicates that contain child predicates (e.g., AND,...
Composite predicate that forms a logical OR (disjunction) from its child predicates.
~NodePredicateOr() override
Destructor.
mitkNewMacro2Param(NodePredicateOr, const NodePredicateBase *, const NodePredicateBase *)
NodePredicateOr(const NodePredicateBase *p1, const NodePredicateBase *p2)
Convenience constructor that adds p1 and p2 to list of child predicates.
mitkNewMacro3Param(NodePredicateOr, const NodePredicateBase *, const NodePredicateBase *, const NodePredicateBase *)
NodePredicateOr(const NodePredicateBase *p1, const NodePredicateBase *p2, const NodePredicateBase *p3)
Convenience constructor that adds p1, p2 and p3 to list of child predicates.
bool CheckNode(const DataNode *node) const override
Check whether the node satisfies any child predicate (logical OR).
NodePredicateOr()
Constructor.
mitkClassMacro(NodePredicateOr, NodePredicateCompositeBase)
Find image slices visible on a given plane.