Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkNodePredicateAnd.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 mitkNodePredicateAnd_h
14 #define mitkNodePredicateAnd_h
15 
17 
18 namespace mitk
19 {
37  {
38  public:
40 
41  itkFactorylessNewMacro(NodePredicateAnd);
44  const NodePredicateBase *,
45  const NodePredicateBase *,
46  const NodePredicateBase *);
47 
51  ~NodePredicateAnd() override;
52 
60  bool CheckNode(const DataNode *node) const override;
61 
62  protected:
63  //##Documentation
64  //## @brief Protected constructor, use static instantiation functions instead
66 
67  //##Documentation
68  //## @brief Convenience constructor that adds p1 and p2 to list of child predicates
69  //## Protected constructor, use static instantiation functions instead
71 
72  //##Documentation
73  //## @brief Convenience constructor that adds p1, p2 and p3 to list of child predicates
74  //## Protected constructor, use static instantiation functions instead
76  };
77 
78 } // namespace mitk
79 
80 #endif
#define MITKCORE_EXPORT
Central node class of the MITK data tree, associating a data object with properties and mappers.
Definition: mitkDataNode.h:72
Composite predicate that forms a logical AND (conjunction) from its child predicates.
bool CheckNode(const DataNode *node) const override
Check whether the node satisfies all child predicates (logical AND).
mitkNewMacro3Param(NodePredicateAnd, const NodePredicateBase *, const NodePredicateBase *, const NodePredicateBase *)
NodePredicateAnd()
Protected constructor, use static instantiation functions instead.
mitkClassMacro(NodePredicateAnd, NodePredicateCompositeBase)
NodePredicateAnd(const NodePredicateBase *p1, const NodePredicateBase *p2)
Convenience constructor that adds p1 and p2 to list of child predicates Protected constructor,...
~NodePredicateAnd() override
Destructor.
mitkNewMacro2Param(NodePredicateAnd, const NodePredicateBase *, const NodePredicateBase *)
NodePredicateAnd(const NodePredicateBase *p1, const NodePredicateBase *p2, const NodePredicateBase *p3)
Convenience constructor that adds p1, p2 and p3 to list of child predicates Protected constructor,...
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,...
Find image slices visible on a given plane.