Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkNodePredicateCompositeBase.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 mitkNodePredicateCompositeBase_h
14 #define mitkNodePredicateCompositeBase_h
15 
16 #include <mitkNodePredicateBase.h>
17 #include <list>
18 
19 namespace mitk
20 {
32  {
33  public:
35 
37  typedef std::list<NodePredicateBase::ConstPointer> ChildPredicates;
38 
43 
50  virtual void AddPredicate(const NodePredicateBase *p);
51 
58  virtual void RemovePredicate(const NodePredicateBase *p);
59 
65  virtual ChildPredicates GetPredicates() const;
66 
67  protected:
70  };
71 
72 } // namespace mitk
73 
74 #endif
#define MITKCORE_EXPORT
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,...
std::list< NodePredicateBase::ConstPointer > ChildPredicates
List type for storing child predicate smart pointers.
mitkClassMacro(NodePredicateCompositeBase, NodePredicateBase)
virtual ChildPredicates GetPredicates() const
Return all child predicates (immutable copy).
virtual void AddPredicate(const NodePredicateBase *p)
Add a child predicate to this composite.
ChildPredicates m_ChildPredicates
List of child predicates managed by this composite.
~NodePredicateCompositeBase() override=0
Pure virtual destructor (with implementation) making this class abstract.
virtual void RemovePredicate(const NodePredicateBase *p)
Remove a child predicate from this composite.
Find image slices visible on a given plane.