Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkNodePredicateNot.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 mitkNodePredicateNot_h
14 #define mitkNodePredicateNot_h
15 
17 
18 namespace mitk
19 {
20  //##Documentation
21  //## @brief Composite predicate that negates its child predicate
22  //## Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds
23  //## only one subpredicate at any time. But logically any Predicate that has one or more subpredicate
24  //## is a CompositePredicate.
25  //##
26  //## @ingroup DataStorage
28  {
29  public:
32 
33  //##Documentation
34  //## @brief Standard Destructor
35  ~NodePredicateNot() override;
36 
37  //##Documentation
38  //## @brief Reimplemented, only one child predicate is allowed for the NOT predicate.
39  void AddPredicate(const mitk::NodePredicateBase *p) override;
40 
41  //##Documentation
42  //## @brief Checks, if the node does not fulfill the child predicate condition
43  bool CheckNode(const mitk::DataNode *node) const override;
44 
45  protected:
46  //##Documentation
47  //## @brief Constructor
49  };
50 
51 } // namespace mitk
52 
53 #endif
#define MITKCORE_EXPORT
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64
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)
Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodeP...
~NodePredicateNot() override
Standard Destructor.
mitkClassMacro(NodePredicateNot, NodePredicateCompositeBase)
void AddPredicate(const mitk::NodePredicateBase *p) override
Reimplemented, only one child predicate is allowed for the NOT predicate.
NodePredicateNot(const mitk::NodePredicateBase *p)
Constructor.
mitkNewMacro1Param(NodePredicateNot, const mitk::NodePredicateBase *)
bool CheckNode(const mitk::DataNode *node) const override
Checks, if the node does not fulfill the child predicate condition.
Find image slices visible on a given plane.