Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkNodePredicateBase.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 mitkNodePredicateBase_h
14 #define mitkNodePredicateBase_h
15 
16 #include <itkObject.h>
17 #include <MitkCoreExports.h>
18 #include <mitkCommon.h>
19 
20 namespace mitk
21 {
22  class DataNode;
42  class MITKCORE_EXPORT NodePredicateBase : public itk::Object
43  {
44  public:
46 
50  ~NodePredicateBase() override;
51 
60  virtual bool CheckNode(const mitk::DataNode *node) const = 0;
61  };
62 
63 } // namespace mitk
64 
65 #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.
~NodePredicateBase() override
Virtual destructor.
mitkClassMacroItkParent(NodePredicateBase, itk::Object)
virtual bool CheckNode(const mitk::DataNode *node) const =0
Evaluate whether the given node satisfies this predicate's condition.
Find image slices visible on a given plane.