Medical Imaging Interaction Toolkit  2025.12.02
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 {
20  //##Documentation
21  //## @brief Composite predicate that forms a logical AND relation from its child predicates
22  //##
23  //##
24  //##
25  //##
26  //## @ingroup DataStorage
28  {
29  public:
31 
32  itkFactorylessNewMacro(NodePredicateAnd);
35  const NodePredicateBase *,
36  const NodePredicateBase *,
37  const NodePredicateBase *);
38 
39  //##Documentation
40  //## @brief Standard Destructor
41  ~NodePredicateAnd() override;
42 
43  //##Documentation
44  //## @brief Checks, if the node fulfills all of the subpredicates conditions
45  bool CheckNode(const DataNode *node) const override;
46 
47  protected:
48  //##Documentation
49  //## @brief Protected constructor, use static instantiation functions instead
51 
52  //##Documentation
53  //## @brief Convenience constructor that adds p1 and p2 to list of child predicates
54  //## Protected constructor, use static instantiation functions instead
56 
57  //##Documentation
58  //## @brief Convenience constructor that adds p1, p2 and p3 to list of child predicates
59  //## Protected constructor, use static instantiation functions instead
61  };
62 
63 } // namespace mitk
64 
65 #endif
#define MITKCORE_EXPORT
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64
Composite predicate that forms a logical AND relation from its child predicates.
bool CheckNode(const DataNode *node) const override
Checks, if the node fulfills all of the subpredicates conditions.
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
Standard 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,...
Interface for evaluation conditions used in the DataStorage class GetSubset() method.
Base class for all predicates that can have child predicates (e.g. AND/OR)
Find image slices visible on a given plane.